"Skip to content"

How to install OpenLiteSpeed web server in centos ?

how-to-install-openlitespeed-web-server-in-centos

OpenLiteSpeed is a high performance web server software. It is a lightweight application with low CPU and RAM usage, developed by LiteSpeed Technologies. It is fairly easy to install OpenLiteSpeed on a CentOS server.

OpenLiteSpeed comes with a lot of interesting features that helps us to manage our sites effectively.

Some of the features include -

Requirements for installing Open LiteSpeLiteSpeeded Web Server • CentOS 7 and 8

• CPU

Intel: 80486 and up

PowerPC: PowerPC G4

• Memory

32MB and up (go with 1 GB or more for best performance)

The installation process should take about 15-25 minutes if you run below command

    bash <( curl -k https://raw.githubusercontent.com/openlitepanel/olpinstall/master/install.sh )

    Enter / Paste - License Key ( PRODUCT KEY )

Thats it!!

This scripts will install

Access Openlitespeed web server

https://yourhostorip:7080

before access, create your username and password with this command

/usr/local/lsws/admin/misc/admpass.sh

or

lsws admin

Access phpMyAdmin

https://yourhostorip:8090

Your MariaDB root password is auto generated and stored in /root/.MariaDB

To Start Stop Web Server

This only symlink to /usr/local/lsws/bin/lswsctrl

lsws start

type 'lsws help' to list command

To create Vhosts

/scripts/lscreate

and fill your domain name, ftp username and ftp password.

To Install Let's Encrypt Certificate

/scripts/certbot

Enter your domain, and certificate is auto installed to your domain. 

To create Databases

/scripts/createdb

To List Databases

/scripts/listdb

To check server health and service status

/scripts/olphealth

Many more features.

PS. If you liked this post please share it with your friends on the social networks.