<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>openlitespeed Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/openlitespeed/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Thu, 17 Dec 2020 23:56:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to install OpenLiteSpeed on Ubuntu 20.04 / Debian 10?</title>
		<link>https://www.osradar.com/install-openlitespeed-ubuntu-debian/</link>
					<comments>https://www.osradar.com/install-openlitespeed-ubuntu-debian/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 18 Dec 2020 05:11:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[openlitespeed]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[webserver]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=20648</guid>

					<description><![CDATA[<p>There are several web servers for Linux but other alternatives are always welcome. In this case, I will show you how to install OpenLiteSpeed on Ubuntu 20.04 / Debian 10 Also, we will make it support PHP. What is OpenLiteSpeed? OpenLiteSpeed is an open source web server, released under the GPL license that guarantees access [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-openlitespeed-ubuntu-debian/">How to install OpenLiteSpeed on Ubuntu 20.04 / Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>There are several web servers for Linux but other alternatives are always welcome. In this case, I will show you how to <strong>install OpenLiteSpeed on Ubuntu 20.04 / Debian 10</strong>  Also, we will make it support PHP.</p>



<h2>What is OpenLiteSpeed?</h2>



<p>OpenLiteSpeed is an open source web server, released under the GPL license that guarantees access to the code. According to the <a href="https://openlitespeed.org/" target="_blank" rel="noreferrer noopener">official website of the project</a>, OpenLiteSpeed combines speed, security, scalability, optimization and simplicity in one friendly open-source package.</p>



<p>On the other hand, it has quite peculiar characteristics that make it easy to access without losing robustness.</p>



<p>Another important aspect to emphasize is that this is the free version of<a href="https://www.litespeedtech.com/products/litespeed-web-server/editions" target="_blank" rel="noreferrer noopener"> LiteSpeed web server</a>. Therefore, stability and robustness are guaranteed.</p>



<h2>OpenLiteSpeed features</h2>



<p>OpenLiteSpeed comes with a number of important features such as the following:</p>



<ul><li><strong>It has enormous scalability. Thanks to an event driven architecture.</strong></li><li><strong>It is able to understand Apache rewriting rules.</strong> Which makes if you have used this web server, the transition is easy.</li><li><strong>It allows to install <a href="https://www.osradar.com/install-wordpress-debian-10/" target="_blank" rel="noreferrer noopener">WordPress</a>, <a href="https://osradar.com/tag/mariadb/" target="_blank" rel="noreferrer noopener">MariaDB</a> and the server with a single click.</strong></li><li><strong>It integrates strong security measures</strong>. This mitigates attacks and performance issues.</li><li><strong>Integrates Google’s web site acceleration system.</strong></li><li><strong>Native SAPI for PHP allows external applications written in PHP to run up to 50% faster.</strong></li></ul>



<p>So, let us install it.</p>



<h2>Install OpenLiteSpeed on Ubuntu 20.04 / Debian 10</h2>



<p>Unfortunately, OpenLiteSpeed is not in the official Ubuntu 20.04 / Debian 10 repositories. However, this does not mean that it can be easily installed thanks to the repository that developers have for Debian-based distributions like Ubuntu 20.04 / Debian 10</p>



<p>So, the first step is to add the OpenLiteSpeed repository.</p>



<pre class="wp-block-preformatted">:~$ wget -O - http://rpms.litespeedtech.com/debian/enable_lst_debian_repo.sh | sudo bash</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="536" src="https://www.osradar.com/wp-content/uploads/2020/06/1-1024x536.png" alt="1.- Adding the OpenLiteSpeed repository on Ubuntu 20.04 / Debian 10" class="wp-image-20649" srcset="https://www.osradar.com/wp-content/uploads/2020/06/1-1024x536.png 1024w, https://www.osradar.com/wp-content/uploads/2020/06/1-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2020/06/1-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2020/06/1-696x364.png 696w, https://www.osradar.com/wp-content/uploads/2020/06/1-1068x559.png 1068w, https://www.osradar.com/wp-content/uploads/2020/06/1.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Adding the OpenLiteSpeed repository on Ubuntu 20.04 / Debian 10</figcaption></figure>



<p>Once the whole process is completed, you will be successfully added to the system&#8217;s repository list.</p>



<p>Now install the application by refreshing the APT cache and running the following command:</p>



<pre class="wp-block-preformatted">:~$ sudo apt update
:~$ sudo apt install openlitespeed
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
aspell aspell-en dictionaries-common emacsen-common enchant hunspell-en-us libaspell15 libc-client2007e libenchant1c2a libhunspell-1.7-0 libjpeg-turbo8 libjpeg8
libxpm4 libzip5 lsphp73 lsphp73-common lsphp73-imap lsphp73-json lsphp73-mysql lsphp73-opcache mlock php-common php-readline php7.4-common php7.4-readline rcs
Suggested packages:
aspell-doc spellutils wordlist hunspell openoffice.org-hunspell | openoffice.org-core uw-mailutils libenchant-voikko php-pear php-user-cache
The following NEW packages will be installed:
aspell aspell-en dictionaries-common emacsen-common enchant hunspell-en-us libaspell15 libc-client2007e libenchant1c2a libhunspell-1.7-0 libjpeg-turbo8 libjpeg8
libxpm4 libzip5 lsphp73 lsphp73-common lsphp73-imap lsphp73-json lsphp73-mysql lsphp73-opcache mlock openlitespeed php-common php-readline php7.4-common
php7.4-readline rcs
0 upgraded, 27 newly installed, 0 to remove and 46 not upgraded.
Need to get 20.4 MB of archives.
After this operation, 93.2 MB of additional disk space will be used.
Do you want to continue? [Y/n]</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="235" src="https://www.osradar.com/wp-content/uploads/2020/06/2-1024x235.png" alt="2.- Installing OpenLiteSpeed on Ubuntu 20.04 / Debian 10" class="wp-image-20650" srcset="https://www.osradar.com/wp-content/uploads/2020/06/2-1024x235.png 1024w, https://www.osradar.com/wp-content/uploads/2020/06/2-300x69.png 300w, https://www.osradar.com/wp-content/uploads/2020/06/2-768x176.png 768w, https://www.osradar.com/wp-content/uploads/2020/06/2-696x160.png 696w, https://www.osradar.com/wp-content/uploads/2020/06/2-1068x245.png 1068w, https://www.osradar.com/wp-content/uploads/2020/06/2.png 1332w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Installing OpenLiteSpeed on Ubuntu 20.04 / Debian 10</figcaption></figure>



<p>Also, install the package that installs PHP 7.4 support for OpenLiteSpeed. We chose version 7.4 because it is updated and is the one that Ubuntu incorporates in its repositories.</p>



<pre class="wp-block-preformatted">:~$ sudo apt install lsphp74
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
libonig5 libwebp6 lsphp74-common lsphp74-json lsphp74-opcache
Suggested packages:
php-pear php-user-cache
The following NEW packages will be installed:
libonig5 libwebp6 lsphp74 lsphp74-common lsphp74-json lsphp74-opcache
0 upgraded, 6 newly installed, 0 to remove and 46 not upgraded.
Need to get 9272 kB of archives.
After this operation, 46.6 MB of additional disk space will be used.
Do you want to continue? [Y/n]</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="797" height="303" src="https://www.osradar.com/wp-content/uploads/2020/06/3.png" alt="3.- Installing PHP 7.4 support for OpenLiteSpeed" class="wp-image-20651" srcset="https://www.osradar.com/wp-content/uploads/2020/06/3.png 797w, https://www.osradar.com/wp-content/uploads/2020/06/3-300x114.png 300w, https://www.osradar.com/wp-content/uploads/2020/06/3-768x292.png 768w, https://www.osradar.com/wp-content/uploads/2020/06/3-696x265.png 696w" sizes="(max-width: 797px) 100vw, 797px" /><figcaption>3.- Installing PHP 7.4 support for OpenLiteSpeed</figcaption></figure>



<p>Now, enable PHP 7.4 support for OpenLiteSpeed.</p>



<pre class="wp-block-preformatted">:~$ sudo ln -sf /usr/local/lsws/lsphp74/bin/lsphp /usr/local/lsws/fcgi-bin/lsphp5</pre>



<p>Now, you can start running OpenLiteSpeed.</p>



<pre class="wp-block-preformatted">:~$ sudo /usr/local/lsws/bin/lswsctrl start
[OK] Send SIGUSR1 to 5745</pre>



<p>One of the things I like most about OpenLiteSpeed is its powerful graphical interface. With it, you can manage the webserver in a very fast and comfortable way. <strong>This graphical interface works through port 7080 and requires a username and password.</strong></p>



<p>So, to create the password and username, you have to execute the following command:</p>



<pre class="wp-block-preformatted">:~$ sudo /usr/local/lsws/admin/misc/admpass.sh
Please specify the user name of administrator.
This is the user name required to login the administration Web interface.
User name [admin]: admin
Please specify the administrator's password.
This is the password required to login the administration Web interface.
Password:
Retype password:
Administrator's username/password is updated successfully!</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="745" height="265" src="https://www.osradar.com/wp-content/uploads/2020/06/4.png" alt="4.- Creating the new user for OpenLiteSpeed" class="wp-image-20652" srcset="https://www.osradar.com/wp-content/uploads/2020/06/4.png 745w, https://www.osradar.com/wp-content/uploads/2020/06/4-300x107.png 300w, https://www.osradar.com/wp-content/uploads/2020/06/4-696x248.png 696w, https://www.osradar.com/wp-content/uploads/2020/06/4-741x265.png 741w" sizes="(max-width: 745px) 100vw, 745px" /><figcaption>4.- Creating the new user for OpenLiteSpeed</figcaption></figure>



<h3>Configuring OpenLiteSpeed on Ubuntu 20.04 / Debian 10</h3>



<p>After that, you can visit the OpenLiteSpeed web interface. Open your favorite web browser and go to <code>http://server-ip:8070</code> and you will see the following screen.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2020/06/5-1024x502.png" alt="5.- OpenLiteSpeed screen" class="wp-image-20654" srcset="https://www.osradar.com/wp-content/uploads/2020/06/5-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/06/5-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/06/5-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/06/5-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/06/5-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/06/5.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>5.- OpenLiteSpeed screen</figcaption></figure>



<p>Type in your created credentials and then you will see the dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1354" height="669" src="https://www.osradar.com/wp-content/uploads/2020/06/6-1024x506.png" alt="6.- OpenLiteSpeed dashboard" class="wp-image-20656" srcset="https://www.osradar.com/wp-content/uploads/2020/06/6-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/06/6-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/06/6-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/06/6-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/06/6-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/06/6.png 1354w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption>6.- OpenLiteSpeed dashboard</figcaption></figure>



<p>By default, the OpenLiteSpeed virtual host accepts connections on port <code>8088</code>. It usually accepts requests on port <code>80</code>, which is HTTP.</p>



<p>Changing this is quite easy. First, from the left link go to the Listeners section.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2020/06/7-1024x502.png" alt="7.- Listener section" class="wp-image-20657" srcset="https://www.osradar.com/wp-content/uploads/2020/06/7-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/06/7-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/06/7-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/06/7-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/06/7-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/06/7.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>7.- Listener section</figcaption></figure>



<p>There you will see some basic information about the default Listener which as you can see, is listening for port <code>8088</code>. Under the Action section, click on the magnifying glass icon to see all the data for it.</p>



<p>On this screen, you will see all the information about the default Listener. On the right side, you will see the edit icon. Click on it.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="504" src="https://www.osradar.com/wp-content/uploads/2020/06/8-e1591133022719-1024x504.png" alt="8.- Information about the default Listener" class="wp-image-20658" srcset="https://www.osradar.com/wp-content/uploads/2020/06/8-e1591133022719-1024x504.png 1024w, https://www.osradar.com/wp-content/uploads/2020/06/8-e1591133022719-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/06/8-e1591133022719-768x378.png 768w, https://www.osradar.com/wp-content/uploads/2020/06/8-e1591133022719-696x342.png 696w, https://www.osradar.com/wp-content/uploads/2020/06/8-e1591133022719-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2020/06/8-e1591133022719.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>8.- Information about the default Listener</figcaption></figure>



<p>Now you can change whatever you want. In this case, we are coming through the port. Place the port <code>80</code> and save the changes by clicking on the diskette icon.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/06/9-1024x506.png" alt="9.-Changing the default port of OpenLiteSpeed" class="wp-image-20659" srcset="https://www.osradar.com/wp-content/uploads/2020/06/9-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/06/9-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/06/9-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/06/9-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/06/9-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/06/9.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>9.-Changing the default port of OpenLiteSpeed</figcaption></figure>



<p>Now that the changes can be applied you have to do a graceful restart. Click on the OpenLiteSpeed icon and there you will see the button that does it.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/06/10-1024x506.png" alt="10.- Restarting OpenLiteSpeed" class="wp-image-20660" srcset="https://www.osradar.com/wp-content/uploads/2020/06/10-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/06/10-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/06/10-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/06/10-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/06/10-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/06/10.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>10.- Restarting OpenLiteSpeed</figcaption></figure>



<p>Now you can go to <code>http://your-server</code> and you will see the default OpenLiteSpeed page indicating that everything is fine.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/06/11-1024x506.png" alt="11.- OpenLiteSpeed on Ubuntu 20.04" class="wp-image-20661" srcset="https://www.osradar.com/wp-content/uploads/2020/06/11-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/06/11-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/06/11-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/06/11-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/06/11-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/06/11.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>11.- OpenLiteSpeed on Ubuntu 20.04</figcaption></figure>



<p>Finally, it&#8217;s a good idea to check the PHP support. So, create a new PHP file in <code>/usr/local/lsws/Example/html/</code> which is Virtualhost&#8217;s default Document Root.</p>



<pre class="wp-block-preformatted">:~$ sudo nano /usr/local/lsws/Example/html/test.php
&lt;?php
phpinfo();
?&gt;</pre>



<p>Save the changes and close the file.</p>



<p>So, open it using the web browser <code>http://your-server/test.php</code></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/06/12-1024x506.png" alt="12.- PHP with OpenLiteSpeed on Ubuntu 20.04 / Debian 10" class="wp-image-20662" srcset="https://www.osradar.com/wp-content/uploads/2020/06/12-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/06/12-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/06/12-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/06/12-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/06/12-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/06/12.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>12.- PHP with OpenLiteSpeed on Ubuntu 20.04 / Debian 10</figcaption></figure>



<p>So, enjoy it.</p>



<h2>Conclusion</h2>



<p>n this post, we have met another quite popular web server as OpenLiteSpeed. In a market dominated by Apache and Nginx it’s always nice to have other alternatives for our projects.</p>



<p>Please share this post and join <a href="https://t.me/osradar" target="_blank" rel="noreferrer noopener">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-openlitespeed-ubuntu-debian/">How to install OpenLiteSpeed on Ubuntu 20.04 / Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-openlitespeed-ubuntu-debian/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to create a Virtualhost on OpenLiteSpeed?</title>
		<link>https://www.osradar.com/create-virtualhost-openlitespeed/</link>
					<comments>https://www.osradar.com/create-virtualhost-openlitespeed/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 18 Nov 2020 00:52:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[openlitespeed]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=25393</guid>

					<description><![CDATA[<p>Hello, friends. In this post, you will learn how to create a new VirtualHost on OpenLiteSpeed. The term Virtual Host refers to making more than one Website work on a single machine. Virtual websites can be &#8220;IP-based&#8221;, which means that each website has a different IP address, or &#8220;name-based&#8221;, which means that with a single [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/create-virtualhost-openlitespeed/">How to create a Virtualhost on OpenLiteSpeed?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p><strong>Hello, friends. In this post, you will learn how to create a new VirtualHost on OpenLiteSpeed.</strong></p>



<p>The term Virtual Host refers to making more than one Website work on a single machine. Virtual websites can be &#8220;IP-based&#8221;, which means that each website has a different IP address, or &#8220;name-based&#8221;, which means that with a single IP address, websites with different domain names are running</p>



<p>Apache was one of the first to support this feature but over time other web servers began to implement it. One of those servers is <a href="https://openlitespeed.org/" target="_blank" rel="noreferrer noopener">OpenLiteSpeed</a>.</p>



<p>So, let us start the work.</p>



<h2>Creating a new VirtualhHost on OpenLiteSpeed</h2>



<p>The first thing you have to do is install and configure OpenLiteSpeed properly, in this case, I&#8217;m using CentOS but it&#8217;s the same process in both Ubuntu or Debian.</p>



<p>So, read our post about it</p>



<p><a href="https://www.osradar.com/install-openlitespeed-centos-8/" target="_blank" rel="noreferrer noopener">How to install OpenLiteSpeed on CentOS 8?<br></a><a href="https://www.osradar.com/install-openlitespeed-ubuntu-20-04/" target="_blank" rel="noreferrer noopener">How to install OpenLiteSpeed on Ubuntu 20.04?</a></p>



<p>Then log in and you will see the dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/11/1-7-1024x506.png" alt="1.- OpenLiteSpeed dashboard" class="wp-image-25500" srcset="https://www.osradar.com/wp-content/uploads/2020/11/1-7-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/11/1-7-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/1-7-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/1-7-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/11/1-7-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/11/1-7.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- OpenLiteSpeed dashboard</figcaption></figure>



<p>On the left side, go to the VirtualHosts section to list them.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2020/11/2-5-1024x502.png" alt="2.- VirtualHosts summary" class="wp-image-25501" srcset="https://www.osradar.com/wp-content/uploads/2020/11/2-5-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/11/2-5-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/2-5-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/2-5-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/11/2-5-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/11/2-5.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- VirtualHosts summary</figcaption></figure>



<p>Now, you can create a new one by clicking on the <strong>+</strong> button on the right.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="505" src="https://www.osradar.com/wp-content/uploads/2020/11/3-5-1024x505.png" alt="3.- Creating a new Virtualhost on OpenLiteSpeed" class="wp-image-25502" srcset="https://www.osradar.com/wp-content/uploads/2020/11/3-5-1024x505.png 1024w, https://www.osradar.com/wp-content/uploads/2020/11/3-5-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/3-5-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/3-5-696x343.png 696w, https://www.osradar.com/wp-content/uploads/2020/11/3-5-1068x527.png 1068w, https://www.osradar.com/wp-content/uploads/2020/11/3-5.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>3.- Creating a new Virtualhost on OpenLiteSpeed</figcaption></figure>



<p>There you have to enter the data of the new VirtualHost. In my case, I have chosen the following values that you can modify as you wish.</p>



<pre class="wp-block-preformatted">Virtual Host Name test.osradar.local
Virtual Host Root $SERVER_ROOT/test.osradar.local/
Config File $SERVER_ROOT/conf/vhosts/$VH_NAME/test.osradar.local.conf
Follow Symbolic Link Yes
Enable Scripts/ExtApps Yes
Restrained Yes
ExtApp Set UID Mode Server UID</pre>



<p>Then, click on the <strong><em>Diskette</em></strong> button to save the changes.</p>



<p>As I have pointed out that a configuration file that does not exist, the following message will jump.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/11/4-5-1024x506.png" alt="4.- New Virtualhost data" class="wp-image-25503" srcset="https://www.osradar.com/wp-content/uploads/2020/11/4-5-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/11/4-5-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/4-5-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/4-5-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/11/4-5-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/11/4-5.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>4.- New Virtualhost data</figcaption></figure>



<p>Click on the <strong><em>CLICK TO CREATE</em></strong> link to create it automatically. You will see the following screen.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/11/5-4-1024x506.png" alt="5.- File configuration created" class="wp-image-25504" srcset="https://www.osradar.com/wp-content/uploads/2020/11/5-4-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/11/5-4-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/5-4-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/5-4-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/11/5-4-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/11/5-4.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>5.- File configuration created</figcaption></figure>



<p>Again click on the button to save the changes. And you will see the new Virtualhost created.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2020/11/6-5-1024x502.png" alt="6.- Virtualhost created" class="wp-image-25505" srcset="https://www.osradar.com/wp-content/uploads/2020/11/6-5-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/11/6-5-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/6-5-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/6-5-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/11/6-5-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/11/6-5.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>6.- Virtualhost created</figcaption></figure>



<h3>Configuring the new Virtualhost on OpenLiteSpeed</h3>



<p>The new Virtualhost is already created, but it is convenient to make some configurations to leave it fully functional.</p>



<p>To do so, from the Virtualhost summary screen, click on the magnifying glass of the new virtualhost to see and modify its values.</p>



<p>In the <em>General</em> tab, you will see the basic information that is empty.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/11/7-5-1024x506.png" alt="7.- Configuring the new Virtualhost" class="wp-image-25507" srcset="https://www.osradar.com/wp-content/uploads/2020/11/7-5-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/11/7-5-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/7-5-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/7-5-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/11/7-5-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/11/7-5.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>7.- Configuring the new Virtualhost</figcaption></figure>



<p>To enter data, click on the <em>edit</em> button on the right.</p>



<p>On the next screen, set the values you need. In my case, I have chosen the following:</p>



<pre class="wp-block-preformatted">Document Root $VH_ROOT/html/
Domain Name test.osradar.local
Enable GZIP Compression Yes</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/11/8-5-1024x506.png" alt="8.- Configuring the new Virtualhost" class="wp-image-25509" srcset="https://www.osradar.com/wp-content/uploads/2020/11/8-5-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/11/8-5-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/8-5-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/8-5-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/11/8-5-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/11/8-5.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>8.- Configuring the new Virtualhost</figcaption></figure>



<p>Then click on the <em>Save</em> button.</p>



<p>Now do the same but in the Index Files section.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/11/9-4-1024x506.png" alt="9.- Index file section" class="wp-image-25510" srcset="https://www.osradar.com/wp-content/uploads/2020/11/9-4-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/11/9-4-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/9-4-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/9-4-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/11/9-4-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/11/9-4.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>9.- Index file section</figcaption></figure>



<p>And in the <code>Index File</code> field add the value <code>index.php</code></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/11/9-5-1024x506.png" alt="9.- Adding a new entry on the Virtualhost configuration" class="wp-image-25511" srcset="https://www.osradar.com/wp-content/uploads/2020/11/9-5-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/11/9-5-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/9-5-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/9-5-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/11/9-5-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/11/9-5.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>9.- Adding a new entry on the Virtualhost configuration</figcaption></figure>



<p>Then click on the Save button.</p>



<p>Now we will configure the logs of the new VirtualHost that will help us to keep track of it.</p>



<p>So, go to the <em>Log</em> tab and you will see the default information and the <em>Virtual Host Log</em> and <em>Access Log </em>sections</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2020/11/10-5-1024x502.png" alt="10.- Log configurations" class="wp-image-25512" srcset="https://www.osradar.com/wp-content/uploads/2020/11/10-5-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/11/10-5-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/10-5-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/10-5-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/11/10-5-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/11/10-5.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>10.- Log configurations</figcaption></figure>



<p>Click the edit button in the <em>Virtual Host Log</em> section and set the values you need. In this case, I have chosen these.</p>



<pre class="wp-block-preformatted">Use Server’s Log Yes
File Name $VH_ROOT/logs/error.log
Log Level ERROR
Rolling Size (bytes) 10M
Keep Days 45</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/11/11-6-1024x506.png" alt="11.- Virtual Hosts Log configuration" class="wp-image-25513" srcset="https://www.osradar.com/wp-content/uploads/2020/11/11-6-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/11/11-6-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/11-6-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/11-6-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/11/11-6-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/11/11-6.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>11.- Virtual Hosts Log configuration</figcaption></figure>



<p>To save the changes, click on the Save button.</p>



<p>Now it&#8217;s time to work with the <em>Access Log</em> section. To do this, create a new one by clicking on the <em>+</em> button</p>



<p>And add the following values</p>



<pre class="wp-block-preformatted">Log Control Own Log File
File Name $VH_ROOT/logs/access.log
Piped Logger Not Set
Log Format Not Set
Log Headers Not Set
Rolling Size (bytes) 10M
Keep Days 45
Bytes log Not Set
Compress Archive Yes</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/11/12-3-1024x506.png" alt="12.-Creating the Log files" class="wp-image-25514" srcset="https://www.osradar.com/wp-content/uploads/2020/11/12-3-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/11/12-3-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/12-3-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/12-3-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/11/12-3-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/11/12-3.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>12.-Creating the Log files</figcaption></figure>



<p>Then save the changes.</p>



<h3>More configurations</h3>



<p>The next step is to go to the Security tab and position ourselves in the <em>Access Control</em> section</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/11/13-2-1024x506.png" alt="13.- Access Control section" class="wp-image-25515" srcset="https://www.osradar.com/wp-content/uploads/2020/11/13-2-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/11/13-2-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/13-2-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/13-2-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/11/13-2-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/11/13-2.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>13.- Access Control section</figcaption></figure>



<p>This value is where we will specify the hosts that can access VirtualHost.</p>



<p>Click on the edit button and in the <em>Allowed List</em> field specify the Hosts. If you want it to be accessible to everyone, type  <strong>*</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/11/14-1-1024x506.png" alt="14.- Access Control section" class="wp-image-25516" srcset="https://www.osradar.com/wp-content/uploads/2020/11/14-1-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/11/14-1-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/14-1-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/14-1-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/11/14-1-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/11/14-1.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>14.- Access Control section</figcaption></figure>



<p>Now click on the Save button.</p>



<p>Then, on the left side go to the <em>Listeners</em> section</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2020/11/15-1-1024x502.png" alt="15.- Listeners Section" class="wp-image-25518" srcset="https://www.osradar.com/wp-content/uploads/2020/11/15-1-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/11/15-1-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/15-1-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/15-1-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/11/15-1-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/11/15-1.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>15.- Listeners Section</figcaption></figure>



<p>There, in the <em>Virtual Host Mappings</em> section create a new entry by clicking on the <strong>+ </strong>button</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/11/16-1024x506.png" alt="16.- Creating a new VirtualHost on OpenLiteSpeed" class="wp-image-25519" srcset="https://www.osradar.com/wp-content/uploads/2020/11/16-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/11/16-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/16-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/16-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/11/16-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/11/16.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>16.- Creating a new VirtualHost on OpenLiteSpeed</figcaption></figure>



<p>And choose your Virtualhost as follows</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2020/11/17-1024x502.png" alt="17.- Virtual Host mapping" class="wp-image-25520" srcset="https://www.osradar.com/wp-content/uploads/2020/11/17-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/11/17-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/17-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/17-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/11/17-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/11/17.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>17.- Virtual Host mapping</figcaption></figure>



<p>Then click on the Save button.</p>



<p>Now you can restart OpenLiteSpeed to apply all these changes.</p>



<h3>Testing the new VirtualHost on OpenLiteSpeed</h3>



<p>Now on your server, create the corresponding folders. Both the Document Root folder and the log folder.</p>



<pre class="wp-block-preformatted">mkdir -p /usr/local/lsws/test.osradar.local/{html,logs}</pre>



<p>Then, create a test file:</p>



<pre class="wp-block-preformatted">nano /usr/local/lsws/test.osradar.local/html/index.html</pre>



<p>And add some message</p>



<p>Now try to open it from your browser. In this case, access it using the name of the VirtualHost.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2020/11/18-1024x502.png" alt="18.- Virtualhost on OpenLiteSpeed" class="wp-image-25521" srcset="https://www.osradar.com/wp-content/uploads/2020/11/18-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/11/18-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/18-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/18-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/11/18-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/11/18.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>18.- Virtualhost on OpenLiteSpeed</figcaption></figure>



<p>So, the new Virtualhost is working.</p>



<h2>Conclusion</h2>



<p>Having Virtual hosts on OpenLiteSpeed is an easy matter thanks to the administrator interface the program has. As we have shown you in this post.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/create-virtualhost-openlitespeed/">How to create a Virtualhost on OpenLiteSpeed?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/create-virtualhost-openlitespeed/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install OpenLiteSpeed on Ubuntu 18.04?</title>
		<link>https://www.osradar.com/install-openlitespeed-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/install-openlitespeed-ubuntu-18-04/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 07 Jan 2020 23:11:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[bionic]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[openlitespeed]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17371</guid>

					<description><![CDATA[<p>Happy New Year to all of you. Thank you for being here with us. In this post, we will talk about a free open source web server with enterprise support. Not only we will talk about it but we will show you how to install OpenLiteSpeed on Ubuntu 18.04. OpenLiteSpeed is an open source web [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-openlitespeed-ubuntu-18-04/">How to install OpenLiteSpeed on Ubuntu 18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Happy New Year to all of you. Thank you for being here with us. In this post, we will talk about a free open source web server with enterprise support. Not only we will talk about it but we will show you <strong>how to install OpenLiteSpeed on Ubuntu 18.04.</strong></p>
<p>OpenLiteSpeed is an open source web server, released under the GPL license that guarantees access to the code. According to the <a href="https://openlitespeed.org/" target="_blank" rel="noopener noreferrer">official website of the project</a>, OpenLiteSpeed combines speed, security, scalability, optimization and simplicity in one friendly open-source package.</p>
<p>On the other hand, it has quite peculiar characteristics that make it easy to access without losing robustness.</p>
<p>Another important aspect to emphasize is that this is the free version of<a href="https://www.litespeedtech.com/products/litespeed-web-server/editions" target="_blank" rel="noopener noreferrer"> LiteSpeed web server</a>. Therefore, stability and robustness are guaranteed.</p>
<h2>OpenLiteSpeed features</h2>
<p>OpenLiteSpeed comes with a number of important features such as the following:</p>
<ul>
<li><strong>It has enormous scalability. Thanks to an event driven architecture.</strong></li>
<li><strong>It is able to understand Apache rewriting rules.</strong> Which makes if you have used this web server, the transition is easy.</li>
<li><strong>It allows to install <a href="https://www.osradar.com/install-wordpress-debian-10/" target="_blank" rel="noopener noreferrer">WordPress</a>, <a href="https://osradar.com/tag/mariadb/" target="_blank" rel="noopener noreferrer">MariaDB</a> and the server with a single click.</strong></li>
<li><strong>It integrates strong security measures</strong>. This mitigates attacks and performance issues.</li>
<li><strong>Integrates Google&#8217;s web site acceleration system.</strong></li>
<li><strong>Native SAPI for PHP allows external applications written in PHP to run up to 50% faster.</strong></li>
</ul>
<p>So, let us install it.</p>
<h2>Install OpenLiteSpeed on Ubuntu 18.04</h2>
<p>The installation is quite simple thanks to the OpenLiteSpeed repository for Debian. So, open a terminal session and add the repository with the following command:</p>
<pre>:~$ wget -O - http://rpms.litespeedtech.com/debian/enable_lst_debian_repo.sh | sudo bash</pre>
<figure id="attachment_17494" aria-describedby="caption-attachment-17494" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-17494" src="https://www.osradar.com/wp-content/uploads/2020/01/1-1.png" alt="1.- Add the repository of OpenLiteSpeed on Ubuntu 18.04" width="1365" height="716" srcset="https://www.osradar.com/wp-content/uploads/2020/01/1-1.png 1365w, https://www.osradar.com/wp-content/uploads/2020/01/1-1-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/1-1-1024x537.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/1-1-768x403.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/1-1-696x365.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/1-1-1068x560.png 1068w, https://www.osradar.com/wp-content/uploads/2020/01/1-1-801x420.png 801w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-17494" class="wp-caption-text">1.- Add the repository of OpenLiteSpeed on Ubuntu 18.04</figcaption></figure>
<p>This will not only add the repository, but also update APT.</p>
<p>Then, we can install it with the following command:</p>
<pre>:~$ sudo apt install openlitespeed</pre>
<p>and to get PHP 7.3 running at once, run the following command:</p>
<pre>:~$ sudo apt install lsphp73</pre>
<figure id="attachment_17495" aria-describedby="caption-attachment-17495" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-17495" src="https://www.osradar.com/wp-content/uploads/2020/01/2-1.png" alt="2.- Adding the PHP 7.3 support" width="1365" height="366" srcset="https://www.osradar.com/wp-content/uploads/2020/01/2-1.png 1365w, https://www.osradar.com/wp-content/uploads/2020/01/2-1-300x80.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/2-1-1024x275.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/2-1-768x206.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/2-1-696x187.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/2-1-1068x286.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-17495" class="wp-caption-text">2.- Adding the PHP 7.3 support</figcaption></figure>
<p>Finally, enable the execution of PHP 7.3</p>
<pre>:~$ sudo ln -sf /usr/local/lsws/lsphp73/bin/lsphp /usr/local/lsws/fcgi-bin/lsphp5</pre>
<p>And that&#8217;s it, we will be able to access the program&#8217;s graphic interface.</p>
<h2>OpenLiteSpeed on Ubuntu 18.04</h2>
<p>The application runs through port 8080 and the web interface through 7080. Both ports have to be working for them to work.</p>
<p>Once the installation is complete, to access the web interface using your favorite web browser, you must start the service with this command:</p>
<pre>:~$ sudo /usr/local/lsws/bin/lswsctrl start</pre>
<p>And when we want to stop it, with this one:</p>
<pre>:~$ sudo /usr/local/lsws/bin/lswsctrl stop</pre>
<p>Now, if you access the web interface. You will see the following:</p>
<figure id="attachment_17496" aria-describedby="caption-attachment-17496" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-17496" src="https://www.osradar.com/wp-content/uploads/2020/01/3-1.png" alt="3.- OpenLiteSpeed log in page" width="1366" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/01/3-1.png 1366w, https://www.osradar.com/wp-content/uploads/2020/01/3-1-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/3-1-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/3-1-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/3-1-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2020/01/3-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2020/01/3-1-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/3-1-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/01/3-1-858x420.png 858w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-17496" class="wp-caption-text">3.- OpenLiteSpeed log in page</figcaption></figure>
<p>The default credentials are &#8220;<strong>admin</strong>&#8221; and &#8220;<strong>123456</strong>&#8220;. Obviously, this has to be changed later for security reasons.</p>
<p>Then, you will see the main screen.</p>
<figure id="attachment_17497" aria-describedby="caption-attachment-17497" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-17497" src="https://www.osradar.com/wp-content/uploads/2020/01/4-1.png" alt="4.- OpenLiteSpeed main screen" width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/01/4-1.png 1354w, https://www.osradar.com/wp-content/uploads/2020/01/4-1-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/4-1-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/4-1-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/4-1-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2020/01/4-1-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/4-1-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/01/4-1-850x420.png 850w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-17497" class="wp-caption-text">4.- OpenLiteSpeed main screen</figcaption></figure>
<p>Now, you can configure the server through a simple graphical interface.</p>
<figure id="attachment_17498" aria-describedby="caption-attachment-17498" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-17498" src="https://www.osradar.com/wp-content/uploads/2020/01/5-1.png" alt="5.- Configuring the server instance" width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/01/5-1.png 1354w, https://www.osradar.com/wp-content/uploads/2020/01/5-1-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/5-1-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/5-1-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/5-1-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2020/01/5-1-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/5-1-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/01/5-1-850x420.png 850w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-17498" class="wp-caption-text">5.- Configuring the server instance</figcaption></figure>
<p>Finally, it is a good idea to change the default password.</p>
<figure id="attachment_17499" aria-describedby="caption-attachment-17499" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-17499" src="https://www.osradar.com/wp-content/uploads/2020/01/6-1.png" alt="6.- Change the default password " width="1366" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/01/6-1.png 1366w, https://www.osradar.com/wp-content/uploads/2020/01/6-1-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/6-1-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/6-1-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/6-1-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2020/01/6-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2020/01/6-1-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/6-1-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/01/6-1-858x420.png 858w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-17499" class="wp-caption-text">6.- Change the default password</figcaption></figure>
<p>So, that is it.</p>
<h2>Conclusion</h2>
<p>In this post, we have met another quite popular web server as OpenLiteSpeed. In a market dominated by Apache and Nginx it&#8217;s always nice to have other alternatives for our projects.</p>
<p>Please share this post and join <a href="https://t.me/osradar" target="_blank" rel="noopener noreferrer">our Telegram channel</a>.</p>


<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-openlitespeed-ubuntu-18-04/">How to install OpenLiteSpeed on Ubuntu 18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-openlitespeed-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
