+4 votes
62 views
Install OpenliteSpeed ​​Ubuntu

in Linux/Unix by (552k points)
reopened | 62 views

1 Answer

+5 votes
Best answer

How to install OpenLiteSpeed ​​Ubuntu

One of the great advantages that Linux offers is its ability to increase the native features of the system, regardless of the distribution used, this gives the normal and advanced user as well as the administrator multiple options to configure and work on the system and its applications, a One of the tasks in which Ubuntu, one of the most popular distributions, is effective is in development tasks and web hosting, something that every day takes much more strength and to help manage everything that this segment covers we have a comprehensive utility as is OpenLiteSpeed..

 

OpenLiteSpeed ​​has been developed as an open source web server with advanced performance and has been created by LiteSpeed ​​Technologies, as such this is a lightweight and 100% free version of LiteSpeed ​​Web Server, focused on delivering much more optimal and efficient performance. for everything that has to do with web hosting environments.

 

OpenLiteSpeed ​​is fully compatible with Apache so it can be used instead of Apache (one of the most popular for web tasks) without affecting the server configuration or the code of the web applications we develop..

 

 

Characteristics
Among the features of OpenLiteSpeed ​​we find:

 

  • It has an event-based architecture that aims to avoid more expenses and better use of hardware
  • Integrates a WebAdmin GUI to manage every aspect of equipment and applications
  • OpenLiteSpeed ​​supports mod_rewrite to avoid using new syntax
  • Optimized for faster speed
  • Smart cache acceleration
  • Page speed optimization
  • Google PageSpeed ​​improvements using the mod_pagespeed module
  • Adds PHP LiteSpeed ​​SAPI which is the native SAPI for PHP which gives external applications written in PHP much more efficient execution
  • Compatible with all versions of SPDY/2, 3, 3.1 and HTTP/2
  • TCP_FASTOPEN support
  • HTTP/3 and QUIC compatible
  • Integrated gzip compression
  • Brotli compression focused on static files
  • Sendfile() support
  • Supports external PHP, Ruby, Python, Perl, and Java applications
  • You can delegate external applications to separate processes
  • Stores requests and responses to external applications
  • Offers Apache-compatible SSI support
  • Support for SSL and hardware acceleration
  • Supports TLS 1.0, 1.1, 1.2, 1.3
  • Strict HTTP request validation for added security
  • Bandwidth and connection limitation
  • IP-based access control
  • Fault tolerance and automatic restart function
  • Compatibility with the PageSpeed ​​module to increase the speed of processes
  • Built-in Round Robin Policy
  • Flat file or XML configuration for administrative tasks
  • GeoIP modules to locate users using IP address

 

 

Now let's see how to install OpenLiteSpeed ​​on Ubuntu.

 

 

To stay up to date, remember to subscribe to our YouTube channel!
SUBSCRIBE ON YOUTUBE

 

How to install OpenLiteSpeed ​​Ubuntu

 

Step 1

We open the terminal and we are going to update the system by executing the command:
 sudo apt update 
Step 2

We enter the administrator password and wait for the process to finish:

 

 

image

 

Note
To apply all the updates we can execute the command:
 sudo apt upgrade 

 

Step 3

Now we are going to add the official OpenLiteSpeed ​​repository, for this we are going to execute the following command:
 sudo wget -O -https://repo.litespeed.sh | sudo bash 
image

 

Step 4

We can see that the download has been successful:

 

image

 

step 5

Again we are going to update Ubuntu since it is necessary to update these repositories, we execute the command "sudo apt update":

 

image

 

step 6

After this we are going to install OpenLiteSpeed ​​using the following command:
 sudo apt install openlitespeed lsphp81 
Note
This command will install the Openlitespeed and LSPHP 8.1 server package.

 

 

step 7

LiteSpeed ​​PHP (LSPHP) is the PHP interpreter integrated into the LiteSpeed ​​Server Application Programming Interface (LSAPI).

 

image

 

step 8

We must enter the letter S to confirm this installation:

 

image

 

step 9

Once OpenLiteSpeed ​​has been installed we are going to assign the administrator password, to achieve this we are going to use the following command:
 sudo /usr/local/lsws/admin/misc/admpass.sh 
step 10

There we can enter the desired name or press the Enter key to leave the default value which is admin, then we will assign the desired password, confirm it and this parameter will be assigned:

 

 

image

 

step 11

Let's check the status of OpenLiteSpeed ​​using the command:
 sudo systemctl status lsws 
image

 

Note
In case the service is not started, you will execute "sudo systemctl start lsws".

 

step 12

We must assign the permissions in the Ubuntu firewall to each port that will be used, for this we execute the following:
 sudo ufw allow 8088,7080,443,80/tcp 
image

 

step 13

Before accessing the platform, we execute the "ip a" command to find out the IP address of the device:

 

image

 

step 14

It is time to open the browser, there we are going to enter the IP address followed by port 8088 and by pressing Enter if everything was correct we will see the following:

 

image

 

step 15

We see that everything has been correct, on this screen we can click on each of the options to know the result that end users will see. We can see the PHP status:

 

image

 

step 16

We will see what message is displayed when there is no connection:

 

image

 

step 17

We can see a custom error message:

 

image

 

step 18

We may request the use of credentials:

 

 

image

 

step 19

We will see the message when the page is down:

 

image

 

step 20

We will have a section to upload files:

 

 

image

 

step 21

To use the management platform we are going to open a new tab, we enter the IP address but this time with port 7080:

 

image

 

step 22

This error is for browser security, we click on "Advanced" and then click on "Accept the risk and continue", now we will have access to the login screen:

 

image

 

Step 23

We enter the username and password that we configured previously and we will have access to the various options:

 

image

 

step 24

We can go to the various sections to see their use options:

 

image

 

step 25

In the Listener section it is possible to change the port eighty 8088 for security by clicking on the magnifying glass icon:

 

 

image

 

 

step 26

Then we click on the edit icon. There we can establish another port.

 

 

 

image

 

step 27

We navigate through the various sections such as virtual hosts:

 

image

 

Step 28

We can go to the vHost templates section:

 

image

 

Step 29

In Tools we can access some options such as the event viewer.

 

image

 

step 30

Or to the statistics in real time:

 

 

image

 

step 31

From WebAdmin we will see complete details of the system and web management:

 

 

image

 

So OpenLiteSpeed ​​is a comprehensive alternative for everything related to web administration..

 


by (3.5m points)
edited

Related questions

+5 votes
1 answer
asked Oct 26, 2023 in Linux/Unix by backtothefuture (552k points) | 85 views
+4 votes
1 answer
asked Jun 13, 2023 in Linux/Unix by backtothefuture (552k points) | 104 views
+4 votes
1 answer
asked Jun 11, 2023 in Linux/Unix by backtothefuture (552k points) | 124 views
+5 votes
1 answer
asked Apr 18, 2023 in Linux/Unix by backtothefuture (552k points) | 63 views
+3 votes
1 answer
asked Apr 18, 2023 in Linux/Unix by backtothefuture (552k points) | 74 views
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users