Install OpenLiteSpeed from Pre-Complied Binary

You are here:
< Back

Requirements

Latest OpenLiteSpeed has precompiled binary included in the package for you to easily install than compiling/installing from source code yourself.

Operating System

NOTE: Currently one click installation only supports the above operating systems with 64 bit platforms.

User Permission

You will need Super User permissions to install OLS as root. How you do this will depend upon which distribution you use. Some distributions such as CentOS enable the root user, allowing you to use the su command. Others such as Ubuntu and Debian do not, and require you to use the sudo command.

Direct Download

Download the OpenLiteSpeed binary from the Download page.

Or, use the wget command to download it from the console, e.g.

wget https://openlitespeed.org/packages/openlitespeed-1.5.0.tgz

Installation

Binary installation can be done in just a few commands:

tar -zxvf openlitespeed-*.tgz
cd openlitespeed
./install.sh

If the installation goes well, you will see:
[OK] The startup script has been successfully installed!

Now you can start the web server, like so:

/usr/local/lsws/bin/lswsctrl start

Check the status:

/usr/local/lsws/bin/lswsctrl status