Setup LiteSpeed Web Server in cPanel/WHM

#1
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 an Apache web server as it will easily configure the webserver based on the current apache settings. There is a plugin available for installing on a WHM installed server and the installation needs to be done via both the command line and from the WHM interface as well.
1. Install LiteSpeed WHM plugin via Command line:
2. log in 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 the 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.
 
Top