Skip to content

Install from Precompiled Binary

Precompiled OpenLiteSpeed binaries are included in the download package. You can easily install these binaries instead of compiling and installing from source code.

Supported Operating Systems

OpenLiteSpeed supports current and non-EOL versions of the following Linux distributions:

  • CentOS* 7 (EOL June 30, 2024), 8, 9
  • Debian 10 (EOL June 30, 2024), 11, 12
  • Ubuntu 20, 22, 24

* Includes RedHat Enterprise Linux and derivatives, AlmaLinux, CloudLinux, Oracle Linux, RockyLinux, VzLinux, etc.

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, like so:

 wget https://openlitespeed.org/packages/openlitespeed-1.7.16.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

Next Step

Configure OpenLiteSpeed


Last update: July 30, 2024