To install cPanel and WHM
Make sure you are logged in as root.
# cd /home
# wget
http://layer1.cpanel.net/latest
# sh latest
The installer has now started, and will take between 30 and 60 minutes depending on your machine. If you are asked any questions press the Enter key, or q if there is no default. After the installation is complete, you need to setup WebHost Manager - refer to Logging on for the First Time for more information.