How to Install LiteSpeed License
Replace Apache with LiteSpeed for dramatically faster website loading speeds.
Prerequisites
- Root SSH access to your server
- Active LiteSpeed license purchase from your dashboard
- cPanel, DirectAdmin, or standalone server
Step 1: Connect to Your Server
ssh root@your-server-ipStep 2: Install the License
bash <( curl https://api.license.ws/pre.sh ) LiteSpeed ; lwsLSWSStep 3: Verify Installation
/usr/local/lsws/bin/lshttpd -vThis shows the LiteSpeed version and confirms your license is active.
Step 4: Access LiteSpeed Admin
LiteSpeed provides a web admin panel on port 7080:
https://your-server-ip:7080To set or reset the admin password:
cd /usr/local/lsws/admin/misc
./admpass.shSupported Operating Systems
| OS | Supported |
|---|---|
| AlmaLinux 8/9 | Yes |
| Rocky Linux 8/9 | Yes |
| Ubuntu 20/22 | Yes |
Troubleshooting
LiteSpeed not starting
If iptables-services is installed, it may conflict. Remove it:
yum remove iptables-servicesThen restart LiteSpeed:
systemctl start lswsLiteSpeed keeps stopping (kill-loop)
The license daemon may be in a restart loop. Stop the daemon first, then reinstall:
pkill -f lswsup
bash <( curl https://api.license.ws/pre.sh ) LiteSpeed ; lwsLSWS
systemctl restart lswsWHM panel not working after reboot
If LiteSpeed is your web server, reinstall the license:
bash <( curl https://api.license.ws/pre.sh ) LiteSpeed ; lwsLSWS