Litespeed Installation

How to install litespeed webserver on the cpanel :
Step 1: Install LiteSpeed WHM plugin
Run the following commands from ssh as root

Code:                                                                                            Select all
#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: Install LiteSpeed Speed Web Server from within WHM

click “LiteSpeed Web Server Plugin for WHM” in “Plugins” section of WHM.
click “Install LiteSpeed Web Server”
- Fill in the form to specify your:

- serial number/license key above
- LiteSpeed target installation directory
- Port Offset ( set to 0 to replace Apache otherwise set a number like “2000” to try LiteSpeed on port 2080 )
Whether to enable PHP SuEXEC
- Assign user name and password for LWSW web admin console
- Your email address as the Administrators email.
-Click “Next” to install LiteSpeed
If you set Port Offset to “0”, it may stop Apache and start LiteSpeed after a successful installation, you may want to switch back to Apache temporarily as we still need to build PHP binary for LiteSpeed.

Step 3: 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 “switch to Apache” link. Then, click “Build Matching PHP binary” link. It is going take a while.

Step 4: Start LiteSpeed again.
- Just click “Restart LiteSpeed” Then you can verify if everything works as expected. It should! 
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.
WARNING: Do NOT uncheck “httpd” service under WHM service manager, otherwise WHM wont restart LiteSpeed automatically when configuration has been changed.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Install ConfigServer

Install ConfigServer Security & Firewall rm -fv csf.tgz wget...

Data Loss

Backups and Data Loss :         Leasedlayer is not responsible for...

DirectAdmin Introduction

DirectAdmin is a graphical web-based web hosting control panel designed to make...

Install Latest RootKit Hunter

Here we instruct that how to install latest released version of RootKit Hunter . Below we have...

Install ffmpeg/ffmpeg-devel on CentOS 5.7 64bit

Installing FFMPEG , FFMPEG DEVEL.1 ) Login in SSH using putty.exe software . With VPS or...

Powered by WHMCompleteSolution