OpenLitespeed is the open source version of Litespeed, a powerful, lightweight open source HTTP Web server developed by Lightspeed Technology under the GPLv3.0 license. System environment CentOS 8

Configure the OpenLitespeed software source by first adding the OpenLitespeed software source to CentOS 8:

[root@localhost ~]# rpm -ivh http://rpms.litespeedtech.com… How to install OpenLitespeed Web Server Update Software in CentOS 8

In this step, we will install PHP 7.4 using the OpenLitespeed software source, commonly known as LSPHP. But before you do that, make sure you add the EPEL software source with the following command:

[root@localhost ~]# DNF install -y EPEL -Release: LSPHP

[root@localhost ~]# dnf install -y lsphp74 lsphp74-mysqlnd lsphp74-process lsphp74-mbstring lsphp74-mcrypt lsphp74-gd LSPHP74 – Opcache LSPHP74 – BCMath LSPHP74 – PDO LSPHP74 – Common LSPHP74 – XML – OpenLiteSpeed Web Server – OpenLitespeed Web Server – OpenLitespeed Web Server – OpenCache After successfully installing the PHP package using the above DNF command, we then install the MariaDB database server.

Mysql > install mariadb-server;

[root@localhost ~]# DNF install -y MariaDB mariaDB -server: [root@localhost ~]# DNF install -y MariaDB -server: MariaDB -server:

[root@localhost ~]# systemctl enable mariadb # systemctl start mariadb Run the following systemctl command to check the status of the mariadb service,

[root@localhost ~]# SystemCtl Status MariaDB How to install OpenLitespeed Web Server in CentOS 8 How to install OpenLitespeed Web Server in CentOS 8 MariaDB is not secure, so we need to take some extra steps to protect MariaDB. Run the following steps:

[root@localhost ~]# mysql_secure_installation # mysql_secure_installation # mysql_secure_installation # mysql_secure_installation # mysql_secure_installation 8. Install OpenLiteSpeed Web Server for additional tips. Simply enter “Y” to perform the best practice setup: How to install OpenLiteSpeed Web Server in CentOS 8 How to install OpenLiteSpeed Web Server in CentOS 8

Install OpenLiteSpeed using the DNF Package Manager:

[root@localhost ~]# DNF install -y OpenLitespeed to see if the following web service is started.

How to install OpenLitespeed Web Server in CentOS 8 The Web service listens on two ports: 8088 and 7080. Port 8088 is used for demos, and port 7080 is the administration page.

You can use the netstat command to confirm which port the Web server is listening on, as follows:

[root@localhost ~]# netstat -tlunp How to install OpenLitespeed Web Server in CentOS 8 If the firewall is running, The following ports need to be opened:

[root@localhost ~]# firewall-cmd –permanent –add-port=8088/tcp success [root@localhost ~]# firewall-cmd –permanent –add-port=7080/ TCP success [root@localhost ~]# firewop-cmd — Reload success How to install OpenLiteSpeed in CentOS How to install OpenLiteSpeed Web Server in CentOS 8

Change Default Administration Password By default, the administrator’s password is set to 123456 and we need to change this password to a very reliable password. Even better, you can set up another user as the admin user by running the following script to modify the admin configuration:

/ root @ localhost ~ # / usr/local/LSWS/admin/misc/admpass sh how to install OpenLiteSpeed Web server in the CentOS 8 how to install OpenLiteSpeed in CentOS 8 The Web server

To access the default page of the OpenLitespeed Web server, enter the server’s IP address + port 8088. If you want to access the admin page, enter the IP address of the server + port 7080. How to install OpenLitespeed Web Server in CentOS 8 if the password is set in the previous step

How to install OpenLitespeed Web Server in CentOS 8?

Summary OpenLiteSpeed is the open source version of LiteSpeed, which is a powerful, lightweight open source HTTP Web server developed by Lightspeed Technology under the GPLv3.0 license.