<?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>web server Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/web-server/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 16 Jul 2021 17:48:01 +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 enable the Brotli compression on Apache and Debian 10</title>
		<link>https://www.osradar.com/enable-the-brotli-compression-apache-debian-10/</link>
					<comments>https://www.osradar.com/enable-the-brotli-compression-apache-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 21 Jul 2021 23:45:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[web server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=31266</guid>

					<description><![CDATA[<p>Hello, friends. On a website, the speed and size of the files are vital to avoid possible crashes on the server. So today in this post, you will learn how to enable Brotli compression on Apache on Debian 10. It’s a simple process but it can help a lot. Why do it? The algorithm that [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/enable-the-brotli-compression-apache-debian-10/">How to enable the Brotli compression on Apache and 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 class="has-line-data">Hello, friends. On a website, the speed and size of the files are vital to avoid possible crashes on the server. So today in this post, you will learn how to enable Brotli compression on Apache on Debian 10. It’s a simple process but it can help a lot.</p>



<h2 class="code-line"><a id="Why_do_it_2"></a>Why do it?</h2>



<p class="has-line-data">The algorithm that <a href="https://github.com/google/brotli" target="_blank" rel="noreferrer noopener">Brotli </a>uses is more efficient at compressing files than other compression methods. Therefore we will be able to notice how the files on our server will weigh less and this will influence the load of the files.</p>



<p class="has-line-data">In general, you can expect files to be 15% to 25% smaller. So it is always a good idea to do it even if GZIP is the most popular among them. For a while, Brotli lacked the browser support that would allow it to be used in the same way as GZIP, but that changed and nowadays they are all supported.</p>



<p class="has-line-data">So, in this post, you will learn how to enable it in Apache using Debian 10 as an example.</p>



<h2 class="code-line">Enabling Brotli compression on Apache</h2>



<p class="has-line-data">One of the first things we have to do is to access the server or open a terminal.</p>



<p class="has-line-data">Then proceed to update the whole system.</p>



<pre class="wp-block-preformatted">sudo apt update
sudo apt upgrade</pre>



<p class="has-line-data">Fortunately, Brotli is available from the official Debian repositories so installation becomes quite easy.</p>



<p class="has-line-data">So to install it, run the following command:</p>



<pre class="wp-block-preformatted">sudo apt install brotli</pre>



<p class="has-line-data">This way, we already have the program installed. Now we need to link it with Apache so that they can do the job together.</p>



<p class="has-line-data">First, enable the module in Apache. We can do this because recent versions of Apache include this module. In case you have manually installed apache, you have to rebuild it together with the module.</p>



<pre class="wp-block-preformatted">sudo a2enmod brotli </pre>



<p class="has-line-data">Now in the virtualhost of your site, you have to add the following lines for the site to be processed with brotli.</p>



<pre class="wp-block-preformatted">&lt;IfModule mod_brotli.c>
    AddOutputFilterByType BROTLI_COMPRESS text/html text/plain text/xml text/css text/javascript application/javascript
&lt;/IfModule></pre>



<p class="has-line-data">Save your changes and close your editor,</p>



<p class="has-line-data">And to apply the changes, you have to completely restart Apache.</p>



<pre class="wp-block-preformatted">sudo systemctl restart apache2</pre>



<p class="has-line-data">This is enough, but if you want to verify the process, you have to run the following command:</p>



<pre class="wp-block-preformatted">curl -I -H 'Accept-Encoding: br' [your-domain]</pre>



<p class="has-line-data">If on the output screen the value of <code>Content-Encoding</code> is similar to <code>Content-Encoding: br</code>, then the whole process has been successful.</p>



<h2 class="code-line"><a id="Conclusion_53"></a>Conclusion</h2>



<p class="has-line-data">In a web server, web server enhancement tools are essential for everything to work. The compression Brotli helps a lot in this task and with Apache, it can be useful.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/enable-the-brotli-compression-apache-debian-10/">How to enable the Brotli compression on Apache and 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/enable-the-brotli-compression-apache-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install Nginx on Fedora 34</title>
		<link>https://www.osradar.com/install-nginx-fedora-34/</link>
					<comments>https://www.osradar.com/install-nginx-fedora-34/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 08 Jun 2021 23:11:00 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[Fedora 30]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[web server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12189</guid>

					<description><![CDATA[<p>Nginx is one of the most popular web servers in the world. Even on a par with Apache. We already know that it stands out for its speed and ability to handle large requests. Now, I&#8217;ll show you how to install Nginx on Fedora 34. Fedora 34 is a distribution sponsored by RHEL which makes [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-nginx-fedora-34/">Install Nginx on Fedora 34</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Nginx is one of the most popular web servers in the world. Even on a par with Apache. We already know that it stands out for its speed and ability to handle large requests. Now, I&#8217;ll show you how to install Nginx on Fedora 34.</p>
<p>Fedora 34 is a distribution sponsored by <a href="https://www.osradar.com/rhel-8-is-available/" target="_blank" rel="noopener noreferrer">RHEL</a> which makes it inherit several of its security policies. Of course Fedora 34 is oriented to the average Linux user, so no major security policies are required. However, it is one of the most secure Linux distributions out there. So it is very common to see that there are Linux developers who choose it for their web projects. This is where Nginx becomes almost indispensable.</p>
<p>About Nginx we have talked a lot on <a href="https://www.osradar.com/tag/nginx/" target="_blank" rel="noopener noreferrer">our website</a>, however, I will briefly explain that it is an open source web server. Its main advantage over Apache is that it is <a href="https://www.nginx.com/blog/testing-the-performance-of-nginx-and-nginx-plus-web-servers/" target="_blank" rel="noopener noreferrer">very lightweight</a> and response times to large requests are very low. That is, it is ideal if you are going to handle a lot of simulated connections. Or yes, the web application is complex and requires many requests to the server. In any case, we are in the presence of a fantastic web server. So, let us get Nginx on Fedora 34.</p>
<h2>Install Nginx on Fedora 34</h2>
<p>First of all, you need to know the name of the particular package. To do this, we&#8217;ll use dnf to get it. So, open a terminal and run:</p>
<pre>:~$ sudo dnf search nginx</pre>
<figure id="attachment_30501" aria-describedby="caption-attachment-30501" style="width: 1279px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-30501" src="https://www.osradar.com/wp-content/uploads/2019/05/1_11.png" alt="1.- Searching for Nginx on Fedora 34" width="1279" height="587" srcset="https://www.osradar.com/wp-content/uploads/2019/05/1_11.png 1279w, https://www.osradar.com/wp-content/uploads/2019/05/1_11-300x138.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/1_11-1024x470.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/1_11-768x352.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/1_11-696x319.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/1_11-1068x490.png 1068w" sizes="(max-width: 1279px) 100vw, 1279px" /><figcaption id="caption-attachment-30501" class="wp-caption-text">1.- Searching for Nginx on Fedora 34</figcaption></figure>
<p>As you can see in the image, there are several packages related to <code>nginx</code> in the Fedora 34 repositories. However, we need to install the <code>nginx</code> package.</p>
<pre>:~$ sudo dnf install nginx</pre>
<figure id="attachment_30502" aria-describedby="caption-attachment-30502" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-30502" src="https://www.osradar.com/wp-content/uploads/2019/05/2_222.png" alt="2.- Install Nginx on Fedora 34" width="1365" height="611" srcset="https://www.osradar.com/wp-content/uploads/2019/05/2_222.png 1365w, https://www.osradar.com/wp-content/uploads/2019/05/2_222-300x134.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/2_222-1024x458.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/2_222-768x344.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/2_222-696x312.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/2_222-1068x478.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-30502" class="wp-caption-text">2.- Install Nginx on Fedora 34</figcaption></figure>
<p>After confirm the process, the download and installation will begin.</p>
<p>Then, when the installation is finished, we must start the Nginx service in order for it to work. To do this, type the following command:</p>
<pre>:~$ sudo systemctl start nginx</pre>
<p>Also, if you want nginx to start with the system, run this command:</p>
<pre>:~$ sudo systemctl enable nginx</pre>
<p>Next, open your favorite web browser and go to http://localhost and you will see this.</p>
<figure id="attachment_30503" aria-describedby="caption-attachment-30503" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-30503 size-full" src="https://www.osradar.com/wp-content/uploads/2019/05/d.png" alt="3.- Nginx working on Fedora 34" width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2019/05/d.png 1354w, https://www.osradar.com/wp-content/uploads/2019/05/d-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/d-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/d-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/d-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/d-1068x528.png 1068w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-30503" class="wp-caption-text">3.- Nginx working on Fedora 34</figcaption></figure>
<p>So, that is it.</p>
<h2>Conclusion</h2>
<p>Installing Nginx is very simple but it is good to keep it in mind especially if you are new to this Linux distribution. Nginx is very powerful and makes many websites agile to the many requests made to it.</p>
<p>Tell us, do you like Nginx? did you find the post useful?</p>
<p>Please share this post with your friends.</p>


<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-nginx-fedora-34/">Install Nginx on Fedora 34</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-nginx-fedora-34/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Laragon on Windows 10.</title>
		<link>https://www.osradar.com/how-to-install-laragon-on-windows-10/</link>
					<comments>https://www.osradar.com/how-to-install-laragon-on-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Sat, 30 Jan 2021 22:49:00 +0000</pubDate>
				<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[laragon]]></category>
		<category><![CDATA[Laravel]]></category>
		<category><![CDATA[web server]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=28083</guid>

					<description><![CDATA[<p>Hi! We have previously discussed options for setting up a web server on Windows 10. Indeed, we discussed alternatives such as XAMP, WampServer and EasyPHP Devserver. Each of them has its advantages and disadvantages. However, a common point is that each solution incorporates the necessary elements to successfully run a web server. Well, today we [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-laragon-on-windows-10/">How to install Laragon on Windows 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>Hi! We have previously discussed options for setting up a web server on Windows 10. Indeed, we discussed alternatives such as <a href="https://www.osradar.com/how-to-install-xampp-on-windows-10/" target="_blank" rel="noreferrer noopener">XAMP,</a> <a href="https://www.osradar.com/how-to-install-wampserver-on-windows-10/" target="_blank" rel="noreferrer noopener">WampServer</a> and <a href="https://www.osradar.com/simply-set-up-a-web-server-with-easyphp-devserver/" target="_blank" rel="noreferrer noopener">EasyPHP Devserver.</a> Each of them has its advantages and disadvantages. However, a common point is that each solution incorporates the necessary elements to successfully run a web server. Well, today we take a look at <a href="https://laragon.org/" target="_blank" rel="noreferrer noopener">Laragon.</a> As its name suggests, it was originally oriented to <a href="https://laravel.com/" target="_blank" rel="noreferrer noopener">Laravel.</a> Since its features optimize the use of this framework. However, it can be used for any PHP project. In addition, it has some features that make it unique. Read on to learn how to install Laragon on Windows 10.</p>



<h2>Main features of Laragon for Windows 10</h2>



<p>As mentioned, this toolkit has distinctive elements. First, it incorporates <strong>Apache, MariaDB, PHP, phpMyAdmin, cmder, Memcached</strong> and much more. In addition, it allows the creation of automatic Virtual Hosts for projects. That is to say, if we create a project called <em>laravel-project.dev</em>; then it is enough to enter that address in any browser to see it running. It also allows you to use pretty URLs. That is, it generates the url <em>laravel.test </em>instead of <em>localhost/larave</em>l. Therefore, it is not necessary to modify any file. Likewise, its operation is portable. Consequently, you can move the Laragon folder to another computer. You can even upload it to cloud hosting services. And continue using it on those devices. </p>



<p>It is also configured inside containers, so it runs in isolation from the rest of the system. This guarantees greater stability and lower resource usage. Additionally, it allows you to create projects (WordPress, Laravel, Drupal, etc.) with just one click. &nbsp;You can add&nbsp;<strong>git, phpmyadmin, Node.js/MongoDB, Python/Django/Flask/Postgres, Ruby, Java, Go</strong>&nbsp;using&nbsp;<em>Tools&gt;Quick add</em>.</p>



<h2>Laragon versions</h2>



<p>Laragon is an open source project available only for Windows. So its operation is optimized for this operating system. In fact, the developers claim that the Laragon Core consumes only 4 MB of RAM. So far, 3 versions of the program have been released.</p>



<ul><li>Laragon Full: Apache 2.4, Nginx, MySQL 5.7, PHP 7.2, Redis, Memcached, Node.js 11, npm, yarn, git.</li><li>Lite version: Don’t include Node.js 11, npm, yarn, git but you can add them easily using <em>Tools&gt;Quick add</em>.</li><li>Portable version: PHP 5.4, MySQL 5.1 &#8211; Good for getting started with PHP, then you can add newer versions of PHP/MySQL easily later.</li></ul>



<h2>How to download and install Laragon for Windows 10.</h2>



<p>We have seen the different versions of this tool. Well, for the purposes of this tutorial we will install the full version. You can download it for free from this <a href="https://laragon.org/download/" target="_blank" rel="noreferrer noopener">link.</a> The installation of the program is as usual as any other.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="499" height="387" src="https://www.osradar.com/wp-content/uploads/2021/01/lara.png" alt="Starting Laragon installation" class="wp-image-28085" srcset="https://www.osradar.com/wp-content/uploads/2021/01/lara.png 499w, https://www.osradar.com/wp-content/uploads/2021/01/lara-300x233.png 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption>Starting Laragon installation</figcaption></figure>



<p>From there, just follow the installation windows. However, you must check the <em>Auto virtual hosts </em>option to be able to enjoy this functionality.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="499" height="387" src="https://www.osradar.com/wp-content/uploads/2021/01/lara2.png" alt="Enabling the installation of Auto virtual hosts " class="wp-image-28087" srcset="https://www.osradar.com/wp-content/uploads/2021/01/lara2.png 499w, https://www.osradar.com/wp-content/uploads/2021/01/lara2-300x233.png 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption>Enabling the installation of Auto virtual hosts</figcaption></figure>



<p>Then wait while the installation process completes. Finally, you can launch the app.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="499" height="387" src="https://www.osradar.com/wp-content/uploads/2021/01/lara3.png" alt="Finalizing the installation of Laragon. " class="wp-image-28089" srcset="https://www.osradar.com/wp-content/uploads/2021/01/lara3.png 499w, https://www.osradar.com/wp-content/uploads/2021/01/lara3-300x233.png 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption>Finalizing the installation of Laragon.</figcaption></figure>



<h2>Adding features in Laragon.</h2>



<p>As mentioned, Laragon comes ready to use. In fact, it incorporates MySQL. It also incorporates HeidiSQL to manage it. However, you can install another MySQL manager. In this opportunity we will install PHPMyAdmin. It is a simple process that we will do with a single click. Since the tool downloads, unzips and places the file in the necessary location. Well, you just have to right-click on the app console. Then follow the following path:</p>



<pre class="wp-block-preformatted">Tools&gt;Quick add&gt;phpmyadmin</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="953" height="742" src="https://www.osradar.com/wp-content/uploads/2021/01/lara4.jpg" alt="Adding phpmyadmin to Laragon" class="wp-image-28091" srcset="https://www.osradar.com/wp-content/uploads/2021/01/lara4.jpg 953w, https://www.osradar.com/wp-content/uploads/2021/01/lara4-300x234.jpg 300w, https://www.osradar.com/wp-content/uploads/2021/01/lara4-768x598.jpg 768w, https://www.osradar.com/wp-content/uploads/2021/01/lara4-696x542.jpg 696w" sizes="(max-width: 953px) 100vw, 953px" /><figcaption>Adding phpmyadmin to Laragon</figcaption></figure>



<p>As mentioned above, the process is carried out automatically.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="872" height="558" src="https://www.osradar.com/wp-content/uploads/2021/01/lara5.jpg" alt="Downloading and installing phpmyadmin" class="wp-image-28092" srcset="https://www.osradar.com/wp-content/uploads/2021/01/lara5.jpg 872w, https://www.osradar.com/wp-content/uploads/2021/01/lara5-300x192.jpg 300w, https://www.osradar.com/wp-content/uploads/2021/01/lara5-768x491.jpg 768w, https://www.osradar.com/wp-content/uploads/2021/01/lara5-696x445.jpg 696w" sizes="(max-width: 872px) 100vw, 872px" /><figcaption>Downloading and installing phpmyadmin</figcaption></figure>



<p>After the installation is finished, we will finish the PhpMyAdmin configuration. The first thing you have to do is to start all Laragon services. With this in mind, click on <strong>Start All.</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="636" height="420" src="https://www.osradar.com/wp-content/uploads/2021/01/lara6.png" alt="Starting up Laragon's services" class="wp-image-28094" srcset="https://www.osradar.com/wp-content/uploads/2021/01/lara6.png 636w, https://www.osradar.com/wp-content/uploads/2021/01/lara6-300x198.png 300w" sizes="(max-width: 636px) 100vw, 636px" /><figcaption>Starting up Laragon&#8217;s services</figcaption></figure>



<p>Then paste the following address into a web browser:</p>



<pre class="wp-block-preformatted"><code>http://localhost/phpmyadmin</code></pre>



<p>The main phpMyAdmin window will be displayed immediately. If using a local development environment, then use <em>root</em> as the username and leave the password blank.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="https://www.osradar.com/wp-content/uploads/2021/01/lara9-1024x787.png" alt="Configuring phmyadmin credentials" class="wp-image-28096" srcset="https://www.osradar.com/wp-content/uploads/2021/01/lara9-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/lara9-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/lara9-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/lara9-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/lara9-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/lara9.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Configuring phmyadmin credentials</figcaption></figure>



<p>After a few moments the tool will be ready for use.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="https://www.osradar.com/wp-content/uploads/2021/01/lara10-1024x787.png" alt="phpmyadmin running on Laragon" class="wp-image-28098" srcset="https://www.osradar.com/wp-content/uploads/2021/01/lara10-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/lara10-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/lara10-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/lara10-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/lara10-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/lara10.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>phpmyadmin running on Laragon</figcaption></figure>



<p>We are ready to create our first project in Laragon.</p>



<h2>Creating a project in Laragon</h2>



<p>As mentioned, Laragon offers to create a project with a single click. It is possible to generate any PHP related server. But this time we will create a Laravel project. With this in mind, right-click on the mouse and follow this path:</p>



<pre class="wp-block-preformatted">Quick app&gt;Laravel</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="845" height="643" src="https://www.osradar.com/wp-content/uploads/2021/01/lara11.jpg" alt="Creating a new Laravel project. " class="wp-image-28101" srcset="https://www.osradar.com/wp-content/uploads/2021/01/lara11.jpg 845w, https://www.osradar.com/wp-content/uploads/2021/01/lara11-300x228.jpg 300w, https://www.osradar.com/wp-content/uploads/2021/01/lara11-768x584.jpg 768w, https://www.osradar.com/wp-content/uploads/2021/01/lara11-696x530.jpg 696w" sizes="(max-width: 845px) 100vw, 845px" /><figcaption>Creating a new Laravel project.</figcaption></figure>



<p>Next, assign a name to the project.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="636" height="420" src="https://www.osradar.com/wp-content/uploads/2021/01/lara12.png" alt="Assigning a name to the new project. " class="wp-image-28102" srcset="https://www.osradar.com/wp-content/uploads/2021/01/lara12.png 636w, https://www.osradar.com/wp-content/uploads/2021/01/lara12-300x198.png 300w" sizes="(max-width: 636px) 100vw, 636px" /><figcaption>Assigning a name to the new project.</figcaption></figure>



<p>Then the download, installation and configuration of the new project will start. This is done automatically. In addition, it may take a few minutes depending on the speed of the connection.</p>



<figure class="wp-block-gallery columns-2 is-cropped"><ul class="blocks-gallery-grid"><li class="blocks-gallery-item"><figure><img loading="lazy" width="979" height="512" src="https://www.osradar.com/wp-content/uploads/2021/01/lara13.png" alt="" data-id="28103" data-full-url="https://www.osradar.com/wp-content/uploads/2021/01/lara13.png" data-link="https://www.osradar.com/?attachment_id=28103" class="wp-image-28103" srcset="https://www.osradar.com/wp-content/uploads/2021/01/lara13.png 979w, https://www.osradar.com/wp-content/uploads/2021/01/lara13-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/lara13-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/lara13-696x364.png 696w" sizes="(max-width: 979px) 100vw, 979px" /></figure></li><li class="blocks-gallery-item"><figure><img loading="lazy" width="979" height="512" src="https://www.osradar.com/wp-content/uploads/2021/01/lara14.png" alt="" data-id="28104" data-full-url="https://www.osradar.com/wp-content/uploads/2021/01/lara14.png" data-link="https://www.osradar.com/?attachment_id=28104" class="wp-image-28104" srcset="https://www.osradar.com/wp-content/uploads/2021/01/lara14.png 979w, https://www.osradar.com/wp-content/uploads/2021/01/lara14-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/lara14-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/lara14-696x364.png 696w" sizes="(max-width: 979px) 100vw, 979px" /></figure></li></ul></figure>



<p>Finally, you can launch the project page. This can be done in two ways: by right-clicking the mouse and following the next path:</p>



<pre class="wp-block-preformatted">www&gt;osradar</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="845" height="578" src="https://www.osradar.com/wp-content/uploads/2021/01/lara15.jpg" alt="" class="wp-image-28105" srcset="https://www.osradar.com/wp-content/uploads/2021/01/lara15.jpg 845w, https://www.osradar.com/wp-content/uploads/2021/01/lara15-300x205.jpg 300w, https://www.osradar.com/wp-content/uploads/2021/01/lara15-768x525.jpg 768w, https://www.osradar.com/wp-content/uploads/2021/01/lara15-218x150.jpg 218w, https://www.osradar.com/wp-content/uploads/2021/01/lara15-696x476.jpg 696w" sizes="(max-width: 845px) 100vw, 845px" /></figure>



<p>Please remember to replace <em>osradar</em> with the name of your project. On the other hand, Laragon generated the following pretty URL. So just add it in the address bar of the web browser.</p>



<pre class="wp-block-preformatted">http://osradar.test</pre>



<p>Either way, you will see the following in the web browser.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="https://www.osradar.com/wp-content/uploads/2021/01/lara16-1024x787.png" alt="" class="wp-image-28107" srcset="https://www.osradar.com/wp-content/uploads/2021/01/lara16-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/lara16-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/lara16-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/lara16-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/lara16-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/lara16.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>This way we have seen how to install Laragon on Windows 10. So long!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-laragon-on-windows-10/">How to install Laragon on Windows 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/how-to-install-laragon-on-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Nginx on OpenSUSE 15. 2 / 15.1?</title>
		<link>https://www.osradar.com/how-to-install-nginx-on-opensuse-suse-15/</link>
					<comments>https://www.osradar.com/how-to-install-nginx-on-opensuse-suse-15/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 02 Oct 2020 22:22:00 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SUSE]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=11487</guid>

					<description><![CDATA[<p>OpenSUSE is one of the most outstanding operating systems in the world of Linux for being very stable. Its stability and popularity come from being the community distribution of SUSE that is so well positioned. This company collaborates and sponsors many projects related to open source providing professional support. So, I could say that it [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-nginx-on-opensuse-suse-15/">How to install Nginx on OpenSUSE 15. 2 / 15.1?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>OpenSUSE is one of the most outstanding operating systems in the world of Linux for being very stable. Its stability and popularity come from being the community distribution of SUSE that is so well positioned. This company collaborates and sponsors many projects related to open source providing professional support. So, I could say that it competes with RHEL or Canonical but with new technologies. Therefore, it is not surprising that it is chosen by many sysadmins as a system where to deploy their applications. In this post, you will learn <strong>how to install Nginx on OpenSUSE 15.2</strong></p>
<p><a href="https://www.nginx.com/" rel="noopener noreferrer">Nginx</a> is one of the most popular Open Source services in the world. It is a web server that stands out for being high-performance and providing an ability to handle many requests on one server. In addition, Nginx has recently <a href="https://www.osradar.com/f5-networks-buys-nginx/" rel="noopener noreferrer">been purchased by F5 Networks</a> to continue a growth process.</p>
<p>All in all, it is easy to deduce that OpenSUSE or SUSE are privileged options for running network services. So today I will show you how to install Nginx on OpenSUSE 15.2 or SUSE 15. This way you can enjoy a great web server in a great Linux distribution.</p>
<h2>1. Upgrade the system</h2>
<p>As always we recommend doing a general update to the system. With this, you will be more stable and ready to start the process.</p>
<pre>:~$ sudo zypper up</pre>
<p><figure id="attachment_11489" aria-describedby="caption-attachment-11489" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11489" src="https://www.osradar.com/wp-content/uploads/2019/03/1-11.png" alt="1.- Upgrade the system" width="1365" height="369" srcset="https://www.osradar.com/wp-content/uploads/2019/03/1-11.png 1365w, https://www.osradar.com/wp-content/uploads/2019/03/1-11-300x81.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/1-11-768x208.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/1-11-1024x277.png 1024w, https://www.osradar.com/wp-content/uploads/2019/03/1-11-696x188.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/1-11-1068x289.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-11489" class="wp-caption-text">1.- Upgrade the system</figcaption></figure></p>
<p>The result will be that your system will have the latest security patches installed. So it will be safer and more protected against cybercrime.</p>
<h2>2. Install Nginx on OpenSUSE 15.2</h2>
<p>Nginx is available in the OpenSUSE and SUSE repositories. This is a great advantage to increase the ease of installation. On the other hand, we will not always have the latest versions.</p>
<p>So, first, search for Nginx using Zypper.</p>
<pre>:~$ sudo zypper search nginx</pre>
<p><figure id="attachment_11490" aria-describedby="caption-attachment-11490" style="width: 943px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11490" src="https://www.osradar.com/wp-content/uploads/2019/03/2-11.png" alt="2.- Nginx related package" width="943" height="355" srcset="https://www.osradar.com/wp-content/uploads/2019/03/2-11.png 943w, https://www.osradar.com/wp-content/uploads/2019/03/2-11-300x113.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/2-11-768x289.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/2-11-696x262.png 696w" sizes="(max-width: 943px) 100vw, 943px" /><figcaption id="caption-attachment-11490" class="wp-caption-text">2.- Nginx related package</figcaption></figure></p>
<p>As you can see, there are several packages related to Nginx within the official repositories of the distribution. However, the nginx package is the one you need to<strong> install the web server.</strong></p>
<pre>:~$ sudo zypper in nginx</pre>
<p><figure id="attachment_11491" aria-describedby="caption-attachment-11491" style="width: 922px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11491" src="https://www.osradar.com/wp-content/uploads/2019/03/3-10.png" alt="3.- Install Nginx on OpenSUSE / SUSE" width="922" height="323" srcset="https://www.osradar.com/wp-content/uploads/2019/03/3-10.png 922w, https://www.osradar.com/wp-content/uploads/2019/03/3-10-300x105.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/3-10-768x269.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/3-10-696x244.png 696w" sizes="(max-width: 922px) 100vw, 922px" /><figcaption id="caption-attachment-11491" class="wp-caption-text">3.- Install Nginx on OpenSUSE / SUSE</figcaption></figure></p>
<p>Then, it is a good idea to enable the Nginx service to run as soon as the system starts.</p>
<pre>:~$ sudo systemctl enable nginx</pre>
<p>After that, start the service.</p>
<pre>:~$ sudo systemctl start nginx</pre>
<p>If you want to see the <strong>status of the Nginx service</strong>, you can use the following command:</p>
<pre>:~$ sudo sytemctl status nginx</pre>
<p><figure id="attachment_11492" aria-describedby="caption-attachment-11492" style="width: 947px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11492" src="https://www.osradar.com/wp-content/uploads/2019/03/4-7.png" alt="4.- The Nginx service" width="947" height="388" srcset="https://www.osradar.com/wp-content/uploads/2019/03/4-7.png 947w, https://www.osradar.com/wp-content/uploads/2019/03/4-7-300x123.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/4-7-768x315.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/4-7-696x285.png 696w" sizes="(max-width: 947px) 100vw, 947px" /><figcaption id="caption-attachment-11492" class="wp-caption-text">4.- The Nginx service</figcaption></figure></p>
<p>Now, it is time to test it.</p>
<h2>3. Test Nginx on OpenSUSE</h2>
<p>The next step is to check that Nginx is running correctly. To do this, you need to make an HTML file and place it in the root directory of Nginx in OpenSUSE / SUSE.</p>
<p>So, use nano to do it.</p>
<pre>:~$ sudo nano /srv/www/htdocs/index.html</pre>
<p>Add the following:</p>
<pre>&lt;html&gt;
&lt;body&gt;
&lt;h1&gt;Welcome to osradar &lt;/h1&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p><figure id="attachment_11493" aria-describedby="caption-attachment-11493" style="width: 809px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11493" src="https://www.osradar.com/wp-content/uploads/2019/03/5-5.png" alt="5.- Test nginx" width="809" height="209" srcset="https://www.osradar.com/wp-content/uploads/2019/03/5-5.png 809w, https://www.osradar.com/wp-content/uploads/2019/03/5-5-300x78.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/5-5-768x198.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/5-5-696x180.png 696w" sizes="(max-width: 809px) 100vw, 809px" /><figcaption id="caption-attachment-11493" class="wp-caption-text">5.- Test nginx</figcaption></figure></p>
<p>Save the file and close it.</p>
<p>Then, make some changes to the firewall settings to allow the HTTP service:</p>
<pre>:~$ sudo firewall-cmd --add-port=80/tcp --permanent
:~$ sudo firewall-cmd --reload</pre>
<p><figure id="attachment_11494" aria-describedby="caption-attachment-11494" style="width: 830px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11494" src="https://www.osradar.com/wp-content/uploads/2019/03/6-2.png" alt="6.- Firewall settings" width="830" height="146" srcset="https://www.osradar.com/wp-content/uploads/2019/03/6-2.png 830w, https://www.osradar.com/wp-content/uploads/2019/03/6-2-300x53.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/6-2-768x135.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/6-2-696x122.png 696w" sizes="(max-width: 830px) 100vw, 830px" /><figcaption id="caption-attachment-11494" class="wp-caption-text">6.- Firewall settings</figcaption></figure></p>
<p>Now, open your favorite web browser like Firefox or Chrome and go to http://SERVER_IP/ and you will see this.</p>
<p><figure id="attachment_11495" aria-describedby="caption-attachment-11495" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11495" src="https://www.osradar.com/wp-content/uploads/2019/03/7-3.png" alt="7.- Welcome to osradar" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/03/7-3.png 1366w, https://www.osradar.com/wp-content/uploads/2019/03/7-3-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/7-3-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/7-3-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/03/7-3-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/03/7-3-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/7-3-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/03/7-3-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11495" class="wp-caption-text">7.- Welcome to osradar</figcaption></figure></p>
<p>So, Nginx is working.</p>
<h2>Conclusion</h2>
<p>OpenSUSE and SUSE have been characterized by fairly professional distributions that behave excellently on a server. However, they do this without sacrificing the power and robustness that Linux offers.</p>
<p>In this tutorial, you have learned how to install Nginx on OpenSUSE 15.2 / SUSE 15 and it is the gateway to great things with this distribution.</p>
<p>Please, share this post with your friends.</p>
<p>You can also read:</p>
<p class="entry-title"><a href="https://www.osradar.com/opensuse-15-1-is-available/" target="_blank" rel="noopener noreferrer">OpenSUSE 15.1 is available!!</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-nginx-on-opensuse-suse-15/">How to install Nginx on OpenSUSE 15. 2 / 15.1?</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/how-to-install-nginx-on-opensuse-suse-15/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install and configure MAMP in Windows 10</title>
		<link>https://www.osradar.com/how-to-install-and-configure-mamp-in-windows-10/</link>
					<comments>https://www.osradar.com/how-to-install-and-configure-mamp-in-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Fri, 24 Jul 2020 04:48:09 +0000</pubDate>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[local web server]]></category>
		<category><![CDATA[localhost]]></category>
		<category><![CDATA[mamp]]></category>
		<category><![CDATA[web server]]></category>
		<category><![CDATA[web server enviroment]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=21752</guid>

					<description><![CDATA[<p>Hi! Today we&#8217;re going to talk a little about MAMP. This is an application pack that allows you to set up a web server. Indeed, it includes Apache, MySQL, and PHP installed and configured by default. Additionally, it is possible to use Nginx as a server. In addition to using various forms of web acceleration [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-and-configure-mamp-in-windows-10/">How to install and configure MAMP in Windows 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>Hi! Today we&#8217;re going to talk a little about MAMP. This is an application pack that allows you to set up a web server. Indeed, it includes Apache, MySQL, and PHP installed and configured by default. Additionally, it is possible to use Nginx as a server. In addition to using various forms of web acceleration such as APC and eAccelerator. On the other hand, this local server environment was oriented to Mac systems. However, a Windows version is also provided. On the other hand, perhaps the most interesting thing is that its installation is independent. That is, it does not interfere with any other local web server you may have installed. Consequently, you can use it together with <a href="https://www.osradar.com/how-to-install-xampp-on-windows-10/" target="_blank" aria-label="undefined (opens in a new tab)" rel="noreferrer noopener">Xampp</a> or Lamp for example. So today we&#8217;ll see how to install and configure MAMP in Windows 10.</p>



<h2>How to download and install MAMP in Windows 10</h2>



<p>This local server environment offers a free version and a paid PRO version. The paid version allows you to separate the projects you have worked on, as well as display settings such as Joomla, Drupal, or WordPress. However, the free version is complete enough to mount the local web server. Well, to download it please go to the <a href="https://www.mamp.info/en/downloads/" target="_blank" aria-label="undefined (opens in a new tab)" rel="noreferrer noopener">download </a>section of the website. Once there, select the version for Windows which at this moment is 4.2.0. After the download is complete, please start installing it as any Windows program.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="499" height="392" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/mam.png" alt="Press next to start the installation." class="wp-image-21755" srcset="https://www.osradar.com/wp-content/uploads/2020/07/mam.png 499w, https://www.osradar.com/wp-content/uploads/2020/07/mam-300x236.png 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption>Press next to start the installation.</figcaption></figure>



<p>From now on you should only look at a couple of aspects of the installation. In the first place, the wizard offers two additional features. These elements are not indispensable for the operation of MAMP. So I personally recommend not to install it for the time being. Please don&#8217;t check both boxes.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="499" height="392" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/mam2.png" alt="Please start the installation without the two additional components." class="wp-image-21757" srcset="https://www.osradar.com/wp-content/uploads/2020/07/mam2.png 499w, https://www.osradar.com/wp-content/uploads/2020/07/mam2-300x236.png 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption>Please start the installation without the two additional components.</figcaption></figure>



<p>The other aspect that you should take care of is to locate the environment installation folder at the root of the hard disk.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="499" height="392" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/mam3.png" alt="Locate the installation folder at the root of the hard drive." class="wp-image-21758" srcset="https://www.osradar.com/wp-content/uploads/2020/07/mam3.png 499w, https://www.osradar.com/wp-content/uploads/2020/07/mam3-300x236.png 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption>Locate the installation folder at the root of the hard drive.</figcaption></figure>



<p>After a few moments, the installation will be complete.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="499" height="392" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/mam4.png" alt="MAMP installation successfully completed" class="wp-image-21759" srcset="https://www.osradar.com/wp-content/uploads/2020/07/mam4.png 499w, https://www.osradar.com/wp-content/uploads/2020/07/mam4-300x236.png 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption>MAMP installation successfully completed</figcaption></figure>



<h2>Launching and configuring MAMP.</h2>



<p>After the installation is completed, it is time to launch the server for the first time. Please remember to authorize access through the Windows Firewall. Then start the app from the shortcut or the start menu. You&#8217;ll immediately see the MAMP command center. It is configured to start the servers at the time of launching the application. In effect, you can see a green light indicating that the servers are running successfully.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="490" height="444" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/mam7-1.png" alt="" class="wp-image-21761" srcset="https://www.osradar.com/wp-content/uploads/2020/07/mam7-1.png 490w, https://www.osradar.com/wp-content/uploads/2020/07/mam7-1-300x272.png 300w" sizes="(max-width: 490px) 100vw, 490px" /></figure>



<p>After starting the services, you can check the installation by clicking on the <strong>Open WebStart page.</strong> Or alternatively you can access the following address in your browser: <strong>http://localhost/MAMP</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/mam5-1024x787.png" alt="MAMP server running successfully" class="wp-image-21762" srcset="https://www.osradar.com/wp-content/uploads/2020/07/mam5-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/mam5-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/mam5-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/mam5-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/mam5-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/mam5-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/07/mam5.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>MAMP server running successfully</figcaption></figure>



<p>You can manage <strong>MySQL</strong> by clicking on<strong> phpMyAdmin</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/mam10-1024x787.png" alt="phpMyAdmin running under MAMP" class="wp-image-21764" srcset="https://www.osradar.com/wp-content/uploads/2020/07/mam10-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/mam10-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/mam10-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/mam10-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/mam10-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/mam10-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/07/mam10.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>phpMyAdmin running under MAMP</figcaption></figure>



<p>It is also possible to set up a Virtual Guest. To do this just click on <strong>My Website.</strong> The sample website will be displayed immediately.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/mam6-1024x787.png" alt="" class="wp-image-21765" srcset="https://www.osradar.com/wp-content/uploads/2020/07/mam6-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/mam6-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/mam6-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/mam6-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/mam6-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/mam6-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/07/mam6.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2>Setting up basic aspects of MAMP</h2>



<p>MAMP has a basic but very complete configuration center. It is possible to customize aspects such as the type of server to use. Or the location of the projects.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="550" height="450" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/mam8.png" alt="Choose the type of server to use. It also sets the location of the projects." class="wp-image-21766" srcset="https://www.osradar.com/wp-content/uploads/2020/07/mam8.png 550w, https://www.osradar.com/wp-content/uploads/2020/07/mam8-300x245.png 300w" sizes="(max-width: 550px) 100vw, 550px" /><figcaption>Choose the type of server to use. It also sets the location of the projects.</figcaption></figure>



<p>You can also set the assigned port for each of the services.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="550" height="450" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/mam9.png" alt="Setting up the ports." class="wp-image-21767" srcset="https://www.osradar.com/wp-content/uploads/2020/07/mam9.png 550w, https://www.osradar.com/wp-content/uploads/2020/07/mam9-300x245.png 300w" sizes="(max-width: 550px) 100vw, 550px" /><figcaption>Setting up the ports.</figcaption></figure>



<p>You can also switch between the versions of PHP installed.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="550" height="450" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/mam11.png" alt="" class="wp-image-21768" srcset="https://www.osradar.com/wp-content/uploads/2020/07/mam11.png 550w, https://www.osradar.com/wp-content/uploads/2020/07/mam11-300x245.png 300w" sizes="(max-width: 550px) 100vw, 550px" /></figure>



<h2>Conclusion</h2>



<p>Finally, we have seen how to install and configure MAMP in Windows 10 This local web server environment is very light and easy to install. It is also an alternative to other popular services such as Xampp and Lamp. Besides, its installation does not interfere with any local server previously installed. I hope it will be useful for your future web projects. See you later!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-and-configure-mamp-in-windows-10/">How to install and configure MAMP in Windows 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/how-to-install-and-configure-mamp-in-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install LAMP on OpenSUSE 15.2 / 15.1?</title>
		<link>https://www.osradar.com/install-lamp-opensuse-15-2-15-1/</link>
					<comments>https://www.osradar.com/install-lamp-opensuse-15-2-15-1/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 06 Jul 2020 01:11:00 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[mariadb]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[web server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12301</guid>

					<description><![CDATA[<p>It is increasingly common to find small companies that decide to use the SUSE ecosystem for their servers. It&#8217;s an unsurprising decision because OpenSUSE is a fairly stable and solid distribution. It also has the support of a giant company like SUSE. So this co-converts it is a pretty reliable distribution for these tasks. So, [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-lamp-opensuse-15-2-15-1/">How to install LAMP on OpenSUSE 15.2 / 15.1?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>It is increasingly common to find small companies that decide to use the SUSE ecosystem for their servers. It&#8217;s an unsurprising decision because OpenSUSE is a fairly stable and solid distribution. It also has the support of a giant company like SUSE. So this co-converts it is a pretty reliable distribution for these tasks. So, in this post, I will show you how to install LAMP on OpenSUSE 15.2 / OpenSUSE 15.1. With this, you will have a fully functional basic web server.</p>
<h2>What is LAMP?</h2>
<p><a href="https://en.wikipedia.org/wiki/LAMP_(software_bundle)" rel="noopener">LAMP</a> is a set of programs or libraries that when installing on a computer, allow you to transform it into a Web server. This makes it one of the first things to do to start deploying dynamic websites.</p>
<p>LAMP is an acronym for Linux + <a href="https://www.osradar.com/tag/apache/" rel="noopener">Apache</a> + <a href="https://www.osradar.com/tag/mariadb/" rel="noopener">MariaDB</a> / <a href="https://www.osradar.com/tag/mysql/" rel="noopener">MySQL</a> and <a href="https://www.osradar.com/tag/php/" rel="noopener">PHP</a>. However, these are not the only components that allow you to have a web server, but the most popular and used.</p>
<p>So let&#8217;s get started.</p>
<h2>Install LAMP on OpenSUSE 15.2</h2>
<h3>1) Install Apache</h3>
<p>Apache is one of the most popular HTTP servers in the world. So much so that many websites run under this program. It is available for many Linux distributions so its installation should not be a problem for users.</p>
<p>In addition, we are looking for open source applications and Apache is bundled with a license that allows us to install it. Then, open a terminal and execute the following command:</p>
<pre>:~$ sudo zypper in apache2</pre>
<figure id="attachment_12302" aria-describedby="caption-attachment-12302" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-12302 size-full" src="https://www.osradar.com/wp-content/uploads/2019/05/1-14.png" alt="1.- Getting LAMP on OpenSUSE 15.2 / 15.1 - Install Apache" width="1365" height="304" srcset="https://www.osradar.com/wp-content/uploads/2019/05/1-14.png 1365w, https://www.osradar.com/wp-content/uploads/2019/05/1-14-300x67.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/1-14-768x171.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/1-14-1024x228.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/1-14-696x155.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/1-14-1068x238.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-12302" class="wp-caption-text">1.- Getting LAMP on OpenSUSE 15.2 / 15.1 &#8211; Install Apache</figcaption></figure>
<p>With this, Apache is installed. However, Apache is not running. Then you have to start the service. Also, it is a good idea to make it run during system startup. We achieve this with the following command:</p>
<pre>:~$ sudo systemctl enable apache2
:~$ sudo systemctl start apache2</pre>
<p>Checks the status of the service to make sure that everything is OK:</p>
<pre>:~$ sudo systemctl status apache2<br />● apache2.service - The Apache Webserver<br />   Loaded: loaded (/usr/lib/systemd/system/apache2.service; disabled; vendor preset: disabled)<br />   Active: active (running) since Sun 2020-07-05 21:12:43 EDT; 39s ago<br /> Main PID: 2376 (httpd-prefork)<br />   Status: "Processing requests..."<br />    Tasks: 6<br />   CGroup: /system.slice/apache2.service<br />           ├─2376 /usr/sbin/httpd-prefork -DSYSCONFIG -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C Include /etc/apache2/sysconf&gt;<br />           ├─2383 /usr/sbin/httpd-prefork -DSYSCONFIG -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C Include /etc/apache2/sysconf&gt;<br />           ├─2384 /usr/sbin/httpd-prefork -DSYSCONFIG -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C Include /etc/apache2/sysconf&gt;<br />           ├─2385 /usr/sbin/httpd-prefork -DSYSCONFIG -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C Include /etc/apache2/sysconf&gt;<br />           ├─2386 /usr/sbin/httpd-prefork -DSYSCONFIG -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C Include /etc/apache2/sysconf&gt;<br />           └─2387 /usr/sbin/httpd-prefork -DSYSCONFIG -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C Include /etc/apache2/sysconf&gt;<br />Jul 05 21:12:33 osradar systemd[1]: Starting The Apache Webserver...<br />Jul 05 21:12:43 osradar start_apache2[2376]: AH00557: httpd-prefork: apr_sockaddr_info_get() failed for osradar<br />Jul 05 21:12:43 osradar start_apache2[2376]: AH00558: httpd-prefork: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'Se&gt;<br />Jul 05 21:12:43 osradar systemd[1]: Started The Apache Webserver.</pre>
<p>As you can see, everything is correctly installed. But, OpenSUSE is a pretty secure distribution that comes with a built-in firewall. Then, it is necessary to set some rules in the Firewall so that Apache can run:</p>
<pre>:~$ sudo firewall-cmd --add-port=80/tcp --permanent
success<br />:~$ sudo firewall-cmd --add-port=443/tcp --permanent<br />success
:~$ sudo firewall-cmd --reload
success</pre>
<p>Now Apache is working properly.</p>
<h3>3) Install PHP</h3>
<p>In order to run applications or dynamic websites we need a programming language that interprets it. PHP is, of these languages, the most popular in the world. This is because it is easy to develop, quite accessible and with good support. We could say that a web server can not lack PHP.</p>
<p>In a terminal, type the following command to install PHP and several of its modules.</p>
<pre>:~$ sudo zypper in php7 php apache2-mod_php7 php7-curl php7-xmlreader php7-zip php7-pdo php7-gd php7-json php7-mysql php7-mbstring php7-openssl</pre>
<figure id="attachment_12303" aria-describedby="caption-attachment-12303" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12303" src="https://www.osradar.com/wp-content/uploads/2019/05/2-13.png" alt="2.- Install PHP" width="1365" height="392" srcset="https://www.osradar.com/wp-content/uploads/2019/05/2-13.png 1365w, https://www.osradar.com/wp-content/uploads/2019/05/2-13-300x86.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/2-13-768x221.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/2-13-1024x294.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/2-13-696x200.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/2-13-1068x307.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-12303" class="wp-caption-text">2.- Install PHP</figcaption></figure>
<p>At the end of the installation, enable the PHP module and restart Apache for the changes to take effect.</p>
<pre>:~$ sudo a2enmod php7
:~$ sudo systemctl restart apache2</pre>
<p>After this, it is necessary to check that PHP is running. Open a text file in the Apache Document root with some PHP code and then open it from the web browser.</p>
<pre>:~$ sudo nano /srv/www/htdocs/test.php</pre>
<p>Add the following content:</p>
<pre>&lt;?php
phpinfo();
?&gt;</pre>
<p>Then, open your web browser and open it, you should see this:</p>
<figure id="attachment_21488" aria-describedby="caption-attachment-21488" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-21488 size-full" src="https://www.osradar.com/wp-content/uploads/2019/06/php.png" alt="3.- PHP info on OpenSUSE 15.2 / 15.1" width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2019/06/php.png 1354w, https://www.osradar.com/wp-content/uploads/2019/06/php-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/php-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/php-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/php-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/php-1068x528.png 1068w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-21488" class="wp-caption-text">3.- PHP info on OpenSUSE 15.2 / 15.1</figcaption></figure>
<p>So, Apache and PHP are working properly.</p>
<h3>4) Install MariaDB</h3>
<p>It is now necessary to install a database manager. In this case, MariaDB is indicated by its full compatibility with MySQL but with greater community momentum. All this without sacrificing stability and robustness. So this makes it the most viable option.</p>
<p>To install it, just run this command:</p>
<pre>:~$ sudo zypper in mariadb</pre>
<figure id="attachment_12305" aria-describedby="caption-attachment-12305" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-12305 size-full" src="https://www.osradar.com/wp-content/uploads/2019/05/4-10.png" alt="4.- Getting LAMP on OpenSUSE 15.2 / 15.1 - Install MariaDB" width="1365" height="319" srcset="https://www.osradar.com/wp-content/uploads/2019/05/4-10.png 1365w, https://www.osradar.com/wp-content/uploads/2019/05/4-10-300x70.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/4-10-768x179.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/4-10-1024x239.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/4-10-696x163.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/4-10-1068x250.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-12305" class="wp-caption-text">4.- Getting LAMP on OpenSUSE 15.2 / 15.1 &#8211; Install MariaDB</figcaption></figure>
<p>Now we have to start the service. As with Apache, it&#8217;s a good idea to have it start along with the system:</p>
<pre>:~$ sudo systemctl enable mariadb
:~$ sudo systemctl start mariadb</pre>
<p>Next, make sure the installation is secure by setting a root password. To do this, use the <code>mysql_secure_installation</code> script that is installed with the program.</p>
<figure id="attachment_12306" aria-describedby="caption-attachment-12306" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12306" src="https://www.osradar.com/wp-content/uploads/2019/05/5-5.png" alt="5.- Configuring MariaDB" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/05/5-5.png 1366w, https://www.osradar.com/wp-content/uploads/2019/05/5-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/5-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/5-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/5-5-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/5-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/05/5-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12306" class="wp-caption-text">5.- Configuring MariaDB</figcaption></figure>
<p>After defining a password for the root user, you will be asked other configuration questions. Answer them carefully.</p>
<p>And that is it. Now, you know how to install LAMP on OpenSUSE 15.2 / 15.1.</p>
<h2>Install LAMP on OpenSUSE 15.2 /15.1  &#8211; Conclusion</h2>
<p>LAMP is a basic component of a web server. However, the installation is simple if we take into account that Linux has these tools. This way, you can have a basic web server for your personal projects or for the company.</p>
<p>Please share this post with your friends.</p>


<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-lamp-opensuse-15-2-15-1/">How to install LAMP on OpenSUSE 15.2 / 15.1?</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-lamp-opensuse-15-2-15-1/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Webmin on Ubuntu 20.04 / Debian 10?</title>
		<link>https://www.osradar.com/install-webmin-on-ubuntu-20-04-debian-10/</link>
					<comments>https://www.osradar.com/install-webmin-on-ubuntu-20-04-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 25 Jun 2020 01:11:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[web server]]></category>
		<category><![CDATA[webmin]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=15389</guid>

					<description><![CDATA[<p>Monitoring a computer is always necessary to verify its operation. Especially if we are talking about a computer connected to an internal network. So, installing a tool with some computer tasks is always a good idea. Therefore, in this post, I will show you how to install Webmin on Ubuntu 20.04 / Debian 10. Webmin [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-webmin-on-ubuntu-20-04-debian-10/">How to install Webmin 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>Monitoring a computer is always necessary to verify its operation. Especially if we are talking about a computer connected to an internal network. So, installing a tool with some computer tasks is always a good idea. Therefore, in this post, I will show you <strong>how to install Webmin on Ubuntu 20.04 / Debian 10.</strong></p>
<p><a href="http://www.webmin.com" rel="noopener">Webmin</a> is a web-based interface for managing UNIX systems. It has a new web interface where you can modify and manage several things on the computer. For example, user accounts, UNIX groups, DNS, and others.</p>
<p>In addition, you will have no license problems with Webmin because it is released under the GPL3 license, which guarantees that you can use it, modify it, and install it as you want.</p>
<p>So, let’s install Webmin on Ubuntu 20.04 / Debian 10.</p>
<h2>Installing Webmin on Ubuntu 20.04 / Debian 10</h2>
<p>Before starting the installation, it is necessary to update the system completely.</p>
<p>So open a terminal session and run the following:</p>
<pre>:~$ sudo apt update
:~$ sudo apt upgrade</pre>
<p>In case you do not have access to sudo on Debian 10, you can use our tutorial and enable it.</p>
<p><a href="https://www.osradar.com/how-to-enable-sudo-on-debian-10/" target="_blank" rel="noopener noreferrer">How to enable sudo on Debian 10?</a></p>
<p>At the end of the upgrade, the system will have security patches that increase the stability of the system.</p>
<p>So, Webmin provides a repository so that the application can be made using APT. This is the most recommended method to install Webmin on Ubuntu 20.04 and Debian 10.</p>
<p>First, install some necessary packages.</p>
<pre>:~$ sudo apt install apt-transport-https gnupg</pre>
<p>Then, edit your APT font list to add the Webmin repository.</p>
<pre>:~$ sudo nano /etc/apt/sources.list</pre>
<p>At the end of the file add this line.</p>
<pre>:~$ deb https://download.webmin.com/download/repository sarge contrib</pre>
<p><figure id="attachment_15502" aria-describedby="caption-attachment-15502" style="width: 695px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-15502 size-full" src="https://www.osradar.com/wp-content/uploads/2019/11/1-5-e1593039801959.png" alt="1.- Adding the Webmin repository" width="695" height="72" srcset="https://www.osradar.com/wp-content/uploads/2019/11/1-5-e1593039801959.png 695w, https://www.osradar.com/wp-content/uploads/2019/11/1-5-e1593039801959-300x31.png 300w" sizes="(max-width: 695px) 100vw, 695px" /><figcaption id="caption-attachment-15502" class="wp-caption-text">1.- Adding the Webmin repository</figcaption></figure></p>
<p>Then download and add the GPG key from the repository. This further secures the webmin download.</p>
<pre>:~$ wget http://www.webmin.com/jcameron-key.asc
:~$ sudo apt-key add jcameron-key.asc</pre>
<p><figure id="attachment_15503" aria-describedby="caption-attachment-15503" style="width: 1324px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-15503" src="https://www.osradar.com/wp-content/uploads/2019/11/2-5.png" alt="2.- Importing the GPG key" width="1324" height="295" srcset="https://www.osradar.com/wp-content/uploads/2019/11/2-5.png 1324w, https://www.osradar.com/wp-content/uploads/2019/11/2-5-300x67.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/2-5-768x171.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/2-5-1024x228.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/2-5-696x155.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/2-5-1068x238.png 1068w" sizes="(max-width: 1324px) 100vw, 1324px" /><figcaption id="caption-attachment-15503" class="wp-caption-text">2.- Importing the GPG key</figcaption></figure></p>
<p>After that, refresh the APT source and install Webmin.</p>
<pre>:~$ sudo apt install webmin</pre>
<p><figure id="attachment_15504" aria-describedby="caption-attachment-15504" style="width: 1326px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-15504 size-full" src="https://www.osradar.com/wp-content/uploads/2019/11/3-6.png" alt="3.- Installing Webmin on Ubuntu 20.04 /  Debian 10" width="1326" height="225" srcset="https://www.osradar.com/wp-content/uploads/2019/11/3-6.png 1326w, https://www.osradar.com/wp-content/uploads/2019/11/3-6-300x51.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/3-6-768x130.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/3-6-1024x174.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/3-6-696x118.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/3-6-1068x181.png 1068w" sizes="(max-width: 1326px) 100vw, 1326px" /><figcaption id="caption-attachment-15504" class="wp-caption-text">3.- Installing Webmin on Ubuntu 20.04 / Debian 10</figcaption></figure></p>
<p>Webmin uses port 10000 to run. So make sure that port is available on the server.</p>
<p>Now you can acess using your web browser. Just go to <code>https://your-server:10000</code>.</p>
<p><figure id="attachment_15505" aria-describedby="caption-attachment-15505" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-15505" src="https://www.osradar.com/wp-content/uploads/2019/11/4-4.png" alt="4.- Webmin login page" width="1365" height="668" srcset="https://www.osradar.com/wp-content/uploads/2019/11/4-4.png 1365w, https://www.osradar.com/wp-content/uploads/2019/11/4-4-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/4-4-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/4-4-1024x501.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/4-4-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/11/4-4-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/11/4-4-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/4-4-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2019/11/4-4-858x420.png 858w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-15505" class="wp-caption-text">4.- Webmin login page</figcaption></figure></p>
<p>Just type your system credentials. And you will see the dashboard.</p>
<p><figure id="attachment_21359" aria-describedby="caption-attachment-21359" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-21359 size-full" src="https://www.osradar.com/wp-content/uploads/2019/11/1-22.png" alt="5.- Webmin dashboard on Ubuntu 20.04 / Debian 10" width="1366" height="669" srcset="https://www.osradar.com/wp-content/uploads/2019/11/1-22.png 1366w, https://www.osradar.com/wp-content/uploads/2019/11/1-22-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/1-22-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/1-22-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/1-22-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/1-22-1068x523.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-21359" class="wp-caption-text">5.- Webmin dashboard on Ubuntu 20.04 / Debian 10</figcaption></figure></p>
<p>Also, you can enable the Night mode.</p>
<p><figure id="attachment_21360" aria-describedby="caption-attachment-21360" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-21360" src="https://www.osradar.com/wp-content/uploads/2019/11/2-21.png" alt="6.- Night mode on Webmin" width="1366" height="669" srcset="https://www.osradar.com/wp-content/uploads/2019/11/2-21.png 1366w, https://www.osradar.com/wp-content/uploads/2019/11/2-21-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/2-21-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/2-21-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/2-21-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/2-21-1068x523.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-21360" class="wp-caption-text">6.- Night mode on Webmin</figcaption></figure></p>
<p>So, you can now use it.</p>
<h2>Conclusion</h2>
<p>Webmin is one of those applications that can be easy to install but help to know the system information quickly and accurately. It has a special package for Ubuntu 20.04 and Debian 10 which makes it easier to install.</p>
<p>Please, share this post and join Our <a href="https://t.me/osradar" target="_blank" rel="noopener noreferrer">Telegram Channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-webmin-on-ubuntu-20-04-debian-10/">How to install Webmin 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-webmin-on-ubuntu-20-04-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to enable Internet Information Services in Windows 10</title>
		<link>https://www.osradar.com/how-to-enable-internet-information-services-in-windows-10/</link>
					<comments>https://www.osradar.com/how-to-enable-internet-information-services-in-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Mon, 23 Mar 2020 23:34:00 +0000</pubDate>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[internet information services]]></category>
		<category><![CDATA[web server]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://windowsmen.com/?p=1144</guid>

					<description><![CDATA[<p>Hi, how are you? Today we will talk a little bit about Internet Information Services (IIS). This is Microsoft&#8217;s web server that allows you to create web content related to the .Net Frameworks. Additionally, other services such as an FTP server can be set up. In other words, it is a set of services that [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-enable-internet-information-services-in-windows-10/">How to enable Internet Information Services in Windows 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>Hi, how are you? Today we will talk a little bit about Internet Information Services (IIS). This is Microsoft&#8217;s web server that allows you to create web content related to the .Net Frameworks. Additionally, other services such as an FTP server can be set up. In other words, it is a set of services that allow you to perform various tasks on servers in a Windows environment. This is very interesting since it allows to centralize all the necessary elements in one single application. On the other hand, this service is incorporated into the Windows system. However, it is disabled by default. For that reason, we will see how to enable  Internet Information Services  <a rel="noreferrer noopener" aria-label="IIS  (opens in a new tab)" href="https://www.iis.net/" target="_blank">IIS </a>in Windows 10.</p>



<h2>How to install IIS in Windows 10.</h2>



<p>As mentioned, this service is built into Windows, but disabled by default. Therefore, what we will do is to enable this service. With this intention, open the control panel by typing Control Panel in the search bar.</p>



<figure class="wp-block-image size-large"><img src="https://www.osradar.com/wp-content/uploads/2020/03/iis.png" alt="Type control panel in the search bar." class="wp-image-1146"/><figcaption>Type control panel in the search bar.</figcaption></figure>



<p>Once the control panel is open, please select <em>Programs.</em></p>



<figure class="wp-block-image size-large"><img src="https://www.osradar.com/wp-content/uploads/2020/03/iis2-1024x548.png" alt="Enter the programs." class="wp-image-1149"/><figcaption>Enter the programs.</figcaption></figure>



<p>In the next window, click on <em>Turn Windows features on or off.</em></p>



<figure class="wp-block-image size-large"><img src="https://www.osradar.com/wp-content/uploads/2020/03/iis3-1024x548.png" alt="Enter the additional features of Windows." class="wp-image-1151"/><figcaption>Enter the additional features of Windows.</figcaption></figure>



<p>The additional features of Windows will be displayed immediately. Then scroll down to get <strong>Internet Information Services (IIS)</strong>. Please check the box and press OK to enable the service.</p>



<figure class="wp-block-image size-large"><img src="https://www.osradar.com/wp-content/uploads/2020/03/iis4.png" alt="" class="wp-image-1153"/><figcaption>Check the box for IIS.</figcaption></figure>



<p>A box will then be displayed showing the progress of the installation.</p>



<figure class="wp-block-gallery columns-2 is-cropped"><ul class="blocks-gallery-grid"><li class="blocks-gallery-item"><figure><img src="https://www.osradar.com/wp-content/uploads/2020/03/iis5-1.png" alt="" data-id="1155" data-full-url="https://www.osradar.com/wp-content/uploads/2020/03/iis5-1.png" data-link="https://www.osradar.com/?attachment_id=1155" class="wp-image-1155"/></figure></li><li class="blocks-gallery-item"><figure><img src="https://www.osradar.com/wp-content/uploads/2020/03/iis6.png" alt="" data-id="1156" data-full-url="https://www.osradar.com/wp-content/uploads/2020/03/iis6.png" data-link="https://www.osradar.com/?attachment_id=1156" class="wp-image-1156"/></figure></li></ul><figcaption class="blocks-gallery-caption">Wait a few seconds while the changes are applied.</figcaption></figure>



<h2>Testing the operation of IIS</h2>



<p>Well, once IIS is enabled it is time to test its proper functioning. With this in mind, enter the following IP address in your favorite web browser:  <strong><em>127.0.0.1</em>.</strong> Also, you can type <em><strong>localhost </strong></em>directly into the address bar.</p>



<figure class="wp-block-image size-large"><img src="https://www.osradar.com/wp-content/uploads/2020/03/iis7-1024x548.png" alt="" class="wp-image-1157"/><figcaption>IIS page in Windows 10 running on Edge</figcaption></figure>



<p>Ultimately we have seen how to enable Internet Information Services IIS in Windows 10. From now on, it is possible to enjoy all the features that this service provides. All right, that&#8217;s it for now. Before saying goodbye, I invite you to see our post about <a rel="noreferrer noopener" aria-label="Windows Insider. (opens in a new tab)" href="https://www.osradar.com/what-is-windows-insider-and-what-does-it-mean-to-be-part/" target="_blank">Windows Insider.</a> Bye!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-enable-internet-information-services-in-windows-10/">How to enable Internet Information Services in Windows 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/how-to-enable-internet-information-services-in-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install lighttpd on FreeBSD 12?</title>
		<link>https://www.osradar.com/how-to-install-lighttpd-freebsd-12/</link>
					<comments>https://www.osradar.com/how-to-install-lighttpd-freebsd-12/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 25 Feb 2020 00:11:00 +0000</pubDate>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[freebsd 12]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Lighttpd]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[web server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=18365</guid>

					<description><![CDATA[<p>Hi, folks. Thanks for staying another day. In this post, you will learn how to install Lighttpd on FreeBSD 12. Of course, we will include PHP support. So let&#8217;s go for it. Lighttpd is a “secure, fast, compatible and very flexible” web server optimized for high-performance environments. It consumes very few resources compared to other [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-lighttpd-freebsd-12/">How to install lighttpd on FreeBSD 12?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hi, folks. Thanks for staying another day. In this post, you will learn <strong>how to install Lighttpd on FreeBSD 12</strong>. Of course, we will include PHP support. So let&#8217;s go for it.</p>
<p><a href="https://www.lighttpd.net/" target="_blank" rel="noopener noreferrer"><strong>Lighttpd</strong></a> is a “secure, fast, compatible and very flexible” web server optimized for high-performance environments. It consumes very few resources compared to other web servers and especially fast for running AJAX applications. It is also open source and uses a BSD license and works on UNIX-like systems, such as Linux or BSD.</p>
<p>Generally, Lighttpd is used in servers where maximum performance is needed even at the sacrifice of some features. Despite this, Lighttpd is always a good alternative to the popular Apache and Nginx.</p>
<h2>Install Lighttpd on FreeBSD 12</h2>
<p>For this tutorial, you need to have sudo enabled. For this, I recommend you to read our post about it:</p>
<p><a href="https://www.osradar.com/enable-sudo-on-freebsd-12/" target="_blank" rel="noopener noreferrer">How to enable sudo on FreeBSD 12?</a></p>
<p>Before starting with the tutorial, it is recommended to update the system completely, to do it, open a terminal emulator or connect to your server using SSH and write:</p>
<pre>:~$ sudo pkg update</pre>
<p>Now we can really get started with the tutorial.</p>
<h3>1.- Install Lighttpd</h3>
<p>Lighttpd is available from the official FreeBSD repositories. Therefore, the installation will not result in problems. So to install it, use the following command:</p>
<pre>:~$ sudo pkg install lighttpd
Updating FreeBSD repository catalogue...
Fetching meta.txz: 100%    944 B   0.9kB/s    00:01    
Fetching packagesite.txz: 100%    6 MiB  53.0kB/s    02:02    
Processing entries: 100%
FreeBSD repository update completed. 31558 packages processed.
All repositories are up to date.
The following 4 package(s) will be affected (of 0 checked):</pre>
<p>New packages to be INSTALLED:<br />
lighttpd: 1.4.54<br />
lua52: 5.2.4<br />
libedit: 3.1.20191211,1<br />
pcre: 8.43_2</p>
<p>Number of packages to be installed: 4</p>
<p>The process will require 10 MiB more space.<br />
2 MiB to be downloaded.</p>
<p>Proceed with this action? [y/N]:</p>
<p><figure id="attachment_18442" aria-describedby="caption-attachment-18442" style="width: 708px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18442" src="https://www.osradar.com/wp-content/uploads/2020/02/1-14.png" alt="1.-  Install Lighttpd on FreeBSD 12" width="708" height="422" srcset="https://www.osradar.com/wp-content/uploads/2020/02/1-14.png 708w, https://www.osradar.com/wp-content/uploads/2020/02/1-14-300x179.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/1-14-696x415.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/1-14-705x420.png 705w" sizes="(max-width: 708px) 100vw, 708px" /><figcaption id="caption-attachment-18442" class="wp-caption-text">1.- Install Lighttpd on FreeBSD 12</figcaption></figure></p>
<p>After entering the password, the download will start.</p>
<p>For now, we won&#8217;t start the Lighttpd service because there are some settings we have to make first.</p>
<h3>2.- Install PHP on FreeBSD 12</h3>
<p>Of course, if we install only Lighttpd we won&#8217;t be able to run any web application made with PHP. This brings a consequence that the functionality would decay. So let&#8217;s install it:</p>
<pre>:~$ sudo pkg install php74 mod_php74 php74-mbstring php74-zlib php74-curl php74-gd php74-json</pre>
<p><figure id="attachment_18445" aria-describedby="caption-attachment-18445" style="width: 894px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18445" src="https://www.osradar.com/wp-content/uploads/2020/02/2-13.png" alt="2.- Install PHP on FreeBSD 12" width="894" height="714" srcset="https://www.osradar.com/wp-content/uploads/2020/02/2-13.png 894w, https://www.osradar.com/wp-content/uploads/2020/02/2-13-300x240.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/2-13-768x613.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/2-13-696x556.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/2-13-526x420.png 526w" sizes="(max-width: 894px) 100vw, 894px" /><figcaption id="caption-attachment-18445" class="wp-caption-text">2.- Install PHP on FreeBSD 12</figcaption></figure></p>
<p>I took the opportunity to install some extra modules.</p>
<p>Now we have to make some modifications to PHP so that it can work without problems with Lighttpd.</p>
<p>First open the file <strong>/usr/local/etc/php-fpm.d/www.conf</strong> and make these changes.</p>
<p>Find the line:</p>
<pre>listen = 127.0.0.1:9000</pre>
<p>And exchange it for this one:</p>
<pre>listen = /var/run/php-fpm.sock</pre>
<p>Then, locate the following lines and decomment them:</p>
<pre>;listen.owner = www
;listen.group = www
;listen.mode = 0660</pre>
<p>Looking like this in the picture:</p>
<p><figure id="attachment_18446" aria-describedby="caption-attachment-18446" style="width: 857px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18446" src="https://www.osradar.com/wp-content/uploads/2020/02/3-11.png" alt="3.- Configuring PHP to support Lighttpd" width="857" height="504" srcset="https://www.osradar.com/wp-content/uploads/2020/02/3-11.png 857w, https://www.osradar.com/wp-content/uploads/2020/02/3-11-300x176.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/3-11-768x452.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/3-11-696x409.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/3-11-714x420.png 714w" sizes="(max-width: 857px) 100vw, 857px" /><figcaption id="caption-attachment-18446" class="wp-caption-text">3.- Configuring PHP to support Lighttpd</figcaption></figure></p>
<p>So, save the changes and close the file.</p>
<p>Now it is necessary to create a new php.ini file. During the installation, two example files are created that we have to use depending on the function of our computer. These files are <strong>php.ini-production</strong> and<strong> php.ini-development.</strong></p>
<p>So we have to choose one, in my case, I will assume that FreeBSD 12 is for production, so that will be my choice.</p>
<p><strong><em>Note: it is likely that if you choose the other one this tutorial will work as well.</em></strong></p>
<p>So, we copy the example file as php.ini:</p>
<pre>:~$ sudo cp /usr/local/etc/php.ini-production /usr/local/etc/php.ini</pre>
<p>And we edited the file in question:</p>
<pre>:~$ sudo nano /usr/local/etc/php.ini</pre>
<p>And locate the line:</p>
<pre>;cgi.fix_pathinfo=1</pre>
<p>And exchange it for this one:</p>
<pre>cgi.fix_pathinfo=0</pre>
<p><figure id="attachment_18448" aria-describedby="caption-attachment-18448" style="width: 903px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18448" src="https://www.osradar.com/wp-content/uploads/2020/02/4-10.png" alt="4.- Editing the PHP configuration file" width="903" height="229" srcset="https://www.osradar.com/wp-content/uploads/2020/02/4-10.png 903w, https://www.osradar.com/wp-content/uploads/2020/02/4-10-300x76.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/4-10-768x195.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/4-10-696x177.png 696w" sizes="(max-width: 903px) 100vw, 903px" /><figcaption id="caption-attachment-18448" class="wp-caption-text">4.- Editing the PHP configuration file</figcaption></figure></p>
<p>Again, save the changes and close the file.</p>
<p>Now we can start and enable the PHP-fpm service.</p>
<pre>:~$ sudo sysrc php_fpm_enable=yes
php_fpm_enable: -&gt; yes
:~$ sudo service php-fpm start
Performing sanity check on php-fpm configuration:
[20-Feb-2020 14:50:21] NOTICE: configuration file /usr/local/etc/php-fpm.conf test is successful
Starting php_fpm.</pre>
<h3>3.- Configuring Lighttpd on FreeBSD 12</h3>
<p>In this section of the tutorial, we have to make some configurations to Lighttpd so that it can work with PHP.</p>
<p>So, open the file <strong>/usr/local/etc/lighttpd/modules.conf</strong></p>
<pre>:~$ sudo nano /usr/local/etc/lighttpd/modules.conf</pre>
<p>And uncomment the line:</p>
<pre>include "conf.d/fastcgi.conf"</pre>
<p><figure id="attachment_18451" aria-describedby="caption-attachment-18451" style="width: 666px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18451" src="https://www.osradar.com/wp-content/uploads/2020/02/5-10.png" alt="5.- Configuring Lighttpd to work with PHP" width="666" height="258" srcset="https://www.osradar.com/wp-content/uploads/2020/02/5-10.png 666w, https://www.osradar.com/wp-content/uploads/2020/02/5-10-300x116.png 300w" sizes="(max-width: 666px) 100vw, 666px" /><figcaption id="caption-attachment-18451" class="wp-caption-text">5.- Configuring Lighttpd to work with PHP</figcaption></figure></p>
<p>What this does is to include the fastcgi module which is the one we will use for Lighttpd to process PHP.</p>
<p>At the end of that same file, add the following:</p>
<pre>fastcgi.server += ( ".php" =&gt;
        ((
                "socket" =&gt; "/var/run/php-fpm.sock",
                "broken-scriptfilename" =&gt; "enable"
        ))
)</pre>
<p><figure id="attachment_18452" aria-describedby="caption-attachment-18452" style="width: 811px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18452" src="https://www.osradar.com/wp-content/uploads/2020/02/6-8.png" alt="6.- Editing the Lighttpd configuration file" width="811" height="169" srcset="https://www.osradar.com/wp-content/uploads/2020/02/6-8.png 811w, https://www.osradar.com/wp-content/uploads/2020/02/6-8-300x63.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/6-8-768x160.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/6-8-696x145.png 696w" sizes="(max-width: 811px) 100vw, 811px" /><figcaption id="caption-attachment-18452" class="wp-caption-text">6.- Editing the Lighttpd configuration file</figcaption></figure></p>
<p>Save the changes and close the editor.</p>
<p>Before starting the service, edit the main Lighttpd configuration file and uncomment the line:</p>
<pre>:~$ sudo nano /usr/local/etc/lighttpd/lighttpd.conf</pre>
<pre>server.bind = "localhost"</pre>
<p>So, you can save the changes and close the file.</p>
<p>If your server uses IPv6, you have to locate this line as well and leave it as it is:</p>
<pre>server.use-ipv6 = "enable"</pre>
<p>And at the end of the file comment on this line:</p>
<pre>$SERVER["socket"] == "0.0.0.0:80" { }</pre>
<p><strong>Remember, this is only if your server uses IPv6, if not omit this.</strong></p>
<p>Now, enable and start the Lighttpd service:</p>
<pre>:~$ sudo sysrc lighttpd_enable=yes
lighttpd_enable: -&gt; yes</pre>
<pre>:~$ sudo service lighttpd start</pre>
<p>So, we are going to test it.</p>
<h3>4.- Testing Lighttpd and PHP on FreeBSD 12</h3>
<p>Now we&#8217;re going to try everything we&#8217;ve done. The best way is to create a PHP file for the server to run.</p>
<p>First, create the folder where Lighttpd will look for the web files. In other words, the root directory.</p>
<pre>:~$ sudo mkdir -p /usr/local/www/data</pre>
<p>And now create a PHP file called test.php and add the following:</p>
<pre>:~$ sudo nano /usr/local/www/data/test.php
&lt;?php
phpinfo();
?&gt;</pre>
<p>Save the changes and close the file.</p>
<p>Now open your favorite web browser and go to <strong>http://server-ip/test.php</strong> and you will see the following:</p>
<p><figure id="attachment_18454" aria-describedby="caption-attachment-18454" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18454" src="https://www.osradar.com/wp-content/uploads/2020/02/7-3.png" alt="7.- Lighttpd and PHP working on FreeBSD 12" width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/02/7-3.png 1354w, https://www.osradar.com/wp-content/uploads/2020/02/7-3-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/7-3-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/02/7-3-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/7-3-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2020/02/7-3-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/7-3-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/02/7-3-850x420.png 850w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-18454" class="wp-caption-text">7.- Lighttpd and PHP working on FreeBSD 12</figcaption></figure></p>
<p>So, that is it. If you want to use a database management program in FreeBSD 12, you can check these posts:</p>
<p><a href="https://www.osradar.com/install-postgresql-freebsd-12/" target="_blank" rel="noopener noreferrer">How to install PostgreSQL on FreeBSD 12?</a></p>
<p><a href="https://www.osradar.com/how-to-install-sqlite-on-freebsd-12/" target="_blank" rel="noopener noreferrer">How to install SQLite on FreeBSD 12?</a></p>
<p>So, enjoy it.</p>
<h2>Conclusion</h2>
<p>Lighttpd is less popular than Apache and Nginx, that&#8217;s for sure, but it&#8217;s quite useful on small servers or when we want maximum performance in a web application. Today thanks to this post, you have learned how to install it on FreeBSD 12.</p>
<p>Please share this post and join our <a href="https://t.me/osradar" target="_blank" rel="noopener noreferrer">Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-lighttpd-freebsd-12/">How to install lighttpd on FreeBSD 12?</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/how-to-install-lighttpd-freebsd-12/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to configure virtual hosts on Lighttpd?</title>
		<link>https://www.osradar.com/configure-virtual-hosts-lighttpd/</link>
					<comments>https://www.osradar.com/configure-virtual-hosts-lighttpd/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 10 Jan 2020 00:31:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Lighttpd]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[web server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17520</guid>

					<description><![CDATA[<p>Recently I have taught you how to install Lighttpd on Debian 10. Well, we will take advantage of that installation to also teach you how to create virtual hosts on Lighttpd. Why create a Virtualhost on Lighttpd? One of the great advantages of creating a Virtualhost is that we can have in a single server, [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/configure-virtual-hosts-lighttpd/">How to configure virtual hosts on Lighttpd?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Recently I have taught you how to install Lighttpd on Debian 10. Well, we will take advantage of that installation to also teach you how to create virtual hosts on Lighttpd.</p>



<h2>Why create a Virtualhost on Lighttpd?</h2>



<p>One of the great advantages of creating a Virtualhost is that we can have in a single server, different sites or web applications. </p>



<p>Then, using our computer we will be able to access several applications with even different names. This is especially useful in servers that have to serve many web applications in a single computer. It is also useful if you are a web developer and need to deploy several applications locally for testing.</p>



<p>So let&#8217;s do it.</p>



<h2>Install Lighttpd on Debian</h2>



<p>The first step is to install and configure Lighttpd on Debian 10.</p>



<p><a href="https://www.osradar.com/install-lighttpd-debian-10/" target="_blank" rel="noreferrer noopener" aria-label="How to install Lighttpd on Debian 10? (opens in a new tab)">How to install Lighttpd on Debian 10?</a></p>



<p>Once you have completed the installation we can continue.</p>



<h2>Creating virtual hosts on Lighttpd (I)</h2>



<p>The first thing we must do is create a folder for each Virtualhost we want to create. This is basic to have every website or web application apart. </p>



<p>Also, we must take into account that it is recommended that the name of the folder is the same as the name of the virtual host. In my case, I have chosen &#8220;<strong>www.test.osradar.lan</strong>&#8221; and &#8220;<strong>www.test2.osradar.lan</strong>&#8220;. You can choose whatever you want.</p>



<pre class="wp-block-preformatted">:~$ sudo mkdir -p /var/www/html/www.test.osradar.lan
:~$ sudo mkdir -p /var/www/html/www.test2.osradar.lan</pre>



<p>Then, for all applications and websites to run properly, you need to change the permissions to the virtual host folders.</p>



<pre class="wp-block-preformatted">:~$ sudo chmod -R 755 /var/www/html/www.test.osradar.lan
:~$ sudo chmod -R 755 /var/www/html/www.test2.osradar.lan</pre>



<p>Also, you have to change the owner of the folders. In the case of Debian, ownership must be given to the user and group <code>www-data</code>.</p>



<pre class="wp-block-preformatted">:~$ sudo chown -R www-data:www-data /var/www/html/www.test.osradar.lan
:~$ sudo chown -R www-data:www-data /var/www/html/www.test2.osradar.lan</pre>



<p>To demonstrate the proper functioning of the virtual hosts, create an index.html file in each folder and add the following for the first host:</p>



<pre class="wp-block-preformatted">:~$ sudo nano /var/www/html/www.test.osradar.lan/index.html</pre>



<pre class="wp-block-preformatted">&lt;html>
&lt;body>
welcome to www.test.osradar.lan
&lt;/body>
&lt;/html>
</pre>



<p>And</p>



<pre class="wp-block-preformatted">:~$ sudo nano /var/www/html/www.test2.osradar.lan/index.html</pre>



<pre class="wp-block-preformatted">&lt;html>
&lt;body>
welcome to www.test2.osradar.lan 
&lt;/body>
&lt;/html></pre>



<p>For the second one.</p>



<p>So, save the changes and close the file.</p>



<h2>Creating virtual hosts on Lighttpd (II)</h2>



<p>The folders and files are ready, now we have to make some changes for Lighttpd to interpret them.</p>



<p>It&#8217;s a good idea to create a folder called <code>vhosts.d</code> in <code>/etc/lighttpd/</code> and place all the virtual host configuration files there. As with the folders, it&#8217;s a good idea to have one file for each virtual host.</p>



<pre class="wp-block-preformatted">:~$ sudo mkdir -p /etc/lighttpd/vhosts.d/</pre>



<p>However, for all these changes to be made, the Lighttpd configuration file must be modified. So let&#8217;s do it.</p>



<pre class="wp-block-preformatted">:~$ sudo nano /etc/lighttpd/lighttpd.conf</pre>



<p>And at the end of the file add the following:</p>



<pre class="wp-block-preformatted">include_shell "cat /etc/lighttpd/vhosts.d/*.conf"</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="547" height="110" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/1-3.png" alt="1.- Adding the virtual host configuration directory" class="wp-image-17521" srcset="https://www.osradar.com/wp-content/uploads/2020/01/1-3.png 547w, https://www.osradar.com/wp-content/uploads/2020/01/1-3-300x60.png 300w" sizes="(max-width: 547px) 100vw, 547px" /><figcaption>1.- Adding the virtual host configuration directory</figcaption></figure>



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



<p>Now we will create a configuration file for each virtual host. And in the first one we will add the following.</p>



<pre class="wp-block-preformatted">:~$ sudo nano /etc/lighttpd/vhosts.d/www.test.osradar.lan.conf</pre>



<pre class="wp-block-preformatted">$HTTP["host"] =~ "(^|.)test.osradar.lan$" {
    server.document-root = "/var/www/html/www.test.osradar.lan"
    server.errorlog = "/var/log/lighttpd/www.test.osradar.lan-error.log"
    accesslog.filename = "/var/log/lighttpd/www.test.osradar.lan-access.log"
}</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="960" height="203" src="https://www.osradar.com/wp-content/uploads/2020/01/2-3.png" alt="2.- Creating a new virtual host on Lighttpd" class="wp-image-17522" srcset="https://www.osradar.com/wp-content/uploads/2020/01/2-3.png 960w, https://www.osradar.com/wp-content/uploads/2020/01/2-3-300x63.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/2-3-768x162.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/2-3-696x147.png 696w" sizes="(max-width: 960px) 100vw, 960px" /><figcaption>2.- Creating a new virtual host on Lighttpd</figcaption></figure>



<p>And for the second:</p>



<pre class="wp-block-preformatted">:~$ sudo nano /etc/lighttpd/vhosts.d/www.test2.osradar.lan.conf</pre>



<pre class="wp-block-preformatted">$HTTP["host"] =~ "(^|.)test2.osradar.lan$" {
    server.document-root = "/var/www/html/www.test2.osradar.lan"
    server.errorlog = "/var/log/lighttpd/www.test2.osradar.lan-error.log"
    accesslog.filename = "/var/log/lighttpd/www.test2.osradar.lan-access.log"
}</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="943" height="191" src="https://www.osradar.com/wp-content/uploads/2020/01/3-3.png" alt="3.- Creating the second virtual host on Lighttpd" class="wp-image-17523" srcset="https://www.osradar.com/wp-content/uploads/2020/01/3-3.png 943w, https://www.osradar.com/wp-content/uploads/2020/01/3-3-300x61.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/3-3-768x156.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/3-3-696x141.png 696w" sizes="(max-width: 943px) 100vw, 943px" /><figcaption>3.- Creating the second virtual host on Lighttpd</figcaption></figure>



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



<p>You can also use the following command to check the syntax of the configuration files:</p>



<pre class="wp-block-preformatted">:~$ sudo lighttpd -t -f /etc/lighttpd/lighttpd.conf</pre>



<p>The result should be something like:</p>



<pre class="wp-block-preformatted">Syntax OK.</pre>



<p>Then, restart lighttpd.</p>



<pre class="wp-block-preformatted">:~$ sudo systemctl restart lighttpd</pre>



<p>And that&#8217;s it.</p>



<p>To test it, you need to modify some parameters in the client computer.</p>



<pre class="wp-block-preformatted">:~$ sudo nano /etc/hosts</pre>



<p>And add the following</p>



<pre class="wp-block-preformatted">[Server_IP] www.test.osradar.lan<br>[Server_IP] www.test2.osradar.lan</pre>



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



<p>Now open your favorite web browser and go to <code>www.test.osradar.lan</code> and you will see the following:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="840" height="114" src="https://www.osradar.com/wp-content/uploads/2020/01/4-3.png" alt="4.- Testing the first Virtual host" class="wp-image-17524" srcset="https://www.osradar.com/wp-content/uploads/2020/01/4-3.png 840w, https://www.osradar.com/wp-content/uploads/2020/01/4-3-300x41.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/4-3-768x104.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/4-3-696x94.png 696w" sizes="(max-width: 840px) 100vw, 840px" /><figcaption>4.- Testing the first Virtual host</figcaption></figure>



<p>Now, go to <code>www.test2.osradar.lan</code>:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="843" height="113" src="https://www.osradar.com/wp-content/uploads/2020/01/5-3.png" alt="5.- The second virtual host" class="wp-image-17525" srcset="https://www.osradar.com/wp-content/uploads/2020/01/5-3.png 843w, https://www.osradar.com/wp-content/uploads/2020/01/5-3-300x40.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/5-3-768x103.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/5-3-696x93.png 696w" sizes="(max-width: 843px) 100vw, 843px" /><figcaption>5.- The second virtual host</figcaption></figure>



<p>So, everything is OK. And that is it.</p>



<h2>Conclusion</h2>



<p>In conclusion, in this post, you have learned how to create virtual hosts using Lighttpd as a web server. This not so well known server is useful to serve heavy applications without problems.</p>



<p>Please share this post and join <a href="https://t.me/osradar" target="_blank" rel="noreferrer noopener" aria-label="our Telegram channel. (opens in a new tab)">our Telegram channel.</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/configure-virtual-hosts-lighttpd/">How to configure virtual hosts on Lighttpd?</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/configure-virtual-hosts-lighttpd/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
