How to Install LiteSpeed Web Server (All Supported OS)
This guide helps you install LiteSpeed Enterprise or OpenLiteSpeed on all supported Linux operating systems.
⚙️ Requirements
- ● Root SSH access
- ● Clean server (VPS or Dedicated)
- ● LiteSpeed license (for Enterprise) or free for OpenLiteSpeed
- ● Ports 7080 and 443/80 open
Supported Operating Systems
- ● AlmaLinux 8 / 9
- ● CentOS 7 (EOL soon)
- ● Rocky Linux 8 / 9
- ● CloudLinux 7 / 8 / 9
- ● Ubuntu 20.04 / 22.04
- ● Debian 10 / 11 / 12
Installation Steps (All OS)
AlmaLinux / Rocky Linux / CentOS / CloudLinux
dnf update -y
dnf install epel-release -y
rpm -ivh http://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el8.noarch.rpm
dnf install lsws -y
systemctl start lsws
systemctl enable lsws
Ubuntu 20.04 / 22.04
apt update -y
apt install software-properties-common -y
add-apt-repository universe
wget -O - https://repo.litespeed.sh | bash
apt install openlitespeed -y
systemctl start lsws
systemctl enable lsws
Debian 10 / 11 / 12
apt update -y
apt install wget lsb-release -y
wget -O - https://repo.litespeed.sh | bash
apt install openlitespeed -y
systemctl start lsws
systemctl enable lsws
Access Web Admin
Use your browser to access the admin panel:
https://your-server-ip:7080
Set the admin password using: /usr/local/lsws/admin/misc/admpass.sh
✅ Tip: Install PHP via LiteSpeed's script: /usr/local/lsws/admin/misc/build_php.sh
❗ Need Help Installing?
Our team can install LiteSpeed on any OS or control panel. Contact Support