Skip to main content

OpenLiteSpeed (Version 1.7.16) – Ubuntu 22.04

Overview​

Category: Frameworks
Supported OS: Ubuntu 22.04

OpenLiteSpeed is the open-source edition of the LiteSpeed Web Server Enterprise, offering essential features such as HTTP/3 support. It is optimized for high performance, security, and scalability, making it ideal for web application hosting and development.


Software Included​

  • OpenLiteSpeed: 1.7.16
  • LSPHP: 7.4

Getting Started After Deployment​

1. Firewall Configuration​

Allow only SSH (port 22, rate limited), HTTP (port 80), HTTPS (port 443), and LiteSpeed Admin Panel (port 7080) for access.


2. Deployment Message​

During deployment, you will be logged out and see the following message:

Please wait until the installation is completed.... Connection to $IPADDRESS closed.

Do not log in for at least 2 minutes after the instance is created to allow the setup to complete.


3. First Login Steps​

  • Log in as the ubuntu user, using your set password or SSH key.

  • Switch to the root user without a password:

    sudo su -

  • When you connect via SSH for the first time, your password and the admin panel URL will be displayed.

  • The OpenLiteSpeed Admin Dashboard credential is stored at:

    /root/.Litespeed_Admin_Password


4. Accessing OpenLiteSpeed​

  • To access the web server default page, visit:

    http://$IPADDRESS

  • The web root is:

    /var/www/html

  • To access the OpenLiteSpeed Admin Dashboard, visit:

    http://$IPADDRESS:7080

  • Log in using the credentials from /root/.Litespeed_Admin_Password.

  • To view PHP information, visit:

    http://$IPADDRESS/phpinfo.php


5. Securing Your Instance​

For enhanced security, configure a registered domain to point to your instance before exposing it to the public internet.