Bobcares

Easy Way to Install OpenLiteSpeed on Ubuntu 24.04

PDF Header PDF Footer

Learn how to install OpenLiteSpeed on Ubuntu 24.04 for fast and secure web hosting. Our LiteSpeed Support team is ready to assist you. 

Install OpenLiteSpeed on Ubuntu 24.04

OpenLiteSpeed is a free, lightweight, and high-performance web server designed for modern websites. It offers built-in caching, Apache compatibility, and a user-friendly WebAdmin panel for easy management. Ideal for WordPress and VPS hosting, it delivers speed, security, and efficient server performance.

What is OpenLiteSpeed?

OpenLiteSpeed is a free, fast, and lightweight web server. It comes with built-in caching, rewrite rule support, and a simple web admin panel. Designed for WordPress and VPS hosting, it delivers speed, security, and efficient performance.

openlitespeed

Key Features of OpenLiteSpeed

OpenLiteSpeed is a free, high-speed web server with built-in caching, Apache compatibility, and easy management. It supports HTTP/3, boosts CMS performance, and includes strong security features, making it lightweight, scalable, and ideal for modern websites.

Read our guide on how to install OpenLiteSpeed in Ubuntu 18.04.

Advantages of OpenLiteSpeed

OpenLiteSpeed is a free, fast, and lightweight web server designed for high performance. With its event-driven architecture, it can handle many visitors at once while using minimal resources. The built-in LiteSpeed Cache boosts website speed, especially for WordPress, and it supports Apache .htaccess rules, modern protocols like HTTP/3, and multiple PHP versions for smooth migration and better CMS performance.


Managing and securing your server is simple with OpenLiteSpeed. Its WebAdmin interface is user-friendly, while features like DDoS protection, ModSecurity WAF, and bandwidth control keep your site safe. One-click installation allows you to set up OpenLiteSpeed, databases, and WordPress quickly, making it ideal for both beginners and advanced users.

Prerequisites

  • Server & Access: Ubuntu 24.04 with root or sudo user.
  • Resources: Minimum 2GB RAM, 2 CPU cores; 4GB/4 cores for high traffic.
  • Disk & Internet: At least 300MB free space and stable internet connection.
  • Firewall & Ports: Open 22 (SSH), 7080 (Admin), 80/443 (Web traffic).
  • Dependencies & Domain: Install wget, curl, unzip, software-properties-common; use a domain pointing to your server for hosting.

How to Install OpenLiteSpeed on Ubuntu 24.04

  1. Update your system packages to ensure everything is up to date:
sudo apt update && sudo apt upgrade -y
  1. Add the official repository and install OpenLiteSpeed:
wget -O - https://repo.litespeed.sh | sudo bash
sudo apt install openlitespeed -y
  • Start and Manage the Service

Enable and start OpenLiteSpeed, then check its status:

sudo systemctl enable lshttpd.service
sudo systemctl start lsws
sudo systemctl status lsws

Set the web admin password:
sudo /usr/local/lsws/admin/misc/admpass.sh
  • Configure Firewall and Access the Admin Panel

Allow necessary ports through UFW and reload:

sudo ufw allow 7080/tcp
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw reload

Access the admin interface at:
https://<your-server-ip>:7080

Log in with the credentials you created. Proceed past the first-time certificate warning.

Check out our OpenLiteSpeed Reverse Proxy setup guide for easy steps.

[Need assistance with a different issue? Our team is available 24/7.]

Conclusion 

Installing OpenLiteSpeed on Ubuntu 24.04 is quick and easy, offering fast performance, built-in caching, and a user-friendly WebAdmin for smooth website management.

In brief, our Support Experts demonstrated how to fix the “554 5.7.1 : Relay access denied” error.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Get featured on the Bobcares blog and share your expertise with a global tech audience.

WRITE FOR US
server management

Spend time on your business, not on your servers.

TALK TO US

Or click here to learn more.

Speed issues driving customers away?
We’ve got your back!