Setup LiteSpeed Web Server in cPanel/WHM

LiteSpeed Web Server(LSWS) is a well known high-performance web server widely used for website which is having high traffic and needs high performance in terms of speeds. LiteSpeed is very faster compared to Apache in terms of serving PHP pages. It is recommended with PHP websites, WordPress, Magento, and other CMS platforms as well.  It is very easy to set up the LSWS on a cPanel server with Apache web server as it will easily configure the web server based on the current apache settings. There is a plugin available for installing in on a WHM installed server and the installation needs to be done via both command line and from the WHM interface as well.

1.Install LiteSpeed WHM plugin via Command line:

2. Login to the server as root via SSH and run the following commands:

cd /usr/src

wget http://www.litespeedtech.com/packages/cpanel/lsws_whm_plugin_install.sh

sh ./lsws_whm_plugin_install.sh

rm -f lsws_whm_plugin_install.sh

3. Once the installation is done, you will be able to see the option in WHM panel under Plugins as "LiteSpeed Web Server Plugin for WHM"

4. You can access the panel and set up the license from there.

5. Once the license is activated, you can build the matching PHP binary and you are done.

6. After the installation, you will have the option to switch from Apache to LSWS and you are done. 

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How To Install and Use Docker on Ubuntu 16.04

Introduction Docker is an application that makes it simple and easy to run application processes...

Change Main IP of the server :: Vesta Panel

If we are changing the main IP of a server installed with Vesta panel, we can use the following...

cPanel: Apache-FastCGI Data Timeout Error

If you are using a cPanel server and have FastCGI enabled in Apache, you might be facing the...

Domainkey installer in cPanel

You can use the following cPanel script to install domainkey for an account...

Email issues :: Common Troubleshooting Steps

Here I will discuss some common errors and their solution: We are using a mail relay setup for...