How to Install LiteSpeed

Many control panels like cPanel will come with an auto Installer for LiteSpeed. However, if you want to install LiteSpeed but you either don't have a supported control panel or you have a standalone Apache server, these instructions will help guide you through the installation process.

  1. Run the following commands from SSH as root:
     
    • cd /root
      wget http://www.litespeedtech.com/packages/4.0/lsws-4.2.12-ent-x86_64-linux.tar.gz
    • Note: Make sure to replace the values in the URL for your specific OS and the version of LiteSpeed you wish to download
      • lsws-4.2.12-ent-x86_64-linux = LSWS Enterprise 4.2.12 for 64-bit Linux
      • lsws-4.2.10-std-i386-linux = LSWS Standard 4.2.10 for 32-bit Linux
      • lsws-4.2.12-ent-x86_64-freebsd6 = LSWS Enterprise 4.2.12 for 64-bit FreeBSD 6.x
         
  2. Unpack the ZIP file with tar -zxvf lsws-4.2.19-ent-x86_64-linux.tar.gz
  3. Type in cd lsws-4.2.19 into your command terminal
  4. Next, run the installation script:
     
    • cd lsws-4.2.12
      ./install.sh
    • For the Enterprise Edition, make sure to put the license file (trial.key or paid license serial.no file in the unpacked folder)
       
  5. Accept the EULA for Litespeed
  6. Click Enter for the default (/usr/local/lsws)
  7. Set up an Admin username (Don't use Admin!)
  8. Set up the password for your Admin account
  9. Set up the email address for your Admin account
  10. Set your control panel if you have one. (InterWorx = 5)
  11. "0" to replace Apache
  12. "1" to use SuEXEC or "2" if you have DirectAdmin
  13. "Y" to start it automatically when the server starts
  14. Click Enter
  15. If you have Apache still on, turn it off using:
    • service httpd stop
      chkconfig httpd off
  16. "Y" to start LiteSpeed now


Your LiteSpeed Web Server should now start successfully. Now you should test and switch everything to LiteSpeed if it didn't automatically change. If your application doesn't allow you to run an offest prot for LSWS, then you should stop your Apache web server and start LSWS for testing.

Go to http://your-ip:7080/ after you've started running your server to verify.

If that's the case, the first thing you need to do is compile PHP with LSAPI.

If you get an error on the first step, you need to install patch:

yum install patch


If you need more assistance, you can visit LiteSpeed's official Wiki page or feel free to contact us by opening a support ticket or by using our live chat feature for 24/7 support.

  • LiteSpeed, installer, install
  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

 CloudLinux PHP Selector

CloudLinux requires the following to be installed: PHP Selector LVE Manager CageFS...

 How to Compile LsPHP on InterWorx

To compile LsPHP to match the PHP on the server you need to use one of the following commands...

 How to Enable SSL for Webadmin

As of LiteSpeed Web Server v5.2, self-signed SSL certificates are automatically created for the...

 How to Fix Broken Images in LiteSpeed

First, go to your web console then go to Configuration > Server > Security File...

 An LC.8 Error Appeared

If you see an LC.8 error appear while using LiteSpeed, then the IP you have been assigned has...