<?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>Servers Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/category/servers/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 31 Dec 2021 00:56:07 +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>What is the difference between FTP and SFTP?</title>
		<link>https://www.osradar.com/what-is-the-difference-between-ftp-and-sftp/</link>
					<comments>https://www.osradar.com/what-is-the-difference-between-ftp-and-sftp/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Thu, 13 Jan 2022 10:54:00 +0000</pubDate>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[ftp clients]]></category>
		<category><![CDATA[ftp server]]></category>
		<category><![CDATA[SFTP]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=34219</guid>

					<description><![CDATA[<p>Hello! In computer science, there are numerous acronyms that are commonly used. However, not all the time you know what they mean. Although some can be more complicated than others, today we will talk specifically about the differences between FTP and SFTP. Files Transfer Protocol is a protocol created to be able to transfer information [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/what-is-the-difference-between-ftp-and-sftp/">What is the difference between FTP and SFTP?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello! In computer science, there are numerous acronyms that are commonly used. However, not all the time you know what they mean. Although some can be more complicated than others, today we will talk specifically about the differences between FTP and SFTP. Files Transfer Protocol is a protocol created to be able to transfer information between different systems. Within the hosting ecosystem, it is very relevant because it is an ally to upload or download information to our hosting in a quick and easy way. Certainly, the use of hosting is relatively new. However, this protocol was born in 1974. Although it was originally intended for other purposes, its operation evolved to its present form in 1985.</p>



<h2>How FTP works.</h2>



<p>FTP is based on a client-server configuration. Therefore, it allows you to transmit information regardless of the operating system you use. Even the system used by the hosting provider (<a href="https://www.microsoft.com/en-us/software-download/windows10" target="_blank" rel="noreferrer noopener">Windows</a>, Linux, MAC, etc.) is not relevant. To be able to use it, it is necessary to have a <a href="https://www.osradar.com/how-to-install-ftp-servers-in-windows-10/" target="_blank" rel="noreferrer noopener">server</a> and also a <a href="https://www.osradar.com/the-best-ftp-clients-for-windows/" target="_blank" rel="noreferrer noopener">client.</a> Check our tutorials to learn more about each type.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="800" height="800" src="https://www.osradar.com/wp-content/uploads/2021/12/sf.png" alt="" class="wp-image-34225" srcset="https://www.osradar.com/wp-content/uploads/2021/12/sf.png 800w, https://www.osradar.com/wp-content/uploads/2021/12/sf-300x300.png 300w, https://www.osradar.com/wp-content/uploads/2021/12/sf-150x150.png 150w, https://www.osradar.com/wp-content/uploads/2021/12/sf-768x768.png 768w, https://www.osradar.com/wp-content/uploads/2021/12/sf-696x696.png 696w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<p>The communication is initiated when a connection is made from the client to the server. In addition, this connection is negotiated through the network port 21, also called control port. However, this will not be the port through which the information will be sent or downloaded. Indeed, this depends on the FTP mode selected.</p>



<h2>FTP modes</h2>



<p><strong>Active mode:</strong> the server opens the initial connection. Consequently, it opens the connection on its port 20 and connects to the client on a random port greater than 1024. Moreover, this port is specified by the FTP client itself. Note that this is the least recommended option. Indeed, its use implies having a fairly wide range of ports open on your computer. It certainly carries many security risks.</p>



<p><strong>Passive mode: </strong>the client opens the initial connection. In addition, it is the server that indicates which port to open. It will always be done on a network port greater than 1024 of the servers. Therefore, it is not necessary to have open ports on the computer. This is logical, since it will be the server that will open the connection.</p>



<p>We have already mentioned that the FT protocol was created several years ago. Even before hackers existed. Therefore, it was not recognized as a secure protocol. In fact, the information that travels between computer and server is in plain text. That is, without any kind of encryption.</p>



<h2>What does the lack of encryption imply?</h2>



<p>Well, this implies a considerable risk that the data will be captured. Indeed, an attacker could see our connection data and even view the information we are uploading. Even worse, they could download it using a Sniffer type software. These tools are capable of scanning the network for vulnerabilities.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="512" height="512" src="https://www.osradar.com/wp-content/uploads/2021/12/sf3.png" alt="" class="wp-image-34227" srcset="https://www.osradar.com/wp-content/uploads/2021/12/sf3.png 512w, https://www.osradar.com/wp-content/uploads/2021/12/sf3-300x300.png 300w, https://www.osradar.com/wp-content/uploads/2021/12/sf3-150x150.png 150w" sizes="(max-width: 512px) 100vw, 512px" /></figure>



<p>Suppose you make a connection using plain FTP. As a result, you will see a warning that the connection is not secure. We have established that the FTP connection is not secure at all. Because of this, two secure versions were subsequently born: FTPS and SFTP. Although they are almost the same acronym, they are not at all the same. Let&#8217;s take a look at what each one consists of.</p>



<h2>Secure versions of FTP: FTPS and SFTP</h2>



<h3>What is FTPS?</h3>



<p>FTPS works in the same way as conventional FTP. However, the main difference is that it has an SSL/TLS encryption layer underneath. Also, this layer is provided by a security certificate. It is known as Secure FTP and there are two types of connection:</p>



<ul><li><strong>Explicit FTPS: </strong>This is the month used. In addition, we also recommend its use. A normal, unencrypted connection is made. However, before sending any sensitive data, TLS negotiation is required to encrypt the connection.</li><li><strong>Implicit FTPS:</strong> It is in disuse. In fact, it is not available on most servers. The negotiation of the secure connection is done before any FTP command is sent.</li></ul>



<h3>What is SFTP?</h3>



<p>SFTP is a wholly different protocol from conventional FTP. Indeed, it is based on the SSH (Secure Shell) protocol. In addition, the entire connection is encrypted and made through network port 22. They differ not only in encryption. Additionally, it is a protocol with more functionalities than conventional FTP. For example, we have the execution of CLI (Command Line Interface) commands.</p>



<p>SFTP stands for Secure File Transfer Protocol. Through it, we can exchange encrypted data between the client and the server. It uses Secure Shell (SSH) for this purpose. In addition, we can not only transfer files via SFTP. Indeed, we can view directories, rename them or limit rights. An SFTP program allows you to upload files for your website to your webspace. We can even create a backup of the website with SFTP. With a SFTP program, you can also delete entire files and folders. Indeed, if you delete contents, they will no longer appear to visitors of your website. In short, SFTP is the successor to FTP. The major difference is greater security. This is indicated by the addition <em>Secure</em>.</p>



<h2>Conclusion</h2>



<p>Security is a fundamental concern in any technology environment. Certainly, in the world of hosting, it is an element that also depends on the provider. However, it is primarily an element to be taken care of by the user. Today we talked about the differences between FTP and SFTP. Logically, you may have noticed that the main difference is related to security. Therefore, it is not currently recommended using a conventional FTP connection to connect. There are certainly exceptions. For example, we can use them for specific cases for reasons of urgency. Mostly when we need a fast connection and do not have much time to configure it. Moreover, when the data to be shared is not sensitive.</p>



<p>Consequently, when you connect via FTP to upload or download data, remember to always do it via FTPS or SFTP. This way, we are taking care of our data. Please keep in mind that hackers are always on the prowl. Therefore, it is our duty to make things more difficult for them. See you soon!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/what-is-the-difference-between-ftp-and-sftp/">What is the difference between FTP and SFTP?</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/what-is-the-difference-between-ftp-and-sftp/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install and use vnStat on Debian 11 / 10</title>
		<link>https://www.osradar.com/vnstat-debian-monitoring-tool/</link>
					<comments>https://www.osradar.com/vnstat-debian-monitoring-tool/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 06 Oct 2021 23:14:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=29506</guid>

					<description><![CDATA[<p>Hello, friends. In this post, you will learn how to install and use vnStat on Debian 11 / 10. With this tool, you will be able to monitor a network interface quickly. What is vnStat? The best definition of Vnstat can be found on the project’s own website: vnStat is a console-based network traffic monitor [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/vnstat-debian-monitoring-tool/">Install and use vnStat 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>Hello, friends. In this post, you will learn how to install and use vnStat on Debian 11 / 10. With this tool, you will be able to monitor a network interface quickly.</p>



<h2 id="what-is-vnstat?"><a href="#what-is-vnstat?" name="what-is-vnstat?"></a>What is vnStat?</h2>



<p>The best definition of <a href="https://humdi.net/vnstat/" target="_blank" rel="noreferrer noopener">Vnstat</a> can be found on the project’s own website:</p>



<blockquote class="wp-block-quote"><p>vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s). It uses the network interface statistics provided by the kernel as an information source. This means that vnStat won’t actually be sniffing any traffic and also ensures light use of system resources regardless of network traffic rate.</p></blockquote>



<p>Therefore this tool is quite well known within the community and among sysadmins. It is quite simple to use and as you will see below it is easy to install.</p>



<h2 id="install-vnstat-on-debian-10"><a name="install-vnstat-on-debian-10" href="#install-vnstat-on-debian-10"></a>Install vnStat on Debian 11 / 10</h2>



<p>One of the fastest and most immediate ways to install vnStat on Debian 11 / 10 is to install it from the official repositories.</p>



<p>Although this is not the only way to get the program, it is the easiest method for newbies.</p>



<p>So, open a terminal or from an <a href="https://www.osradar.com/manages-ssh-connections-from-windows-10-with-putty/" target="_blank" rel="noreferrer noopener">SSH session</a>, install the security patches in the distribution:</p>



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



<p>Next, you can install the <code>vnStat</code> package as follows:</p>



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



<p>After it is installed, start the application service.</p>



<pre class="wp-block-preformatted">sudo systemctl start vnstat</pre>



<p>This will complete the installation and you will be able to use it.</p>



<h2 id="install-the-latest-version-of-vnstat-on-debian-10"><a name="install-the-latest-version-of-vnstat-on-debian-10" href="#install-the-latest-version-of-vnstat-on-debian-10"></a>Install the latest version of vnStat on Debian 11 / 10</h2>



<p>The previous method has a big problem and it is that the version that appears in the official repositories of Debian 11 / 10, is very outdated. So it is advisable to always install the latest version following these steps that I will describe.</p>



<p>First, install the packages needed to do the compilation, as well as some dependencies:</p>



<pre class="wp-block-preformatted">sudo apt install build-essential gcc make libsqlite3-dev</pre>



<p>Then download the latest stable version, which at the time of writing this post, is <code>2.8</code>.</p>



<pre class="wp-block-preformatted">wget https://humdi.net/vnstat/vnstat-2.8.tar.gz</pre>



<p>Decompress the downloaded file</p>



<pre class="wp-block-preformatted">tar -xvzf vnstat-2.8.tar.gz</pre>



<p>As a result of executing the above command, a folder called <code>vnstat-2.8</code> will be generated which you will need to access and from there configure the package for compilation:</p>



<pre class="wp-block-preformatted">cd vnstat-2.8
./configure --prefix=/usr --sysconfdir=/etc</pre>



<p>Now, compile the package and install it with this pair of commands:</p>



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



<p>If everything went well, you will be able to run the <code>vnstat</code> command and display, for example, the installed version:</p>



<pre class="wp-block-preformatted">vnstat -v</pre>



<p>Output:</p>



<pre class="wp-block-preformatted">vnStat 2.8 by Teemu Toivola &lt;tst at iki dot fi&gt;</pre>



<h2 id="using-the-vnstat-command"><a href="#using-the-vnstat-command" name="using-the-vnstat-command"></a>Using the vnStat command</h2>



<p>Before using the tool it is necessary to start the vnStat service. As we have installed it manually, there is no service installed so we have to create it.</p>



<p>Fortunately, to create it we will use the example file that comes with the code we have just compiled.</p>



<pre class="wp-block-preformatted">sudo cp -v examples/systemd/vnstat.service /etc/systemd/system/</pre>



<p>Refresh the list of services</p>



<pre class="wp-block-preformatted">sudo systemctl daemon-reload</pre>



<p>And now yes, enable it so it can start with the system and start the service</p>



<pre class="wp-block-preformatted">sudo systemctl enable vnstat
sudo systemctl start vnstat</pre>



<p>And check the status of the service</p>



<pre class="wp-block-preformatted">sudo systemctl status vnstat
● vnstat.service - vnStat network traffic monitor
     Loaded: loaded (/etc/systemd/system/vnstat.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2021-10-02 18:24:27 CEST; 11s ago
       Docs: man:vnstatd(8)
             man:vnstat(1)
             man:vnstat.conf(5)
   Main PID: 5939 (vnstatd)
      Tasks: 1 (limit: 2276)
     Memory: 612.0K
        CPU: 20ms
     CGroup: /system.slice/vnstat.service
             └─5939 /usr/sbin/vnstatd -n

Oct 02 18:24:27 osradar systemd[1]: Started vnStat network traffic monitor.
Oct 02 18:24:27 osradar vnstatd[5939]: Info: vnStat daemon 2.8 started. (pid:5939 uid:0 gid:0 64-bit)
Oct 02 18:24:27 osradar vnstatd[5939]: Info: Monitoring (1): eth0 (1000 Mbit)</pre>



<p>After waiting a few minutes, you can start using it.</p>



<pre class="wp-block-preformatted">vnstat</pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="868" height="341" src="https://www.osradar.com/wp-content/uploads/2021/04/1-7-e1633192273918.png" alt="1.- vnStat on Debian 11/ 10" class="wp-image-29537" srcset="https://www.osradar.com/wp-content/uploads/2021/04/1-7-e1633192273918.png 868w, https://www.osradar.com/wp-content/uploads/2021/04/1-7-e1633192273918-300x118.png 300w, https://www.osradar.com/wp-content/uploads/2021/04/1-7-e1633192273918-768x302.png 768w, https://www.osradar.com/wp-content/uploads/2021/04/1-7-e1633192273918-696x273.png 696w" sizes="(max-width: 868px) 100vw, 868px" /><figcaption>1.- vnStat on Debian 11/ 10</figcaption></figure>



<p>By default, it takes the active interface, but you can change it:</p>



<pre class="wp-block-preformatted">vnstat -i [interface]</pre>



<p>When an interface is monitored, a new database with logs is created. You can delete it and reset the statistics.</p>



<pre class="wp-block-preformatted">sudo vnstat -i [interface] --remove --force</pre>



<p>In this case, you have to specify the interface to monitor.</p>



<p>Enjoy it.</p>



<h2 id="conclusion"><a href="#conclusion" name="conclusion"></a>Conclusion</h2>



<p>So now you know how to install and use vnStat on Debian 11 / 10 This command although simple allows you to find answers to the operation of a network interface and to know if the behavior is as expected…</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/vnstat-debian-monitoring-tool/">Install and use vnStat 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/vnstat-debian-monitoring-tool/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install MariaDB 10.6 on Rocky Linux 8 / AlmaLinux 8 / CentOS 8?</title>
		<link>https://www.osradar.com/install-mariadb-10-6-rocky-linux/</link>
					<comments>https://www.osradar.com/install-mariadb-10-6-rocky-linux/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sat, 07 Aug 2021 00:45:00 +0000</pubDate>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mariadb]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=27495</guid>

					<description><![CDATA[<p>Rocky Linux 8 / AlmaLinux 8 / CentOS 8 is perhaps the most stable Linux distributions out there. This is because the packages that are part of the official repositories are frozen and tested many times by many people. However, this brings a consequence: that we will not be able to have the most recent [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-mariadb-10-6-rocky-linux/">How to install MariaDB 10.6 on Rocky Linux 8 / AlmaLinux 8 / CentOS 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>Rocky Linux 8 / AlmaLinux 8 / CentOS 8 is perhaps the most stable Linux distributions out there. This is because the packages that are part of the official repositories are frozen and tested many times by many people. However, this brings a consequence: that we will not be able to have the most recent versions of the programs. An example of this is MariaDB which is a vital program for many people.&nbsp;<strong>So, today I will show you how to install MariaDB 10.6 on Rocky Linux 8 / AlmaLinux 8 / CentOS 8.</strong></p>



<p><a href="https://www.osradar.com/tag/mariadb/" target="_blank" rel="noreferrer noopener">MariaDB</a>&nbsp;is a well-known archi Database Relationships Management System that is a&nbsp;<a href="https://www.osradar.com/tag/mysql/" target="_blank" rel="noreferrer noopener">MySQL</a>&nbsp;fork. This is due to the purchase of Sun Mycrosystem by Oracle. It is perfectly compatible with MySQL and is available in most Linux distributions.</p>



<p>In <a href="https://rockylinux.org/" target="_blank" rel="noreferrer noopener">Rocky Linux </a>8 / AlmaLinux 8 / CentOS 8 the version of MariaDB that is available in the official repositories is 10.3 but recently has seen the release of version 10.6 with some interesting new features.</p>



<p>So, if you want to take advantage of having a recent version of this database manager, then welcome.</p>



<h2>Install MariaDB 10.6 on Rocky Linux 8 / AlmaLinux 8 / CentOS 8</h2>



<p>MariaDB&#8217;s support with Linux is quite good and proof of this is that it provides us with a dedicated repository for   Rocky Linux 8 / AlmaLinux 8 / CentOS 8 to facilitate installation.</p>



<p>So, access your server or start a terminal session and update the system. In this post, I worked as the root user. Also, you can use sudo if your user has permission to do so.</p>



<pre class="wp-block-preformatted">dnf update</pre>



<p>And make sure you have installed the nano text editor</p>



<pre class="wp-block-preformatted">dnf install nano</pre>



<p>Then we have to create a new repository entry in the DNF configuration which is <code>/etc/yum.repos.d/</code></p>



<p>So, create a file called mariadb.repo</p>



<pre class="wp-block-preformatted">nano /etc/yum.repos.d/mariadb.repo</pre>



<p>And add the following information:</p>



<pre class="wp-block-preformatted">[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.6/rhel8-amd64
module_hotfixes=1
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1 </pre>



<p>Then save the changes and close the editor.</p>



<p>Now install MariaDB 10.6</p>



<pre class="wp-block-preformatted">dnf install mariadb-server</pre>



<p>During the installation, you will have to accept the GPG key from the repository and the installation will continue.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="104" src="https://www.osradar.com/wp-content/uploads/2021/01/1-17-1024x104.png" alt="2.- Installing MariaDB 10.6 on Rocky Linux 8 / AlmaLinux 8 / CentOS 8" class="wp-image-31572" srcset="https://www.osradar.com/wp-content/uploads/2021/01/1-17-1024x104.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/1-17-300x30.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/1-17-768x78.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/1-17-696x71.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/1-17-1068x108.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/1-17.png 1360w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Installing MariaDB 10.6 on Rocky Linux 8 / AlmaLinux 8 / CentOS 8</figcaption></figure>



<p>Then you have to start the MariaDB service:</p>



<pre class="wp-block-preformatted">systemctl start mariadb</pre>



<p>and proceed to the configuration with the <code>mariadb_secure_installation</code> script</p>



<pre class="wp-block-preformatted">mariadb_secure_installation
Switch to unix_socket authentication [Y/n] y
Remove anonymous users? [Y/n]
Disallow root login remotely? [Y/n]
Remove test database and access to it? [Y/n]
Reload privilege tables now? [Y/n]</pre>



<p>After the installation is complete, check the installed version:</p>



<pre class="wp-block-preformatted">mysql --version
mysql  Ver 15.1 Distrib 10.6.3-MariaDB, for Linux (x86_64) using readline 5.1</pre>



<p>So, you can enjoy MariaDB.</p>



<h2>Conclusion</h2>



<p>MariaDB 10.6 is a good improvement over previous versions. But it is not always available in the official repositories of other Linux distributions. Today you have learned how to install it in Rocky Linux 8 / AlmaLinux 8 / CentOS 8.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-mariadb-10-6-rocky-linux/">How to install MariaDB 10.6 on Rocky Linux 8 / AlmaLinux 8 / CentOS 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-mariadb-10-6-rocky-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Linux Kernel 5.13 on Rocky Linux 8 / AlmaLinux 8 /CentOS 8?</title>
		<link>https://www.osradar.com/how-to-install-linux-kernel-5-13-rocky-linux-alma-linux-centos/</link>
					<comments>https://www.osradar.com/how-to-install-linux-kernel-5-13-rocky-linux-alma-linux-centos/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 06 Aug 2021 04:46:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=27043</guid>

					<description><![CDATA[<p>Hello, friends. In this post, we will help you to install kernel 5.13 on Rocky Linux 8 / AlmaLinux 8 /. This post is oriented to users that use this system on the desktop and have some modern hardware. CentOS is one of the most solid and stable distribution that there is, but this has [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-linux-kernel-5-13-rocky-linux-alma-linux-centos/">How to install Linux Kernel 5.13 on Rocky Linux 8 / AlmaLinux 8 /CentOS 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>Hello, friends. In this post, we will help you to install kernel 5.13 on <a href="https://www.osradar.com/migrate-from-centos-to-rocky-linux/" target="_blank" rel="noreferrer noopener">Rocky Linux</a> 8 / <a href="https://www.osradar.com/how-to-migrate-from-centos-almalinux/" target="_blank" rel="noreferrer noopener">AlmaLinux </a>8 /. This post is oriented to users that use this system on the desktop and have some modern hardware.</p>



<p><a href="https://www.centos.org/" target="_blank" rel="noreferrer noopener">CentOS</a> is one of the most solid and stable distribution that there is, but this has a price to dispose of old packages. And one of them is the Linux kernel.</p>



<p>Currently, if you want to install Rocky Linux 8 / AlmaLinux 8 / CentOS 8, you will have to install version 4.18 and this is a problem for recent hardware. <strong>One case of this is AMD&#8217;s Ryzen processors that with each new version of the kernel have seen an improvement in performance and support</strong>. So, if you install Rocky Linux 8 / AlmaLinux 8 / CentOS 8 and your hardware is recent, it&#8217;s a good idea to do a kernel upgrade.</p>



<p>In this sense, the 5.13 kernel is supported by the Rocky Linux 8 / AlmaLinux 8 / CentOS 8 community. This guarantees an easy and safe installation. Also, this kernel is frequently patched by the community team bringing even more stability.</p>



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



<h2>Install Kernel 5.13 on Rocky Linux 8 / AlmaLinux 8 /CentOS 8</h2>



<p>Many people like to have the latest kernel installed so they can get the most out of the hardware they have. That&#8217;s why it&#8217;s in their best interest to know how to do it.</p>



<p>So, open a terminal and upgrade your distribution</p>



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



<p>You can execute these commands as the root user or with a sudo user.</p>



<p>Thanks to an external repository called <code>elrepo</code> we can have different versions of the kernel. For example, in this repository, we can install the latest available kernel or the LTS version of it. That is, the repository is very well maintained.</p>



<p>So, to add it to the system, just run the following command:</p>



<pre class="wp-block-preformatted">sudo dnf install https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm</pre>



<p>It then adds the GPG key from the repository in order to ensure that the packages are adequate and to indicate to the system that it is reliable.</p>



<pre class="wp-block-preformatted">sudo rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org</pre>



<p>And now yes, install the 5.13 kernel by running the following command.</p>



<p>We will also install some packages needed to develop with the kernel such as headers and devel.</p>



<pre class="wp-block-preformatted">sudo dnf --enablerepo=elrepo-kernel install kernel-ml kernel-ml-devel kernel-ml-headers</pre>



<p>At the end of the installation, restart the system</p>



<p>When you start again, check the changes:</p>



<pre class="wp-block-preformatted">uname -r
5.13.7-1.el8.elrepo.x86_64</pre>



<p>So, you already have the 5.13 kernel on CentOS 8.</p>



<h2>Conclusion</h2>



<p>The Linux kernel is an essential part of our system. Therefore, it is advisable to be careful when installing it. In addition, it is only recommended to install it if you have hardware failures or if you have a very recent one.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-linux-kernel-5-13-rocky-linux-alma-linux-centos/">How to install Linux Kernel 5.13 on Rocky Linux 8 / AlmaLinux 8 /CentOS 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/how-to-install-linux-kernel-5-13-rocky-linux-alma-linux-centos/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Reveal.js on Ubuntu 20.04 / Debian 10?</title>
		<link>https://www.osradar.com/install-revealjs-ubuntu-debian/</link>
					<comments>https://www.osradar.com/install-revealjs-ubuntu-debian/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 15 Jul 2021 02:20:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[NodeJS]]></category>
		<category><![CDATA[reveal.js]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=26753</guid>

					<description><![CDATA[<p>Hello, friends. In this post, you will learn how to install reveal.js on Ubuntu 20.04 / Debian 10. With this software, you will be able to create presentations using HTML and CSS. reveal.js is an open-source HTML presentation framework. It&#8217;s a tool that enables anyone with a web browser to create fully-featured and beautiful presentations [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-revealjs-ubuntu-debian/">How to install Reveal.js on Ubuntu 20.04 / Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, friends. In this post, you will learn how to install reveal.js on Ubuntu 20.04 / Debian 10. With this software, you will be able to create presentations using HTML and CSS.</p>



<p><a href="https://revealjs.com/" target="_blank" rel="noreferrer noopener">reveal.js</a> is an open-source HTML presentation framework. It&#8217;s a tool that enables anyone with a web browser to create fully-featured and beautiful presentations for free.</p>



<p>Presentations made with reveal.js are built on open web technologies. That means anything you can do on the web, you can do in your presentation. Change styles with CSS, include an external web page using an &lt;iframe&gt; or add your own custom behavior using our JavaScript API.</p>



<p>So in these times of pandemic, this tool can be quite useful for many students and teachers.</p>



<h2>Install Reveal.js on Ubuntu 20.04 / Debian 10</h2>



<h3>1.- Install required packages</h3>



<p>Before starting the installation of Reveal.js it is necessary to install some packages first.</p>



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



<pre class="wp-block-preformatted">sudo apt install curl gnupg2 unzip git</pre>



<p>Now we have to install <a href="https://www.osradar.com/how-to-install-node-js-on-ubuntu-20-04/" target="_blank" rel="noreferrer noopener">NodeJS</a> version 14. For this, we have to add the nodejs repository.</p>



<pre class="wp-block-preformatted">curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -</pre>



<p>This will start the whole process of adding the repository along with its GPG key.</p>



<p>Once the process is finished, you can install NodeJS</p>



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



<p>You can check the installed version by running the following command:</p>



<pre class="wp-block-preformatted">node -v</pre>



<p>Output:</p>



<pre class="wp-block-preformatted">v14.17.2</pre>



<h3>2.- Download and install Reveal.js on Ubuntu 20.04 / Debian 10</h3>



<p>Now we can start the download and for that, we&#8217;ll clone the Reveal.js repository with Git.</p>



<pre class="wp-block-preformatted">git clone https://github.com/hakimel/reveal.js.git</pre>



<p>Once the cloning is done, we will have a folder called revel.js access it and install the application.</p>



<pre class="wp-block-preformatted">cd reveal.js
sudo npm install</pre>



<p>After you have installed all the dependencies of the application, you can run it using the following command.</p>



<pre class="wp-block-preformatted">npm start</pre>



<p>And you will get a screen output similar to this one:</p>



<pre class="wp-block-preformatted">   reveal.js@4.1.3 start /home/angelo/reveal.js
   gulp serve 
 [22:31:04] Using gulpfile ~/reveal.js/gulpfile.js
 [22:31:04] Starting 'serve'…
 [22:31:04] Starting server…
 [22:31:04] Server started http://0.0.0.0:8000
 [22:31:04] LiveReload started on port 35729
 [22:31:04] Running server</pre>



<p>This indicates that reveal is running through port <code>8000</code> which is the default port. You can also change this port by using the <code>--port</code></p>



<pre class="wp-block-preformatted">npm start -- --port=8001</pre>



<p>Optionally, you can create a new system service to manage reveal.</p>



<pre class="wp-block-preformatted">sudo nano /lib/systemd/system/reveal.service</pre>



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



<pre class="wp-block-preformatted">[Service]
Type=simple
User=root
Restart=on-failure
WorkingDirectory=/home/angelo/reveal.js
ExecStart=npm start</pre>



<p>Save the changes, close the editor. And refresh systemd. Please replace <code>angelo </code>with the current user </p>



<pre class="wp-block-preformatted">sudo systemctl daemon-reload</pre>



<p>Now you can start, stop, and enable it as a system service.</p>



<p>Now, open your web browser and go to <code>http://your-server:8000</code> and you will see the default reveal.js presentation which indicates that the installation has been a success.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="523" src="https://www.osradar.com/wp-content/uploads/2020/12/3-6-1024x523.png" alt="2.- Reveal.js on Ubuntu 20.04" class="wp-image-26866" srcset="https://www.osradar.com/wp-content/uploads/2020/12/3-6-1024x523.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/3-6-300x153.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/3-6-768x392.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/3-6-696x356.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/3-6-1068x546.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/3-6.png 1364w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Reveal.js on Ubuntu 20.04</figcaption></figure>



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



<h2>Conclusion</h2>



<p>In this time of the pandemic, in many places education has become distant. Well, there are many tools to help with this. One of them is to reveal that it is presented to us as a great alternative to PowerPoint for the creation of presets.</p>



<p>So, now you know how to install it. You can now create fantastic presentations using web technologies.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-revealjs-ubuntu-debian/">How to install Reveal.js on Ubuntu 20.04 / Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-revealjs-ubuntu-debian/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install Ajenti Control Panel on Ubuntu 20.04 / Debian 10</title>
		<link>https://www.osradar.com/install-ajenti-control-panel-ubuntu-debian/</link>
					<comments>https://www.osradar.com/install-ajenti-control-panel-ubuntu-debian/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 28 Jun 2021 23:51:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[admin panel]]></category>
		<category><![CDATA[ajenti]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[panel]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=27112</guid>

					<description><![CDATA[<p>Hello, friends. In this post, you will learn how to install Ajenti on Ubuntu 20.04 / Debian 10. The process is so quick and easy that you will be surprised. I&#8217;m sure you will be surprised. According to the project website: Ajenti is An admin&#8217;s tool for a more civilized age, providing you with a [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-ajenti-control-panel-ubuntu-debian/">Install Ajenti Control Panel on Ubuntu 20.04 / Debian 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, friends. In this post, you will learn how to install Ajenti on Ubuntu 20.04 / Debian 10. The process is so quick and easy that you will be surprised. I&#8217;m sure you will be surprised.</p>



<p>According to the <a href="https://ajenti.org/" target="_blank" rel="noreferrer noopener">project website</a>:</p>



<blockquote class="wp-block-quote"><p>Ajenti is An admin&#8217;s tool for a more civilized age, providing you with a fast and secure way to manage a remote Linux box at any time using everyday tools like a web terminal, text editor, file manager and others.</p></blockquote>



<p>The application is open source but has two licenses. An open one that we can use in personal projects but if you want to use it in production environments then it becomes paid.</p>



<p>In any case, we are talking about a solid, robust project that is always active. Thanks to being created with state-of-the-art technology such as Python, Angular.JS, or GEvent the application does not consume many resources. This makes it ideal for almost any environment.</p>



<h2>Install Ajenti Control Panel on Ubuntu 20.04 / Debian 10</h2>



<p>There are two ways to install Ajenti. One is through an automated script that makes the process bearable. The other is by hand which is a little more tedious but not too difficult either.</p>



<h3>Method 1</h3>



<p>First, open a terminal or start an SSH session and update the system</p>



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



<p>And then execute this command to download and run the script</p>



<pre class="wp-block-preformatted">curl https://raw.githubusercontent.com/ajenti/ajenti/master/scripts/install.sh | sudo bash -s -</pre>



<p>With this script, you can make an automatic installation of Ajenti and it is a very easy and safe method.</p>



<h3>Method 2:</h3>



<p>However, there is a manual installation method that can be used on other operating systems and gives more control over the process.</p>



<p>So, install the necessary dependencies:</p>



<pre class="wp-block-preformatted">sudo apt-get install build-essential python3-pip python3-dev python3-lxml libssl-dev python3-dbus python3-augeas python3-apt ntpdate</pre>



<p>Then, update <a href="https://www.osradar.com/how-to-install-pip-on-ubuntu-20-04/" target="_blank" rel="noreferrer noopener">PIP</a>.</p>



<pre class="wp-block-preformatted">sudo pip3 install setuptools pip wheel -U</pre>



<p>And finally install Ajenti using the following command:</p>



<pre class="wp-block-preformatted">sudo pip3 install ajenti-panel ajenti.plugin.augeas ajenti.plugin.auth-users ajenti.plugin.core ajenti.plugin.dashboard ajenti.plugin.datetime ajenti.filemanager ajenti.plugin filesystem ajenti.plugin.network ajenti.plugin.notepad ajenti.plugin.packages ajenti.plugin.passwd ajenti.plugin.plugins ajenti.power ajenti.plugin.services ajenti.plugin.settings ajenti.plugin.terminal</pre>



<p>You will receive a message like this at the end of the execution.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="172" src="https://www.osradar.com/wp-content/uploads/2020/12/0-1024x172.png" alt="1.- Ajenti installed" class="wp-image-27166" srcset="https://www.osradar.com/wp-content/uploads/2020/12/0-1024x172.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/0-300x50.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/0-768x129.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/0-696x117.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/0-1068x179.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/0.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Ajenti installed</figcaption></figure>



<p>You can now manage Ajenti as a system service using systemctl</p>



<p>Then, you can open it with the following address <code>https://your-server:8000</code> and you will see the Login screen.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="525" src="https://www.osradar.com/wp-content/uploads/2020/12/1-13-1024x525.png" alt="2.- Ajenti Login screen" class="wp-image-27167" srcset="https://www.osradar.com/wp-content/uploads/2020/12/1-13-1024x525.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/1-13-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/1-13-768x394.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/1-13-696x357.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/1-13-1068x547.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/1-13.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Ajenti Login screen</figcaption></figure>



<p>Enter the credentials of any user of the system and finally, you will see the dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="525" src="https://www.osradar.com/wp-content/uploads/2020/12/2-12-1024x525.png" alt="3.- Ajenti dashboard" class="wp-image-27169" srcset="https://www.osradar.com/wp-content/uploads/2020/12/2-12-1024x525.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/2-12-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/2-12-768x394.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/2-12-696x357.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/2-12-1068x547.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/2-12.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>3.- Ajenti dashboard</figcaption></figure>



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



<h2>Conclusion</h2>



<p>Ajentni is an interesting project that provides us with a quite simple and powerful control panel. Thanks to Python and Javascript we have a modern application that will help us with our servers.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-ajenti-control-panel-ubuntu-debian/">Install Ajenti Control Panel on Ubuntu 20.04 / Debian 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-ajenti-control-panel-ubuntu-debian/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Microsoft SQL Server on Ubuntu 20.04 / Debian 10?</title>
		<link>https://www.osradar.com/microsoft-sql-server-ubuntu-debian/</link>
					<comments>https://www.osradar.com/microsoft-sql-server-ubuntu-debian/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 24 Jun 2021 02:41:00 +0000</pubDate>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=29285</guid>

					<description><![CDATA[<p>Hello, friends. In this post, you will learn how to install Microsoft SQL Server on Ubuntu 20.04 / Debian 10 Although in Linux we have many OpenSource options this database manager is quite good and is still used by many companies today. In terms of proprietary database managers perhaps Oracle Database, IBM DB2, and Microsoft [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/microsoft-sql-server-ubuntu-debian/">How to install Microsoft SQL Server on Ubuntu 20.04 / Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, friends. In this post, you will learn how to install Microsoft SQL Server on Ubuntu 20.04 / Debian 10 Although in Linux we have many OpenSource options this database manager is quite good and is still used by many companies today.</p>



<p>In terms of proprietary database managers perhaps Oracle Database, IBM DB2, and Microsoft SQL Server are the most used and common options by many companies. They have the great advantage of having large companies behind them that provide a high level of support to their operations.</p>



<p>Also, there are other quite competent open-source options such as <a href="https://www.osradar.com/tag/mysql/" target="_blank" rel="noreferrer noopener">MySQL</a>, PostgreSQL, or <a href="https://www.osradar.com/install-percona-ubuntu-20-04/" target="_blank" rel="noreferrer noopener">Percona</a>. However, many companies still trust their data to proprietary options and the fact that we can install them in Ubuntu speaks well of our system. So let’s go for it.</p>



<h2 id="install-microsoft-sql-server-on-ubuntu-20.04"><a name="install-microsoft-sql-server-on-ubuntu-20.04" href="#install-microsoft-sql-server-on-ubuntu-20.04"></a>Install Microsoft SQL Server on Ubuntu 20.04 / Debian 10</h2>



<p>As you can imagine, SQL Server is not available in the official Ubuntu repositories but it is available through the repository offered by Microsoft.</p>



<p>So, open a terminal or connect via SSH and update the system:</p>



<pre class="wp-block-preformatted">sudo apt update
sudo apt upgrade
sudo apt install software-properties-common </pre>



<p>Then import the GPG key from the Microsoft repository.</p>



<pre class="wp-block-preformatted">sudo wget -qO- https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -</pre>



<p>After that, add the SQL Server repository as such.</p>



<pre class="wp-block-preformatted">sudo add-apt-repository "$(wget -qO- https://packages.microsoft.com/config/ubuntu/18.04/mssql-server-2019.list)"</pre>



<p>Next, refresh APT.</p>



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



<p>And now you can install Microsoft SQL Server by executing the following command:</p>



<pre class="wp-block-preformatted">sudo apt install mssql-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  gawk gdb libbabeltrace1 libc++1 libc++1-10 libc++abi1-10 libdw1 libmpfr6 libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib libsasl2-modules
  libsasl2-modules-gssapi-mit libsigsegv2 libsss-nss-idmap0 python-is-python2 python2 python2-minimal python2.7 python2.7-minimal
Suggested packages:
  gawk-doc gdb-doc clang libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql python2-doc python-tk python2.7-doc binutils binfmt-support
Recommended packages:
  libc-dbg libcc1-0 gdbserver
The following NEW packages will be installed:
  gawk gdb libbabeltrace1 libc++1 libc++1-10 libc++abi1-10 libdw1 libmpfr6 libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib libsasl2-modules
  libsasl2-modules-gssapi-mit libsigsegv2 libsss-nss-idmap0 mssql-server python-is-python2 python2 python2-minimal python2.7 python2.7-minimal
0 upgraded, 21 newly installed, 0 to remove and 29 not upgraded.
Need to get 235 MB of archives.
After this operation, 1,102 MB of additional disk space will be used.
Do you want to continue? [Y/n]</pre>



<p>This way it will be installed.</p>



<h2 id="preparing-microsoft-sql-server-for-the-first-use"><a href="#preparing-microsoft-sql-server-for-the-first-use" name="preparing-microsoft-sql-server-for-the-first-use"></a>Preparing Microsoft SQL Server for the first use</h2>



<p>During the installation process, you will notice that at the end, you will get an output screen similar to this one:</p>



<pre class="wp-block-preformatted">Setting up python-is-python2 (2.7.17-4) ...
Setting up libc++1:amd64 (1:10.0-50~exp1) ...
Setting up mssql-server (15.0.4102.2-4) ...

+--------------------------------------------------------------+
Please run 'sudo /opt/mssql/bin/mssql-conf setup'
to complete the setup of Microsoft SQL Server
+--------------------------------------------------------------+

Processing triggers for man-db (2.9.1-1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...</pre>



<p>In it, we are told that it is necessary to configure the application before using it and it even tells us the command to start the configuration.</p>



<pre class="wp-block-preformatted">sudo /opt/mssql/bin/mssql-conf setup
usermod: no changes
Choose an edition of SQL Server:
  1) Evaluation (free, no production use rights, 180-day limit)
  2) Developer (free, no production use rights)
  3) Express (free)
  4) Web (PAID)
  5) Standard (PAID)
  6) Enterprise (PAID) - CPU Core utilization restricted to 20 physical/40 hyperthreaded
  7) Enterprise Core (PAID) - CPU Core utilization up to Operating System Maximum
  8) I bought a license through a retail sales channel and have a product key to enter.

Details about editions can be found at
https://go.microsoft.com/fwlink/?LinkId=2109348&clcid=0x409

Use of PAID editions of this software requires separate licensing through a
Microsoft Volume Licensing program.
By choosing a PAID edition, you are verifying that you have the appropriate
number of licenses in place to install and run this software.

Enter your edition(1-8):</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="536" src="https://www.osradar.com/wp-content/uploads/2021/03/1-11-1024x536.png" alt="1.- Install Microsoft SQL Server on Ubuntu 20.04 / Debian 10" class="wp-image-29299" srcset="https://www.osradar.com/wp-content/uploads/2021/03/1-11-1024x536.png 1024w, https://www.osradar.com/wp-content/uploads/2021/03/1-11-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2021/03/1-11-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2021/03/1-11-696x365.png 696w, https://www.osradar.com/wp-content/uploads/2021/03/1-11-1068x559.png 1068w, https://www.osradar.com/wp-content/uploads/2021/03/1-11.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Install Microsoft SQL Server on Ubuntu 20.04 / Debian 10</figcaption></figure>



<p>The main configuration we have to do is to enter the license. In this case, I have used the <em>Developer</em> which is free and we can use it for the post.</p>



<p>Also, you have to accept the license terms and create the administrator key which has to be complex.</p>



<p>With this SQL Server will be installed but we are missing one more detail.</p>



<p>For now, you can check the status of the service to see if everything is in order:</p>



<pre class="wp-block-preformatted">sudo systemctl status mssql-server
● mssql-server.service - Microsoft SQL Server Database Engine
     Loaded: loaded (/lib/systemd/system/mssql-server.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2021-03-25 20:39:29 CET; 3min 59s ago
       Docs: https://docs.microsoft.com/en-us/sql/linux
   Main PID: 3175 (sqlservr)
      Tasks: 136
     Memory: 587.6M
     CGroup: /system.slice/mssql-server.service
             ├─3175 /opt/mssql/bin/sqlservr
             └─3218 /opt/mssql/bin/sqlservr</pre>



<h2 id="install-sql-server-tools-and-unixodbc"><a href="#install-sql-server-tools-and-unixodbc" name="install-sql-server-tools-and-unixodbc"></a>Install SQL Server tools and UnixODBC</h2>



<p>Although the Server is ready, we have to install other components like the Tools and fundamentally the <a href="http://www.unixodbc.org/" target="_blank" rel="noreferrer noopener">UnixODBC</a> connector without this we will not be able to make a connection with the server.</p>



<p>So, add the GPG key and the repository:</p>



<pre class="wp-block-preformatted">curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
OK
wget https://packages.microsoft.com/config/ubuntu/19.10/prod.list
sudo mv prod.list /etc/apt/sources.list.d/mssql-release.list</pre>



<p>After this, refresh APT to apply the change:</p>



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



<p>And finally, install both the UnixODBC connector and the Mssql-tools</p>



<pre class="wp-block-preformatted">sudo ACCEPT_EULA=Y apt install mssql-tools unixodbc-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  autoconf automake autotools-dev libgdbm-compat4 libltdl-dev libodbc1 libperl5.30 m4 msodbcsql17 odbcinst odbcinst1debian2 perl perl-modules-5.30 unixodbc
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc libtool gettext libtool-doc unixodbc-bin m4-doc perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl make
  libb-debug-perl liblocale-codes-perl
Recommended packages:
  libtool
The following NEW packages will be installed:
  autoconf automake autotools-dev libgdbm-compat4 libltdl-dev libodbc1 libperl5.30 m4 msodbcsql17 mssql-tools odbcinst odbcinst1debian2 perl perl-modules-5.30 unixodbc
  unixodbc-dev
0 upgraded, 16 newly installed, 0 to remove and 29 not upgraded.
Need to get 9,845 kB of archives.
After this operation, 53.9 MB of additional disk space will be used.
Do you want to continue? [Y/n]</pre>



<p>After the installation, add the directory to the <code>bash_profile</code> so that the command is available from the whole system.</p>



<pre class="wp-block-preformatted">echo 'export PATH="$PATH:/opt/mssql-tools/bin"' &gt;&gt; ~/.bash_profile</pre>



<p>In the end, you can connect to the shell by running:</p>



<pre class="wp-block-preformatted">sqlcmd -S 127.0.0.1 -U SA</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="549" height="93" src="https://www.osradar.com/wp-content/uploads/2021/03/2-9.png" alt="2.- SQL Server Shell" class="wp-image-29300" srcset="https://www.osradar.com/wp-content/uploads/2021/03/2-9.png 549w, https://www.osradar.com/wp-content/uploads/2021/03/2-9-300x51.png 300w" sizes="(max-width: 549px) 100vw, 549px" /><figcaption>2.- SQL Server Shell</figcaption></figure>



<p><strong>Note: if you cannot execute the command, log out and try again.</strong></p>



<p>Now you will be able to use Microsoft SQL Server on Ubuntu 20.04 / Debian 10</p>



<h2 id="conclusion"><a href="#conclusion" name="conclusion"></a>Conclusion</h2>



<p>Microsoft SQL Server is pretty good at what it does and that is why many companies have it as their database manager. Having it available on Ubuntu 20.04 / Debian 10 is not a difficult task and brings us even closer to the integration between Microsoft and Linux products.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/microsoft-sql-server-ubuntu-debian/">How to install Microsoft SQL Server on Ubuntu 20.04 / Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/microsoft-sql-server-ubuntu-debian/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to migrate from CentOS 8 to Rocky Linux 8.4</title>
		<link>https://www.osradar.com/migrate-from-centos-to-rocky-linux/</link>
					<comments>https://www.osradar.com/migrate-from-centos-to-rocky-linux/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 23 Jun 2021 00:13:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Rocky Linux]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=30796</guid>

					<description><![CDATA[<p>Hello, friends. We recently published the news that Rocky Linux 8.4 was available with a fully stable ISO. We are very happy about it because it joins AlmaLinux as a guarantor that the legacy of CentOS will not die. So, now in this post, we will tell you how to migrate from CentOS 8 to [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/migrate-from-centos-to-rocky-linux/">How to migrate from CentOS 8 to Rocky Linux 8.4</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, friends. <a href="https://www.osradar.com/rocky-linux-available/" target="_blank" rel="noreferrer noopener">We recently published the news </a>that Rocky Linux 8.4 was available with a fully stable ISO. We are very happy about it because it joins AlmaLinux as a guarantor that the legacy of CentOS will not die. So, now in this post, we will tell you <strong>how to migrate from CentOS 8 to Rocky Linux 8.4.</strong></p>



<p>As we all know Rocky Linux is one of the most anticipated distributions of this year. The so-called, with permission of AlmaLinux OS, the replacement for CentOS, is finally approaching us with a fully stable and production-ready version.</p>



<p>Ideally, if you are starting a new project, you will have to download the ISO image and install it from scratch, but if you have a production server, this may not be ideal. So the migration process although easy can always be problematic.</p>



<p>So, let&#8217;s get started.</p>



<h2>Migrate from CentOS 8 to Rocky Linux 8.4</h2>



<p>The process is quite simple thanks to a script that <a href="https://github.com/rocky-linux/rocky-tools/tree/main/migrate2rocky" target="_blank" rel="noreferrer noopener">the community has prepared</a>. So it shouldn&#8217;t take that long.</p>



<p>First, you have to completely upgrade your system. This step is essential for the success of the process.</p>



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



<p>Then, reboot the system to make sure all changes are applied including kernel-related changes.</p>



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



<p>After the system reboots, we can now download the script.</p>



<pre class="wp-block-preformatted">curl -O https://raw.githubusercontent.com/rocky-linux/rocky-tools/main/migrate2rocky/migrate2rocky.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 27069  100 27069    0     0   128k      0 --:--:-- --:--:-- --:--:--  128k</pre>



<p>Now give the script permissions to run</p>



<pre class="wp-block-preformatted">chmod +x migrate2rocky.sh</pre>



<p>Now, we can run it locally with the command</p>



<pre class="wp-block-preformatted">sudo bash migrate2rocky.sh -r</pre>



<p>This will start the whole migration process which may take some time depending on your computer resources and connection speed.</p>



<p>At the end, you will see a message like the following</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="807" height="165" src="https://www.osradar.com/wp-content/uploads/2021/06/1-8.png" alt="1.- Migrate from CentOS to Rocky Linux" class="wp-image-30804" srcset="https://www.osradar.com/wp-content/uploads/2021/06/1-8.png 807w, https://www.osradar.com/wp-content/uploads/2021/06/1-8-300x61.png 300w, https://www.osradar.com/wp-content/uploads/2021/06/1-8-768x157.png 768w, https://www.osradar.com/wp-content/uploads/2021/06/1-8-696x142.png 696w" sizes="(max-width: 807px) 100vw, 807px" /><figcaption>1.- Migrate from CentOS to Rocky Linux</figcaption></figure>



<p>And finish the process by rebooting the system</p>



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



<p>When it starts, you can verify the migration by running</p>



<pre class="wp-block-preformatted">cat /etc/os-release</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="790" height="281" src="https://www.osradar.com/wp-content/uploads/2021/06/2-6.png" alt="2.- Rocky Linux OS" class="wp-image-30805" srcset="https://www.osradar.com/wp-content/uploads/2021/06/2-6.png 790w, https://www.osradar.com/wp-content/uploads/2021/06/2-6-300x107.png 300w, https://www.osradar.com/wp-content/uploads/2021/06/2-6-768x273.png 768w, https://www.osradar.com/wp-content/uploads/2021/06/2-6-696x248.png 696w" sizes="(max-width: 790px) 100vw, 790px" /><figcaption>2.- Rocky Linux OS</figcaption></figure>



<p>So, enjoy it.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/migrate-from-centos-to-rocky-linux/">How to migrate from CentOS 8 to Rocky Linux 8.4</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/migrate-from-centos-to-rocky-linux/feed/</wfw:commentRss>
			<slash:comments>0</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>How to Shutdown Linux using the terminal?</title>
		<link>https://www.osradar.com/shutdown-linux-terminal/</link>
					<comments>https://www.osradar.com/shutdown-linux-terminal/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 17 Jun 2021 04:05:00 +0000</pubDate>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tricks]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=30611</guid>

					<description><![CDATA[<p>Hello, friends. In this post, we address a simple topic that although we always do it using a graphical interface, sometimes it is useful to do it from a terminal. So after reading this post, you will learn how to shutdown Linux from the terminal. Shutting down and restarting a computer is a simple and [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/shutdown-linux-terminal/">How to Shutdown Linux using the terminal?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, friends. In this post, we address a simple topic that although we always do it using a graphical interface, sometimes it is useful to do it from a terminal. So after reading this post, you will learn how to shutdown Linux from the terminal.</p>



<p>Shutting down and restarting a computer is a simple and routine task that is also important for the operating system. That is why we all do it.</p>



<p>Things can get complicated when we need to do it using the terminal because it is not a normal process. This may be needed when creating bash scripts or if some of our applications require it.</p>



<p>So for this, we have several commands and situations. Let&#8217;s go for it.</p>



<h2>How to Shutdown Linux</h2>



<p>To shutdown the computer immediately, you just have to run the following command</p>



<pre class="wp-block-preformatted">shutdown -h now</pre>



<p><strong>Note: this command has to be executed with root permissions or using the <code><a href="https://www.osradar.com/how-to-change-the-default-sudo-timeout/" target="_blank" rel="noreferrer noopener">sudo</a></code></strong> command.</p>



<p>This way, the system will immediately start the shutdown process.</p>



<p>Another way to do this is with the <code>poweroff</code> command.</p>



<pre class="wp-block-preformatted">poweroff</pre>



<p>Also, this command requires root privileges.</p>



<h3>shutdown Linux after a specified time</h3>



<p>Imagine you are downloading a file and you know approximately how much time is left. But you have to leave or do other things, you can &#8220;schedule&#8221; a system shutdown.</p>



<p>To do this, you can use the following syntax.</p>



<pre class="wp-block-preformatted">shutdown -h +[time]</pre>



<p>For example, if you want the system to shut down in 20 minutes, just run:</p>



<pre class="wp-block-preformatted">shutdown -h +20</pre>



<p>Also, you have to run the command with sudo or be root user.</p>



<h3>Shutdown Linux at a specific time</h3>



<p>On the other hand, if you know at what time you want to shut down the system, then you can also do it this way:</p>



<pre class="wp-block-preformatted">shutdown -h [time]</pre>



<p>Replace [time] with the exact time in 24H format. For example, if we want the system to shut down at 20:30 hrs.</p>



<pre class="wp-block-preformatted">shutdown -h 20:30</pre>



<h3>Reboot Linux</h3>



<p>The command to reboot the system is <code>shutdown</code> but adding the <code>-r</code> option</p>



<pre class="wp-block-preformatted">shutdown -r now</pre>



<p>Or you can schedule it for a specific time:</p>



<pre class="wp-block-preformatted">shutdown -r 20:30</pre>



<p>In the same way as with shutting down the system</p>



<h2>Conclusion</h2>



<p>It is always useful to know how to use the terminal and the utilities that we can take advantage of it. That&#8217;s why in this post, you learned how to do it hoping that it can always be useful to you.</p>



<p>More info: <a href="https://man7.org/linux/man-pages/man2/shutdown.2.html" target="_blank" rel="noreferrer noopener">Shutdown page</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/shutdown-linux-terminal/">How to Shutdown Linux using the terminal?</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/shutdown-linux-terminal/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
