How to Install Litespeed On Linux Server

[Total: 3    Average: 5/5]

How to install litespeed on Linux Server,

LiteSpeed Web Server (LSWS) is a high-performance Apache drop-in replacement.LiteSpeed Web Server is compatible with commonly used Apache features, including mod_rewrite, .htaccess, and mod_security and has a host of built-in anti-DDoS features, like bandwidth and connection throttling. We work constantly to address the Internet’s newest security issues — such as SSL BEAST attacks — and release security updates as soon as new attack methods become known

Step 1: Run the following commands from ssh as root

[root ~ ]# cd /usr/src; curl http://www.litespeedtech.com/packages/cpanel/lsws_whm_plugin_install.sh | sh

Step 2: Once done then 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

Step 3: Configure litespeed so that it will work properly.

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

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

Step 4: Login to server via SSH and run the below command on server.

[root ~ ]# ln -sf /usr/local/lib/php/autoindex /usr/local/lsws/share/autoindex

Step 5: 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.

Done!!!!!