I think it would not be misleading to say that Litespeed is the best performance enhancing software in terms of software. We use and recommend this software on all our linux servers.
How to install litespeed in directadmin. The process is pretty simple.
After logging into your server as root via ssh, follow the steps below.
cd /usr/local/directadmin/custombuild ./build update ./build set webserver litespeed ./build set php1_mode lsphp ./build litespeed
If you are using 4 php versions instead of 1, apply the following commands
cd /usr/local/directadmin/custombuild ./build update ./build set webserver litespeed ./build set php1_mode lsphp ./build set php2_mode lsphp ./build set php3_mode lsphp ./build set php4_mode lsphp ./build litespeed
When installing Litespeed, it usually gives a failed warning. For this, make sure that the php1_mode part is changed to lsphp, sometimes this setting may return, and it may return to apache on the webserver.
If this is the case persistently, enter these two commands quickly and then run the install. You may have to try several times.
Do not forget to note that when the installation process is completed, it will give you a link ending with port 7080 and a username and password.
If you are not installing litespeed on your server for the first time, if you have a license code, execute the following command.
cd /usr/local/directadmin/custombuild ./build set litespeed_serialno litespeedlicensenumber
When you apply this command, your license code will be processed in the settings, and then you can proceed to the installation.