Home WebServer PanelaaPanel How to install OpenLitespeed on aaPanel

How to install OpenLitespeed on aaPanel

by Thạch Phạm
Published: Last Updated on
A+A-
Reset

What is OpenLitespeed?

OpenLiteSpeed is the open-source version of LiteSpeed Web Server Enterprise, this is a free version created to support individual web servers with a small number of websites. If you are a general user, OpenLiteSpeed is your wise choice because although it is free, it supports most of the essential features found in LiteSpeed Enterprise, including LS cache.

With LS cache, you can install and use it on most open-source code today, such as WordPress, Opencart, Xenforo, Magento, Joomla…

You can see more details of supported features on OpenLitespeed here.

And compare features between OpenLitespeed and Litespeed Enterprise in detail here.

Implementation guide

Step 1: Uninstall the current webserver

To install OpenLiteSpeed, you first need to remove the old web server you are using.

I’m using Nginx as a web server, you can see the image below:

openlite3 1024x742 1

So now I will proceed to uninstall Nginx as follows: (if using Apache, you do the same)

At the aaPanel interface, go to App Store (1) => Installed (2) => at Nginx, select Uninstall (3).

openlite4

Next, click confirm to uninstall.

openlite5

The uninstall process will be done, and you just need to wait for it to finish.

Step 2: Install OpenLiteSpeed

To install OpenLiteSpeed, at the App Store interface (1) => Deployment (2) => in the OpenLiteSpeed section, select Install (3).

openlite7

Next, click confirm to confirm the installation.

openlite8
openlite9

The installation process will take about 5-10 minutes depending on each VPS. As shown below, I have successfully installed OpenLiteSpeed.

openlite10

Step 4: Check Web admin OpenLiteSpeed

After successful installation, the default OpenLiteSpeed Web admin access path will be: https://IPVPS:7080/

However, to be able to access it, you need to do the following 2 steps:

  • Open firewalld port

By default, port 7080 will not be opened on the firewalld, so you will not be able to access it after installation, you can stop the firewall or open the port with the following command:

AZDIGI Tutorial
firewall-cmd --zone=public --add-port=7080/tcp 
    

If you receive a message like the below that you have succeeded:

[root@sv ~]# firewall-cmd --zone=public --add-port=7080/tcp 
success
  • Reset OpenLiteSpeed Webadmin credentials

After installing OpenLiteSpeed, we will not be provided with login information, but you need to reset the password with the following command:

AZDIGI Tutorial
cd /usr/local/lsws/admin/misc
./admpass.sh
    

Command annotation:

  1. Navigate to the path containing the login information file
  2. Run the command reset password

You do the following:

[root@sv /]# cd /usr/local/lsws/admin/misc
[root@sv misc]# ./admpass.sh
Please specify the user name of administrator.
This is the user name required to login the administration Web interface.

User name [admin]: admin   (nhập admin)
Please specify the administrator's password.
This is the password required to login the administration Web interface.
Password:         (nhập pass mới)
Retype password:  (nhập lại pass mới)
Administrator's username/password is updated successfully!
[root@sv misc]#

Now you can try to access Webadmin with the information just reset, the Webadmin interface will look below:

openlite11
openlite12 1024x654 1

Step 5: Recheck the website

After the installation completes the OpenLiteSpeed installation, you can visit and recheck your website. As shown below, my website has been successfully run on Server Litespeed.

If the Webserver is OpenLiteSpeed or Litespeed Enterprise, you can install the LiteSpeed Cache plugin to combine and optimize the most powerful cache with this server.

openlite13

Summary

So in this article, AZDIGI showed you how to install OpenLiteSpeed on VPS using aaPanel in the simplest and most detailed way with just a few mouse clicks. Converting Webserver from Nginx/Apache to OpenLiteSpeed will bring outstanding performance to your website, especially websites using open-source code such as WordPress, Opencart, Xenforo, Magento, Joomla… If you find the article interesting and useful, you can share it widely.

You can refer to some other useful aaPanel articles below:

Wishing you success!

If you need assistance, you can contact support in the ways below:

Đánh giá

Tham gia nhóm hỗ trợ Server - Hosting

Tham gia nhóm Hỗ trợ Server - Hosting & WordPress để cùng nhau hỏi đáp và hỗ trợ các vấn đề về WordPress, tối ưu máy chủ/server.

Tham gia ngay

Bài viết cùng chuyên mục

AZDIGI – Không chỉ là đơn vị hàng đầu trong lĩnh vực Web Hosting và Máy chủ, chúng tôi mong muốn mang lại những kiến thức bổ ích nhất và luôn cập nhật thường xuyên cho cộng đồng người đam mê thiết kế website, công nghệ,…

Vui lòng không sao chép nội dung nếu chưa xin phép. Designed and Developed by PenciDesign