CloudLinux + cPanel Installation
This is a brief guide on setting up CloudLinux (6.4), cPanel, and softaculous.
CloudLinux
Set it up using PXE or DVD. For my particular server, I have set my parition scheme up like so:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 20G 1.3G 18G 7% /
tmpfs 32G 0 32G 0% /dev/shm
/dev/sdb2 500G 198M 475G 1% /home
/dev/sda3 9.9G 151M 9.2G 2% /tmp
/dev/sda5 214G 188M 203G 1% /usr/local
/dev/sdb1 50G 425M 47G 1% /var
Since cPanel runs out of /usr/local/cpanel, and because logs are placed in /usr/local/apache/logs by default, it's a good idea to give it as much room as possible. The databases and configuration files for cPanel will be placed in /var. Your user's contents will be placed in their home directories in /home.
Once the install is done, you will need to activate the license with CloudLinux's CLN. To do so, run:
/usr/sbin/rhnreg_ks --activationkey=xxxxx-xxxxxxxxxxxxxxxxxxxxxxxxx
The activation key is found on your CLN account.
Once activated, you will then be able to update the system.
yum -y update
Installing cPanel
As per the instructions on cPanel's website, to start the cPanel installation process, run:
cd /home wget -N http://httpupdate.cpanel.net/latest sh latest
Depending on your system, the install process will take about an hour. Once completed, you should reboot the system.
Installing Softaculous
In order for softaculous to work on cPanel, you must activate Ioncube for cPanel's PHP engine through WHM (Server Configuration -> Tweak Settings -> PHP -> check ioncube next to 'cPanel PHP Loader').
Start the install process by running:
wget -N http://files.softaculous.com/install.sh chmod 755 install.sh ./install.sh