Home > CPanel / WHM, Installation > How to install litespeed on Linux Server

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

 
Categories: CPanel / WHM, Installation Tags:
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.