Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
World desk9 min

How to Install OpenLiteSpeed on a Linux VPS

Install OpenLiteSpeed on a supported Ubuntu, Debian or CentOS-family VPS, add LSPHP for PHP, secure WebAdmin on port 7080, and choose between repository, one-click, binary and source methods.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The most repeatable way to install OpenLiteSpeed on a Linux VPS is to use the official LiteSpeed repository, then install the server package and (if your application uses PHP) the matching LSPHP packages. The repository procedure supports current, non-end-of-life CentOS 8, 9 and 10; Debian 11, 12 and 13; and Ubuntu 22, 24 and 26, plus listed derivatives such as AlmaLinux, CloudLinux, Oracle Linux, RockyLinux and VzLinux.

This guide shows the repository installation first, including WebAdmin access, firewall requirements, PHP installation, verification and upgrades. It then explains the one-click, precompiled-binary and source-build alternatives so you can choose the right balance of automation and control.

As an Amazon Associate I earn from qualifying purchases.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Check that your VPS is supported

Before changing the server, identify the distribution and release running on the VPS and compare it with the current OpenLiteSpeed support matrix. The versions listed in the installation documentation are current as of October 15, 2026; package availability can change, so check the matrix again when provisioning a new machine or planning a production upgrade.

Distribution family Supported releases listed by OpenLiteSpeed Package command used below
Ubuntu 22, 24 and 26 apt-get
Debian 11, 12 and 13 apt-get
CentOS 8, 9 and 10 yum
Listed derivatives AlmaLinux, CloudLinux, Oracle Linux, RockyLinux and VzLinux are listed with the supported families Use the package manager for that family

You also need SSH access with an account that can use sudo. Keep a second session available while you make firewall changes. If the VPS image is outside the supported list, do not force a package installation: replace the image with a supported release or choose a different installation path after confirming that the binary or source instructions cover your operating system.

#1 Best Overall
Sale
TOZO A1 Wireless Earbuds Bluetooth 5.3 Light Weight in Ear Headphones | IPX5 Waterproof,2 Mics for AI Calls,Immersive Premium Sound Bass Headset with Charging Case,32 EQ via App Black
  • [Ultra-Lightweight Ear Buds Designed for Small Ears] Each earbud weighs only 3.7g and features a compact, ergonomic in-ear design made especially for small ears. Secure, low-profile, and comfortable for workouts, all-day wear or overnight sleeping.The ultra-slim profile sits flush in your ear with no hard edges poking or rubbing, so you can even sleep on your side without discomfort.
  • [Immersive Stereo Sound with TOZO OrigX Technology] TOZO OrigX tuning delivers clear vocals, balanced mids, and natural stereo sound for music, podcasts, and videos.
  • [Long Battery Life for Daily Use] Get up to 7 hours of playtime on a single charge, with up to 32 hours total using the charging case—ideal for workdays, commuting, and extended listening sessions.
  • [Bluetooth 5.3 & Stable Connection] Bluetooth 5.3 provides fast pairing, stable wireless performance, and reduced dropouts as you move around home or office.
  • [Deep Bass with Clear Vocals] High-performance drivers produce punchy bass while keeping vocals clean and detailed for everyday listening.

Choose an installation method

OpenLiteSpeed has several installation paths. They install the same web server but differ in how much software is added automatically and how upgrades are performed.

Method Automation What it installs Control and repeatability Upgrade rule
Repository Low-friction, package-managed OpenLiteSpeed; LSPHP is a separate package step Best for repeatable VPS provisioning and normal package updates Use apt-get upgrade openlitespeed on Debian/Ubuntu or yum update openlitespeed on CentOS-family systems
One-click script Highest automation OpenLiteSpeed and LSPHP; with -W, also MariaDB, WordPress and LiteSpeed Cache Fast, but review exactly what the script will add Keep the script-based installation approach documented and consistent
Precompiled binary Manual extraction and install The OpenLiteSpeed binary package Useful when you need the supplied binary rather than repository packages Do not mix binary and repository installation when upgrading
Source build Lowest automation Dependencies, compiled server and your selected build options Maximum customization, with more maintenance responsibility Repeat your source-build process and configuration deliberately

For most Ubuntu, Debian and CentOS-family VPSs, start with the repository method. Use the one-click script only on a fresh VPS where its bundled components are wanted. Choose a binary or source build when reproducibility or custom compilation matters more than package-manager convenience.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Install OpenLiteSpeed from the official repository

1. Connect over SSH

Connect to the VPS using an SSH account that has sudo privileges. Confirm the host and release before installing. If you are working on a production machine, take the provider’s snapshot or backup first so you can roll back a package or configuration change.

2. Add the LiteSpeed repository

