Introduction
OpenLiteSpeed is a High-Performance, Light-Weight, and Open-Source HTTP Server which is developed by the LightSpeed Technologies. OpenLiteSpeed comes with a Web-Based GUI for the administration which makes everything easier. OpenLiteSpeed is capable of handling hundred thousands of concurrent connections with low resource usage.
Below are some of the main benefits of using OpenLiteSpeed:
- High performance, event-driven architecture.
- Super light-weight, minimal CPU, and memory footprint.
- Apache-compatible rewrite rules.
- User-friendly WebAdmin GUI.
Install OpenLiteSpeed
For installing OpenLiteSpeed we need to add its official repository with the following command:
wget -O - http://rpms.litespeedtech.com/debian/enable_lst_debain_repo.sh | bash
Now you can install OpenLiteSpeed easily using “apt”:
apt-get install openlitespeed
After the installation process is finished, you can start and control your OpenLiteSpeed service using the “systemctl” command:
systemctl start lsws
systemctl status lsws
You can verify that your OpenLiteSpeed is up and running with the following command:
netstat -antelope | grep openlitespeed
Install PHP 7.1 (OpenLiteSpeed Version)
In this section, we are going to install PHP 7.1. OpenLiteSpeed provide its own PHP packages named “lsphp” or “PHP LSAPI” (LiteSpeed Server Application Programming Interface).
LSAPI is an interface between PHP and LiteSpeed designed for high performance, You can install it easily with the following command:
apt-get install lsphp71 lsphp71-common lsphp71-mysql lsphp71-dev lsphp71-curl lsphp70-dbg
Configuring Web-Based GUI
In order to activate the web UI we need to create an admin user, the following command will initiate a script which starts the process of creating an admin user:
sh /usr/local/lsws/admin/misc/admpass.sh
After that, you can visit your admin panel and start configuring OpenLiteSpeed using the following address:
http://YOUR_DOMAIN_OR_IP:7080
You can check out OpenLiteSpeed official Github to get more information about releases!
The | was not processing for me in ubuntu 16.04 so I omitted it and it installed… at least your version worked…Thanks