How To Install the OpenLiteSpeed Web Server PHP and MariaDB on Ubuntu 20.10

User Avatar
👤 admin
🔴 Admin
✍️ The most important thing in the world is to not be alone.
⏳ Last active: 15 Apr 2025 at 16:01
📅 Created: 20 Mar 2021 at 10:36
👀 Viewed: 21 times
✉️ Send Email

About OpenLiteSpeed

OpenLiteSpeed is an optimized open source web server that can be used to manage and serve sites. OpenLiteSpeed has some useful features that make it a solid choice for many installations: it features Apache-compatible rewrite rules, a built-in web-based administration interface, and customized PHP processing optimized for the server.

How to install


# add repo

wget -O - http://rpms.litespeedtech.com/debian/enable_lst_debian_repo.sh | bash

# install

apt-get install openlitespeed

# Install and link php

apt-get install lsphp73

ln -sf /usr/local/lsws/lsphp73/bin/lsphp /usr/local/lsws/fcgi-bin/lsphp5

# Change admin password

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

# To Start The Server

/usr/local/lsws/bin/lswsctrl start

# Install MariaDB

sudo apt install mariadb-server

sudo mysql_secure_installation

# web server

http://localhost:8088

# admin panel

https://localhost:7080

# Maria DB login

mysql -u root -p

Adresses

http://localhost:8088 - web page

https://localhost:7080 - admin panel

Video

https://youtu.be/5PdamwSsIYo

If you want to comment: Login or Register