Run the repository bootstrap command exactly as documented:

sudo wget -O - https://repo.litespeed.sh | sudo bash

The repository is the package source for OpenLiteSpeed and the LSPHP builds. The command pipes the downloaded bootstrap script to bash with root privileges, so run it only on the VPS you intend to administer and record when it was executed.

3. Install the OpenLiteSpeed package

Use the package manager that matches the operating-system family:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Sale
Smart Watch for Men Women Compatible with iPhone Samsung Android Phone 1.69 inch Full Touch Screen IP68 Waterproof Bluetooh Fitness Tracker Heart Rate/Sleep Monitor (Black)
  • 【IP68 Waterproof Multifunctinal Smart Watch】Torjalph fitness activity tracker smart watch is IP68 waterproof technology ,you can wear it when swimming,handwashing,it's rain-proof which means that you perform multiple exercise modes outside without worrying about sweat or rain corroding your fitness smart watch,and this watch equipped with a 230 mAh large capacity battery magnetic charging ,and this sports activity tracker watch can be used 5-7 days If fully charged.
  • 【Larger 1.83'' Full Screen Watch & Multi-dial Selection】1.83 inch full HD color touch screen smart watch for men / women provides excellent 240*284 resolution image quality ,This Bluetooth smart watch offers a better touch experience and remarkable immersion and ,more than 200 watch faces for you to choose from App"Da Fit ", you can change the dial style according to your mood to wear keeping the world on your wrist
  • 【Accurate Activity Tracker Smart Watch 】sports watch activity tracker uses sweat and dust resistant breathable silicone strap, our Fitness Tracker Smart Watch for Android iOS Phones supports 12 sports modes,walking,running,bicycle,swimming,badminton,basketball,football,rope skipping. This bluetooth calls smart watch for men women is lightweight and stylish, bringing more convenient and relaxing sports experience while also providing more protection.
  • 【Your 24 Hour Personal Daily Health Monitor】Fitness watch for women men full touch screen IP67 waterproof bluetooth smartwatch for Android iOS Phones with heart rate blood pressure monitor multifunction Andriod smart watch with steps counter sleep monitor sports fitness watch, monitoring blood oxygen saturation allows you to understand your physical condition in real time to track fitness progress ,to know your health status in time.
  • 【More Functions Bluetooth Call Smart Watch】This fitness activity smart watch full screen for iPhone and Android phones includes a bunch of new features including:The bluetooth smart watch can hang up the phone, receive and display WhatsAPP /Text /Facebook /Twitter /Messenger reminder.Support sedentary reminder, alarm clock, stopwatch, timer,weather information,music control, remote camera control compatible with Android 5.0 and above or iOS 9.0 and above smartphones.
# Debian/Ubuntu
sudo apt-get -y install openlitespeed

# CentOS-family distributions
sudo yum install openlitespeed -y

At this point the server files are installed under the default OpenLiteSpeed tree, /usr/local/lsws. PHP is not installed by this step; add LSPHP separately if the site or application requires it.

4. Install LSPHP for PHP applications

The repository guide uses the 8.4 LSPHP packages. Install the core package, common extensions and the database driver appropriate to your distribution:

# Debian/Ubuntu
sudo apt-get install lsphp84 lsphp84-common lsphp84-mysql

# CentOS-family distributions
sudo yum install lsphp84 lsphp84-common lsphp84-mysqlnd

The LSPHP executable for this example is:

/usr/local/lsws/lsphp84/bin/lsphp

Record that path when configuring a PHP application or troubleshooting an external application definition. Installing OpenLiteSpeed alone does not provide a PHP interpreter, and installing an LSPHP package does not automatically migrate an existing application’s PHP settings.

Start the service and verify it

Use the bundled control utility to start OpenLiteSpeed and check its state:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
sudo /usr/local/lsws/bin/lswsctrl start
sudo /usr/local/lsws/bin/lswsctrl status

Run the status command after installation and again after a reboot or configuration change. A successful status response confirms that the control script can see the service; it does not by itself prove that an external firewall allows browser traffic or that a particular virtual host is configured.

If the service does not start, read the command output, confirm that the package installation completed, and check for a port or configuration conflict before repeating the start command. Do not install a second copy from another method to “fix” the first one; mixed installations make ownership of files and future upgrades ambiguous.

