{"id":29,"date":"2024-12-30T04:36:44","date_gmt":"2023-11-08T08:46:28","guid":{"rendered":""},"modified":"2025-02-02T00:46:14","modified_gmt":"2025-02-01T23:46:14","slug":"installation-openlitespeed-linux","status":"publish","type":"post","link":"https:\/\/netcloud24.com\/knowledgebase\/installation-openlitespeed-linux\/","title":{"rendered":"Installation OpenLitespeed Linux"},"content":{"rendered":"<article>\n<h1>How to Install OpenLiteSpeed on AlmaLinux 8<\/h1>\n<div class=\"contributeEdit\" style=\"float: right; width: 450px; max-width: 100%;\">\n<div id=\"tocContainer\">\n<h3>On this page<\/h3>\n<ol class=\"toc\">\n<li><a href=\"#prerequisite\">Prerequisite<\/a><\/li>\n<li><a href=\"#updating-the-system\">Updating the System<\/a><\/li>\n<li><a href=\"#removing-apache-http-server\">Removing Apache HTTP Server<\/a><\/li>\n<li><a href=\"#installing-the-openlitespeed-server\">Installing the OpenLiteSpeed Server<\/a><\/li>\n<li><a href=\"#configuring-the-firewall\">Configuring the Firewall<\/a><\/li>\n<li><a href=\"#testing-the-openlitespeed-installation\">Testing the OpenLiteSpeed Installation<\/a><\/li>\n<li><a href=\"#conclusion\">Conclusion<\/a><\/li>\n<li><a href=\"https:\/\/netcloud24.com?language=english&amp;currency=4\">Windows VPS server<\/a><\/li>\n<\/ol>\n<\/div>\n<\/div>\n<p>OpenLiteSpeed is a free, open-source web server that you can use for administering and serving websites. It offers many unique features to make your experience more seamless such as tailored PHP processing with streamlined instructions on how best to utilize it or administrative interfaces which will let you manage all aspects of the site&#8217;s updates in one place without having dozens upon dozens of scripts scattered around at different places across town.<span id=\"ezoic-pub-ad-placeholder-106\" class=\"ezoic-adpicker-ad\"><\/span><span id=\"div-gpt-ad-howtoforge_com-box-3-0\" class=\"ezoic-ad\" style=\"position: relative; z-index: 0; display: inline-block; padding: 0; min-height: 90px; min-width: 728px;\"><\/span> It is a cross-platform web server that works well with all operating systems, and it is well known for its lightning-fast speeds. You can use, modify or even redistribute OpenLiteSpeed under the terms of the LGPL license. On top of that, you can easily find support from other users on message boards because it has been around for more than ten years.<span id=\"div-gpt-ad-howtoforge_com-medrectangle-3-0\" class=\"ezoic-ad\" style=\"position: relative; z-index: 0; display: inline-block; padding: 0; min-height: 90px; min-width: 728px;\"><\/span><\/p>\n<div style=\"width: 336px; float: left; margin: 10px 15px 10px 0; background-color: #fff;\">\u00a0<\/div>\n<p>OpenLiteSpeed will be installed and configured on an AlmaLinux 8 server as part of this tutorial. After installing OpenLitesSpeed, it&#8217;s ready for you to enjoy powerful page speeds with reduced load times.<\/p>\n<h2 id=\"prerequisite\">Prerequisite<\/h2>\n<p>In order to complete the steps in this tutorial, you will need:<\/p>\n<ul>\n<li>One server with AlmaLinux 8 installed. For installation instructions, see our guide<\/li>\n<li>A non-root with sudo privileges.<\/li>\n<\/ul>\n<h2 id=\"updating-the-system\">Updating the System<\/h2>\n<p>First, let\u2019s start by updating the system.<\/p>\n<pre class=\"command\">sudo dnf update<\/pre>\n<p>This command will install additional packages that are needed for the OpenLiteSpeed installation.<span id=\"ezoic-pub-ad-placeholder-130\" class=\"ezoic-adpicker-ad\"><\/span><\/p>\n<div id=\"howtoforge_com-link-h-large-1\" class=\"ezo_link_unit_a\">\u00a0<\/div>\n<p>\u00a0<\/p>\n<pre class=\"command\">sudo dnf install epel-release<\/pre>\n<h2 id=\"removing-apache-http-server\">Removing Apache HTTP Server<\/h2>\n<p>We will use OpenLiteSpeed as the primary webserver for this tutorial. If you already have Apache HTTP Server installed, it is recommended to remove it before installing OpenLiteSpeed.<\/p>\n<pre class=\"command\">sudo dnf remove \"httpd*\"<\/pre>\n<pre class=\"command\">rm -rf \/etc\/httpd<\/pre>\n<pre class=\"command\">rm -rf \/usr\/lib64\/httpd<\/pre>\n<p>To check whether Apache HTTP Server has been removed from your system, type the following command:<\/p>\n<pre class=\"command\">sudo systemctl status httpd<\/pre>\n<h2 id=\"installing-the-openlitespeed-server\">Installing the OpenLiteSpeed Server<\/h2>\n<p>Now that we have a clean system let\u2019s install the OpenLiteSpeed server. To install OpenLiteSpeed on an AlmaLinux 8 server, we have to set up the lite speed repository. Add it with the rpm command.<span id=\"ezoic-pub-ad-placeholder-108\" class=\"ezoic-adpicker-ad\"><\/span><span id=\"div-gpt-ad-howtoforge_com-medrectangle-4-0\" class=\"ezoic-ad\" style=\"position: relative; z-index: 0; display: inline-block; padding: 0; width: 100%; max-width: 1200px; margin-left: auto!important; margin-right: auto!important; min-height: 90px; min-width: 728px;\"><\/span><\/p>\n<pre class=\"command\">sudo rpm -Uvh http:\/\/rpms.litespeedtech.com\/centos\/litespeed-repo-1.1-1.el8.noarch.rpm<\/pre>\n<p>After that, we can install OpenLiteSpeed using the following command:<\/p>\n<pre class=\"command\">sudo dnf update<\/pre>\n<pre class=\"command\">sudo dnf install openlitespeed lsphp74<\/pre>\n<p>Type <strong>Y<\/strong> and press <strong>Enter<\/strong> when it asks for confirmation. After that, we can check whether OpenLiteSpeed is working as expected with the following command:<\/p>\n<pre class=\"command\">sudo systemctl status lsws<\/pre>\n<p>You should get an output like this: <span id=\"ezoic-pub-ad-placeholder-110\" class=\"ezoic-adpicker-ad\"><\/span><span id=\"div-gpt-ad-howtoforge_com-box-4-0\" class=\"ezoic-ad\" style=\"position: relative; z-index: 0; display: inline-block; padding: 0; width: 100%; max-width: 1200px; margin-left: auto!important; margin-right: auto!important; min-height: 90px; min-width: 728px;\"><\/span> OpenLiteSpeed&#8217;s default administrative password has to be changed first. Because &#8220;123456&#8221; is the value, we need a new one for now and will want it as strong as possible so that only those who have access can get into the OpenLiteSpeed server. Run the following command to set up the web interface username &amp; password.<\/p>\n<pre class=\"command\">\/usr\/local\/lsws\/admin\/misc\/admpass.sh<\/pre>\n<p>You can alternatively choose a username for the administrative account, or just press <strong>Enter<\/strong> to accept the default value \u201cadmin\u201d as your default username. Afterward, you will have to provide and verify the password for the administrator. \u00a0<\/p>\n<h2 id=\"configuring-the-firewall\">Configuring the Firewall<\/h2>\n<p>OpenLiteSpeed is designed to be a lightweight web server that can be run from UNIX and utilizes non-standard ports. You must allow incoming traffic on these two ports in order for your client browser or other programming tool accessing the admin panel (port 8088) as well as viewing your default webpage at port 7080.<span id=\"ezoic-pub-ad-placeholder-111\" class=\"ezoic-adpicker-ad\"><\/span><\/p>\n<pre class=\"command\">firewall-cmd --zone=public --permanent --add-port=8088\/tcp<\/pre>\n<pre class=\"command\">firewall-cmd --zone=public --permanent --add-port=7080\/tcp<\/pre>\n<p>Reload the firewall to apply the changes.<\/p>\n<pre class=\"command\">sudo firewall-cmd --reload<\/pre>\n<p>\u00a0<\/p>\n<h2 id=\"testing-the-openlitespeed-installation\">Testing the OpenLiteSpeed Installation<\/h2>\n<p>Now that we have the webserver up and running, you can open a browser of your choice and type in http:\/\/your_server_ip:8088\/ to get started with OpenLiteSpeed&#8217;s user interface. Where your_server_ip is the actual IP Address of your AlmaLinux 8 VPS.<span id=\"ezoic-pub-ad-placeholder-112\" class=\"ezoic-adpicker-ad\"><\/span><span class=\"ezoic-ad large-leaderboard-2 large-leaderboard-2112 adtester-container adtester-container-112\" data-ez-name=\"howtoforge_com-large-leaderboard-2\"><span style=\"font-size: 12px; display: block; text-align: center; line-height: 15px;\">Advertisement<\/span><\/span> <span id=\"div-gpt-ad-howtoforge_com-large-leaderboard-2-0\" class=\"ezoic-ad\" style=\"position: relative; z-index: 0; display: block!important; padding: 0; margin-left: auto!important; margin-right: auto!important;\"><\/span> If everything went well, you should be welcomed by the default OpenLiteSpeed\u2019s web page. the To access the administration interface, you will need to navigate your server&#8217;s domain or IP address using HTTPS and port number: 7080<\/p>\n<pre class=\"command\">http:\/\/your_server_ip:7080<\/pre>\n<p>You will likely encounter <strong>Your connection is not private error<\/strong> page since we haven\u2019t generated and started using SSL certificates yet. You can choose to proceed by clicking on the <strong>Advanced<\/strong> button. \u00a0 On the next page, click on <strong>Proceed to &#8230; (unsafe)<\/strong> link at the bottom left. \u00a0 You will be taken to the OpenLiteSpeed administration interface. Provide the administrative name and password that you set up with the admpass.sh script in the previous step, click on the login button. \u00a0 OpenLiteSpeed&#8217;s administrative interface will be shown after your authentication has been verified successfully. From there, you can add additional domains and configure other settings. \u00a0 That\u2019s It! You have successfully installed OpenLiteSpeed on an AlmaLinux 8 server. For more information regarding OpenLiteSpeed, you can check its <a href=\"https:\/\/openlitespeed.org\/kb\/\">official documentation<\/a>.<\/p>\n<h2 id=\"conclusion\">Conclusion<\/h2>\n<p>To conclude, we have successfully installed OpenLiteSpeed on our AlmaLinux 8 server to replace the default Apache HTTP Server. Aside from installation and basic configuration, we haven&#8217;t touched much about how this webserver works or what OpenLiteSpeed&#8217;s features are. There are a lot of different concepts that we haven&#8217;t covered in this tutorial, but you should already have a good idea of how OpenLiteSpeed works and what benefits it offers.\u00a0<br \/>Visit : <\/article>\n<p><a href=\"https:\/\/de.netcloud24.com\/\" target=\"_blank\">Windows VPS Deutschland<\/a><\/p>\n<p><a href=\"https:\/\/es.netcloud24.com\/\" target=\"_blank\">Windows VPS Espa\u00f1a<\/a><\/p>\n<p><a href=\"https:\/\/nl.netcloud24.com\/\" target=\"_blank\">Windows VPS Nederland<\/a><\/p>\n<p><a href=\"https:\/\/it.netcloud24.com\/\" target=\"_blank\">Windows VPS Italia<\/a><\/p>\n<p><a href=\"https:\/\/pt.netcloud24.com\/\" target=\"_blank\">Windows VPS Portugal<\/a><\/p>\n<p><a href=\"https:\/\/it.netcloud24.com\/\" target=\"_blank\">VPS Windows Italia<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS Sverige<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS Norge<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS T\u00fcrkiye<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows RDS (Remote Desktop Services)<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS<\/a><\/p>\n<div class=\"post-author-box\" style=\"border-top:1px solid #ddd;margin-top:20px;padding-top:15px;\">\n<p><strong>Author:<\/strong> \u0141ukasz Bodziony<\/p>\n<p><strong>Website:<\/strong> <a href=\"https:\/\/ca.netcloud24.com\" target=\"_blank\" rel=\"dofollow\">Windows VPS<\/a><\/p>\n<p><em>\u0141ukasz Bodziony is the CEO and founder of <a href=\"https:\/\/netcloud24.com\" target=\"_blank\" rel=\"dofollow\">NETCLOUD24<\/a>, a global VPS hosting brand proudly originating from Poland. With extensive experience in cloud computing, virtualization, and server management, he delivers high-performance <strong>Windows VPS<\/strong> and <strong>Remote Desktop Services (RDS)<\/strong> solutions to clients across Europe, North America, and beyond.<\/em><\/p>\n<p><em>His expertise covers a wide range of technologies, including <strong>Microsoft Azure<\/strong>, <strong>Proxmox VE<\/strong>, <strong>Amazon Web Services (AWS)<\/strong>, and numerous other virtualization and cloud platforms.<\/em><\/p>\n<p><em>Beyond running his hosting business, \u0141ukasz also provides <strong>professional paid server configuration and optimization services<\/strong> for companies and individuals. Outside of work, he is dedicated to caring for his children and building a secure future for them.<\/em><\/p>\n<p><em>If you are interested in working with him or need expert assistance with your hosting, cloud environment, or server setup, feel free to reach out via <a href=\"https:\/\/ca.netcloud24.com\" target=\"_blank\" rel=\"dofollow\">Windows VPS<\/a>.<\/em><\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>How to Install OpenLiteSpeed on AlmaLinux 8 On this page Prerequisite Updating the System Removing Apache HTTP Server Installing the OpenLiteSpeed Server Configuring the Firewall Testing the OpenLiteSpeed\u2026<\/p>\n","protected":false},"author":1,"featured_media":3421,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[],"tags":[14,12,11,23,20,21,22,17,7,8,6,10,18,19,15,24,16,5,13,9],"class_list":["post-29","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","tag-cheapvps","tag-cloudvps","tag-hostingvps","tag-rds","tag-rdscal","tag-remotedesktop","tag-remotedesktopvps","tag-servervps","tag-ukvps","tag-virtualserver","tag-vpshosting","tag-vpsserver","tag-vpssolutions","tag-vpswindows","tag-vpswithwindows","tag-windowsrds","tag-windowsserver","tag-windowsvps","tag-windowsvpshosting","tag-windowsvpsuk"],"jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=29"}],"version-history":[{"count":0,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/29\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/media\/3421"}],"wp:attachment":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}