Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Install and Configure Litespeed  (Read 4284 times)

0 Members and 1 Guest are viewing this topic.

Vinil

  • Guest
Install and Configure Litespeed
« on: November 08, 2013, 03:17:22 pm »
Follow the steps below to install Litespeed as a cPanel Plugin. This would help you to install, configure and manage LS from the WHM itself.

1). Login to your cpanel server as root user and then:-

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



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

* click “Install LiteSpeed Web Server"
* Upload the trial license key file which would be in a '.zip' format. (You need to purchase license for 15 days trial period or go for an Enterprise version)
* Give the LiteSpeed target installation directory (choose like /usr/local/lsws)
* Set Port Offset ( set to 0 to replace Apache otherwise set a number like “2000” to try LiteSpeed on port 2080.     Setting a port makes the server to run Apache and Litespeed parallely. )
* Enable PHP SuEXEC
* Choose admin username & password and start installing.


3). Litespeed should now be installed on your server. Now click on "Build Matching PHP Binary" option.

What it will attempt to do is use the source from /home/cpeasyapache/src if available to build it’s PHP identical to cPanel as it would use the cPanel PHP source.  If it’s not available then it will download it’s own copy from php.net and build the same options in from there.

4). Integrate the LiteSpeed Web Server with EasyApache. It this option is enabled, If enabled, you no longer need to "Switch to Apache" to upgrade PHP version or build with different PHP modules. At the end of the EasyApache build, it will automatically build LiteSpeed-matching PHP.


5). Please access litespeed powered webpages using 2080 port.
eg: http://yourdomain.com:2080


6). Admin Area

You can manage the admin area using the admin username and password that you have set at

http://yourip:7080/


That's it.  :)