Upgrade OpenLiteSpeed in DirectAdmin

You are here:
< Back

In DirectAdmin, OpenLiteSpeed’s configuration is automatically generated by a DirectAdmin CustomBuild script during the installation. Hence, you should NEVER use a package management command such as yum update openlitespeed or apt-get upgrade openlitespeed to upgrade OpenLiteSpeed. Instead, you should always use DirectAdmin’s CustomBuild script to do any upgrade. The following command will upgrade OLS to the latest version:

./build update
./build openlitespeed

If you have any need to upgrade/downgrade OLS to a particular version, please refer to these DirectAdmin instructions.

cd /usr/local/directadmin/custombuild
echo "openlitespeed:1.6.2:" > custom_versions.txt
./build openlitespeed