R-Ts NetWorks

Server the Best

How to install litespeed on Linux Server


How to install litespeed on linux server

Run the following commands from ssh as root

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

Once done than login to the WHM
Search litespeed and click on it.
Complete all the process and enable suexec.
Compile PHP with server PHP "Build matching PHP Binary"
Then swith to litespeed by starting litespeed service.

Configure litespeed so that it will work properly.

Login to WHM.

Search litespeed in WHM and click on admin console of litespeed.

Then go to Configuration >> General >> Index Files >> Edit. Insert the below lines and made the changes and click on save.

Index Files: index.html, index.php, index.php5, index.htm

Auto Index: Yes

Auto Index URI => /_autoindex/default.php

Then go to the server via SSH and run the below command on server.

 ln -sf /usr/local/lib/php/autoindex /usr/local/lsws/share/autoindex

At the end go to below path and set

Configuration >> Log >> Server Log >> Edit

Log Level: Info

Debug Level: None

Once done, Now click on Actions and  Graceful Restart light speed to make these changes permanent.

 

How to uninstall litespeed from Linux cpanel server.

/usr/local/cpanel/whostmgr/docroot/cgi/lsws/lsws_whm_plugin_uninstall.sh


					
Advertisements

May 27, 2012 - Posted by | CPanel / WHM, Installation

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: