Open LiteSpeed is an open source web server which comes with a lot of interesting features that helps us to manage our sites effectively.
Some of the features include
1) Page Caching – which improves the loading time of the sites thus enhancing performance.
2) A WebAdmin interface.
3) Apache compatible rewrite rules.
4) It supports third-party modules through application programming interface.
• CentOS 5, 6 and 7
Intel: 80486 and up
PowerPC: PowerPC G4
32MB and up
Runtime: 300MB and up
The packages that need to be installed before installing Open LiteSpeed are pcre, expat, openssl, geoip, zlib.
yum install pcre-devel openssl-devel expat-devel geoip-devel zlib-devel
We need to add the repository information to our server which will update the list of repositories that yum references while installing packages.
rpm -ivh http://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el7.noarch.rpm
yum install openlitespeed
It will introduce the most recent adaptation of Open Lite Speed in the server.
yum install lsphp54-* –skip-broken
ln -sf /usr/local/lsws/lsphp54/bin/lsphp /usr/local/lsws/fcgi-bin/lsphp5
This command will install php 5.4 for Open LiteSpeed from the repository with all commonly used packages.
The default installation directory is /usr/local/lsws.
To access the sample site running on the server:
http://IP address or domain name:8088
By Default, Open LiteSpeed runs on the port 8088.
To access the WebAdmin Interface:
The defaults for the administrator’s username and password are “admin” and
Stop OpenLiteSpeed if it is running: /etc /init.d/lsws stop
Remove the install directory:
rm -rf [your_install_dir]