Installation of LiteSpeed webserver on centos with cPanel. Print

  • 117

In this article, you will come to know how to install the LiteSpeed webserver on the cPanel.

Step 1: Log in to your Service via SSH

Step 2: Run the below 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

Step 2: Login to your cPanel/WHM panel 

Step 3: Navigate to the Plugin section and select“LiteSpeed Web Server Plugin for WHM” in the “Plugins” section of WHM.
Click “Install LiteSpeed Web Server”

Step 4: Fill in the form to specify with proper details as required

Step 5: Click “Next” to install LiteSpeed

Step 6: Build matching PHP binary

There is a pre-built PHP 4 binary coming with LSWS, however, you should build your own PHP binary using matching configuration options used by Apache mod_php.
If LiteSpeed is running, you should switch back to Apache temporarily by clicking the “switch to Apache” link. Then, click the “Build Matching PHP binary” link. It is going to take a while.

Step 7: Start LiteSpeed again

Step 8: Just click “Restart LiteSpeed” Then you can verify if everything works as expected. 


If “Port Offset” is set to non-zero, you can now replace Apache with LiteSpeed Web Server. Just click “Switch to LiteSpeed”.

That’s it. DONE with the LiteSpeed installation...!! 

 

 

 

 


Was this answer helpful?

« Back

Powered by WHMCompleteSolution