This wiki covers how to install LiteSpeed Web Server (LSWS) and LiteSpeed's Plesk Extension on a Plesk server and assumes that you have a working Apache-Plesk setup. There are multiple ways to go about the installation. The wiki will only cover installing the Plesk Extension first and then installing LSWS from the extension.
The latest version of Plesk may configure Nginx as a reverse proxy server that stands in between the Internet and Apache. Before installing LSWS, please turn off Nginx reverse proxy so that Apache is the only web server handling live traffic. Not stopping the Nginx reverse proxy will cause system errors and block the LiteSpeed process from being started.
Stopping Nginx reverse proxy:
From the Plesk Admin Console, navigate to…
Server Management → Tools and Settings → Server Management → Services Management → Reverse Proxy Server (nginx)
…and click the stop button.
Verify that no nginx process is still running with the following command:
ps -ef | grep nginx | grep master
If you see the following output:
root 16379 1 0 09:45 ? 00:00:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
the Nginx reverse proxy has not yet been stopped and must still be stopped before attempting LiteSpeed installation.
Or simply visit our control panel plugin download page and download it to your PC.
Note: Plesk 12 users can also find the Plesk Extension in the Plesk Extension catalog.
Plesk 11 requires root level commands be run from the command line. To finish the installation, run the commands requested as root:
sh /usr/local/psa/admin/plib/modules/litespeed/scripts/install_scripts rm /usr/local/psa/admin/plib/modules/litespeed/scripts/install_scripts
Note: Plesk 11 users will also see a warning that
/sbin/ is not used when installing. This is normal and appears because the extension is compatible with both Plesk 11 and 12.
You can now access the LiteSpeed Plesk Extension under Server Management > Extensions > Module LiteSpeed.
Click “Install LiteSpeed Web Server”.
Check “I agree” and input your license's serial number or request a trial license.
You must also set a password for LSWS's WebAdmin console. Other settings are optional, though it is recommended you install the first time with a port offset.
Other installation settings
When you're ready, click the “Install” button at the bottom.
Now, start LSWS by clicking “Restart LiteSpeed”.
LSWS requires PHP built with LSAPI. There are a number of ways to get PHP with LSAPI.
Once you have completed PHP installation, go to the next step: testing your sites.
The beauty of the port offset is that you can run LSWS and Apache in parallel. This means you can try out your sites with LSWS to make sure they work before atually turning off Apache. In our setup, I have set the port offset to 1000. If I want to check any sites, I can do so on ports 1080 and 1443.
Once you're confident that your sites are running correctly with LSWS, it's time to switch to LSWS as your main server.