1) Download the cloud linux auto installer from http://www.cloudlinux.com/downloads/index.php
For cpanel servers, use the following steps
a) For IP-based CloudLinux license
# /usr/local/cpanel/cpkeyclt
# /usr/local/cpanel/bin/cloudlinux_system_install -k
b) For license key based CloudLinux
wget http://repo.cloudlinux.com/cloudlinux/sources/cln/cpanel2cl
sh cpanel2cl -k $key
2) Now reboot your server into the Cloud linux kernel
Then Recompile apache using /scripts/easyapache
Compile apache and php with the following minimal requirements,
- Make sure to use Apache 2.2.x version
- Suexec must be enabled
- Apache MPM will be Prefork, Worker or Event . Better to user preforker
3) Install the lve cPanel modules and Plugin as follows,
yum -y install cpanel-lve cpanel-lvemanager
4) Compile apache and php with the following minimal requirements, – Make sure to use Apache 2.2.x version – Suexec must be enabled – Apache MPM will be Prefork, Worker or Event . Better to user preforker
5) Now go to WHM -> Plugins -> LVE Manager and monitor the use . You can set the limits per domain from here
after installing the Cloud linux kernel we will get the kernel as
[root@ ~]# uname -r
2.6.18-374.12.1.el5.lve0.8.54
It have few issues with the RAM memory so we need to install PAE kernel for the Cloud linux,
yum install kernel-PAE-2.6.18-374.12.1.el5.lve0.8.54
And reboot the server.
Reference:
Installation : http://www.cloudlinux.com/docs/getting-started-cpanel.php
RAM memory : http://www.cloudlinux.com/blog/clnews/115.php
LVE Plugin Manager : http://www.cloudlinux.com/docs/whmplugin.php
LVE Plugin cPanel : http://cloudlinux.com/docs/cpanel-enduser-plugin0.2.php