DirectAdmin Knowledge Base and Support

DirectAdmin is a web panel for a simple administration of both virtual and dedicated servers. DirectAdmin is faster, safe and more powerful than any other CP. And we know how to customize and support it.

How to install OpenLiteSpeed on a DirectAdmin server

| 23:55:00 05.04.2019

I want to have OpenLiteSpeed server on a server with DirectAdmin. How can I do it?

Information

OpenLiteSpeed is the Open Source edition of LiteSpeed Web Server Enterprise with fewer processes, less overhead, and enormous scalability in comparison with other popular web-servers. 

OpenLiteSpeed is mod_rewrite compatible, with no new syntax to learn. Built-in full-page cache module is highly-customizable and efficient for an exceptional user experience.

Experience a measurable performance boost with OpenLiteSpeed and LSCache for WordPress.

OLS comes with a built-in WebAdmin GUI as shown below:

OpenLiteSpeed is the Open Source edition of LiteSpeed Web Server Enterprise.

So if you decided to use it, here is a guide on how to install it.

Installation Guide

At the moment of writing this article CustomBuild 2.0 does not support OpenLiteSpeed yet, support is coming soon though! They announced DirectAdmin 1.56.2 1.56.4 will support it.

Anyway here is how can you get it installed with the help of CustomBuild once they introduce the full support of it.

On a CentOS server, first run this as root (it's a requirement): 

yum -y install udns-devel GeoIP-devel

Then do the following (commands were discovered through reading code of CustomBuild script rev: 2033 available at the moment):

cd /usr/local/directadmin/custombuild
./build update && ./build clean
./build set webserver openlitespeed

for i in 1 2 3 4; do ./build set php${i}_mode php-fpm; done;

./build openlitespeed
./build php
./build rewrite_confs

That's it for now.

About Us
We are a team of professionals, and specialize in installation, configuring and managing of remote virtual and dedicated servers powered by Linux/Unix-like OS with DirectAdmin. We support various sets of software, including web-servers Apache, Nginx; internet domain name servers Bind, PowerDNS; mail-servers with POP3, IMAP and SMTP, FTP-servers, etc. After years of working through the most complex server challenges our team has gathered valuable experience and universal solutions suitable for everyday tasks. We are here to lend you a helping hand and take care of your servers in order to let you have enough time to do more of what you love.




All of the information and data on this site is for informational purposes only and is provided for the convenience of the user.
Powered by: Amiro.CMS - Free edition