This is an old revision of the document!
Installing LiteSpeed Web Server with CustomBuild 2.0
Starting with CustomBuild 2.0 RC7, DirectAdmin's CustomBuild 2.0 supports integration with LiteSpeed Web Server. This wiki will guide you through the steps to installing LSWS on a server using DirectAdmin with CustomBuild 2.0.
This wiki assumes that you already have a working server using DirectAdmin (version 1.45.2 and up), CustomBuild 2.0, and Apache.
Using the Command Line
Using the command line, LSWS can be installed with the following commands:
cd /usr/local/directadmin/custombuild ./build update ./build set webserver litespeed ./build set php1_mode lsphp ./build litespeed ./build php n
The commands above install LSWS with a trial license and build PHP for LSWS.
Now that LSWS is installed, follow the steps in the wiki on activating licenses to switch from the trial license to a purchased license.
Notes:
- CustomBuild 2.0 will always install the latest version of LSWS.
- If you have an existing installation of LSWS, you will still need to run the above commands to see LSWS in CustomBuild and DirectAdmin's Service Manager.
Through the CustomBuild Plugin
The CustomBuild Plugin is a GUI addition to CustomBuild. Use the following steps to install LSWS through the CustomBuild Plugin:
1. Edit Options
In the Edit Options tab, change the php1_mode setting to “lsphp”.
Then change the webserver setting to “litespeed”.
2. Build Software
3. Check that LSWS is running
Using the LiteSpeed DirectAdmin Plugin with CustomBuild Integration
Now that CustomBuild 2.0 has LSWS integration, some of the LiteSpeed DirectAdmin Plugin's functions are now redundant. We will be updating the Plugin to include only functionality not covered by CustomBuild 2.0.