You can install litespeed on a WHM/Cpanel server by simply following the bellow steps :
Log into server via SSH as ‘root’ user.
Go to /usr/src
cd /usr/src
Download the installation file using wget.
wget http://www.litespeedtech.com/packages/cpanel/lsws_whm_plugin_install.sh
chmod 700 lsws_whm_plugin_install.sh
sh lsws_whm_plugin_install.sh ( ./lsws_whm_plugin_install.sh)
rm -rf lsws_whm_plugin_install.sh
Log into WHM. Go to manage pluggins section.
Start the installation procedure by clicking on ‘Install LiteSpeed’.
This will ask you to enter your license information and admin password. Enter these information and click on ‘Build matching PHP Binary. (Please do not tick the box to start LiteSpeed immediately).
Click on ‘Switch to LiteSpeed’
Click on ‘Admin Web Console’ and login
Final stages of setup
Go to Configuration > General > Index Files > Edit
You need to set the following and save.
===============================================
Index Files: index.html, index.php, index.php5, index.htm
Auto Index: Yes
Auto Index URI => /_autoindex/default.php
===============================================
In SSH Type:
ln -sf /usr/local/lib/php/autoindex /usr/local/lsws/share/autoindex
================================================
Go to Configuration > Log > Server Log > Edit
Set the following:
===============
Log Level: Info
Debug Level: None
===============
Finally click on Actions > Graceful Restart to make these changes permanent.
Now, you have successfully installed Litespeed on WHM/cpanel server.
Log into server via SSH as ‘root’ user.
Go to /usr/src
cd /usr/src
Download the installation file using wget.
wget http://www.litespeedtech.com/packages/cpanel/lsws_whm_plugin_install.sh
chmod 700 lsws_whm_plugin_install.sh
sh lsws_whm_plugin_install.sh ( ./lsws_whm_plugin_install.sh)
rm -rf lsws_whm_plugin_install.sh
Log into WHM. Go to manage pluggins section.
Start the installation procedure by clicking on ‘Install LiteSpeed’.
This will ask you to enter your license information and admin password. Enter these information and click on ‘Build matching PHP Binary. (Please do not tick the box to start LiteSpeed immediately).
Click on ‘Switch to LiteSpeed’
Click on ‘Admin Web Console’ and login
Final stages of setup
Go to Configuration > General > Index Files > Edit
You need to set the following and save.
===============================================
Index Files: index.html, index.php, index.php5, index.htm
Auto Index: Yes
Auto Index URI => /_autoindex/default.php
===============================================
In SSH Type:
ln -sf /usr/local/lib/php/autoindex /usr/local/lsws/share/autoindex
================================================
Go to Configuration > Log > Server Log > Edit
Set the following:
===============
Log Level: Info
Debug Level: None
===============
Finally click on Actions > Graceful Restart to make these changes permanent.
Now, you have successfully installed Litespeed on WHM/cpanel server.
No comments:
Post a Comment