{"id":12518,"date":"2025-12-20T09:48:59","date_gmt":"2025-12-20T04:18:59","guid":{"rendered":"https:\/\/www.youstable.com\/blog\/?p=12518"},"modified":"2025-12-20T09:49:02","modified_gmt":"2025-12-20T04:19:02","slug":"install-litespeed-on-linux","status":"publish","type":"post","link":"https:\/\/www.youstable.com\/blog\/install-litespeed-on-linux","title":{"rendered":"How to Install LiteSpeed on Linux Server &#8211; (Step-by-Step Guide 2026)"},"content":{"rendered":"\n<p><strong>To install LiteSpeed on a Linux server<\/strong>, choose OpenLiteSpeed (free) or LiteSpeed Enterprise (licensed), add the official repository, install the web server and LSAPI PHP (lsphp), start and enable the service, set the WebAdmin password, open ports 80\/443\/7080 in your firewall, create a virtual host, and enable HTTP\/3 and LSCache for performance.<\/p>\n\n\n\n<p>In this step-by-step guide, you\u2019ll learn how to install LiteSpeed on Linux server environments (Ubuntu, Debian, RHEL, AlmaLinux, Rocky, CentOS), configure PHP, secure the WebAdmin console, add SSL, and optimize for WordPress with LSCache. I\u2019ll also cover common pitfalls, performance tuning, and FAQs using clear, beginner-friendly language.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"why-litespeed-for-linux-servers\"><strong>Why LiteSpeed for Linux Servers<\/strong>?<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"2496\" height=\"1664\" src=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2025\/12\/image-38.png\" alt=\"Why LiteSpeed for Linux Servers?\" class=\"wp-image-12577\" srcset=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2025\/12\/image-38.png 2496w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2025\/12\/image-38-150x100.png 150w\" sizes=\"auto, (max-width: 2496px) 100vw, 2496px\" \/><\/figure>\n\n\n\n<p>LiteSpeed Web Server (LSWS) is a high-performance, drop-in replacement for Apache that supports .htaccess, HTTP\/2 and HTTP\/3 (QUIC), and advanced caching. OpenLiteSpeed (OLS) is the free edition; Enterprise is the commercial edition with full Apache config compatibility, ESI, and enhanced features. Both are excellent for WordPress, WooCommerce, and high-traffic PHP sites.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"prerequisites\"><strong>Prerequisites<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A Linux server (Ubuntu 22.04\/24.04, Debian 11\/12, RHEL\/AlmaLinux\/Rocky 8\/9, or CentOS 7\/Stream)<\/li>\n\n\n\n<li>Root or sudo privileges<\/li>\n\n\n\n<li>A domain name (recommended) pointed to your server\u2019s IP<\/li>\n\n\n\n<li>Firewall access to open ports: 80 (HTTP), 443 (HTTPS), 7080 (LiteSpeed WebAdmin), and 8088 (OpenLiteSpeed default test site)<\/li>\n\n\n\n<li>No conflicting web server on port 80\/443 (stop\/disable Apache or Nginx if needed)<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"openlitespeed-vs-litespeed-enterprise\"><strong>OpenLiteSpeed vs LiteSpeed Enterprise<\/strong><\/h2>\n\n\n\n<p>Choose the edition that fits your stack before you install LiteSpeed on Linux server distributions:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"openlitespeed-ols\"><strong>OpenLiteSpeed (OLS)<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Free and open-source<\/li>\n\n\n\n<li>Great for WordPress, PHP apps, and developers comfortable with LiteSpeed\u2019s native config<\/li>\n\n\n\n<li>Admin panel on port 7080; default site on port 8088<\/li>\n\n\n\n<li>Supports .htaccess and Apache rewrites (with minor differences in edge cases)<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"litespeed-enterprise-lsws\"><strong>LiteSpeed Enterprise (LSWS)<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Commercial license (trial available)<\/li>\n\n\n\n<li>Drop-in Apache replacement with near-complete httpd.conf and .htaccess compatibility<\/li>\n\n\n\n<li>Advanced features: ESI (edge-side includes), QUIC.cloud integration, and premium support<\/li>\n\n\n\n<li>Best for cPanel\/DirectAdmin environments or mission-critical production workloads<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"step-1-prepare-your-server\"><strong>Step 1: Prepare Your Server<\/strong><\/h3>\n\n\n\n<p>Update the OS and stop any web server bound to ports 80\/443. On Ubuntu\/Debian use apt; on RHEL variants use dnf.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Ubuntu\/Debian\nsudo apt update &amp;&amp; sudo apt -y upgrade\nsudo systemctl stop apache2 nginx 2&gt;\/dev\/null || true\nsudo systemctl disable apache2 nginx 2&gt;\/dev\/null || true\n\n# RHEL\/AlmaLinux\/Rocky\/CentOS\nsudo dnf -y update\nsudo systemctl stop httpd nginx 2&gt;\/dev\/null || true\nsudo systemctl disable httpd nginx 2&gt;\/dev\/null || true<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"step-2-install-openlitespeed-free\"><strong>Step 2: Install OpenLiteSpeed (Free)<\/strong><\/h3>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"ubuntu-22-04-24-04-and-debian-11-12\"><strong>Ubuntu 22.04\/24.04 and Debian 11\/12<\/strong><\/h3>\n\n\n\n<p>Add the official LiteSpeed repository, <a href=\"https:\/\/www.youstable.com\/blog\/install-openlitespeed-on-directadmin\/\">install OpenLiteSpeed<\/a> and LSAPI PHP (lsphp), then enable the service.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install -y curl\ncurl -s https:\/\/repo.litespeed.sh | sudo bash\n\nsudo apt update\nsudo apt install -y openlitespeed\n\n# Install PHP 8.1 or 8.2 via LSAPI (choose one version)\nsudo apt install -y lsphp81 lsphp81-common lsphp81-mysql lsphp81-opcache\n\n# Start and enable\nsudo systemctl enable --now lsws\n\n# Set WebAdmin password (for https:\/\/&lt;server_ip&gt;:7080)\nsudo \/usr\/local\/lsws\/admin\/misc\/admpass.sh<\/code><\/pre>\n\n\n\n<p>Point the OpenLiteSpeed PHP handler to the installed lsphp version:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Symlink the PHP binary for OLS (adjust version if needed)\nsudo ln -sf \/usr\/local\/lsws\/lsphp81\/bin\/lsphp \/usr\/local\/lsws\/fcgi-bin\/lsphp\n\n# Restart LiteSpeed\nsudo systemctl restart lsws<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"rhel-8-9-almalinux-rocky-centos\"><strong>RHEL 8\/9, AlmaLinux, Rocky, CentOS<\/strong><\/h3>\n\n\n\n<p>Enable the repository, install OpenLiteSpeed and PHP, then start the service.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf install -y epel-release curl\ncurl -s https:\/\/repo.litespeed.sh | sudo bash\n\nsudo dnf install -y openlitespeed lsphp81 lsphp81-mysql lsphp81-opcache\n\nsudo systemctl enable --now lsws\nsudo \/usr\/local\/lsws\/admin\/misc\/admpass.sh\n\n# Optional: link PHP handler\nsudo ln -sf \/usr\/local\/lsws\/lsphp81\/bin\/lsphp \/usr\/local\/lsws\/fcgi-bin\/lsphp\nsudo systemctl restart lsws<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"firewall-notes\"><strong>Firewall Notes<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code># UFW (Ubuntu\/Debian)\nsudo ufw allow 80,443\/tcp\nsudo ufw allow 7080\/tcp\nsudo ufw allow 8088\/tcp    # OLS default test page\nsudo ufw reload\n\n# firewalld (RHEL\/Alma\/Rocky\/CentOS)\nsudo firewall-cmd --permanent --add-service=http\nsudo firewall-cmd --permanent --add-service=https\nsudo firewall-cmd --permanent --add-port=7080\/tcp\nsudo firewall-cmd --permanent --add-port=8088\/tcp\nsudo firewall-cmd --reload<\/code><\/pre>\n\n\n\n<p>Access the WebAdmin at https:\/\/your_server_ip:7080 (self-signed certificate) and the default site at http:\/\/your_server_ip:8088.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"step-3-install-litespeed-web-server-enterprise\"><strong>Step 3: Install LiteSpeed Web Server Enterprise<\/strong><\/h3>\n\n\n\n<p>LiteSpeed Enterprise is ideal if you want a seamless Apache replacement and advanced features. You can run it interactively with a trial or license key.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Download installer\nwget https:\/\/www.litespeedtech.com\/packages\/lsws\/install.sh\nsudo bash install.sh\n\n# Follow prompts to:\n# - Accept license\n# - Choose install path (\/usr\/local\/lsws)\n# - Set admin user\/password\n# - Provide serial number (or trial)\n# - Select lsphp version (e.g., 8.1\/8.2)\n# - Bind to ports 80\/443 for production<\/code><\/pre>\n\n\n\n<p>After installation, the service is named \u201clsws.\u201d Manage it with systemd or the control script.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl enable --now lsws\n# or\nsudo \/usr\/local\/lsws\/bin\/lswsctrl start<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"step-4-create-a-site-add-ssl-enable-http-3\"><strong>Step 4: Create a Site, Add SSL, Enable HTTP\/3<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"create-a-production-listener-and-virtual-host\"><strong>Create a Production Listener and Virtual Host<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open https:\/\/your_server_ip:7080 and log in.<\/li>\n\n\n\n<li>Go to Listeners and create an HTTP listener on 0.0.0.0:80; add a Virtual Host Mapping to your domain.<\/li>\n\n\n\n<li>Create an HTTPS listener on 0.0.0.0:443; upload or reference your SSL cert and key, then map to the same vhost.<\/li>\n\n\n\n<li>Under Virtual Hosts, set Document Root (for example, \/var\/www\/yourdomain\/public_html).<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"get-a-free-lets-encrypt-ssl-certificate\"><strong>Get a Free Let\u2019s Encrypt SSL Certificate<\/strong><\/h2>\n\n\n\n<p>You can use acme.sh or Certbot. Example with acme.sh using a webroot (replace the domain and webroot accordingly):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl https:\/\/get.acme.sh | sh -s email=admin@yourdomain.com\n~\/.acme.sh\/acme.sh --issue -d yourdomain.com -d www.yourdomain.com -w \/var\/www\/yourdomain\/public_html\n\n# Install cert to LiteSpeed paths\nsudo mkdir -p \/usr\/local\/lsws\/conf\/cert\/yourdomain\n~\/.acme.sh\/acme.sh --install-cert -d yourdomain.com \\\n  --key-file \/usr\/local\/lsws\/conf\/cert\/yourdomain\/privkey.key \\\n  --fullchain-file \/usr\/local\/lsws\/conf\/cert\/yourdomain\/fullchain.crt \\\n  --reloadcmd \"systemctl reload lsws\"<\/code><\/pre>\n\n\n\n<p>Back in WebAdmin, point the HTTPS listener or the vhost <a href=\"https:\/\/www.youstable.com\/blog\/activate-an-ssl-certificate\/\">SSL settings to these certificate<\/a> files and save. Reload LiteSpeed to apply.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"enable-http-2-and-http-3-quic\"><strong>Enable HTTP\/2 and HTTP\/3 (QUIC)<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Server Configuration &gt; Tuning: enable QUIC\/HTTP3<\/li>\n\n\n\n<li>Listener &gt; SSL &gt; Protocols: ensure HTTP\/2 is enabled<\/li>\n\n\n\n<li>Reload LiteSpeed and verify with curl or an HTTP\/3 test tool<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"step-5-configure-php-lsphp\"><strong>Step 5: Configure PHP (lsphp)<\/strong><\/h3>\n\n\n\n<p>LiteSpeed uses LSAPI for PHP, which is faster than PHP-FPM in many scenarios. Ensure the external app points to your lsphp binary and that the script handler is set for .php.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>External App: LSAPI App pointing to \/usr\/local\/lsws\/lsphp81\/bin\/lsphp (or your version)<\/li>\n\n\n\n<li>Script Handler: .php &gt; lsphp<\/li>\n\n\n\n<li>Install common PHP modules: mysql, intl, xml, gd, curl, zip, mbstring, opcache<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code># Ubuntu\/Debian modules (example)\nsudo apt install -y lsphp81-{mysql,intl,xml,gd,curl,zip,mbstring,opcache}\nsudo systemctl restart lsws\n\n# RHEL\/Alma\/Rocky modules (example)\nsudo dnf install -y lsphp81-{mysql,intl,xml,gd,curl,zip,mbstring,opcache}\nsudo systemctl restart lsws<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"wordpress-on-litespeed-best-practices\"><strong>WordPress on LiteSpeed: Best Practices<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install the LiteSpeed Cache plugin (LSCache) and enable guest mode, object caching (Redis), and QUIC.cloud CDN if desired.<\/li>\n\n\n\n<li>Permalinks: set Post name in WordPress and ensure .htaccess rewrite rules are active.<\/li>\n\n\n\n<li>PHP version: run PHP 8.1\/8.2 for speed and security; enable OPcache.<\/li>\n\n\n\n<li>Security: restrict WebAdmin port 7080 to your IP using firewall rules.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"performance-tuning-tips\"><strong>Performance Tuning Tips<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Workers: set LiteSpeed worker processes to match CPU cores (WebAdmin &gt; Server Configuration &gt; Tuning).<\/li>\n\n\n\n<li>Compression: <a href=\"https:\/\/www.youstable.com\/blog\/how-to-enable-gzip-compression-in-wordpress\/\">enable Brotli and Gzip<\/a> for faster transfers.<\/li>\n\n\n\n<li>Cache policies: use LSCache with appropriate TTLs; enable CSS\/JS minify and HTTP\/2 push (or preload hints).<\/li>\n\n\n\n<li>Static file delivery: serve images, CSS, JS directly via LiteSpeed; use QUIC.cloud or a CDN for global reach.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"troubleshooting-common-issues\"><strong>Troubleshooting Common Issues<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Port already in use: stop and disable Apache\/Nginx, then restart LiteSpeed.<\/li>\n\n\n\n<li>403\/404 with rewrites: ensure \u201cEnable Rewrite\u201d and \u201cAuto Load from .htaccess\u201d are on in vhost settings.<\/li>\n\n\n\n<li>Admin not accessible: open port 7080 and use https:\/\/; consider IP restricting this port.<\/li>\n\n\n\n<li>SELinux on RHEL: if needed, allow web network connections (e.g., setsebool -P httpd_can_network_connect 1).<\/li>\n\n\n\n<li>PHP not detected: verify lsphp path and script handler mapping, then restart lsws.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"uninstall-or-switch-back\"><strong>Uninstall or Switch Back<\/strong><\/h3>\n\n\n\n<p>If you need to remove OpenLiteSpeed or LSWS:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Ubuntu\/Debian\nsudo systemctl stop lsws\nsudo apt remove --purge -y openlitespeed lsws\nsudo rm -rf \/usr\/local\/lsws\n\n# RHEL\/Alma\/Rocky\/CentOS\nsudo systemctl stop lsws\nsudo dnf remove -y openlitespeed lsws\nsudo rm -rf \/usr\/local\/lsws<\/code><\/pre>\n\n\n\n<p>To switch back to Apache or Nginx, reinstall and re-enable your original web server, then bind to ports 80\/443.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"real-world-notes-from-12plus-years-managing-servers\"><strong>Real-World Notes from 12+ Years Managing Servers<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>OLS is fantastic for new deployments focused on WordPress speed. For existing Apache stacks or <a href=\"https:\/\/www.youstable.com\/blog\/control-panel\/\">control panels<\/a>, Enterprise is smoother.<\/li>\n\n\n\n<li>Always secure WebAdmin (7080) by IP. It\u2019s powerful; don\u2019t leave it wide open.<\/li>\n\n\n\n<li>QUIC\/HTTP\/3 yields noticeable gains on mobile networks. Enable it once SSL is live.<\/li>\n\n\n\n<li>For WooCommerce, LSCache\u2019s ESI is a game-changer on Enterprise.<\/li>\n\n\n\n<li>Monitor logs in \/usr\/local\/lsws\/logs for quick diagnostics.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"when-to-use-managed-litespeed-hosting\"><strong>When to Use Managed LiteSpeed Hosting<\/strong><\/h2>\n\n\n\n<p>If you prefer not to manage repos, SSL, and tuning yourself, a managed LiteSpeed plan can save hours. At YouStable, our LiteSpeed-powered hosting includes LSWS Enterprise, HTTP\/3 by default, LSCache pre-configured, and 24\/7 monitoring\u2014ideal if you want the performance benefits without the sysadmin overhead.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"faqs-install-litespeed-on-linux-server\"><strong>FAQ&#8217;s: Install LiteSpeed on Linux Server<\/strong><\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1765527583976\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"is-openlitespeed-fast-enough-for-wordpress\"><strong>Is OpenLiteSpeed fast enough for WordPress?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Yes. OpenLiteSpeed with LSCache delivers excellent performance and supports HTTP\/2\/3. For complex Apache configurations, cPanel compatibility, or ESI, consider LiteSpeed Enterprise.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765527629303\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"which-ports-do-i-need-to-open-for-litespeed\"><strong>Which ports do I need to open for LiteSpeed?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Open TCP ports 80 (HTTP), 443 (HTTPS), and 7080 (WebAdmin). Open 8088 if you want to access the OpenLiteSpeed default test page. Restrict 7080 to your IP for security.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765527636408\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"how-do-i-enable-http-3-quic-on-litespeed\"><strong>How do I enable HTTP\/3 (QUIC) on LiteSpeed?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>In WebAdmin, enable QUIC at Server Configuration &gt; Tuning. Ensure your HTTPS listener is active with a valid certificate. Reload LiteSpeed and verify using a QUIC-capable browser or an HTTP\/3 checker.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765527645016\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"can-litespeed-replace-apache-without-downtime\"><strong>Can LiteSpeed replace Apache without downtime?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>With Enterprise, you can read Apache configs and map vhosts to minimize disruption. Plan a maintenance window, stop Apache, start LSWS on 80\/443, and test thoroughly before going live.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765527654972\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"how-do-i-add-a-lets-encrypt-ssl-certificate\"><strong>How do I add a Let\u2019s Encrypt SSL certificate?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Use acme.sh or Certbot with the webroot method. Place cert\/key paths in the HTTPS listener or vhost SSL settings and reload LiteSpeed. Automate renewals with the tool\u2019s built-in cron.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765527665230\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"where-is-the-litespeed-configuration-stored\"><strong>Where is the LiteSpeed configuration stored?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>The default path is \/usr\/local\/lsws\/ with configs in \/usr\/local\/lsws\/conf\/. Logs are typically in \/usr\/local\/lsws\/logs\/. Virtual host configs live under \/usr\/local\/lsws\/conf\/vhosts\/.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765527677324\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"whats-the-easiest-way-to-host-wordpress-on-litespeed\"><strong>What\u2019s the easiest way to host WordPress on LiteSpeed?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Install OLS or Enterprise, create a vhost, install lsphp, and add the LiteSpeed Cache plugin. If you prefer managed, YouStable\u2019s LiteSpeed plans ship with LSCache, HTTP\/3, and performance presets out of the box.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"conclusion\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p>Now you know how to install LiteSpeed on Linux server platforms, configure PHP, secure the admin, add SSL, and tune performance. Start with OpenLiteSpeed for a free, fast stack, or choose LiteSpeed Enterprise for full Apache compatibility and advanced features. Either way, you\u2019ll unlock top-tier speed and stability for modern websites and apps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To install LiteSpeed on a Linux server, choose OpenLiteSpeed (free) or LiteSpeed Enterprise (licensed), add the official repository, install the [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":15425,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[350],"tags":[],"class_list":["post-12518","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledgebase"],"acf":[],"featured_image_src":"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2025\/12\/How-to-Install-LiteSpeed-on-Linux-Server.jpg","author_info":{"display_name":"Prahlad Prajapati","author_link":"https:\/\/www.youstable.com\/blog\/author\/prahladblog"},"_links":{"self":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/12518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/comments?post=12518"}],"version-history":[{"count":4,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/12518\/revisions"}],"predecessor-version":[{"id":15426,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/12518\/revisions\/15426"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/media\/15425"}],"wp:attachment":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/media?parent=12518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/categories?post=12518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/tags?post=12518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}