Skip to content

Installation Overview

OpenLiteSpeed (OLS) is a lightweight, high-performance, open-source HTTP server. This section covers the available installation methods and requirements.

OSVersionsPackage Format
AlmaLinux / Rocky Linux9RPM
Ubuntu22.04 LTS, 24.04 LTSDEB
Debian12 (Bookworm)DEB

Other RHEL 9-compatible distributions (Oracle Linux 9, CentOS Stream 9) are also supported via the RPM repository.

ResourceMinimumRecommended
RAM1 GB2 GB+
CPU1 core2+ cores
Disk500 MB free2 GB+
NetworkPublic IP or localhostPublic IP with ports 80, 443, 7080

OLS is lightweight and can run on smaller instances than Apache or Nginx for equivalent workloads.

The fastest path to a working OLS server. LiteSpeed provides official RPM and APT repositories with pre-built packages.

See Install from Repository for step-by-step instructions.

Ideal for containerized environments, CI/CD pipelines, and quick evaluation. The official Docker image includes lsphp83 out of the box.

See Docker Deployment for details.

For users who need custom compile-time options, patches, or non-standard platforms.

See Build from Source for compilation instructions.

After installation, OLS files reside under /usr/local/lsws/:

/usr/local/lsws/
bin/ # Server binaries (lshttpd, lswsctrl)
conf/ # Configuration files
httpd_config.conf # Main server config
vhosts/ # Virtual host configs
admin/ # WebAdmin interface
Example/ # Default virtual host docroot
logs/ # Server logs
modules/ # Loadable modules
tmp/ # Temporary files

Regardless of installation method, complete these steps after installing:

  1. Set the WebAdmin password (see your installation method’s page for the exact command).
  2. Access the WebAdmin GUI at https://your-server-ip:7080.
  3. Configure your first virtual host and listener.
  4. Set up SSL/TLS certificates. See SSL / TLS.
  5. Install PHP if needed. See PHP Installation.