How to install OpenLiteSpeed web server on Ubuntu 

Update the system packages

sudo apt-get update
Install OpenLiteSpeed dependencies

sudo apt-get install -y build-essential
sudo apt-get install -y rcs libpcre3-dev libexpat1-dev libssl-dev libgeoip-dev libudns-dev zlib1g-dev libxml2 libxml2-dev libpng-dev openssl
Install OpenLiteSpeed

tar -xzvf openlitespeed-1.4.34.tgz
cd openlitespeed-1.4.34/
sudo ./configure
sudo make && sudo make install
Configure the Admin user and password for the Web server

sudo /usr/local/lsws/admin/misc/
Please specify the user name of administrator.
This is the user name required to login the administration Web interface.

User name [admin]:

Please specify the administrator’s password.
This is the password required to login the administration Web interface.

Retype password:
Administrator’s username/password is updated successfully!
Configure the firewall

sudo ufw allow http
sudo ufw allow https
sudo ufw allow 8088/tcp
sudo ufw allow 7080/tcp
sudo ufw reload
Start the OpenLiteSpeed server

sudo /etc/init.d/lsws start
Go to https://server-ipaddress:7080