The process below explains how to install CloudLinux on your server
-
Download the cldeploy script using the command:
wget https://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy -
Execute the script using the command:
sh cldeploy -kactivation_key is the activation key for your CloudLinux license.
If you have an IP based license, use the command:
sh cldeploy -i -
Since we have a layer of visualization, we need to edit the kernel parameters of ColudLinux before the server is rebooted. Use the command:
vi /boot/grub/menu.lst -
Here, edit the below line and append acpi=off:
kernel /boot/vmlinuz-2.6.32-531.17.1.lve1.2.57.el6.x86_64 ro root=UUID=8a5e62f9-f013-46bd-8d81-6f32ee929d93 consoleblank=0 crashkernel=auto SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8 KEYTABLE=us nohz=off -
Now, the file will appear as indicated below:
default=0
timeout=5
serial –unit=0 –speed=115200
terminal –timeout=5 serial console
title CloudLinux Server (2.6.32-531.17.1.lve1.2.57.el6.x86_64)
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-531.17.1.lve1.2.57.el6.x86_64 ro root=UUID=8a5e62f9-f013-46bd-8d81-6f32ee929d93 consoleblank=0 crashkernel=auto SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8 -
Reboot the server using the command:
reboot -
The server will now be running CloudLinux with LVE. you can check the same using the command:
uname -aThe output would appear as indicated below, depending on the version of the kernel installed
Linux
2.6.32-531.17.1.lve1.2.57.el6.x86_64 #1 SMP Sat Jun 7 08:40:25 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux -
Now, install LVE Manager using the command:
yum install lve-utils -
Ensure that proper lock files are created in /proc, using the command:
/etc/init.d/lvestats start -
Restart the LEV service using the command:
/etc/init.d/lveclt restart -
Recompile easyapache using the command:
usr/sbin/cpanel-compile-suexec.sh -
By default, all the domain names are added in Cagefs. However, after recompiling easyapache, it is recommended to update the users who have been added to Cagefs. Use the command:
/usr/sbin/cagefsctl –force-update
This completes the configuration of ClouldLinux and Cagefs on your server.