Rank #3
New Bee Guitar Cable 10ft Electric Instrument Bass AMP Cord
  • [Low Noise High Fidelity] New bee guitar cord with 22AWG oxygen-free-copper center conductors provides enhanced signal transfer, the PVC insulation material and the high-density stranded copper double shield provide noise rejection for quiet operation
  • [Ideal for Choice] New bee 1/4 straight and right angle metal connectors, ensures a secure connection in any instrument, pedal, or amp jack. L shape great fro on stage guitar stands
  • [Wide Compatible] Suitable for mixer, power amplifier, microphone, effector, decoder, equalizer, electoronic organ, electric guitar, electric bass and other electronic equipments. Widely used in the installation of smart home, karaoke speaker, professional stage audio, etc
  • [Easy Disassemble] Making incidental repairs quick and easy! Very nice, flexible cable
  • [Dont Hesite to Order] 24 hours customer services and professional technology team are standing by

Open WebAdmin on port 7080

Find or set the administrator password

The installation generates a WebAdmin password and stores it at:

/usr/local/lsws/adminpasswd

To set or change the password interactively, run:

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

Use a strong, unique password and store it in your password manager. The password protects the administrative console, so do not place it in shell history, tickets or deployment scripts.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Allow the WebAdmin port

WebAdmin listens on TCP port 7080. Allow that port in both layers that can filter traffic:

  • The VPS operating-system firewall, if one is enabled.
  • The provider’s cloud firewall, security group or network ACL, if the VPS platform supplies one.

Open only the source addresses that need administrative access when your firewall supports source restrictions. You can close or restrict the port again after initial setup if your operating practice does not require public WebAdmin access.

Sign in

Open this address in a browser, replacing the host name or address with your own value:

https://your-domain-or-vps-ip:7080/

Use the administrator credentials from adminpasswd or the password you set with admpass.sh. If the page does not load, check the VPS and cloud firewall rules first, then verify that OpenLiteSpeed is running with lswsctrl status. A DNS name is optional for this initial connection; the VPS IP works when the port is reachable.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
BSIMB 15.6" Digital Family Calendar & Chore Chart, No Subscription Fees
  • Digital Family Calendar: BSIMB digital calendar wall touch screen puts an end to your chaotic life. Designed for busy families, the digital calendar keeps you organised and in step with your family. Assign different colours and tasks to each family member to make family scheduling easier and more intuitive.
  • Easy Setup and Auto-Sync: Plug in, connect to WLAN and auto-syn your electric calendar in minutes. Digital wall calendar compatible with Google calendar, iCloud calendar, Outlook calendar, Cozi calendar and Yahoo calendar. Add events directly on the device or through the ecalendar app. Electronic calendar stays current whether you're at work or traveling—no manual updates needed.
  • All-In-One Home Assistant: Smart calendar builds habits and encourage independence with personalised chores. Display daily meal plan to reduce the daily ‘What's for dinner?’ stress. To-do lists keep track of everything you want. Turning chores into valuable achievements with stars and rewards, making life easier and more enjoyable.
  • Manage Anytime Anywhere: BSIMB electronic calendar for family stay connected with the powerful ecalendar app. Access and manage your digital wall calendar anytime, anywhere with free features like stars & rewards, photo screensaver, chore charts, meals plans, to-do lists etc. Electronic planner paid features like Magic Import tailor advanced tools for users with special needs.
  • Stay in Touch with Loved Ones: Share photos or videos from your phone to electronic wall calendar with app, instantly update your life moment, and keep in touch with your family, especially those who are far away; you can also surprise your smart calendar digital wall by sending him a wish card; it's also great for keeping tech-illiterate elders in touch with the youngsters.

What to configure after the first login

The installation and WebAdmin login establish the server, but a production site still needs its own listener, virtual-host, document-root, TLS and application settings. Apply those settings in a controlled order rather than changing several unrelated values at once.

  1. Confirm that the intended host name resolves to the VPS address.
  2. Decide which site directory will contain the application and ensure the account that runs deployments can write the files it needs.
  3. Create or select the virtual host and listener for the site in WebAdmin.
  4. If the application is PHP-based, configure its external application to use the installed LSPHP binary at /usr/local/lsws/lsphp84/bin/lsphp.
  5. Install the site’s certificate and redirect policy only after the plain HTTP path responds, so certificate and routing failures are easier to isolate.
  6. Make one change at a time, apply it, and use lswsctrl status to verify that the server remains running.

The exact virtual-host and TLS values depend on your application and domain; they are separate from the package installation itself. Keep a written record of every listener, host name and PHP binary selected so the configuration can be reproduced on a staging VPS.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Use the one-click installer when you want a bundled stack

