<?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>How to Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Wed, 18 Aug 2021 21:41: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>Install GIT on Debian 11 / 10</title>
		<link>https://www.osradar.com/install-git-on-debian/</link>
					<comments>https://www.osradar.com/install-git-on-debian/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 23 Aug 2021 23:14:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[compilation]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12871</guid>

					<description><![CDATA[<p>Software development is one of the activities that can best be done on a Linux system. In the first place, because it is stable and because the main tools for development are available with few commands. We are talking about both professional and community-level tools. They are all installable on Linux. One of these tools [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-git-on-debian/">Install GIT on Debian 11 / 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>Software development is one of the activities that can best be done on a Linux system. In the first place, because it is stable and because the main tools for development are available with few commands. We are talking about both professional and community-level tools. They are all installable on Linux. One of these tools is GIT which is used to control the versions of an application. So, in this post, you will learn how to install Git on Debian 11 / 10. We will even give you two options to realize the goal.</p>
<h2>So, Git?</h2>
<p>If you are starting to develop applications you may not know that <a href="https://git-scm.com" rel="noopener noreferrer">Git</a> is a free, open-source version control system and that it is perhaps the best. Many developers rely on it to control the versions of their applications. By versions, we mean those in development.</p>
<p>Using Git you can control and separate development in each of those development branches. So the changes of one do not affect the others.</p>
<p>Read <a href="https://www.osradar.com/introduction-to-the-git-branches/" rel="noopener noreferrer">Introduction to the Git branches</a>.</p>
<p>In this way, it is good practice to develop applications using a version control system as support.</p>
<h2>Install Git on Debian 11 / 10</h2>
<p>Debian 10 is one of the few distributions that have such complete package repositories. So, presumably, there is some Git in the official repositories.</p>
<p>However, it is also a good idea, to know how to install Git differently in case we need it. This way is compiling the source code of Git and get the latest stable version. In this tutorial, I will teach you how to do it both ways.</p>
<h3>1) Using the official repository on Debian 11 / 10</h3>
<p>Debian 11 / 10 include Git in the official repositories. Using this option, the installation is quite easy, and just open a terminal session and run the following command:</p>
<pre>:~$ sudo apt install git</pre>
<p>Or, if you do not have sudo, please read <a href="https://www.osradar.com/how-to-enable-sudo-on-debian-10/" rel="noopener noreferrer">How to enable sudo on Debian 11/10?</a></p>
<p>Then, you can check the installed version.</p>
<pre>:~$ git --version
git version 2.30.2</pre>
<p>Now, you can use it.</p>
<h3>2) Building the Git source code</h3>
<p>Compiling the Git source code is the best way to get the latest version. All this in a safe way because it will not be compiled by third parties.</p>
<p>The process is simple but requires a few extra steps. So let us get started.</p>
<p>First, install the necessary programs to make the compilation:</p>
<pre>:~$ sudo apt install build-essential make libssl-dev libghc-zlib-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip</pre>
<figure id="attachment_12905" aria-describedby="caption-attachment-12905" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12905" src="https://www.osradar.com/wp-content/uploads/2019/08/1.jpeg" alt="1.- Install required package for the build from source code" width="1365" height="470" srcset="https://www.osradar.com/wp-content/uploads/2019/08/1.jpeg 1365w, https://www.osradar.com/wp-content/uploads/2019/08/1-300x103.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/1-768x264.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/1-1024x353.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/1-696x240.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/1-1068x368.jpeg 1068w, https://www.osradar.com/wp-content/uploads/2019/08/1-1220x420.jpeg 1220w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-12905" class="wp-caption-text">1.- Install required a package for the build from source code</figcaption></figure>
<p>Now, we can download the source code.</p>
<pre>:~$ cd /tmp/
:~$ wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.33.0.tar.gz</pre>
<p>Next, decompress it and access to the folder.</p>
<pre>:~$ tar xvfz git-2.33.0.tar.gz
:~$ cd git-2.33.0</pre>
<p>Now, you can start the compilation by running the following commands:</p>
<pre>:~$ sudo make prefix=/usr/local all
:~$ sudo make prefix=/usr/local install</pre>
<figure id="attachment_12907" aria-describedby="caption-attachment-12907" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-12907 size-full" src="https://www.osradar.com/wp-content/uploads/2019/08/3.jpeg" alt="3.- Install Git on Debian 11 / 10" width="1366" height="738" srcset="https://www.osradar.com/wp-content/uploads/2019/08/3.jpeg 1366w, https://www.osradar.com/wp-content/uploads/2019/08/3-300x162.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/3-768x415.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/3-1024x553.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/3-696x376.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/3-1068x577.jpeg 1068w, https://www.osradar.com/wp-content/uploads/2019/08/3-777x420.jpeg 777w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12907" class="wp-caption-text">3.- Install Git on Debian 11 / 10</figcaption></figure>
<p>Next, check the installed version.</p>
<pre>:~$ git --version</pre>
<p>And that is it. You can start to use Git.</p>
<h2>Conclusion</h2>
<p>Git is one of those applications that every developer must be able to manage to improve their workflow. Therefore, it is important to install it in Debian 10 and two ways have been shown to achieve this. One of them is using the package available in the official repositories and the other is compiling the source code.</p>
<p>Please share this post and join <a href="https://t.me/osradar" rel="noopener noreferrer">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-git-on-debian/">Install GIT on Debian 11 / 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-git-on-debian/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Telegram desktop on Debian 11 &#124; And any Linux distribution?</title>
		<link>https://www.osradar.com/install-telegram-desktop-any-linux-distribution/</link>
					<comments>https://www.osradar.com/install-telegram-desktop-any-linux-distribution/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sun, 22 Aug 2021 01:33:00 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[telegram]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[WhatsApp]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=7660</guid>

					<description><![CDATA[<p>Honestly, for me, Telegram is better than WhatsApp because it has many more options and is safer. However, it is also true that WhatsApp is more used and more widespread worldwide. Today I will show you how to install Telegram desktop on any Linux distribution in an easy and comfortable way. Tele&#8230;what? In the first [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-telegram-desktop-any-linux-distribution/">How to install Telegram desktop on Debian 11 | And any Linux distribution?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Honestly, for me, Telegram is better than WhatsApp because it has many more options and is safer. However, it is also true that WhatsApp is more used and more widespread worldwide. Today I will show you how to install Telegram desktop on any Linux distribution in an easy and comfortable way.</p>
<h1>Tele&#8230;what?</h1>
<p>In the first place, What is <a href="https://telegram.org" rel="noopener">Telegram</a>? Well, Telegram is a messaging app with a focus on speed and security, it’s super-fast, simple and free. You can use Telegram on all your devices <strong>at the same time. </strong>In short, your messages sync seamlessly across any number of your phones, tablets or computers.</p>
<p>Some of the most powerful features that differentiate it from WhatsApp are the following:</p>
<ul>
<li><strong>Telegram groups can have up to 100,000 members</strong>. It supports <strong>replies</strong>, <strong>mentions</strong>, and <strong>hashtags</strong> that help maintain order and keep communication in large communities efficient.</li>
<li>If you want secrecy, try our device-specific <strong>Secret Chats</strong> with self-destructing messages, photos, and videos.</li>
<li>Telegram has <strong>bots</strong>. Bots are like small programs that run right inside Telegram. They are very useful to extends Telegram functionality.</li>
<li>The <strong>Telegram API is accessible</strong>. This allows anyone to develop an unofficial client. Don&#8217;t worry, security is something Telegram takes seriously.</li>
</ul>
<p>There are many characteristics that make Telegram a perfect application. In my case, in particular, I have noticed that it is much faster and safer than WhatsApp.</p>
<h1>Let&#8217;s install Telegram</h1>
<p>If you want to install Telegram in any Linux distribution, I must tell you that it is something very simple. Telegram does take into account Linux users, creating an official client on a par with Windows and Mac OS. Already that speaks very well of it.</p>
<p>In the first place, you need to go to the official Telegram <a href="https://telegram.org" rel="noopener">website</a>.</p>
<figure id="attachment_7661" aria-describedby="caption-attachment-7661" style="width: 1170px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7661" src="https://www.osradar.com/wp-content/uploads/2018/11/1-19.png" alt="Downloading Telegram desktop client" width="1170" height="326" srcset="https://www.osradar.com/wp-content/uploads/2018/11/1-19.png 1170w, https://www.osradar.com/wp-content/uploads/2018/11/1-19-300x84.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/1-19-768x214.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/1-19-1024x285.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/1-19-696x194.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/1-19-1068x298.png 1068w" sizes="(max-width: 1170px) 100vw, 1170px" /><figcaption id="caption-attachment-7661" class="wp-caption-text">Downloading Telegram client</figcaption></figure>
<p>Then, download the client for Linux.</p>
<p>When the download is complete, decompress the file. Next, open your file browser and you will see two files.</p>
<figure id="attachment_31764" aria-describedby="caption-attachment-31764" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-31764 size-full" src="https://www.osradar.com/wp-content/uploads/2018/11/1-26.png" alt="2.- Install Telegram on Debian 11 and any Linux distribution" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/1-26.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/1-26-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/1-26-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/1-26-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/1-26-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/1-26-1068x600.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-31764" class="wp-caption-text">2.- Install Telegram on Debian 11 and any Linux distribution</figcaption></figure>
<p>Then, assign execution permissions to the <em>Telegram</em> file. Right-click on it and go to <em>Properties</em>.</p>
<figure id="attachment_31765" aria-describedby="caption-attachment-31765" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-31765 size-full" src="https://www.osradar.com/wp-content/uploads/2018/11/2-24.png" alt="3.- Changing the file permissions" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/2-24.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/2-24-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/2-24-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/2-24-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/2-24-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/2-24-1068x600.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-31765" class="wp-caption-text">3.- Changing the file permissions</figcaption></figure>
<p>Now, you can open it. Double-click on it.</p>
<figure id="attachment_31766" aria-describedby="caption-attachment-31766" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-31766 size-full" src="https://www.osradar.com/wp-content/uploads/2018/11/3-23.png" alt="4.- Opening Telegram desktop client on Linux" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/3-23.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/3-23-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/3-23-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/3-23-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/3-23-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/3-23-1068x600.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-31766" class="wp-caption-text">4.- Opening Telegram desktop client on Linux</figcaption></figure>
<p>Click on <em>Start Messaging</em> button to add your phone number.</p>
<figure id="attachment_7665" aria-describedby="caption-attachment-7665" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7665" src="https://www.osradar.com/wp-content/uploads/2018/11/5-19.png" alt="5.- Adding the phone number" width="1368" height="742" srcset="https://www.osradar.com/wp-content/uploads/2018/11/5-19.png 1368w, https://www.osradar.com/wp-content/uploads/2018/11/5-19-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/5-19-768x417.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/5-19-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/5-19-696x378.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/5-19-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/5-19-774x420.png 774w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-7665" class="wp-caption-text">5.- Adding the phone number</figcaption></figure>
<p>Then, Telegram will send you a code via SMS. When you type it, the application will start and you will use it without any problem.</p>
<p>And that&#8217;s it.</p>
<h1>Conclusion</h1>
<p>Telegram is much better than WhatsApp not only because of its features but also because its desktop customers are very good. Installing these desktop clients is simple and very useful.</p>
<p>Recently we talked about <a href="https://www.osradar.com/franz-on-linux-desktop/">Franz</a> an application to have several messaging accounts on the desktop. You might be interested so here&#8217;s the link.</p>
<p>Please share this article through your social networks.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-telegram-desktop-any-linux-distribution/">How to install Telegram desktop on Debian 11 | And any Linux distribution?</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-telegram-desktop-any-linux-distribution/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install LibreOffice 7.1 on Ubuntu 20.04 / Linux Mint 20?</title>
		<link>https://www.osradar.com/microsoft-libre-office-ubuntu-linux/</link>
					<comments>https://www.osradar.com/microsoft-libre-office-ubuntu-linux/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 16 Aug 2021 23:18:00 +0000</pubDate>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[New version]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=22661</guid>

					<description><![CDATA[<p>LibreOffice has just released its latest version. And it promises to be a whole new performance experience. In this post, we will show you how to install LibreOffice 7.1 on Ubuntu 20.04 / Linux Mint 20. So, LibreOffice is one of the jewels of open source. We are talking about a complete office suite capable [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/microsoft-libre-office-ubuntu-linux/">How to install LibreOffice 7.1 on Ubuntu 20.04 / Linux Mint 20?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>LibreOffice has just released its latest version<a href="https://wiki.documentfoundation.org/ReleaseNotes/7.1" target="_blank" rel="noreferrer noopener">. And it promises to be a whole new performance experience. In this </a>post, w<strong>e will show you how to install LibreOffice 7.1 on Ubuntu 20.04 / Linux Mint 20.</strong></p>



<p>So, LibreOffice is one of the jewels of open source. We are talking about a complete office suite capable of resulting in a free, cross-platform solution available to everyone. Therefore, it already comes installed in many Linux distributions but these do not include an updated version.</p>



<h2>Install LibreOffice 7.1 on Ubuntu 20.04 / Linux Mint 20</h2>



<p>There are several methods to install LibreOffice 7.1 on Ubuntu 20.04 or Linux Mint 20. However, I will show you the two easiest to do, and that allows you to easily keep it updated.</p>



<h3>Installing LibreOffice 7.1 using PPA</h3>



<p>The LibreOffice development team provides us with a dedicated PPA for LibreOffice 7.1. This repository is compatible with Ubuntu 20.04 as it could not be otherwise. So let&#8217;s use it.</p>



<p>So, open a terminal and run the following command:</p>



<pre class="wp-block-preformatted">:~$ sudo add-apt-repository ppa:libreoffice/ppa
In general, users are advised to take a look at the changelog for the details about a package. If there is a specific bug that is intended to be addressed by an update released into the PPA, you are encouraged to test, if the update solves that problem. Packages published after the distro release are mostly such specific fixes. Critical fixes will be SRUed into the main repositories after testing anyway (later, with more testing).

To return to the LibreOffice version from the main archive, use ppa-purge. see: http://www.webupd8.org/2009/12/remove-ppa-repositories-via-command.html for details
 More info: https://launchpad.net/~libreoffice/+archive/ubuntu/ppa
Press Enter to continue or Ctrl+C to cancel

Executing: /tmp/apt-key-gpghome.VVwU2zyIO1/gpg.1.sh --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys 36E81C9267FD1383FCC4490983FBA1751378B444
gpg: key 83FBA1751378B444: public key "Launchpad PPA for LibreOffice Packaging" imported
gpg: Total number processed: 1

:~$ sudo apt-get update</pre>



<p>And then, if you already have LibreOffice installed, upgrade your system:</p>



<pre class="wp-block-preformatted">:~$ sudo apt upgrade</pre>



<p>Or:</p>



<pre class="wp-block-preformatted">:~$ sudo apt full-upgrade</pre>



<p>It&#8217;s that simple. Next, launch it from the main menu.</p>



<h3>Installing LibreOffice 7.1 with Flatpak</h3>



<p>If we read the description of the previous repository we will notice that it will only provide updates to the 7.1 branch</p>



<p>To avoid this, it is possible to use Flatpak. As we know, Flatpak is a technology that allows us to create self-contained and secure packages for any Linux distribution.</p>



<p>The Flatpak package of LibreOffice is hosted in Flathub and they give us the instructions to install it.</p>



<p>So, install Flatpak in case you don&#8217;t have it installed:</p>



<pre class="wp-block-preformatted">:~$ sudo apt install flatpak</pre>



<p>Then, install LibreOffice 7.1 with the following command:</p>



<pre class="wp-block-preformatted">:~$ flatpak install flathub org.libreoffice.LibreOffice</pre>



<p>When the download is finished you can run it from the main menu. Or by executing the following command:</p>



<pre class="wp-block-preformatted">:~$ flatpak run org.libreoffice.LibreOffice</pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="929" height="507" src="https://www.osradar.com/wp-content/uploads/2020/08/1-18.png" alt="1.- LibreOffice 7.1 on Ubuntu 20.04" class="wp-image-31666" srcset="https://www.osradar.com/wp-content/uploads/2020/08/1-18.png 929w, https://www.osradar.com/wp-content/uploads/2020/08/1-18-300x164.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/1-18-768x419.png 768w, https://www.osradar.com/wp-content/uploads/2020/08/1-18-696x380.png 696w" sizes="(max-width: 929px) 100vw, 929px" /><figcaption>1.- LibreOffice 7.1 on Ubuntu 20.04</figcaption></figure>



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



<h2>Conclusion</h2>



<p>LibreOffice 7.1 is available for download. In this post, you&#8217;ve learned what to do to get it right now on your Ubuntu 20.04. But this tutorial works for Linux Mint 20 and all distributions that are based on Ubuntu 20.04.</p>



<p>Please share this post and join <a href="https://www.osradar.com/join-our-telegram-channel/" target="_blank" rel="noreferrer noopener">our Telegram channel.</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/microsoft-libre-office-ubuntu-linux/">How to install LibreOffice 7.1 on Ubuntu 20.04 / Linux Mint 20?</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/microsoft-libre-office-ubuntu-linux/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>How to install GO Language on Rocky Linux 8 /CentOS 8 / Fedora 34?</title>
		<link>https://www.osradar.com/install-go-language-centos-8/</link>
					<comments>https://www.osradar.com/install-go-language-centos-8/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 02 Jul 2021 00:30:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[go language]]></category>
		<category><![CDATA[How to]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=14068</guid>

					<description><![CDATA[<p>There is a large number of programming languages quite diverse and varied. Some of them, with specific purposes such as the web or the desktop but others more general. What is certain is that the big companies of development and implementation of software are in the frequent search of languages of programming that adapt to [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-go-language-centos-8/">How to install GO Language on Rocky Linux 8 /CentOS 8 / 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>There is a large number of programming languages quite diverse and varied. Some of them, with specific purposes such as the web or the desktop but others more general. What is certain is that the big companies of development and implementation of software are in the frequent search of languages of programming that adapt to the new necessities of the clients. In this sense, more and more people are talking about GO because of its speed and efficiency. In this post you will learn how to install GO language on Rocky Linux 8 /CentOS 8 / Fedora 34.</p>



<p><a rel="noreferrer noopener" aria-label="Go (opens in a new tab)" href="https://golang.org/" target="_blank">Go</a> is a programming language created in 2007 by Google. It was initially intended to be an internal coding standard for the company&#8217;s own infrastructure, but its potential prompted it to go on the air. <strong>Go is a concurrent and compiled programming language inspired by C syntax</strong>. It has been developed by Google, and its initial designers are Robert Griesemer, Rob Pike and Ken Thompson. It is cross-platform because it has binaries for Windows, <a href="https://www.osradar.com/tag/linux/">Linux</a>, macOS, <g class="gr_ gr_53 gr-alert gr_gramm gr_inline_cards gr_run_anim Punctuation only-ins replaceWithoutSep" id="53" data-gr-id="53">and</g> FreeBSD.</p>



<p>Some of its features are:</p>



<ul><li>Go uses a syntax similar to C. </li><li>In teh same way, Go uses statically typed and is as efficient as C.</li><li>Go has many of the features and ease of dynamic languages like Python.</li><li>Although it is a language designed for system programming, it provides a garbage collector, reflection and other high-level capabilities that make it a very powerful language.</li></ul>



<p>Therefore we are talking about a robust, technical and efficient language. So, let us install Go language on CentOS 8.</p>



<h2>Install GO language on Rocky Linux 8 / CentOS 8 / Fedora 34</h2>



<p>First you have to update the system. This is always recommended for security reasons.</p>



<p>So open a terminal session and run the following:</p>



<pre class="wp-block-preformatted">:~$ su<br>:~# dnf update</pre>



<p>By having the system updated, you will have the latest security patches available and your system will be more robust.</p>



<p>Then you have to download the corresponding binaries for our system. For this we will use a tool called wget, if you don&#8217;t have it installed, you will have to do it.</p>



<pre class="wp-block-preformatted">:~# dnf install wget<br>:~# wget https://dl.google.com/go/go1.13.1.linux-amd64.tar.gz</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="225" src="https://www.osradar.com/wp-content/uploads/2019/09/1-30-1024x225.png" alt="1.- Download GO language on Rocky Linux 8 /CentOS 8 / Fedora 34" class="wp-image-14077" srcset="https://www.osradar.com/wp-content/uploads/2019/09/1-30-1024x225.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/1-30-300x66.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/1-30-768x169.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/1-30-696x153.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/1-30-1068x235.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/1-30.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Download GO language on Rocky Linux 8 /CentOS 8 / Fedora 34</figcaption></figure>



<p>Versions may change over time. So check in the <a rel="noreferrer noopener" aria-label="download section (opens in a new tab)" href="https://golang.org/dl/" target="_blank">download section</a> which is the latest stable version and modify the command.</p>



<p>Now we will have to unzip it and move it to an installation folder. In my case, I will do it in <code>/usr/local</code> and unzip the file there.</p>



<pre class="wp-block-preformatted">:~# dnf install tar
:~# tar -zxvf go1.13.1.linux-amd64.tar.gz -C /usr/local</pre>



<p>It is now the turn to maintain the environment variables. All this so that the installation does not have problems finding the command and the compiler.</p>



<pre class="wp-block-preformatted">:~# echo 'export GOROOT=/usr/local/go' | tee -a /etc/profile<br>:~# echo 'export PATH=$PATH:/usr/local/go/bin' | tee -a /etc/profile</pre>



<p>Finally, refresh your bash profile.</p>



<pre class="wp-block-preformatted">:~# source /etc/profile</pre>



<p>Now let&#8217;s test the installation. To do this we will create the typical Hello World program. First create the folders:</p>



<pre class="wp-block-preformatted">:~# mkdir -p project/helloworld
:~# cd project/helloworld</pre>



<p>Then, create the new file and add the following:</p>



<pre class="wp-block-preformatted">:~# nano helloworld.go</pre>



<pre class="wp-block-preformatted">package main
import "fmt"
func main() {
    fmt.Printf("Hi, I am Angelo. Welcome to osradar.com\n")
}</pre>



<figure class="wp-block-image"><img loading="lazy" width="935" height="192" src="https://www.osradar.com/wp-content/uploads/2019/09/2-29.png" alt="2.- Testing GO language" class="wp-image-14078" srcset="https://www.osradar.com/wp-content/uploads/2019/09/2-29.png 935w, https://www.osradar.com/wp-content/uploads/2019/09/2-29-300x62.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/2-29-768x158.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/2-29-696x143.png 696w" sizes="(max-width: 935px) 100vw, 935px" /><figcaption>2.- Testing GO language</figcaption></figure>



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



<p>Now, run the program:</p>



<pre class="wp-block-preformatted">:~# go run helloworld.go</pre>



<figure class="wp-block-image"><img loading="lazy" width="913" height="121" src="https://www.osradar.com/wp-content/uploads/2019/09/3-26.png" alt="3.- GO language is working on Rocky Linux 8 / CentOS 8 / Fedora 34" class="wp-image-14079" srcset="https://www.osradar.com/wp-content/uploads/2019/09/3-26.png 913w, https://www.osradar.com/wp-content/uploads/2019/09/3-26-300x40.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/3-26-768x102.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/3-26-696x92.png 696w" sizes="(max-width: 913px) 100vw, 913px" /><figcaption>3.- GO language is working on Rocky Linux 8 / CentOS 8 / Fedora 34</figcaption></figure>



<p>Yeah, everything&#8217;s fine and working. Now you can start creating great apps with Go.</p>



<h2>Conclusion</h2>



<p>Go is a versatile and very efficient modern programming language sponsored by Google. This makes it quite robust with a solid community behind it. Today you have learned to install it on CentOS 8 and RHEL 8.</p>



<p>So, please share this post with your friends and<a rel="noreferrer noopener" aria-label=" join our Telegram channel (opens in a new tab)" href="https://t.me/osradar" target="_blank"> join our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-go-language-centos-8/">How to install GO Language on Rocky Linux 8 /CentOS 8 / 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-go-language-centos-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install PostgreSQL 13 on CentOS 8 / RHEL 8 / Oracle Linux 8?</title>
		<link>https://www.osradar.com/install-postgresql-13-centos-8/</link>
					<comments>https://www.osradar.com/install-postgresql-13-centos-8/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 18 Jun 2021 23:25:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Centos 8]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[oracle linux 8]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[RHEL 8]]></category>
		<category><![CDATA[SQL]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=13249</guid>

					<description><![CDATA[<p>PostgreSQL is one of the most popular database management systems in the world. Its robustness, high availability, and ease of installation make it perhaps the most advanced in the world. Despite easy installation, not always many users do. So, in this post, I will show you how to install PostgreSQL 13 on CentOS 8 / [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-postgresql-13-centos-8/">How to install PostgreSQL 13 on CentOS 8 / RHEL 8 / Oracle Linux 8?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>PostgreSQL is one of the most popular database management systems in the world. Its robustness, high availability, and ease of installation make it perhaps the most advanced in the world. Despite easy installation, not always many users do. So, in this post, I will show you how to install PostgreSQL 13 on CentOS 8 / RHEL 8 / Oracle Linux 8. In addition, we&#8217;ll show you the most basic configurations. At the end of the post, you will have a PostgreSQL installation ready to start working.</p>
<h2>Install PostgreSQL 13 on CentOS 8 / RHEL 8 / Oracle Linux 8</h2>
<p>Both RHEL 8 and its derivatives include <a href="https://www.osradar.com/tag/postgresql/">PostgreSQL</a> 10 in their repositories. However, we already have available version 13. And it is recommended to install it because thanks to it, we can enjoy interesting news and improvements in the performance of the application. Important, if we are going to store large quantities of records.</p>
<p>So first, open a terminal session. Or if you are using a server connect to it using ssh.</p>
<pre>:~$ ssh [your-user]@[your-host]</pre>
<p>Then log in as the root user.</p>
<pre>:~$ su
:~#</pre>
<p>The best way to install PostgreSQL 13 on CentOS 8, RHEL 8 and Oracle Linux 8 is to add the official PostgreSQL refill. Not only is it easy, but also safe and the possibility to be always up to date.</p>
<p>To do this, run the following command:</p>
<pre>:~# dnf install https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm</pre>
<p><figure id="attachment_13268" aria-describedby="caption-attachment-13268" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13268" src="https://www.osradar.com/wp-content/uploads/2019/08/1-23.jpeg" alt="1.- Add the PostgreSQL repository" width="1366" height="355" srcset="https://www.osradar.com/wp-content/uploads/2019/08/1-23.jpeg 1366w, https://www.osradar.com/wp-content/uploads/2019/08/1-23-300x78.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/1-23-768x200.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/1-23-1024x266.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/1-23-696x181.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/1-23-1068x278.jpeg 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-13268" class="wp-caption-text">1.- Add the PostgreSQL repository</figcaption></figure></p>
<p>Then, disable the PostgreSQL module on CentOS 8.</p>
<pre>:~# dnf module disable postgresql</pre>
<p>Now, install PostgreSQL 13 on CentOS 8.</p>
<pre>:~# dnf install postgresql13-server postgresql13</pre>
<p><figure id="attachment_30666" aria-describedby="caption-attachment-30666" style="width: 1364px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-30666 size-full" src="https://www.osradar.com/wp-content/uploads/2020/01/2-23.png" alt="2.- Install PostgreSQL 13 8 on AlmaLinux OS 8 / CentOS 8" width="1364" height="435" srcset="https://www.osradar.com/wp-content/uploads/2020/01/2-23.png 1364w, https://www.osradar.com/wp-content/uploads/2020/01/2-23-300x96.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/2-23-1024x327.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/2-23-768x245.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/2-23-696x222.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/2-23-1068x341.png 1068w" sizes="(max-width: 1364px) 100vw, 1364px" /><figcaption id="caption-attachment-30666" class="wp-caption-text">2.- Install PostgreSQL 13 8 on AlmaLinux OS 8 / CentOS 8</figcaption></figure></p>
<p>After that, let us configure it.</p>
<h2>Configure PostgreSQL on CentOS / RHEL 8 / Oracle Linux 8</h2>
<h3>Initialize PostgreSQL database and start the service</h3>
<p>After installing it, the first thing to do is to initialize the database. To achieve this, it is necessary to execute the following command:</p>
<pre>:~# /usr/pgsql-13/bin/postgresql-13-setup initdb
Initializing database ... OK</pre>
<p>With this, we will have already started the initial database. At this point, the PostgreSQL service is not enable, so you can&#8217;t use it yet. Then you have to do it.</p>
<pre>:~# systemctl enable postgresql-13</pre>
<p>Then, if you want PostgreSQL to start along with the system run this command:</p>
<pre>:~# systemctl start postgresql-13</pre>
<p>To check that everything is going well, check the status of the service:</p>
<pre>:~# systemctl status postgresql-13</pre>
<p><figure id="attachment_30667" aria-describedby="caption-attachment-30667" style="width: 1167px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-30667 size-full" src="https://www.osradar.com/wp-content/uploads/2020/01/3-22.png" alt="3.- PostgreSQL status" width="1167" height="481" srcset="https://www.osradar.com/wp-content/uploads/2020/01/3-22.png 1167w, https://www.osradar.com/wp-content/uploads/2020/01/3-22-300x124.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/3-22-1024x422.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/3-22-768x317.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/3-22-696x287.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/3-22-1068x440.png 1068w" sizes="(max-width: 1167px) 100vw, 1167px" /><figcaption id="caption-attachment-30667" class="wp-caption-text">3.- PostgreSQL status</figcaption></figure></p>
<p>As you can see, everything&#8217;s fine.</p>
<h3>Change the password to the &#8220;postgres&#8221; user and allow the remote connections</h3>
<p>During the installation of PostgreSQL, a new user called postgres is created. The problem is that you do not define a password, so it makes you vulnerable. To avoid problems, it is convenient to create a password.</p>
<p>To do this, just use the Unix passwd command.</p>
<pre>:~# passwd postgres</pre>
<p>There you will have to enter the password twice. If both are effective, the final change will be made.</p>
<p>Now, we have to allow access to remote connections. The client must be installed on each of the systems that will access PostgreSQL. It will depend on each operating system.</p>
<p>Then, a good security measure is to specify the hosts that can access it. Of course, if the data will be served on the Internet, then it is necessary to allow all the accesses.</p>
<pre>:~# nano /var/lib/pgsql/13/data/postgresql.conf
</pre>
<p>then searches for the listen_addresses line and places the hosts that can access it. If you allow any access, type &#8216;*&#8217;.</p>
<pre>listen_addresses = '[host/IP_adress]'
or
listen_addresses = '*'</pre>
<p><figure id="attachment_13272" aria-describedby="caption-attachment-13272" style="width: 766px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13272" src="https://www.osradar.com/wp-content/uploads/2019/08/5-10.jpeg" alt="5.- Allow the remote connections" width="766" height="352" srcset="https://www.osradar.com/wp-content/uploads/2019/08/5-10.jpeg 766w, https://www.osradar.com/wp-content/uploads/2019/08/5-10-300x138.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/5-10-696x320.jpeg 696w" sizes="(max-width: 766px) 100vw, 766px" /><figcaption id="caption-attachment-13272" class="wp-caption-text">5.- Allow the remote connections</figcaption></figure></p>
<p>Then, restart PostgreSQL.</p>
<pre>:~# systemctl restart postgresql-13</pre>
<p>Finally, you have to open the port 5432 on the firewall to allow the connections.</p>
<pre>:~# firewall-cmd --add-port=5432/tcp --permanent
success
:~# firewall-cmd --reload
success</pre>
<p>Now, you can access to the PostgreSQL shell.</p>
<pre>:~# su - postgres
:~# psql</pre>
<p>Now, you can start to work.</p>
<h2>Conclusion</h2>
<p>PostgreSQL is one of the best there is for databases. Thanks to its community spirit, it is possible to find a lot of documentation about it. On the other hand, installing version 13 on CentOS 8, RHEL 8 and Oracle Linux 8 is quite simple as you have seen in this post.</p>
<p>Also, you can read <a href="https://www.osradar.com/how-to-install-postgresql-on-ubuntu18-04/" rel="noopener noreferrer">how to install Postgresql on Ubuntu 18.04?</a></p>
<p>Please share this post with your friends and join <a href="https://t.me/osradar">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-postgresql-13-centos-8/">How to install PostgreSQL 13 on CentOS 8 / RHEL 8 / Oracle Linux 8?</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-postgresql-13-centos-8/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>How to install PostgreSQL 13 on Debian 10?</title>
		<link>https://www.osradar.com/how-to-install-postgresql-13-debian-10/</link>
					<comments>https://www.osradar.com/how-to-install-postgresql-13-debian-10/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 17 Jun 2021 23:11:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=18461</guid>

					<description><![CDATA[<p>Hi, friends, in this post, I&#8217;ll show you how to install PostgreSQL 13 on Debian 10. PostgreSQL 13 is the latest stable version of what is perhaps the most advanced open-source relational database manager. So many sysadmin need to have it on the different servers. If you want to know all the news or at [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-postgresql-13-debian-10/">How to install PostgreSQL 13 on 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><strong>Hi, friends, in this post, I&#8217;ll show you how to install PostgreSQL 13 on Debian 10.</strong></p>
<p>PostgreSQL 13 is the latest stable version of what is perhaps the most advanced open-source relational database manager. So many sysadmin need to have it on the different servers.</p>
<p>If you want to know all the news or at least the most important ones, you can read this post</p>
<p><a href="https://www.postgresql.org/about/news/postgresql-13-released-2077/" target="_blank" rel="noopener noreferrer">PostgreSQL 13 is available</a></p>
<p>Well, PostgreSQL 13 comes with many important improvements and it&#8217;s a good time to install it. That&#8217;s what this post is about.</p>
<p>So let&#8217;s go for it.</p>
<h2>Install PostgreSQL 13 on Debian</h2>
<p>PostgreSQL is included in the official Debian repositories, but not in version 13 but in version 11.</p>
<p>The installation of PostgreSQL 13 is possible thanks to the repository it has for APT package managers that is used by Debian, Ubuntu, Linux Mint and derivatives.</p>
<p>So let&#8217;s start.</p>
<p>First, open a terminal session or connect to your server using SSH. Then, install some necessary packages:</p>
<pre>:~$ sudo apt install gnupg gnupg2</pre>
<p>At the end, the PostgreSQL 13 repository should be added to the list of Debian software sources. To do this, create the following file:</p>
<pre>:~$ sudo nano /etc/apt/sources.list.d/pgdg.list</pre>
<p>And in it he adds the following:</p>
<pre>deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main</pre>
<p><figure id="attachment_18614" aria-describedby="caption-attachment-18614" style="width: 910px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18614" src="https://www.osradar.com/wp-content/uploads/2020/02/1-18.png" alt="1.- Adding the postgresql repository" width="910" height="109" srcset="https://www.osradar.com/wp-content/uploads/2020/02/1-18.png 910w, https://www.osradar.com/wp-content/uploads/2020/02/1-18-300x36.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/1-18-768x92.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/1-18-696x83.png 696w" sizes="(max-width: 910px) 100vw, 910px" /><figcaption id="caption-attachment-18614" class="wp-caption-text">1.- Adding the postgresql repository</figcaption></figure></p>
<p>Then save the changes by pressing CTRL + O and close the file by pressing CTRL + X.</p>
<p>For the repository to be accepted by the system, you need to add the gpg key to it. To do this, use the following command:</p>
<pre>:~$ wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
OK</pre>
<p><figure id="attachment_18615" aria-describedby="caption-attachment-18615" style="width: 991px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18615" src="https://www.osradar.com/wp-content/uploads/2020/02/2-17.png" alt="2.- Adding the GPG key for the repository" width="991" height="129" srcset="https://www.osradar.com/wp-content/uploads/2020/02/2-17.png 991w, https://www.osradar.com/wp-content/uploads/2020/02/2-17-300x39.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/2-17-768x100.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/2-17-696x91.png 696w" sizes="(max-width: 991px) 100vw, 991px" /><figcaption id="caption-attachment-18615" class="wp-caption-text">2.- Adding the GPG key for the repository</figcaption></figure></p>
<p>Once the process has been completed, simply update the APT cache.</p>
<pre>:~$ sudo apt update</pre>
<p>You can now view all the packages related to PostgreSQL 13 by typing</p>
<pre>:~$ sudo apt install postgresql-13</pre>
<p>But don&#8217;t press enter, just press the TAB key and you&#8217;ll see the following:</p>
<p><figure id="attachment_30630" aria-describedby="caption-attachment-30630" style="width: 1279px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-30630 size-full" src="https://www.osradar.com/wp-content/uploads/2020/03/3-27.png" alt="3.- All postgresql 13 packages" width="1279" height="713" srcset="https://www.osradar.com/wp-content/uploads/2020/03/3-27.png 1279w, https://www.osradar.com/wp-content/uploads/2020/03/3-27-300x167.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/3-27-1024x571.png 1024w, https://www.osradar.com/wp-content/uploads/2020/03/3-27-768x428.png 768w, https://www.osradar.com/wp-content/uploads/2020/03/3-27-696x388.png 696w, https://www.osradar.com/wp-content/uploads/2020/03/3-27-1068x595.png 1068w" sizes="(max-width: 1279px) 100vw, 1279px" /><figcaption id="caption-attachment-30630" class="wp-caption-text">3.- All postgresql 13 packages</figcaption></figure></p>
<p>As you can see in the image, we have PostgreSQL 13 available. So to install it run the following command:</p>
<pre>:~$ sudo apt install postgresql-13
Reading package lists... Done
Building dependency tree 
Reading state information... Done
The following additional packages will be installed:
libgdbm-compat4 libjson-perl libllvm7 libperl5.28 libpq5 libxslt1.1 perl pgdg-keyring postgresql-client-13 postgresql-client-common postgresql-common ssl-cert
Suggested packages:
perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl make libb-debug-perl liblocale-codes-perl postgresql-doc-13 openssl-blacklist
Recommended packages:
libjson-xs-perl sysstat
The following NEW packages will be installed:
libgdbm-compat4 libjson-perl libllvm7 libperl5.28 libpq5 libxslt1.1 perl pgdg-keyring postgresql-13 postgresql-client-13 postgresql-client-common postgresql-common
ssl-cert
0 upgraded, 13 newly installed, 0 to remove and 10 not upgraded.
Need to get 34.5 MB of archives.
After this operation, 145 MB of additional disk space will be used.
Do you want to continue? [Y/n]</pre>
<p><figure id="attachment_30631" aria-describedby="caption-attachment-30631" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-30631 size-full" src="https://www.osradar.com/wp-content/uploads/2020/03/4-22.png" alt="4.- Install PostgreSQL 13 on Debian 10" width="1365" height="307" srcset="https://www.osradar.com/wp-content/uploads/2020/03/4-22.png 1365w, https://www.osradar.com/wp-content/uploads/2020/03/4-22-300x67.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/4-22-1024x230.png 1024w, https://www.osradar.com/wp-content/uploads/2020/03/4-22-768x173.png 768w, https://www.osradar.com/wp-content/uploads/2020/03/4-22-696x157.png 696w, https://www.osradar.com/wp-content/uploads/2020/03/4-22-1068x240.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-30631" class="wp-caption-text">4.- Install PostgreSQL 13 on Debian 10</figcaption></figure></p>
<p>Now we&#8217;ll see if everything went well.</p>
<h2>Testing the installation</h2>
<p>By default, Debian when installing PostgreSQL starts and enables the service. Therefore, it is ready to be tested. However, if you want to stop the service, you can use this command:</p>
<pre>:~$ sudo systemctl stop postgresql</pre>
<p>On the other hand, the best way to know if PostgreSQL is ready for work is to execute some command from the console. So we&#8217;ll access it first:</p>
<pre>:~$ sudo -i -u postgres</pre>
<p>Remember that the PostgreSQL console is accessed through the postgres user.</p>
<p>And finally, we access with this command:</p>
<pre>:~# psql</pre>
<p>Once inside, we can, for example, display all the databases in the system:</p>
<pre>:~# \l</pre>
<p><figure id="attachment_18618" aria-describedby="caption-attachment-18618" style="width: 885px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18618" src="https://www.osradar.com/wp-content/uploads/2020/02/5-12.png" alt="5.- All postgresql databases" width="885" height="317" srcset="https://www.osradar.com/wp-content/uploads/2020/02/5-12.png 885w, https://www.osradar.com/wp-content/uploads/2020/02/5-12-300x107.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/5-12-768x275.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/5-12-696x249.png 696w" sizes="(max-width: 885px) 100vw, 885px" /><figcaption id="caption-attachment-18618" class="wp-caption-text">5.- All postgresql databases</figcaption></figure></p>
<p>And so we can work without problems with PostgreSQL.</p>
<h2>Conclusion</h2>
<p>PostgreSQL 13 is a powerful database manager that is used in many projects worldwide. This makes many people want to have the latest stable versions to take even more advantage of the tool.</p>
<p>Please share this post and join <a href="https://t.me/osradar" target="_blank" rel="noopener noreferrer">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-postgresql-13-debian-10/">How to install PostgreSQL 13 on 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/how-to-install-postgresql-13-debian-10/feed/</wfw:commentRss>
			<slash:comments>1</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 the LAMP stack on Fedora 34</title>
		<link>https://www.osradar.com/install-lamp-stack-on-fedora-34/</link>
					<comments>https://www.osradar.com/install-lamp-stack-on-fedora-34/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 04 Jun 2021 23:11:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[fedora 31]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[mariadb]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=15686</guid>

					<description><![CDATA[<p>Fedora is one of the most popular Linux distributions that exist, and is also used by developers to do their jobs. In this sense, web development is in full swing and more and more developers are focusing on these applications. But if you&#8217;re going to develop or serve web applications, it is a good idea [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-lamp-stack-on-fedora-34/">How to install the LAMP stack 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>Fedora is one of the most popular Linux distributions that exist, and is also used by developers to do their jobs. In this sense, web development is in full swing and more and more developers are focusing on these applications. But if you&#8217;re going to develop or serve web applications, it is a good idea to at least have a working LAMP server. <strong>That is why, in this post, we will show you how to install LAMP stack on Fedora 34.</strong></p>
<h2>What is the LAMP stack?</h2>
<p>The <a href="https://en.wikipedia.org/wiki/LAMP_(software_bundle)" target="_blank" rel="noopener noreferrer">LAMP</a> stack is the union of several application components that allow to have a functional web server. With LAMP it is possible to develop and deploy web applications created in PHP.</p>
<h2>Installing the LAMP stack on Fedora 34</h2>
<h3>(L)inux</h3>
<p>The first component is Linux. In this case, we are using Fedora as the Linux distribution. <a href="https://www.osradar.com/fedora-31-available/" target="_blank" rel="noopener noreferrer">Fedora</a> is quite stable for these purposes, but it also serves to host applications as if it were a server.</p>
<h3>(A)pache</h3>
<p>The second component is the HTTP server. The easiest server to use and also one of the most popular is HTTPD which is the Apache project server. Fortunately, it is found in the official repositories of the distribution, which facilitates the installation.</p>
<p>To do this, open a terminal and execute the following command:</p>
<pre>:~$ sudo dnf install httpd</pre>
<p>Before you can use the server, you must initialize the service. In other words, you have to start it. To do this, we use systemd to do it.</p>
<pre>:~$ sudo systemctl start httpd</pre>
<p>If you want the service to start along with the system, then run this command:</p>
<pre>:~$ sudo systemctl enable httpd</pre>
<p>Now each time the system is started, httpd will be started.</p>
<p>However, Fedora values security very much and will not allow httpd to run if port 80 and 443 are not opened in the firewall. So let&#8217;s do it.</p>
<pre>$ sudo firewall-cmd zone=public add-service=http permanent<br>success<br>$ sudo firewall-cmd reload<br>success</pre>
<p>Now, open your web browser and go to <code>http://your-server</code> or <code>http://localhost</code> depending on where you are installing LAMP. You willl see the following:</p>
<figure id="attachment_30366" aria-describedby="caption-attachment-30366" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-30366 size-full" src="https://www.osradar.com/wp-content/uploads/2019/11/1-25.png" alt="1.- Httpd running on Fedora 34" width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2019/11/1-25.png 1354w, https://www.osradar.com/wp-content/uploads/2019/11/1-25-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/1-25-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/1-25-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/1-25-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/1-25-1068x528.png 1068w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-30366" class="wp-caption-text">1.- Httpd running on Fedora 34</figcaption></figure>
<p>That means Apache is functioning perfectly.</p>
<h3>Installing LAMP stack on Fedora 34 &#8211; (P)hp</h3>
<p>Now for web applications to run smoothly, you need to install PHP. PHP is one of the most popular languages for web programming. In fact, the vast majority of web applications are created with PHP. To install it along with its main modules, you have to execute the following command:</p>
<pre>:~$ sudo dnf install php php-common php-pecl-apcu php-cli php-pear php-pdo php-mysqlnd php-pgsql php-gd php-mbstring php-xml</pre>
<figure id="attachment_30367" aria-describedby="caption-attachment-30367" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-30367 size-full" src="https://www.osradar.com/wp-content/uploads/2019/11/2-23.png" alt="2.- Installing PHP on Fedora 34" width="1365" height="714" srcset="https://www.osradar.com/wp-content/uploads/2019/11/2-23.png 1365w, https://www.osradar.com/wp-content/uploads/2019/11/2-23-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/2-23-1024x536.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/2-23-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/2-23-696x364.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/2-23-1068x559.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-30367" class="wp-caption-text">2.- Installing PHP on Fedora 34</figcaption></figure>
<p>Now you have to test that PHP works properly, so you have to create a file with some php code and see if you run it.</p>
<pre>:~$ sudo nano /var/www/html/test.php</pre>
<p>And add the following:</p>
<pre>&lt;?php<br>phpinfo();<br>?&gt;</pre>
<p>If you do not have nano installed, it is better to do it with the following command:</p>
<pre>:~$ sudo dnf install nano</pre>
<p>For all this to work, you have to restart the server:</p>
<pre>:~$ sudo systemctl restart httpd</pre>
<p>And then, open it from the web browser. <code>http://your-server/test.php</code> or <code>http://localhost/test.php</code></p>
<figure id="attachment_30368" aria-describedby="caption-attachment-30368" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-30368 size-full" src="https://www.osradar.com/wp-content/uploads/2019/11/3-20.png" alt="3.- Installing LAMP stack on Fedora 34" width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2019/11/3-20.png 1354w, https://www.osradar.com/wp-content/uploads/2019/11/3-20-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/3-20-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/3-20-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/3-20-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/3-20-1068x528.png 1068w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-30368" class="wp-caption-text">3.- Installing LAMP stack on Fedora 34</figcaption></figure>
<p>This means that PHP and Apache are working correctly.</p>
<h3>Installing LAMP stack on Fedora 34 &#8211; (M)ariaDB</h3>
<p><a href="https://www.osradar.com/tag/mariadb/" target="_blank" rel="noopener noreferrer">MariaDB</a> is a MySQL fork. Therefore, we are in the presence of a relational database management system. It is included in most existing Linux distributions. Also, it is perfectly compatible with MySQL and its commands as well as its engines. It is the last component of LAMP.</p>
<p>Keep in mind that MariaDB is used to store the data that applications require as they are being used. That is to say, no transactional system should be executed without a database manager. So it is vital to install it.</p>
<p>To do this, run the following command:</p>
<pre>:~$ sudo dnf install mariadb-server</pre>
<figure id="attachment_30369" aria-describedby="caption-attachment-30369" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-30369 size-full" src="https://www.osradar.com/wp-content/uploads/2019/11/4-15.png" alt="4.- Installing MariaDB and LAMP stack on Fedora 34" width="1365" height="715" srcset="https://www.osradar.com/wp-content/uploads/2019/11/4-15.png 1365w, https://www.osradar.com/wp-content/uploads/2019/11/4-15-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/4-15-1024x536.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/4-15-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/4-15-696x365.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/4-15-1068x559.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-30369" class="wp-caption-text">4.- Installing MariaDB and LAMP stack on Fedora 34</figcaption></figure>
<p>Then, at the end of the installation, start the service as with Httpd.</p>
<pre>:~$ sudo systemctl start mariadb</pre>
<p>And if you want it to run at system startup, just run this command:</p>
<pre>:~$ sudo systemctl enable mariadb</pre>
<p>Now, you have to secure the installation with the mysql_secure_installation script. With this script you will be able to define a root password and other small configurations.</p>
<pre>:~$ sudo mysql_secure_installation</pre>
<p>After defining the root password you will be asked other configuration questions. I answered yes to everything.</p>
<pre class="">Remove anonymous users? [Y/n] Y 
Disallow root login remotely? [Y/n] Y
Remove test database and access to it? [Y/n] Y
Reload privilege tables now? [Y/n] y</pre>
<p>Now, you have the LAMP stack installed in Fedora 34 without problems.</p>
<h2>Conclusion</h2>
<p>The LAMP stack is a set of vital applications to have a basic and functional web server. It is the basis for most web applications. And it is necessary for the development of applications and to serve them. Each one of the elements of the stack can be installed without problems but its administration would give for many articles. Anyway today you have learned to deploy it in its basic form.</p>


<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-lamp-stack-on-fedora-34/">How to install the LAMP stack 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-lamp-stack-on-fedora-34/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>How to install the latest version of GIT on Fedora 34 / 33?</title>
		<link>https://www.osradar.com/install-the-latest-version-git-fedora/</link>
					<comments>https://www.osradar.com/install-the-latest-version-git-fedora/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 26 May 2021 22:12:00 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[fedora 31]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[latest version]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=15741</guid>

					<description><![CDATA[<p>In this short post, you will learn how to install the latest version of Git on Fedora 34 step by step. As time goes by, the versions of the programs that come in the repositories of the Linux distributions become old. Similarly, program developers often release new versions with new features or bug fixes and [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-the-latest-version-git-fedora/">How to install the latest version of GIT on Fedora 34 / 33?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>In this short post,<strong> you will learn how to install the latest version of Git on <a href="https://www.osradar.com/from-fedora-33-fedora-34/" target="_blank" rel="noreferrer noopener">Fedora 34</a> step by step</strong>.</p>



<p>As time goes by, the versions of the programs that come in the repositories of the Linux distributions become old. Similarly, program developers often release new versions with new features or bug fixes and we miss them.</p>



<p><a href="https://git-scm.com/">Git</a> is a program with quite active development and that requires to be always updated to have news and security fixes. So it is better to do it. And the best way to do it is to compile the source code of the application yourself.</p>



<p>Let us get started.</p>



<h2>Installing the latest version of GIT on Fedora 34/33?</h2>



<p>A great way to get the latest stable version of any open source program is to compile the source code. Don&#8217;t be frightened by the word compile, in fact it&#8217;s pretty easy to do.</p>



<p>Open a terminal session and install the necessary libraries to compile GIT. Some are SSL, CURL, ZLIB and others.</p>



<pre class="wp-block-preformatted">:~$ sudo dnf install curl-devel expat-devel gettext-devel openssl-devel zlib-devel</pre>



<figure class="wp-block-image alignnone size-large size-full wp-image-15866"><img loading="lazy" width="1024" height="460" src="https://www.osradar.com/wp-content/uploads/2021/04/1_1-1024x460.png" alt="1.- Installing some required packages" class="wp-image-30282" srcset="https://www.osradar.com/wp-content/uploads/2021/04/1_1-1024x460.png 1024w, https://www.osradar.com/wp-content/uploads/2021/04/1_1-300x135.png 300w, https://www.osradar.com/wp-content/uploads/2021/04/1_1-768x345.png 768w, https://www.osradar.com/wp-content/uploads/2021/04/1_1-696x313.png 696w, https://www.osradar.com/wp-content/uploads/2021/04/1_1-1068x480.png 1068w, https://www.osradar.com/wp-content/uploads/2021/04/1_1.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Installing some required packages</figcaption></figure>



<p>In a normal Fedora 33 installation the basic compiling tools are not incorporated. These tools are necessary to comply with our tutorial. To install them, run the following command:</p>



<pre class="wp-block-preformatted">:~$ sudo dnf groupinstall "Development Tools"</pre>



<figure class="wp-block-image alignnone size-large wp-image-15867 size-full"><img loading="lazy" width="1024" height="536" src="https://www.osradar.com/wp-content/uploads/2021/04/2_2-1024x536.png" alt="2.- Installing the development tools" class="wp-image-30283" srcset="https://www.osradar.com/wp-content/uploads/2021/04/2_2-1024x536.png 1024w, https://www.osradar.com/wp-content/uploads/2021/04/2_2-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2021/04/2_2-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2021/04/2_2-696x364.png 696w, https://www.osradar.com/wp-content/uploads/2021/04/2_2-1068x559.png 1068w, https://www.osradar.com/wp-content/uploads/2021/04/2_2.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Installing the development tools</figcaption></figure>



<p>We will now proceed to download the GIT source code using wget. So make sure you have it installed:</p>



<pre class="wp-block-preformatted">:~$ sudo dnf install wget</pre>



<p>And then download the GIT source code. At the time of this tutorial, the most recent version is 2.31.1. But surely in the future, it will change.</p>



<pre class="wp-block-preformatted">:~$ wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.31.1.tar.gz</pre>



<p>Then, unzip the file using tar.</p>



<pre class="wp-block-preformatted">:~$ tar -zxf git-2.31.1.tar.gz</pre>



<pre class="wp-block-preformatted">A folder named git-2.31.1 will be created. Access it and start the process.

:~$ cd git-2.31.1
:~$ make prefix=/usr/local all</pre>



<p>Finally, install it.</p>



<pre class="wp-block-preformatted">:~$ sudo make prefix=/usr/local install</pre>



<p>So, that is it. Just use GIT and check the installed version.</p>



<pre class="wp-block-preformatted">:~$ git --version
git version 2.31.1</pre>



<h2>Conclusion</h2>



<p>GIT is a basic application for a developer and getting the latest stable version is a great help to enjoy this tool to the fullest. Let&#8217;s think that this trial will become more valid when recent versions start to come out and the version of the official repositories becomes obsolete.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-the-latest-version-git-fedora/">How to install the latest version of GIT on Fedora 34 / 33?</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-the-latest-version-git-fedora/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install PostgreSQL on Fedora 34?</title>
		<link>https://www.osradar.com/install-postgresql-fedora-34/</link>
					<comments>https://www.osradar.com/install-postgresql-fedora-34/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 14 May 2021 03:11:00 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=11983</guid>

					<description><![CDATA[<p>We are celebrating the launch of Fedora 34. So we are aware that many developers use it to do their daily work. So they probably need to install some database manager. We recently explained how to install Lamp in Fedora and there you could learn how to install MariaDB. However, it is true that many [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-postgresql-fedora-34/">How to install PostgreSQL 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><a href="https://www.osradar.com/fedora-34-released/" target="_blank" rel="noopener">We are celebrating the launch of Fedora 34</a>. So we are aware that many developers use it to do their daily work. So they probably need to install some database manager. We recently explained how to install Lamp in Fedora and there you could learn how to install MariaDB. However, it is true that many developers prefer to use PostgreSQL because of its performance. So, in this post, I will teach you how to install PostgreSQL on Fedora 34.</p>
<p>It is not necessary talk much about <a href="https://www.postgresql.org/" target="_blank" rel="noopener noreferrer">PostgreSQL</a>. However, very briefly I will explain you what it is. It is a <a href="https://www.osradar.com/tag/sql/" target="_blank" rel="noopener noreferrer">SQL</a> database manager, open source and well known by application developers. Mainly because it has a considerably superior performance to others like MariaDB or MySQL. So we will have enterprise power in a community program. Sounds good, no?</p>
<p>PostgreSQL has an updated repository for Fedora. However, due to the recent release of Fedora 34, version 11 is available. So in this sense we will have no problems.</p>
<h2>Install PostgreSQL on Fedora 34</h2>
<p>While PostgreSQL is an application, it has many additional libraries to extend its functionality. Or, to make it work with other programming languages such as <a href="https://www.osradar.com/integrate-the-javadoc-to-netbeans/" target="_blank" rel="noopener noreferrer">Java</a>, Python, C++ or PHP. In addition, we can have access to other libraries of the program for development.</p>
<p>So, first of all, I am going to use DNF the Fedora package manager to look for all PostgreSQL related packages.</p>
<pre>:~$ sudo dnf search postgresql</pre>
<p><figure id="attachment_29991" aria-describedby="caption-attachment-29991" style="width: 1196px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-29991 size-full" src="https://www.osradar.com/wp-content/uploads/2019/05/1-17.png" alt="Using DNF for search PostgreSQL" width="1196" height="709" srcset="https://www.osradar.com/wp-content/uploads/2019/05/1-17.png 1196w, https://www.osradar.com/wp-content/uploads/2019/05/1-17-300x178.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/1-17-1024x607.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/1-17-768x455.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/1-17-696x413.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/1-17-1068x633.png 1068w" sizes="(max-width: 1196px) 100vw, 1196px" /><figcaption id="caption-attachment-29991" class="wp-caption-text">Using DNF for search PostgreSQL</figcaption></figure></p>
<p>As you can see, there are many packages related to PostgreSQL. But as I said before, they refer to libraries needed to extend the functionality.</p>
<p>Now, let&#8217;s install it.</p>
<pre>:~$ sudo dnf install postgresql-server</pre>
<p><figure id="attachment_29992" aria-describedby="caption-attachment-29992" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-29992 size-full" src="https://www.osradar.com/wp-content/uploads/2019/05/2-16.png" alt="2.- Install PostgreSQL on Fedora 34" width="1365" height="485" srcset="https://www.osradar.com/wp-content/uploads/2019/05/2-16.png 1365w, https://www.osradar.com/wp-content/uploads/2019/05/2-16-300x107.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/2-16-1024x364.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/2-16-768x273.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/2-16-696x247.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/2-16-1068x379.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-29992" class="wp-caption-text">2.- Install PostgreSQL on Fedora 34</figcaption></figure></p>
<p>Then you have to prepare PostgreSQL for the first use. So, we have to init the database and then, start the service. After that, test it.</p>
<pre>:~$ sudo /usr/bin/postgresql-setup --initdb</pre>
<p><figure id="attachment_29993" aria-describedby="caption-attachment-29993" style="width: 736px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-29993 size-full" src="https://www.osradar.com/wp-content/uploads/2019/05/3-14.png" alt="3.- Initialize the sample database" width="736" height="148" srcset="https://www.osradar.com/wp-content/uploads/2019/05/3-14.png 736w, https://www.osradar.com/wp-content/uploads/2019/05/3-14-300x60.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/3-14-696x140.png 696w" sizes="(max-width: 736px) 100vw, 736px" /><figcaption id="caption-attachment-29993" class="wp-caption-text">3.- Initialize the sample database</figcaption></figure></p>
<p>Next, enable and start the service.</p>
<pre>:~$ sudo systemctl enable postgresql
Created symlink /etc/systemd/system/multi-user.target.wants/postgresql.service → /usr/lib/systemd/system/postgresql.service.
:~$ sudo systemctl start postgresql</pre>
<p>Now, test the installation.</p>
<pre>:~$ sudo su - postgres</pre>
<p>And access to the PostgreSQL console.</p>
<pre>:~$ psql</pre>
<p>Then, list all databases.</p>
<pre>:~$ \l</pre>
<p><figure id="attachment_29994" aria-describedby="caption-attachment-29994" style="width: 960px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-29994 size-full" src="https://www.osradar.com/wp-content/uploads/2019/05/4-11.png" alt="4.- PostgreSQL is correctly installed on Fedora 34" width="960" height="309" srcset="https://www.osradar.com/wp-content/uploads/2019/05/4-11.png 960w, https://www.osradar.com/wp-content/uploads/2019/05/4-11-300x97.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/4-11-768x247.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/4-11-696x224.png 696w" sizes="(max-width: 960px) 100vw, 960px" /><figcaption id="caption-attachment-29994" class="wp-caption-text">4.- PostgreSQL is correctly installed on Fedora 34</figcaption></figure></p>
<p>So, PostgreSQL is correctly installed.</p>
<h2>Conclusion</h2>
<p>PostgreSQL is a great database manager and today you have learned how to install it in Fedora 34. So as you can see it&#8217;s quite easy, just share this post with your friends.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-postgresql-fedora-34/">How to install PostgreSQL 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-postgresql-fedora-34/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
