How to Install LiteSpeed Web Server in cPanel Print

  • 16

How to install LiteSpeed Web Server (Auto Installer) with cpanel/whm panel Our auto-installer allows you to install LiteSpeed Web Server for use with cPanel/WHM with just one script.

The auto-installation script installs LSWS and our WHM Plugin,registers your license (or requests a trial license),
and builds PHP with LSAPI to match the current EasyApache-built PHP.

This auto-installer can only be used for cPanel/WHM installations.

Make sure beforehand that all sites are working fine with Apache.

PHP must have been built with EasyApache. LiteSpeed will build its matching PHP (with LSAPI) based on this build of PHP.

The auto-installer script can be downloaded from the control panel plugins download page or with the following commands:

[root@localhost]# wget http://www.litespeedtech.com/packages/cpanel/lsws_whm_autoinstaller.sh

We need to give permission to install the litespeed

[root@localhost]# chmod a+x lsws_whm_autoinstaller.sh

Run the auto-installer script

[root@localhost]# ./lsws_whm_autoinstaller.sh TRIAL 2 1000 admin a1234567 root@localhost 1 0

 

Note:

  • If you install LSWS with a trial license, you can always switch to a purchased license using the “Change License” button in the WHM plugin.
  • The auto-installer will build PHP for LSWS (with LSAPI) based on your most recent EasyApache PHP build.
  • If CageFS was installed prior to using this script, the auto-installer will automatically add a mount point for LSWS.

Done!

Was this answer helpful?

« Back