Happy New Year to all of you. Thank you for being here with us. In this post, we will talk about a free open source web server with enterprise support. Not only we will talk about it but we will show you how to install OpenLiteSpeed on Ubuntu 18.04.
OpenLiteSpeed is an open source web server, released under the GPL license that guarantees access to the code. According to the official website of the project, OpenLiteSpeed combines speed, security, scalability, optimization and simplicity in one friendly open-source package.
On the other hand, it has quite peculiar characteristics that make it easy to access without losing robustness.
Another important aspect to emphasize is that this is the free version of LiteSpeed web server. Therefore, stability and robustness are guaranteed.
OpenLiteSpeed comes with a number of important features such as the following:
- It has enormous scalability. Thanks to an event driven architecture.
- It is able to understand Apache rewriting rules. Which makes if you have used this web server, the transition is easy.
- It allows to install WordPress, MariaDB and the server with a single click.
- It integrates strong security measures. This mitigates attacks and performance issues.
- Integrates Google’s web site acceleration system.
- Native SAPI for PHP allows external applications written in PHP to run up to 50% faster.
So, let us install it.
Install OpenLiteSpeed on Ubuntu 18.04
The installation is quite simple thanks to the OpenLiteSpeed repository for Debian. So, open a terminal session and add the repository with the following command:
:~$ wget -O - http://rpms.litespeedtech.com/debian/enable_lst_debian_repo.sh | sudo bash
This will not only add the repository, but also update APT.
Then, we can install it with the following command:
:~$ sudo apt install openlitespeed
and to get PHP 7.3 running at once, run the following command:
:~$ sudo apt install lsphp73
Finally, enable the execution of PHP 7.3
:~$ sudo ln -sf /usr/local/lsws/lsphp73/bin/lsphp /usr/local/lsws/fcgi-bin/lsphp5
And that’s it, we will be able to access the program’s graphic interface.
OpenLiteSpeed on Ubuntu 18.04
The application runs through port 8080 and the web interface through 7080. Both ports have to be working for them to work.
Once the installation is complete, to access the web interface using your favorite web browser, you must start the service with this command:
:~$ sudo /usr/local/lsws/bin/lswsctrl start
And when we want to stop it, with this one:
:~$ sudo /usr/local/lsws/bin/lswsctrl stop
Now, if you access the web interface. You will see the following:
The default credentials are “admin” and “123456“. Obviously, this has to be changed later for security reasons.
Then, you will see the main screen.
Now, you can configure the server through a simple graphical interface.
Finally, it is a good idea to change the default password.
So, that is it.
In this post, we have met another quite popular web server as OpenLiteSpeed. In a market dominated by Apache and Nginx it’s always nice to have other alternatives for our projects.
Please share this post and join our Telegram channel.