LiteSpeed Web Server · Setup

Install LiteSpeed.

Move from Apache to a faster web server with a guided installation. LiteSpeed Web Server works with your existing Apache setup and control panel.

Apache compatibleGuided setupLinux servers
DEPLOYMENT / 01READY

One installer.
Your server.

Run the installer with your license serial. It will guide you through the options that apply to your environment.

PlatformModern Linux
Control panelscPanel · Plesk · more
ModeInteractive or automated
01 / Quick start

Install from your terminal.

Connect to the server as root, then run the installer with your LiteSpeed license serial.

RUN_01
root@server ~bash
bash <( curl https://get.litespeed.cc ) your_serial_no

Replace your_serial_no with your own serial number. Review the installer before running a remote script as root.

02 / Before you install

Frequently
asked questions.

What to expect from the installation and where it can run.

Browse documentation
01 What does the installer do?
It asks for the settings relevant to your server, then installs LiteSpeed Web Server. On cPanel or Plesk, you can choose a parallel setup and switch web servers later. On other setups, the installation replaces the current web server.
02 Which control panels are supported?
The installer has been tested with cPanel, Plesk, DirectAdmin, H-Sphere, InterWorx, LxAdmin and ISPmanager. Available prompts depend on the panel it detects.
03 Which operating systems work?
The installer is intended for modern Linux distributions. Check your panel and distribution requirements before running it on a production server.
03 / Repeatable deployment

Automate the install.

For bulk provisioning, put an lsws.options file beside the installer to supply answers ahead of time. The installer can then run without interactive questions.

STEP 01

Prepare options

Choose the example for your control panel and edit its values for your environment. Keep passwords and license details out of public files.

STEP 02

Run the installer

Download your private options file into the working directory, then run the install command.

root@server ~bash
curl -o lsws.options www.your-link.com && bash <( curl https://get.litespeed.cc ) your_serial_no

Use a trusted private URL for lsws.options, and replace the example address and serial before running.

04 / Configuration examples

Start with your panel.

These short examples cover common settings. Adjust every value to match your server before using them.

LSWS.OPTIONS
01 / cPanel

Test beside Apache

A nonzero port offset lets you test LiteSpeed in parallel before switching live traffic. Set the admin credentials and notification address for your own server.

php_suexec: 0 off, 1 on, 2 home directory only. port_offset: 0 replaces the current port; 1000 keeps Apache on its current port during testing. auto_switch_to_lsws: use 1 only when you are ready to switch.

serial_no="TRIAL"
php_suexec="2"
port_offset="1000"
admin_user="admin"
admin_pass="CHANGE_TO_A_STRONG_PASSWORD"
admin_email="root@localhost"
easyapache_integration="1"
auto_switch_to_lsws="0"
deploy_lscwp="0"
Installer behavior and available options come from the LiteSpeed installer guide . Check that guide for the complete option reference.
Ready to deploy?

Put LiteSpeed to work.

Get a license, then install it on your server.