Install OpenLiteSpeed on CentOS

To install OpenLiteSpeed web server on CentOS, install repository for your CentOS version

For CentOS 6

For CentOS 7

For CentOS 8

To install OpenLiteSpeed, run

Before you can install PHP, you need epel repository enabled with

Install PHP with

Set symlink

Start OpenLiteSpeed with

To stop OpenLiteSpeed, run

By default, OpenLiteSpeed will run on port 8088

You can login to Admin Interface at

By default, you see an example application. The configuration file for this is at

Default DocumentRoot is /usr/local/lsws/Example/html. To change, edit file

Find

Replace $VH_ROOT/html/ with whatever path you need. You need to restart OpenLiteSpeed to make the change go live

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *