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.

Requirements for installing Open LiteSpeLiteSpeeded Web Server

• CentOS 5, 6 and 7

• CPU
Intel: 80486 and up
PowerPC: PowerPC G4

• Memory
32MB and up

• Disk
Installation: 200MB
Runtime: 300MB and up

Dependencies

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

Installation Steps

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:

https://Ip address:7080

The defaults for the administrator’s username and password are “admin” and
“123456”.

Uninstallation Steps

Stop OpenLiteSpeed if it is running: /etc /init.d/lsws stop
Remove the install directory:

rm -rf [your_install_dir]

If you have any queries on Open LiteSpeed Web Server Installation in Centos feel free to leave us a message and our representative will get back to you.