Install lshw on Debian

Installing lshw on a Debian system is very easy since it is packaged and can be found in the official debian repositories:
http://packages.debian.org/lshw

Installation:

aptitude install lshw

That’s it… You might want to return to the main article on lshw.

Tags: , ,

Install Fantastico on CPanel/WHM

Lately I have seen that on all new server deployed by some major datacenters they fail to install Fantastico even if they state that the license for Fantastico is included with their CPanel package (seen on ThePlanet last week on a new server for example). Why would they do that? I assume that their automated installation scripts are not updated after Fantastico installation method has changed (but this was several months ago). Anyway this is not at all a big issue and as long as they have licensed the server IP (as they have in all the situations I have seen), the installation is very simple.

Here is a what needs to be done… SSH to your server and enter following commands:


cd /usr/local/cpanel/whostmgr/docroot/cgi
wget http://www.netenberg.com/files/free/fantastico_whm_admin.tgz
tar -xzpf fantastico_whm_admin.tgz
rm -rf fantastico_whm_admin.tgz

Now go to WHM, login as root and follow the link WHM -> Add-Ons -> Fantastico De Luxe WHM Admin (one of the lasts entries depending on your setup). There you complete the installation by following the online screens. If you will receive a license error and you are sure that your package includes Fantastico, then contact your datacenter technical support and have them license the server IP.

This of course if you want to allow your users to use Fantastico. If you don’t need Fantastico, then better don’t install it, even if you have it included in your CPanel package. Try to install on any server only the things that you need and use, and leave the others disabled or even better not installed.

Tags: , , ,

Install sudo on RHEL, Fedora, Centos

If you are using RHEL (any version of Redhat from what I know, but if I am wrong please let me know) Fedora or Centos, you don’t have to do anything special. sudo is installed by default and you will already have it on the system.

Read the rest of this entry »

Tags: , , , , , ,

Install sudo on Debian

In case you don’t have sudo installed already the installation is very simple as it is part of the official debian package repository:
http://packages.qa.debian.org/s/sudo.html

Read the rest of this entry »

Tags: , , ,