VPS

Install CloudLinux cPanel Module (LVE Manager) in OnApp Cloud VPS

Recently, I bought Cloud VPS in OnApp platform. The best thing about OnApp platform is they provide CloudLinux and Windows OS without additional cost (at least my OnApp Cloud VPS provider).

After the system provision CloudLinux OS for my VPS, I went straight away to install cPanel/WHM.

Unfortunately, CloudLinux cPanel module or plugin not installed together. This module is very useful to modify CloudLinux setting such allocating CPU & Memory resources for individual cPanel user. You can should be able to see user statistics too.

To install CloudLinux cPanel Module or plugin run the following command in SSH with root login.

yum -y install cpanel-lvemanager

Once finish, login to WHM, you will see an option to modify CloudLinux setting in “Server Configuration” under “CloudLinux LVE Manager”. In the screen, you should be able to allocate server resources such as CPU, RAM, IO to each user or group of user. You can let the user to see their statistic too.


How to Install Litespeed Webserver on cPanel/WHM VPS Server

Installing and configuring Linux software can be a tedious job for a Linux beginner (including me!). That’s why cPanel is very good tools, and we are willing to pay for it. However, not all software included in cPanel is the best you can find in the market.

For example, Litespeed is a much better webserver when compare to Apache in terms of speed and protection against DDOS. Based on this fact, I decided to try their 15-day trial version.

As mentioned in the beginning of this post, installation is always a hindrance to try a new software. Luckily, Litespeed has cPanel plugin and when you installed this plugin, subsequent steps can be done via cPanel. To install follow steps below.

1. Sign-up for 15 days trial version. You should receive a trial license via email.

2. SSH to your VPS as root and issue the following command.

cd /usr/src; curl http://www.litespeedtech.com/packages/cpanel/lsws_whm_plugin_install.sh | sh

3. Log-in to WHM panel & you should see “Litespeed Web Server” menu under “Plugins” menu.

4. Insert your trial key from (1) above, choose admin username & password and start installing.

5. When finished, you have to build matching PHP Binary. To do this just click, “Build Matching PHP Binary” in Litespeed Plugins page. This process will take approximately 10 minutes.

6. After that you can start to use Litespeed Webserver by selecting “Switch to LiteSpeed” in Litespeed Plugins page.

7. Enjoy the speed of your server. You should see the ” LiteSpeed is running (PID = XXXXX). Apache is not running” message on top of the plugins page.

If you decide to uninstall Litespeed Webserver & cPanel plugins, you may follow the steps below.

1. Uninstall Litespeed Webserver in Litespeed plugins page.

2. When completed, SSH to your VPS as root and issue the following command.

cd /usr/src; curl http://www.litespeedtech.com/packages/cpanel/lsws_whm_plugin_install.sh | sh

3. Done. If you refresh your WHM panel, Litespeed plugins page will be no longer there.