<?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>Installing.in</title>
	<atom:link href="https://www.installing.in/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.installing.in/</link>
	<description></description>
	<lastBuildDate>Tue, 21 Mar 2023 03:54:26 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
<site xmlns="com-wordpress:feed-additions:1">110734269</site>	<item>
		<title>[Solved] Error: Note, selecting &#8216;cmdtest&#8217; instead of &#8216;yarn&#8217;</title>
		<link>https://www.installing.in/solved-error-note-selecting-cmdtest-instead-of-yarn/</link>
					<comments>https://www.installing.in/solved-error-note-selecting-cmdtest-instead-of-yarn/#respond</comments>
		
		<dc:creator><![CDATA[Rajeev]]></dc:creator>
		<pubDate>Mon, 20 Mar 2023 08:43:22 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[node]]></category>
		<category><![CDATA[npm]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[yarn]]></category>
		<guid isPermaLink="false">https://www.installing.in/?p=837</guid>

					<description><![CDATA[<p>If you are trying to install yarn dependency manager you might face this error that Ubuntu fails to install yarn and goes on to suggest or install cmdtest. Note, selecting... </p>
<p>The post <a href="https://www.installing.in/solved-error-note-selecting-cmdtest-instead-of-yarn/">[Solved] Error: Note, selecting &#8216;cmdtest&#8217; instead of &#8216;yarn&#8217;</a> appeared first on <a href="https://www.installing.in">Installing.in</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>If you are trying to install <code>yarn</code> dependency manager you might face this error that Ubuntu fails to install <code>yarn </code>and goes on to suggest or install <code>cmdtest</code>.</p>



<p><code>Note, selecting 'cmdtest' instead of 'yarn'</code></p>



<p>This is because there is a different <code>yarn </code>that is part on <code>cmdtest </code>package and is older than the <code>yarn</code> you are trying to install.</p>



<p> </p>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/www.installing.in/wp-content/uploads/2023/03/cmdtest_instead_of_arn_error.png?ssl=1"><img data-recalc-dims="1" fetchpriority="high" decoding="async" width="668" height="164" src="https://i0.wp.com/www.installing.in/wp-content/uploads/2023/03/cmdtest_instead_of_arn_error.png?resize=668%2C164&#038;ssl=1" alt="" class="wp-image-838"/></a></figure>



<p>Solving this very simple. Instead of installing via <code>apt</code> or <code>apt-get</code> install it via npm</p>



<pre class="wp-block-code"><code>sudo npm install -g yarn</code></pre>



<p>You can now check the version of <code>yarn</code> with this command</p>



<pre class="wp-block-code"><code>yarn -v</code></pre>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/www.installing.in/wp-content/uploads/2023/03/cmdtest_yarn_fixed.png?ssl=1"><img data-recalc-dims="1" decoding="async" width="701" height="163" src="https://i0.wp.com/www.installing.in/wp-content/uploads/2023/03/cmdtest_yarn_fixed.png?resize=701%2C163&#038;ssl=1" alt="" class="wp-image-839"/></a></figure>



<p>That&#8217;s it.</p>
<p>The post <a href="https://www.installing.in/solved-error-note-selecting-cmdtest-instead-of-yarn/">[Solved] Error: Note, selecting &#8216;cmdtest&#8217; instead of &#8216;yarn&#8217;</a> appeared first on <a href="https://www.installing.in">Installing.in</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.installing.in/solved-error-note-selecting-cmdtest-instead-of-yarn/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">837</post-id>	</item>
		<item>
		<title>How to Install WSL2 on Windows</title>
		<link>https://www.installing.in/how-to-install-wsl2-on-windows/</link>
					<comments>https://www.installing.in/how-to-install-wsl2-on-windows/#respond</comments>
		
		<dc:creator><![CDATA[Rajeev]]></dc:creator>
		<pubDate>Sat, 20 Aug 2022 12:20:56 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[WSL]]></category>
		<category><![CDATA[WSL2]]></category>
		<guid isPermaLink="false">https://www.installing.in/?p=806</guid>

					<description><![CDATA[<p>Easy to follow step by step guide to install WSL2 or Windows Subsystem for Linux on windows. </p>
<p>The post <a href="https://www.installing.in/how-to-install-wsl2-on-windows/">How to Install WSL2 on Windows</a> appeared first on <a href="https://www.installing.in">Installing.in</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>WSL or <a href="https://docs.microsoft.com/en-us/windows/wsl/about" target="_blank" rel="noreferrer noopener">Windows Subsystem for Linux</a> lets developers run Linux environment on windows. You can run Linux tools and apps on windows with the help on WSL. There are two versions of WSL and we will install WSL2 in this tutorial which is the latest version and is recommended by Microsoft.</p>



<p>There are multiple ways to install WSL. You can directly download an Linux distribution from windows store and it will install WSL2 and your chosen Linux distribution. </p>



<p>The way recommended by Microsoft is by using command line. In this tutorial we will install WSL using command prompt.</p>



<h3 class="wp-block-heading">Step 1: Open command prompt</h3>



<p>Type <code>command prompt</code> in the search box on the taskbar. If you do not have a search box then you can click on the search icon and start typing. If you do not have that too. You can click on the windows button and start typing command prompt to search for it.</p>



<p>Once you find the <code>command prompt</code> right click on it and click on the <code>run as administrator</code> on the popup menu.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://i0.wp.com/www.installing.in/wp-content/uploads/2022/08/command-prompt.jpg?ssl=1"><img data-recalc-dims="1" decoding="async" width="760" height="555" src="https://i0.wp.com/www.installing.in/wp-content/uploads/2022/08/command-prompt.jpg?resize=760%2C555&#038;ssl=1" alt="" class="wp-image-807"/></a></figure>
</div>


<h3 class="wp-block-heading">Step 2: Install WSL2</h3>



<p>Run following command in the command prompt window to install WSL2. This command will also install ubuntu which is the default Linux distro for WSL. You can always install other distros afterward.</p>



<pre class="wp-block-code"><code>wsl --install</code></pre>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://i0.wp.com/www.installing.in/wp-content/uploads/2022/08/command-prompt-wsl-install.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="626" height="169" src="https://i0.wp.com/www.installing.in/wp-content/uploads/2022/08/command-prompt-wsl-install.jpg?resize=626%2C169&#038;ssl=1" alt="" class="wp-image-808"/></a></figure>
</div>


<p>Windows will start downloading and installing the WSL2 and then Ubuntu to set up the Linux environment. </p>



<h3 class="wp-block-heading">Step 3: Set up UNIX user and password</h3>



<p>After the installation it will ask for a <code>Unix username</code>. You can choose any username it does not have to be same as windows username. Type your username and press<code> enter</code>.</p>



<p>After the username it will ask for <code>password</code>. Type a password of your choice for this user and press enter.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="760" height="127" src="https://i0.wp.com/www.installing.in/wp-content/uploads/2022/08/ubuntuinstall-1.png?resize=760%2C127&#038;ssl=1" alt="ubuntu install choose username" class="wp-image-811"/></figure>
</div>


<p>If everything goes well WSL2 and ubuntu will be successfully installed on your system.</p>



<p>You can verify WSL by using this command</p>



<pre class="wp-block-code"><code>wsl --status </code></pre>



<p>This is will you a screen like the pic below.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><a href="https://i0.wp.com/www.installing.in/wp-content/uploads/2022/08/WSL_confirm.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" src="https://i0.wp.com/www.installing.in/wp-content/uploads/2022/08/WSL_confirm.jpg?resize=566%2C262&#038;ssl=1" alt="" class="wp-image-813" width="566" height="262"/></a></figure>
</div>


<p>I you face any problem please comment below.</p>
<p>The post <a href="https://www.installing.in/how-to-install-wsl2-on-windows/">How to Install WSL2 on Windows</a> appeared first on <a href="https://www.installing.in">Installing.in</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.installing.in/how-to-install-wsl2-on-windows/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">806</post-id>	</item>
		<item>
		<title>[Solved] Ubuntu refusing connection on port 80</title>
		<link>https://www.installing.in/solved-ubuntu-refusing-connection-on-port-80/</link>
					<comments>https://www.installing.in/solved-ubuntu-refusing-connection-on-port-80/#respond</comments>
		
		<dc:creator><![CDATA[Rajeev]]></dc:creator>
		<pubDate>Sat, 13 Aug 2022 20:13:28 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[openvpn]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ufw]]></category>
		<guid isPermaLink="false">https://www.installing.in/?p=793</guid>

					<description><![CDATA[<p>I was getting this issue that I was not able to connect to port 80 on ubuntu server. Same virtual network settings were being used with a different instance but... </p>
<p>The post <a href="https://www.installing.in/solved-ubuntu-refusing-connection-on-port-80/">[Solved] Ubuntu refusing connection on port 80</a> appeared first on <a href="https://www.installing.in">Installing.in</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>I was getting this issue that I was not able to connect to port 80 on ubuntu server. Same virtual network settings were being used with a different instance but everything was working fine on it. I figured the problem is in the instance settings.</p>



<p>I searched through the web but nothing was working. So I decided to go through the server log. I know I should have done this first.</p>



<p>I found these lines in the <code>syslog</code> file:</p>



<figure class="wp-block-image size-large"><a href="https://i0.wp.com/www.installing.in/wp-content/uploads/2022/08/iptable_persistent_flush.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="760" height="161" src="https://i0.wp.com/www.installing.in/wp-content/uploads/2022/08/iptable_persistent_flush.png?resize=760%2C161&#038;ssl=1" alt="" class="wp-image-794"/></a></figure>



<p> The issue was in iptables and I needed to flush it</p>



<p>I ran the command highlighted in the the image above</p>



<pre class="wp-block-preformatted">/usr/sbin/netfilter-persistent flush </pre>



<p>It gave following output</p>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/www.installing.in/wp-content/uploads/2022/08/iptable-flush.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="757" height="130" src="https://i0.wp.com/www.installing.in/wp-content/uploads/2022/08/iptable-flush.png?resize=757%2C130&#038;ssl=1" alt="" class="wp-image-795"/></a></figure>



<p>I tried to to connect to the port 80 and the default nginx page loaded in browser.</p>



<p>Problem solved.</p>



<p>But doing this messed up my OpenVPN server. OpenVPN client was connecting but internet was not accessible.</p>



<p>So I rebooted the system to see if it fixes the problem. </p>



<p>It did fixed OpenVPN. </p>



<p>But again port 80 was inaccessible.</p>



<p>I checked the status of <code>ufw</code> and it was disable. I had enabled it before I rebooted. Iptable rules were all reset. I googled why <code>ufw </code>was disabled and found<code> iptables-persistent </code>conflicts with <code>ufw</code>.</p>



<p>I disabled <code>iptables-persisten</code>t using this command</p>



<pre class="wp-block-preformatted">sudo systemctl disable netfilter-persistent</pre>



<p>I rebooted the system again and this time <code>ufw</code> stayed enabled and I was able to access the port 80 and also OpenVPN was working as intended.</p>



<p></p>
<p>The post <a href="https://www.installing.in/solved-ubuntu-refusing-connection-on-port-80/">[Solved] Ubuntu refusing connection on port 80</a> appeared first on <a href="https://www.installing.in">Installing.in</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.installing.in/solved-ubuntu-refusing-connection-on-port-80/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">793</post-id>	</item>
		<item>
		<title>How to give ubuntu user permission to write to www directory</title>
		<link>https://www.installing.in/how-to-give-ubuntu-user-permission-to-write-to-www-directory/</link>
					<comments>https://www.installing.in/how-to-give-ubuntu-user-permission-to-write-to-www-directory/#respond</comments>
		
		<dc:creator><![CDATA[Rajeev]]></dc:creator>
		<pubDate>Wed, 10 Aug 2022 11:32:30 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[quick tips]]></category>
		<guid isPermaLink="false">https://www.installing.in/?p=786</guid>

					<description><![CDATA[<p>If you are using sftp client to quick edit few files on your web server you must have face the issue of not having permission to edit files. This can... </p>
<p>The post <a href="https://www.installing.in/how-to-give-ubuntu-user-permission-to-write-to-www-directory/">How to give ubuntu user permission to write to www directory</a> appeared first on <a href="https://www.installing.in">Installing.in</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>If you are using sftp client to quick edit few files on your web server you must have face the issue of not having permission to edit files. </p>



<p>This can be quickly fixed in 2 steps:</p>



<ol class="wp-block-list"><li>Adding the <code>ubuntu</code> user to the <code>www-data</code> group</li><li>Giving write permission to everyone in this group</li></ol>



<h3 class="wp-block-heading"><strong>Adding the user:</strong></h3>



<p>Run this command to add the <code>ubuntu</code> user to the <code>www-data</code> group</p>



<pre class="wp-block-code"><code><code>sudo addgroup ubuntu www-data</code></code></pre>



<p>You have to<strong> logout and login back again</strong> for changes to take effect.</p>



<p></p>



<h3 class="wp-block-heading"><strong>Give the write permission:</strong></h3>



<p>Assuming your web directory is <code>/var/www</code> we run following command to give everyone in the <code>www-data</code> group write permission to this directory</p>



<pre class="wp-block-code"><code><code>sudo chmod g+w /var/www -R</code></code></pre>



<p></p>



<p>Try editing or creating new file in <code>/var/www</code> directory to verify</p>
<p>The post <a href="https://www.installing.in/how-to-give-ubuntu-user-permission-to-write-to-www-directory/">How to give ubuntu user permission to write to www directory</a> appeared first on <a href="https://www.installing.in">Installing.in</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.installing.in/how-to-give-ubuntu-user-permission-to-write-to-www-directory/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">786</post-id>	</item>
		<item>
		<title>[Solved] Error: Unable to find a match: htop CentOS 8</title>
		<link>https://www.installing.in/solved-error-unable-to-find-a-match-htop-centos-8/</link>
					<comments>https://www.installing.in/solved-error-unable-to-find-a-match-htop-centos-8/#respond</comments>
		
		<dc:creator><![CDATA[Rajeev]]></dc:creator>
		<pubDate>Fri, 31 Jul 2020 12:25:09 +0000</pubDate>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[fix]]></category>
		<guid isPermaLink="false">https://www.installing.in/?p=679</guid>

					<description><![CDATA[<p>If you are trying to install htop on CentOS 8 by using the command sudo yum install htop and getting this error Error: Unable to find a match: htop This... </p>
<p>The post <a href="https://www.installing.in/solved-error-unable-to-find-a-match-htop-centos-8/">[Solved] Error: Unable to find a match: htop CentOS 8</a> appeared first on <a href="https://www.installing.in">Installing.in</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you are trying to install htop on CentOS 8 by using the command</p>
<pre>sudo yum install htop</pre>
<p>and getting this error</p>
<pre class="p1"><span class="s1">Error: Unable to find a match: htop</span></pre>
<p><img data-recalc-dims="1" loading="lazy" decoding="async" class="alignnone size-full wp-image-686" src="https://i0.wp.com/www.installing.in/wp-content/uploads/2020/07/Unable_to_find_a_match_htop-1.png?resize=663%2C265&#038;ssl=1" alt="Unable_to_find_a_match_htop" width="663" height="265"></p>
<p>This is because the correct repository is not added to your system.</p>
<p>htop is part of EPEL release so you will need to enable it.</p>
<p>To fix this follow these simple 2 steps:</p>
<p><strong>Step 1: Add EPEL repository</strong></p>
<pre>sudo yum install epel-release</pre>
<p>Press &#8216;y&#8217; key and then enter when asked</p>
<p>You will see a screen like this</p>
<p><img data-recalc-dims="1" loading="lazy" decoding="async" class="alignnone size-full wp-image-682" src="https://i0.wp.com/www.installing.in/wp-content/uploads/2020/07/adding_EPEL.png?resize=760%2C824&#038;ssl=1" alt="adding_EPEL" width="760" height="824"></p>
<p><strong>Step 2: Install htop</strong></p>
<p>Run the command to install htop</p>
<pre>sudo yum install htop</pre>
<p>This will first update the index and then download and install htop.</p>
<p><img data-recalc-dims="1" loading="lazy" decoding="async" class="alignnone size-full wp-image-683" src="https://i0.wp.com/www.installing.in/wp-content/uploads/2020/07/installing_htop.png?resize=760%2C736&#038;ssl=1" alt="installing_htop" width="760" height="736"></p>
<p>If everything goes well you will have a working htop.</p>
<p>You can run htop by using the command</p>
<pre>htop</pre>
<p>you will see something like this</p>
<p><img data-recalc-dims="1" loading="lazy" decoding="async" class="alignnone size-full wp-image-680" src="https://i0.wp.com/www.installing.in/wp-content/uploads/2020/07/htop_running_centos8.png?resize=760%2C440&#038;ssl=1" alt="htop_running_centos8" width="760" height="440"></p>
<p>If you face any problem let me know in the comment below.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a href="https://www.installing.in/solved-error-unable-to-find-a-match-htop-centos-8/">[Solved] Error: Unable to find a match: htop CentOS 8</a> appeared first on <a href="https://www.installing.in">Installing.in</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.installing.in/solved-error-unable-to-find-a-match-htop-centos-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">679</post-id>	</item>
		<item>
		<title>How to Install Openresty on Debian 10</title>
		<link>https://www.installing.in/how-to-install-openresty-on-debian-10/</link>
					<comments>https://www.installing.in/how-to-install-openresty-on-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[Rajeev]]></dc:creator>
		<pubDate>Thu, 30 Jul 2020 12:49:39 +0000</pubDate>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[web server]]></category>
		<guid isPermaLink="false">https://www.installing.in/?p=673</guid>

					<description><![CDATA[<p>Openresty is a web server built on Nginx with some additional built-in features like Lua programming language. If you want to use Lua with Nginx you will need to compile... </p>
<p>The post <a href="https://www.installing.in/how-to-install-openresty-on-debian-10/">How to Install Openresty on Debian 10</a> appeared first on <a href="https://www.installing.in">Installing.in</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Openresty is a web server built on Nginx with some additional built-in features like Lua programming language. If you want to use Lua with Nginx you will need to compile Nginx from source with Lua support but with openresty, you can get all the features of Nginx and additional few without going through the hassle of compiling it from source code.</p>
<p>For installing Openresty on Debian 10 follow these simple steps</p>
<p><div  id="_ytid_77229"  width="760" height="428"  data-origwidth="760" data-origheight="428" data-facadesrc="https://www.youtube.com/embed/33eDqe8mGVE?enablejsapi=1&autoplay=0&cc_load_policy=0&cc_lang_pref=&iv_load_policy=1&loop=0&rel=1&fs=1&playsinline=0&autohide=2&theme=dark&color=red&controls=1&disablekb=0&" class="__youtube_prefs__ epyt-facade no-lazyload" data-epautoplay="1" ><img data-recalc-dims="1" decoding="async" data-spai-excluded="true" class="epyt-facade-poster skip-lazy" loading="lazy"  alt="YouTube player"  src="https://i0.wp.com/i.ytimg.com/vi/33eDqe8mGVE/maxresdefault.jpg?w=760&#038;ssl=1"  /><button class="epyt-facade-play" aria-label="Play"><svg data-no-lazy="1" height="100%" version="1.1" viewBox="0 0 68 48" width="100%"><path class="ytp-large-play-button-bg" d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z" fill="#f00"></path><path d="M 45,24 27,14 27,34" fill="#fff"></path></svg></button></div></p>
<p><strong>Step 1: (Optional) Stop Nginx&nbsp;</strong></p>
<p>This step is only required if you are already running Nginx on your system. Without stopping Nginx installation of openresty might fail.</p>
<p>Run these commands to stop and disable Nginx</p>
<pre>sudo systemctl disable nginx
sudo systemctl stop nginx</pre>
<p><strong>Step 2: Import GPG key</strong></p>
<p>Run these commands to import the GPG key</p>
<pre>sudo apt-get -y install --no-install-recommends wget gnupg ca-certificates</pre>
<p>Above command will install some dependencies to import the key</p>
<pre>wget -O - https://openresty.org/package/pubkey.gpg | sudo apt-key add -</pre>
<p>This command will import the GPG key into your system</p>
<p><strong>Step 3: Add Openresty repository</strong></p>
<p>First, get the version of the Debian OS of your system. This command will get the version codename and save it to variable &#8220;codename&#8221;. We will use this variable in next command to add the appropriate repository for your system.</p>
<pre>codename=`grep -Po <span class="hljs-string">'VERSION="[0-9]+ \(\K[^)]+'</span> /etc/os-release`</pre>
<p>Now add the openresty repository for your version</p>
<pre><span class="hljs-built_in">echo</span> <span class="hljs-string">"deb http://openresty.org/package/debian <span class="hljs-variable">$codename</span> openresty"</span> \ | sudo tee /etc/apt/sources.list.d/openresty.list</pre>
<p><strong>Step 4: Update apt index</strong></p>
<p>Use this command to update the apt index so we can download the latest package from the repository</p>
<pre>sudo apt-get update</pre>
<p><strong>Step 5: Install Openresty</strong></p>
<p>Now download and install the Openresty package from the repository by using this command</p>
<pre>sudo apt-get -y install openresty</pre>
<p>If everything goes well you will have openresty installed on your system.</p>
<p>You can visit the IP Address of your server to verify openresty is running. You will be greeted with a screen like this</p>
<p><img data-recalc-dims="1" loading="lazy" decoding="async" class="alignnone size-full wp-image-493" src="https://i0.wp.com/www.installing.in/wp-content/uploads/2019/03/openresty-welcome-page.png?resize=744%2C324&#038;ssl=1" alt="openresty_welcome_page" width="744" height="324"></p>
<p>That&#8217;s it</p>
<p>If you face any problem let me know in the comments below so we can solve the problem together.</p>
<p>The post <a href="https://www.installing.in/how-to-install-openresty-on-debian-10/">How to Install Openresty on Debian 10</a> appeared first on <a href="https://www.installing.in">Installing.in</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.installing.in/how-to-install-openresty-on-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">673</post-id>	</item>
		<item>
		<title>How to Install Nodejs on Ubuntu 20.04</title>
		<link>https://www.installing.in/how-to-install-nodejs-on-ubuntu-20-04/</link>
					<comments>https://www.installing.in/how-to-install-nodejs-on-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[Rajeev]]></dc:creator>
		<pubDate>Wed, 29 Jul 2020 13:08:17 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[nodeJs]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.installing.in/?p=666</guid>

					<description><![CDATA[<p>Nodejs is a javascript runtime environment that got popular very quickly. It has got a huge developer community and is still developing very fast. Nodejs can be installed directly from... </p>
<p>The post <a href="https://www.installing.in/how-to-install-nodejs-on-ubuntu-20-04/">How to Install Nodejs on Ubuntu 20.04</a> appeared first on <a href="https://www.installing.in">Installing.in</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Nodejs is a javascript runtime environment that got popular very quickly. It has got a huge developer community and is still developing very fast.</p>
<p>Nodejs can be installed directly from Ubuntu&#8217;s repository or can be installed from the Nodesource repository. As mentioned above it is developing very fast it is advisable to install it from the Nodesource repository as it contains all the latest updates.</p>
<p>We will be using the Nodesource repository to install Nodejs in this guide. Also, we will be installing the LTS version of nodejs which is 12.x currently. If you want to install the latest version you can <a href="https://github.com/nodesource/distributions/blob/master/README.md" target="_blank" rel="noopener noreferrer">check here</a> for the versions available.</p>
<p>Let&#8217;s start installing Nodejs</p>
<p><div  id="_ytid_87590"  width="760" height="428"  data-origwidth="760" data-origheight="428" data-facadesrc="https://www.youtube.com/embed/zl0Ge_QsSls?enablejsapi=1&autoplay=0&cc_load_policy=0&cc_lang_pref=&iv_load_policy=1&loop=0&rel=1&fs=1&playsinline=0&autohide=2&theme=dark&color=red&controls=1&disablekb=0&" class="__youtube_prefs__ epyt-facade no-lazyload" data-epautoplay="1" ><img data-recalc-dims="1" decoding="async" data-spai-excluded="true" class="epyt-facade-poster skip-lazy" loading="lazy"  alt="YouTube player"  src="https://i0.wp.com/i.ytimg.com/vi/zl0Ge_QsSls/maxresdefault.jpg?w=760&#038;ssl=1"  /><button class="epyt-facade-play" aria-label="Play"><svg data-no-lazy="1" height="100%" version="1.1" viewBox="0 0 68 48" width="100%"><path class="ytp-large-play-button-bg" d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z" fill="#f00"></path><path d="M 45,24 27,14 27,34" fill="#fff"></path></svg></button></div></p>
<p><strong>Step 1: Update your OS:</strong></p>
<p>Doing this is a good practice before installing any new package. Use these commands to update your system</p>
<pre>sudo apt update</pre>
<pre>sudo apt upgrade</pre>
<p><strong>Step 2: Add Nodesource Repository</strong></p>
<p>Good people at Nodesource have written this bash script that makes sit easier to add the repository. Download and run the script by using this command</p>
<pre>curl -sL https://deb.nodesource.com/setup_<span style="color: #ff0000;">lts</span>.x | sudo -E bash -</pre>
<p>If you are installing any other version change the <span style="color: #ff0000;">text marked in red</span> with the version number in the above command.</p>
<p><strong>Step 3: Install Nodejs and npm&nbsp;</strong></p>
<p>Use the command below to install the nodejs package. It will also install the npm package that will help you download the nodejs libraries later on.</p>
<pre>sudo apt-get install -y nodejs</pre>
<p><strong>Step 4: Verify installation</strong></p>
<p>If everything goes well you will have Nodejs and npm installed on your system.</p>
<p>To check use following commands to verify the version of both npm and nodejs installed on your system.</p>
<p>For nodejs:</p>
<pre>node -v</pre>
<p>For npm</p>
<pre>npm -v</pre>
<p>If everything has gone well you will see something like this</p>
<p><a href="https://i0.wp.com/www.installing.in/wp-content/uploads/2020/07/install-nodejs-on-ubuntu.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" class="aligncenter size-full wp-image-670" src="https://i0.wp.com/www.installing.in/wp-content/uploads/2020/07/install-nodejs-on-ubuntu.png?resize=665%2C437&#038;ssl=1" alt="install nodejs on ubuntu" width="665" height="437"></a></p>
<p>If you face any problem let me know in the comments below so we can fix the problem together.</p>
<p>The post <a href="https://www.installing.in/how-to-install-nodejs-on-ubuntu-20-04/">How to Install Nodejs on Ubuntu 20.04</a> appeared first on <a href="https://www.installing.in">Installing.in</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.installing.in/how-to-install-nodejs-on-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">666</post-id>	</item>
		<item>
		<title>How to install zsh on Ubuntu 20.04</title>
		<link>https://www.installing.in/how-to-install-zsh-on-ubuntu-20-04/</link>
					<comments>https://www.installing.in/how-to-install-zsh-on-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[Rajeev]]></dc:creator>
		<pubDate>Tue, 28 Jul 2020 12:23:48 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[shell]]></category>
		<guid isPermaLink="false">https://www.installing.in/?p=660</guid>

					<description><![CDATA[<p>Zsh is a Unix command interpreter or shell that comes with a few more bells and whistles than the bash shell. Many people prefer it to a bash shell as... </p>
<p>The post <a href="https://www.installing.in/how-to-install-zsh-on-ubuntu-20-04/">How to install zsh on Ubuntu 20.04</a> appeared first on <a href="https://www.installing.in">Installing.in</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Zsh is a Unix command interpreter or shell that comes with a few more bells and whistles than the bash shell.</p>
<p>Many people prefer it to a bash shell as it is faster to use and way more configurable according to the user.</p>
<p>To know more about zsh you can read their FAQ <a href="http://zsh.sourceforge.net/FAQ/" target="_blank" rel="noopener noreferrer">here.</a></p>
<p>Installing zsh in Ubuntu is pretty straight forward.</p>
<p><div  id="_ytid_99252"  width="760" height="428"  data-origwidth="760" data-origheight="428" data-facadesrc="https://www.youtube.com/embed/syFogVaH9jM?enablejsapi=1&autoplay=0&cc_load_policy=0&cc_lang_pref=&iv_load_policy=1&loop=0&rel=1&fs=1&playsinline=0&autohide=2&theme=dark&color=red&controls=1&disablekb=0&" class="__youtube_prefs__ epyt-facade no-lazyload" data-epautoplay="1" ><img data-recalc-dims="1" decoding="async" data-spai-excluded="true" class="epyt-facade-poster skip-lazy" loading="lazy"  alt="YouTube player"  src="https://i0.wp.com/i.ytimg.com/vi/syFogVaH9jM/maxresdefault.jpg?w=760&#038;ssl=1"  /><button class="epyt-facade-play" aria-label="Play"><svg data-no-lazy="1" height="100%" version="1.1" viewBox="0 0 68 48" width="100%"><path class="ytp-large-play-button-bg" d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z" fill="#f00"></path><path d="M 45,24 27,14 27,34" fill="#fff"></path></svg></button></div></p>
<p><strong>Step 1: Update the apt index</strong></p>
<p>We need to update the apt index so we can get the latest binaries available. Use the following command to update the apt index</p>
<pre>sudo apt update</pre>
<p><strong>Step 2: Install zsh</strong></p>
<p>Use this command to download and install the latest zsh from the ubuntu repository.</p>
<pre>sudo apt install zsh</pre>
<p>If everything goes well you will have zsh installed</p>
<p>Check it by switching to zsh by typing</p>
<pre>zsh</pre>
<p>If zsh is installed correctly you will see zsh prompt instead of normal bash one. If its first time you are logging to zsh it will show you a few options. Choose one which is right for you.</p>
<p>To go back to the bash shell type</p>
<pre>bash</pre>
<p>you will switch to the regular bash shell again.</p>
<p>If you face any problem let me know in the comments section below.</p>
<p>The post <a href="https://www.installing.in/how-to-install-zsh-on-ubuntu-20-04/">How to install zsh on Ubuntu 20.04</a> appeared first on <a href="https://www.installing.in">Installing.in</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.installing.in/how-to-install-zsh-on-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">660</post-id>	</item>
		<item>
		<title>How to install Openresty on Ubuntu 20.04</title>
		<link>https://www.installing.in/how-to-install-openresty-on-ubuntu-20-04/</link>
					<comments>https://www.installing.in/how-to-install-openresty-on-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[Rajeev]]></dc:creator>
		<pubDate>Mon, 27 Jul 2020 08:05:56 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[web server]]></category>
		<guid isPermaLink="false">https://www.installing.in/?p=658</guid>

					<description><![CDATA[<p>Install Openresty web server on your server using this step by step easy to follow installing tutorial. Video guide also available.</p>
<p>The post <a href="https://www.installing.in/how-to-install-openresty-on-ubuntu-20-04/">How to install Openresty on Ubuntu 20.04</a> appeared first on <a href="https://www.installing.in">Installing.in</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Built on popular Nginx web server Openresty comes with additional plugins to make advanced tasks easier. You can use Openresty as drop in replacement for Nginx.</p>
<p>Most used feature of Openresty is the the built in Lua plugin that helps in writing Lua web app directly inside the web server without any need on installing other software. As Lua is built into the web server it makes it faster.</p>
<p>You can always download the source and compile it yourself but that is cumbersome and makes updating Openresty later on difficult.</p>
<p>For this guide, I will be using the prebuilt binaries provided by the Openresty repository.</p>
<p>Lets get Started</p>
<p><strong>Step 1 : Import GPG Key:</strong></p>
<p>GPG key helps in verifying the authenticity of the package. Run following command to get the GPG key from the official Openresty server and add in to your server.</p>
<pre>wget -qO - https://openresty.org/package/pubkey.gpg | sudo apt-key add -</pre>
<p><strong>Step 2 : Add Openresty repository:</strong></p>
<p>We need to be sure that &#8216;apt-add-repository&#8217; command is available in our server. Run below command and it will install the required packages if not available.</p>
<pre>sudo apt-get -y install software-properties-common</pre>
<p>Now to add the repository use below command. It will detect the version of Ubuntu running on your server and add the appropriate repository.</p>
<pre>sudo add-apt-repository -y "deb http://openresty.org/package/ubuntu $(lsb_release -sc) main"</pre>
<p><strong>Step 3 : Install Openresty</strong></p>
<p>Update the apt index first</p>
<pre>sudo apt-get update</pre>
<p>Now run below command to download and install Openresty web server</p>
<pre>sudo apt-get install openresty</pre>
<p>If no error occurs you will have Openresty web server successfully installed and running on your server.</p>
<p>Visit your server&#8217;s IP address and you will be presented with a page like this</p>
<p><img data-recalc-dims="1" loading="lazy" decoding="async" class=" size-full wp-image-493 aligncenter" src="https://i0.wp.com/www.installing.in/wp-content/uploads/2019/03/openresty-welcome-page.png?resize=744%2C324&#038;ssl=1" alt="openresty_welcome_page" width="744" height="324" /></p>
<p>If you face any problem please comment below and we will try to solve it together.</p>
<p>&nbsp;</p>
<p>The post <a href="https://www.installing.in/how-to-install-openresty-on-ubuntu-20-04/">How to install Openresty on Ubuntu 20.04</a> appeared first on <a href="https://www.installing.in">Installing.in</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.installing.in/how-to-install-openresty-on-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">658</post-id>	</item>
		<item>
		<title>Installing Percona MongoDB on Ubuntu 18.04</title>
		<link>https://www.installing.in/installing-percona-mongodb-on-ubuntu-18-04/</link>
					<comments>https://www.installing.in/installing-percona-mongodb-on-ubuntu-18-04/#respond</comments>
		
		<dc:creator><![CDATA[Rajeev]]></dc:creator>
		<pubDate>Sat, 21 Sep 2019 18:36:12 +0000</pubDate>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mongodb]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.installing.in/?p=509</guid>

					<description><![CDATA[<p>Percona Server for MongoDB is mostly the same as MongoDB server that you can install from the Ubuntu repository but percona mongodb comes with few additional features like pluggable storage... </p>
<p>The post <a href="https://www.installing.in/installing-percona-mongodb-on-ubuntu-18-04/">Installing Percona MongoDB on Ubuntu 18.04</a> appeared first on <a href="https://www.installing.in">Installing.in</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Percona Server for MongoDB is mostly the same as MongoDB server that you can install from the Ubuntu repository but percona mongodb comes with few additional features like pluggable storage engine API, hot backup and Percona&#8217;s memory engine.</p>
<p><img data-recalc-dims="1" loading="lazy" decoding="async" class="alignnone size-full wp-image-513" src="https://i0.wp.com/www.installing.in/wp-content/uploads/2019/09/server-mongodb-big-1.png?resize=700%2C206&#038;ssl=1" alt="server-mongoDB-big" width="700" height="206" /></p>
<p>We can install it easily by adding the percona&#8217;s repository to ubuntu or by downloading the source and compiling it ourselves. For this guide, I will be using the first method because that makes upgrading very easy later on.</p>
<p>For this guide, I will be using a freshly created 1GB VPS from <a href="https://www.vultr.com/?ref=7841070-4F" target="_blank" rel="noopener noreferrer">Vultr</a> hosted in Singapore.</p>
<p>After logging into the server via SSH go through these steps using sudo if you are not logged in as root.</p>
<p><strong>Step 1: Add Percona&#8217;s repository:</strong></p>
<p>To add their repository percona has created a .deb file that we need to download and install. Let&#8217;s start by downloading the package with this command:</p>
<pre>wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb</pre>
<p>Now install this package with this command:</p>
<pre>dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb</pre>
<p>This will add the repository and other requirements.</p>
<p><strong>Step 2: Enable the repository:</strong></p>
<p>We need to enable this freshly added repository. To do so run this command:</p>
<pre>percona-release enable psmdb-42 release</pre>
<p>4.2 is the latest version at the time of writing and we are enabling repository for this version by the above command.</p>
<p><strong>Step 3: Install Percona MongoDB</strong></p>
<p>Update the local package information first</p>
<pre>apt update</pre>
<p>Now run this to install</p>
<pre>apt install percona-server-mongodb</pre>
<p>This will install the percona mongodb on your server and start it.</p>
<p>Check the status of mongodb by running this command:</p>
<pre><span class="pre">service</span> <span class="pre">mongod</span> <span class="pre">status</span></pre>
<p>You will see something like this</p>
<p><img data-recalc-dims="1" loading="lazy" decoding="async" class="alignnone size-full wp-image-510" src="https://i0.wp.com/www.installing.in/wp-content/uploads/2019/09/percona-mongodb.png?resize=686%2C424&#038;ssl=1" alt="percona mongodb" width="686" height="424" /></p>
<p>If the server is not running you can use this command to start</p>
<pre><span class="pre">service</span> <span class="pre">mongod</span> <span class="pre">start</span></pre>
<p>To stop the server you can use</p>
<pre><span class="pre">service</span> <span class="pre">mongod</span> <span class="pre">stop</span></pre>
<p>and to restart mongodb server</p>
<pre><span class="pre">service</span> <span class="pre">mongod</span> restart</pre>
<p>If you need to change the configuration MongoDB configuration file is located at /etc/mongod.conf</p>
<p>&nbsp;</p>
<p>The post <a href="https://www.installing.in/installing-percona-mongodb-on-ubuntu-18-04/">Installing Percona MongoDB on Ubuntu 18.04</a> appeared first on <a href="https://www.installing.in">Installing.in</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.installing.in/installing-percona-mongodb-on-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">509</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Object Caching 21/148 objects using Redis
Page Caching using Disk: Enhanced 
Lazy Loading (feed)
Minified using Disk
Database Caching using Redis

Served from: installing.in @ 2026-05-06 12:28:19 by W3 Total Cache
-->