What is OpenLiteSpeed ?
OpenLiteSpeed is one of the web servers available and developed by LiteSpeed Technologies, Inc. Just like Nginx and Apache, OpenLiteSpeed is an open source, free, high performance and lightweight HTTP web server using a Web Admin GUI.
There are several features available in OpenLiteSpeed.
- Event-driven Architecture with low CPU and RAM resources.
- Handles hundreds of thousands of concurrent connections without any indication of load spikes.
- High-performance Coding
- WebAdmin GUI with build-in real time statistics.
- The Rewrite Engine uses the Apache mod_rewrite syntax.
In addition, the technology on the OpenLiteSpeed web server already supports HTTP/3 and QUIC. In this article, we will discuss how to install OpenLiteSpeed Web Server on Ubuntu 18.04.
There are several requirements before installing.
- Has an active VPS with Ubuntu 18.04 OS.
- Have root access.
There are several summary installation points in this article.
- Update Server
- Install Firewall
- Install OpenLiteSpeed Web Server
- Admin Password Settings
Login as root to the server and update the server to make sure the packages are up-to-date.
$ apt-get update -y
$ apt-get upgrade -y
Install some required packages.
$ apt-get install nano perl wget curl -y
Before starting it, it is necessary to install a Firewall to make it more secure. In this Firewall, it uses CSF (ConfigServer Security & Firewall). Installation with the command below:
$ wget https://download.configserver.com/csf.tgz
$ tar -xzf csf.tgz
$ cd csf/
$ sh install.sh
In csf configuration change “make TESTING=’1′ to 0”.
$ nano /etc/csf/csf.conf
Then restart the CSF to reload the updated configuration.
$ csf -r
Install OpenLiteSpeed Web Server
Add the OpenLiteSpeed repository by using the command below.
$ wget -O – http://rpms.litespeedtech.com/debian/enable_lst_debian_repo.sh | sudo bash
$ apt-get update -y
After the repository has been added, OpenLiteSpeed is available to be installed using the command below. We are also using PHP version 74.
$ apt-get install openlitespeed lsphp74 -y
$ sudo ln -sf /usr/local/lsws/lsphp74/bin/lsphp /usr/local/lsws/fcgi-bin/lsphp5
Admin Password Settings
To be able to login to the OpenLiteSpeed Web Admin GUI, do the admin password settings with the command below.
$ sudo /usr/local/lsws/admin/misc/admpass.sh
Enter Username & specify a password for its Administrator.
If so, the following output will come out.
Administrator’s username/password is updated successfully!
If so, the last step is testing. You can access IPServer:8088 for the OpenLiteSpeed Frontend, and IPServer:7080 for the OpenLiteSpeed Backend.
more about web hosting:
Installing OpenLiteSpeed is not difficult and easy to do, you can make this web server one of the options for choosing a web server for your server.
Thus this article, do not hesitate to leave the ideas of the topic you want to read on the HPMhosting . Hope the article helpful for you.