The official one-click script can install OpenLiteSpeed and LSPHP:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
bash <(curl -k https://raw.githubusercontent.com/litespeedtech/ols1clk/master/ols1clk.sh)

With the -W option, it can also install MariaDB, WordPress and LiteSpeed Cache:

bash <(curl -k https://raw.githubusercontent.com/litespeedtech/ols1clk/master/ols1clk.sh) -W

The bundled option is intended for a fresh VPS where all of those components are wanted together. Before running it, document the exact software and configuration the script will add, decide which credentials it will create, and take a backup or snapshot. Do not use it on a server that already has a separately managed database, PHP stack or web server unless you have verified that the script will not overwrite or conflict with them.

The command uses curl -k, as shown in the official procedure. Treat a remotely fetched installer as a privileged change: review the script and its release context, run it on the intended host, and retain a copy of the command and date for future maintenance.

Install from a precompiled binary

The binary guide provides an alternative for supported 64-bit operating systems when you want to install the supplied archive rather than use repository packages. It requires superuser privileges. The documented sequence is:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
tar -zxvf openlitespeed-*.tgz
cd openlitespeed
./install.sh
/usr/local/lsws/bin/lswsctrl start
/usr/local/lsws/bin/lswsctrl status

Run the extraction in a working directory with enough space, verify that the archive is the one you intended to install, and keep the original archive with your deployment records. The installer places the server under the default /usr/local/lsws tree. After installation, use the same WebAdmin password procedure and TCP 7080 firewall checks described earlier.

Do not later add the repository and update the binary installation with package-manager commands. The upgrade documentation explicitly warns against mixing binary and repository installations because the two methods can manage different files and versions.

Build OpenLiteSpeed from source

A source build is appropriate when you need custom compilation or want the build process itself under version control. It requires more operational work than a repository package.

  1. Extract the OpenLiteSpeed source archive in a dedicated build directory.
  2. Run ./build.sh. The script handles the dependency, configuration and compilation stages described by the source guide.
  3. Review ols.conf and adjust the build or runtime settings required by your environment.
  4. Run ./install.sh with the required privileges.
  5. Start and check the server with /usr/local/lsws/bin/lswsctrl start and /usr/local/lsws/bin/lswsctrl status.

The source installation uses /usr/local/lsws as the default server root and 7080 as the default WebAdmin port. Keep the source archive, build options, compiler environment and resulting version together in your deployment records. A source installation does not become a repository installation later; continue to rebuild and upgrade it through the source workflow you selected.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Upgrade without mixing installation methods

Use the same method for maintenance that you used to install OpenLiteSpeed. For repository installations, the documented package commands are:

# Debian/Ubuntu
sudo apt-get upgrade openlitespeed

# CentOS-family distributions
sudo yum update openlitespeed

Package availability and supported distribution releases are volatile. Test an upgrade on a staging VPS first, especially when the production server has custom listeners, virtual hosts or PHP integrations. Record the current version and back up configuration before applying the update. Afterward, run:

sudo /usr/local/lsws/bin/lswsctrl status

Then verify WebAdmin access and an application request from a controlled client. Binary installations must be upgraded with the binary process, and source installations must be rebuilt through the source process; never alternate between those workflows and repository commands.

Troubleshooting by symptom

Symptom Likely check Corrective action
The repository command fails immediately SSH account lacks usable sudo, or the VPS release is outside the supported list Reconnect with a sudo-capable account and verify the distribution and release before retrying.
Package name cannot be found The repository was not added successfully, or the distribution family command is wrong Run the repository bootstrap again only after checking its output; use apt-get for Debian/Ubuntu and yum for CentOS-family systems.
OpenLiteSpeed starts but PHP requests fail LSPHP was not installed or the application points to a different binary Install the matching LSPHP packages and configure the application to use /usr/local/lsws/lsphp84/bin/lsphp.
WebAdmin times out TCP 7080 is blocked by the VPS firewall or cloud firewall Allow TCP 7080 in every applicable firewall and confirm the service with lswsctrl status.
WebAdmin rejects the password The generated password was changed, mistyped or no longer available Run sudo /usr/local/lsws/admin/misc/admpass.sh and sign in with the newly set password.
An upgrade changes unexpected files Repository, binary and source methods were mixed Stop and document which method owns the installation; restore from backup if necessary, then continue with one consistent upgrade path.

Pre-production checklist

  • The VPS distribution and release appear in the current support list.
  • You can connect over SSH with a sudo-capable account.
  • The repository, binary or source method is recorded and will be reused for upgrades.
  • OpenLiteSpeed starts and reports a healthy status through /usr/local/lsws/bin/lswsctrl status.
  • If PHP is required, the LSPHP packages are installed and the application uses /usr/local/lsws/lsphp84/bin/lsphp.
  • The WebAdmin password is set securely, and TCP 7080 is allowed only where administration requires it.
  • Any one-click bundle was run only on a fresh VPS after documenting its MariaDB, WordPress and LiteSpeed Cache additions.
  • A staging upgrade or rollback plan exists before changing production.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

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

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.