<?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>CentOS Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/centos/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Thu, 12 Aug 2021 14:07:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to install 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 configure DHCP Server on RockyLinux 8 / AlmaLinux OS 8 / CentOS 8?</title>
		<link>https://www.osradar.com/configure-dhcp-server-rockylinux-almalinux-centos-8/</link>
					<comments>https://www.osradar.com/configure-dhcp-server-rockylinux-almalinux-centos-8/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sat, 31 Jul 2021 00:26:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[almalinux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[Rocky Linux]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=31413</guid>

					<description><![CDATA[<p>Hello friends. A DHCP server can solve a lot of problems in an internal network, that’s why it’s good to know how to configure it on a server. That’s why today I will show you how to configure a DHCP server on Rocky Linux 8 / AlmaLinux OS 8 / CentOS 8. What is DHCP? [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/configure-dhcp-server-rockylinux-almalinux-centos-8/">How to configure DHCP Server on RockyLinux 8 / AlmaLinux OS 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 class="has-line-data">Hello friends. A DHCP server can solve a lot of problems in an internal network, that’s why it’s good to know how to configure it on a server. That’s why today I will show you <strong>how to configure a DHCP server on Rocky Linux 8 / AlmaLinux OS 8 / CentOS 8.</strong></p>



<h2 class="code-line"><a id="What_is_DHCP_2"></a>What is DHCP?</h2>



<p class="has-line-data"><a href="https://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol" target="_blank" rel="noreferrer noopener">DHCP </a>(Dynamic Host Configuration Protocol) is a client-server network protocol that automatically assigns IP addresses within a set range. The DHCP server assigns IP addresses as they become free or unused by other members of the network. To achieve its goal a DHCP server can assign IP addresses as follows: Manual or static assignment: assigns an IP address to a specific machine. Automatic assignment: assigns an IP address to a client machine the first time it makes the request to the DHCP server and until the client releases it. And the third way to assign an IP address by a DHCP server is dynamic assignment.</p>



<p class="has-line-data">So, let’s start.</p>



<h2 class="code-line"><a id="Configuring_DHCP_on_Rocky_Linux_8__AlmaLinux_OS_8__CentOS_8_8"></a>Configuring DHCP Server on Rocky Linux 8 / AlmaLinux OS 8 / CentOS 8</h2>



<p class="has-line-data">Before we start we need to make sure that the server is fully up to date. So, connect to it and update it.</p>



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



<h3 class="code-line"><a id="Set_a_static_IP_address_on_Rocky_Linux_8__AlmaLinux_OS_8__CentOS_8_14"></a>Set a static IP address on Rocky Linux 8 / AlmaLinux OS 8 / CentOS 8</h3>



<p class="has-line-data">The DHCP server must have a static IP address. This is important for the host to be able to do the process well. So, this is our first step.</p>



<p class="has-line-data">If you need to know <a href="https://www.osradar.com/how-to-set-a-static-ip-address-on-centos-8-rhel-8-oracle-linux-8/">How to set a static IP address on Rocky Linux 8 / AlmaLinux OS 8 / CentOS 8</a> then you can do it through the post we have prepared for you.</p>



<p class="has-line-data">After that, you can continue</p>



<h3 class="code-line"><a id="Configuring_the_DHCP_server_22"></a>Configuring the DHCP server</h3>



<p class="has-line-data">The package that gives us the ability to deploy the server is <code>dhcp-server</code> So we have to install it</p>



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



<p class="has-line-data">The package is fairly lightweight so the installation can be done quickly.</p>



<p class="has-line-data">Now we have to edit the server configuration file. The file in question is <code>/etc/dhcp/dhcpd.conf</code> but before editing it create a backup</p>



<pre class="wp-block-preformatted">sudo cp /etc/dhcp/dhcpd.conf /etc/dhcpp/dhcpd.confl.bak</pre>



<p class="has-line-data">Now proceed to edit it with your favorite text editor. I use <code>nano</code> but you can use <code>vi</code> or <code>vim</code>.</p>



<pre class="wp-block-preformatted">sudo nano /etc/dhcp/dhcpd.conf</pre>



<p class="has-line-data">Now add the following</p>



<pre class="wp-block-preformatted">default-lease-time 900;
max-lease-time 10800;
ddns-update-style none;
authoritative;
subnet 192.168.20.0 netmask 255.255.255.0 {
  range 192.168.20.10 192.168.20.200;
  option routers 192.168.20.1;
  option subnet-mask 255.255.255.0;
  option domain-name-servers 192.168.20.1;

}</pre>



<p class="has-line-data">Remember that all these values have to be modified. In this case, I will use some example values.</p>



<p class="has-line-data">Thanks to the <code>default-lease-time</code> option we will be able to define how long the DHCP server will reserve an address. While the <code>max-lease-time</code> option will define the maximum. In this case, I have set 900 seconds or 15 minutes for <code>default-lease-time</code> and 10800 minutes or 3 hours for <code>max-lease-time</code>.</p>



<p class="has-line-data">Now comes the vital part of the subnet configuration.</p>



<p class="has-line-data">In this case, the subnet to configure is <code>192.168.20.0</code> and the mask is <code>255.255.255.0</code>. With the <code>range</code> option you define the range of IP addresses to assign. And with the <code>option router</code> option you can define the default gateway. The subnet mask assignment to each host is defined by the <code>option subnet-mask</code> option. Finally, <code>option domain-name-servers</code> defines the DNS servers to assign to each host.</p>



<p class="has-line-data">Finally, when you are done editing the file, save your changes and close the editor.</p>



<p class="has-line-data">Now enable and start the <code>option domain-name-servers</code> service.</p>



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



<p class="has-line-data">You can check the status of the service,</p>



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



<p class="has-line-data">In order for the dhcp service to work properly, you need to open UDP port 67 on your firewall.</p>



<p class="has-line-data">Now you just need to configure the network on your client computers for this configuration.</p>



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



<p class="has-line-data">A DHCP server is a simple thing to do, however, it is good to have knowledge about your network to do it correctly.</p>



<p class="has-line-data">So, enjoy it!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/configure-dhcp-server-rockylinux-almalinux-centos-8/">How to configure DHCP Server on RockyLinux 8 / AlmaLinux OS 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/configure-dhcp-server-rockylinux-almalinux-centos-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install the netstat command on Linux?</title>
		<link>https://www.osradar.com/how-to-install-the-netstat-command-on-linux/</link>
					<comments>https://www.osradar.com/how-to-install-the-netstat-command-on-linux/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sat, 03 Jul 2021 04:50:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[alma linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[netstat]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[rockylinux]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=30911</guid>

					<description><![CDATA[<p>Hello, friends. In this post, we will show you how to install the Netstat command with which we can quickly monitor our network information. The post will be approached from the terminal and covering most Linux distributions or at least the most popular ones. Netstat is a tool that we can use through the command [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-the-netstat-command-on-linux/">How to install the netstat command on Linux?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="has-line-data">Hello, friends. In this post, we will show you how to install the Netstat command with which we can quickly monitor our network information. The post will be approached from the terminal and covering most Linux distributions or at least the most popular ones.</p>



<p class="has-line-data"><strong><a href="http://netstat.net/" target="_blank" rel="noreferrer noopener">Netstat </a>is a tool that we can use through the command line</strong>. It allows us to <strong>monitor networks and also to troubleshoot certain problems that may arise</strong>. Also, it is widely used to identify the TCP connections that are active on the machine on which the command is executed.</p>



<p class="has-line-data">All this, we emit an output screen where we can visualize the network information or even export it through the use of commands.</p>



<p class="has-line-data"><strong>This tool is quite useful for the more technical Linux users</strong> because it allows us to quickly analyze and detect possible problems that are happening in our network. Even more, to make an analysis on it.</p>



<p class="has-line-data">Despite being so popular, it is not included in most Linux distributions and that is why in this post, we will help you how to install it.</p>



<p class="has-line-data">So, let’s start.</p>



<h2 class="code-line"><a id="Install_the_Netstat_on_Linux_command_12"></a>Install the Netstat on Linux command</h2>



<p class="has-line-data">As we said, being such a popular tool, it is hard to believe that it is not included in the existing Linux distributions.</p>



<p class="has-line-data">The solution to this is to install via official repositories, the <code>net-tools</code> package in order to add the command but also other important tools.</p>



<p class="has-line-data">So, in the case of Debian, Ubuntu, Linux Mint, ElementaryOS, and any distribution based on any of these, just open the terminal and execute</p>



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



<p class="has-line-data">In case you are using, Fedora 34, RockyLinux, AlmaLinux OS, RHEL 8, CentOS 8, Oracle Linux 8, or any distribution based on these.</p>



<pre class="wp-block-preformatted">sudo dnf install net-tools</pre>



<p class="has-line-data">But, if you are using older versions such as RHEL 7, CentOS 7, Oracle Linux 7, or any of their derivatives, then you will need to run</p>



<pre class="wp-block-preformatted">sudo yum install net-tools</pre>



<p class="has-line-data">A very popular distribution among Linux users is Arch Linux. It also has some derivatives such as Manjaro. For these distributions or any derivative of them, just run:</p>



<pre class="wp-block-preformatted">sudo pacman -S netstat-nat</pre>



<p class="has-line-data">As we all know, one of our favorite distributions is OpenSUSE, so we can’t leave it out.</p>



<p class="has-line-data">So, to install it on OpenSUSE</p>



<pre class="wp-block-preformatted">sudo zypper in net-tools</pre>



<p class="has-line-data">This way we will be able to use it from the terminal without problems.</p>



<h2 class="code-line"><a id="Using_the_Netstat_command_43"></a>Using the Netstat command</h2>



<p class="has-line-data">It is normal to use the command directly on the terminal. And there it will show much of the default information of the active network interface.</p>



<p class="has-line-data">Another common use is to run it together with some other options, for example:</p>



<pre class="wp-block-preformatted">netstat -tulpn</pre>



<p class="has-line-data">For more complex use of this command, we have prepared a post on the use of Netstat where you can find use cases.</p>



<p class="has-line-data"><a href="https://www.osradar.com/monitor-network-with-netstat-command-in-linux/" target="_blank" rel="noreferrer noopener">Monitor Network with netstat command in Linux</a></p>



<p class="has-line-data">So, enjoy it.</p>



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



<p class="has-line-data">These types of commands can be useful in our work where many tools are required to help with network control. Although there are more specialized and larger tools, it is also true that sometimes we just need a little help.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-the-netstat-command-on-linux/">How to install the netstat command on Linux?</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-the-netstat-command-on-linux/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 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 open ports in Linux?</title>
		<link>https://www.osradar.com/how-to-open-ports-in-linux/</link>
					<comments>https://www.osradar.com/how-to-open-ports-in-linux/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 16 Jun 2021 04:44:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[almalinux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=30550</guid>

					<description><![CDATA[<p>Hello, friends. In this post, you will learn how to open ports in the Firewall using Linux. This way you will be able to have a base to continue working with your applications without problems. For this guide, we will use the terminal although there are graphical applications such as GUFW. Why is it important [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-open-ports-in-linux/">How to open ports in Linux?</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 open ports in the Firewall using Linux. This way you will be able to have a base to continue working with your applications without problems. For this guide, we will use the terminal although there are graphical applications such as <a href="https://www.osradar.com/how-to-configure-a-firewall-on-ubuntu-debian/" target="_blank" rel="noreferrer noopener">GUFW</a>.</p>



<h2 id="why-is-it-important-to-use-a-firewall?"><a href="#why-is-it-important-to-use-a-firewall?" name="why-is-it-important-to-use-a-firewall?"></a>Why is it important to use a Firewall?</h2>



<p>Although Linux is a very secure system, it is not perfect and can be attacked by an external network. Especially critical applications that make use of data such as database managers or others. Therefore, it is advisable to install a Firewall and establish adequate policies to protect your computer.</p>



<p>In addition to security, there is something that many people overlook and that is that in a Firewall we can not only block incoming connections but also outgoing ones. In this way, we will be able to know which applications are making connections with the Internet and make our decisions.</p>



<p>In Linux, there are a variety of Firewalls that can be classified as domestic or professional like <em>PFSense</em>. I believe that the domestic ones can work in many cases and we will work on them in this post.</p>



<h2 id="how-to-open-ports-in-linux---debian,-ubuntu,-and-derivatives"><a href="#how-to-open-ports-in-linux---debian,-ubuntu,-and-derivatives" name="how-to-open-ports-in-linux---debian,-ubuntu,-and-derivatives"></a>How to Open Ports in Linux &#8211; Debian, Ubuntu, and derivatives</h2>



<p>In these distributions, UFW is present by default. In case it is not then you can install it without problems.</p>



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



<p>After that, you can start opening ports.</p>



<p>The easiest way is to follow this syntax</p>



<pre class="wp-block-preformatted">sudo ufw allow [port]</pre>



<p>This way, if you want to open port 26 for all protocols, just run.</p>



<pre class="wp-block-preformatted">sudo ufw allow 26</pre>



<p>You can also specify a specific protocol for that port like <code>UDP</code> or <code>TCP</code>.</p>



<pre class="wp-block-preformatted">sudo ufw allow 26/tcp</pre>



<p>In this case, only port 26 will be opened for the TCP protocol.</p>



<p>If you have to open many consecutive ports, then you can specify a range</p>



<pre class="wp-block-preformatted">sudo ufw allow 4000:4007/tcp</pre>



<p>This will open all ports from 4000 to 4007 for TCP. Remember that you can change <code>tcp</code> to <code>udp</code> and enable them for that protocol.</p>



<p>To apply the changes run</p>



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



<p>So, this way, you can open the ports in Debian, Ubuntu, and derivatives.</p>



<h2 id="how-to-open-ports-in-linux---rhel,-centos-and-fedora"><a href="#how-to-open-ports-in-linux---rhel,-centos-and-fedora" name="how-to-open-ports-in-linux---rhel,-centos-and-fedora"></a>How to Open Ports in Linux &#8211; RHEL, CentOS and Fedora</h2>



<p>Unlike Debian, Ubuntu, and its derivatives, in the RHEL family, another similar application is used to manage the Firewall and it is <code><a href="https://firewalld.org/" target="_blank" rel="noreferrer noopener">firewalld</a></code>.</p>



<p>In case it is not installed, you can do it as follows</p>



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



<p>And after that, initialize it and make it run with the system.</p>



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



<p>This application works with zones with <code>public</code> being the default zone. If we assume that this is the current zone, we can open a port as follows:</p>



<pre class="wp-block-preformatted">sudo firewall-cmd --zone=public --add-port=[port]/[protocol]</pre>



<p>If you would like to open port <code>2122</code> of the TCP protocol, then you should run</p>



<pre class="wp-block-preformatted">sudo firewall-cmd --zone=public --add-port=2122/tcp</pre>



<p>Unlike UFW in this case we do have to specify the protocol.</p>



<p>Similarly, you can specify a range of ports but still specify the protocol.</p>



<pre class="wp-block-preformatted">sudo firewall-cmd --zone=public --permanent --add-port=3220-3225/udp</pre>



<p>In this case, I have opened ports from <code>3220</code> to <code>3225</code> in the UDP protocol.</p>



<p>To apply the changes run</p>



<pre class="wp-block-preformatted">sudo firewall-cmd --reload</pre>



<p>This way you can open ports in Linux</p>



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



<p>Opening ports in Linux is very easy and can help you with a network problem. Also having a Firewall always increases the security of the system.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-open-ports-in-linux/">How to open ports in Linux?</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-open-ports-in-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install TermRecord on AlmaLinux OS 8 / CentOS 8: Record your terminal session</title>
		<link>https://www.osradar.com/record-session-termrecord-almalinux-os/</link>
					<comments>https://www.osradar.com/record-session-termrecord-almalinux-os/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 07 Jun 2021 10:46:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=30426</guid>

					<description><![CDATA[<p>Hello, friends. Many times we do commands in our terminal that we would like to repeat. An example could be when we install some application that we have shown you here, and we would like to share with others. Record a video? Yes, it is a great alternative but how? Well, today we will show [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/record-session-termrecord-almalinux-os/">Install TermRecord on AlmaLinux OS 8 / CentOS 8: Record your terminal session</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. Many times we do commands in our terminal that we would like to repeat. An example could be when we install some application that we have shown you here, and we would like to share with others. Record a video? Yes, it is a great alternative but how? Well, today we will show you how to install and use TermRecord on AlmaLinux OS 8 / CentOS 8. With it, you will be able to record a terminal session and export it in HTML format where it can be played anywhere.</p>



<p>According to the <a href="https://github.com/theonewolf/TermRecord" target="_blank" rel="noreferrer noopener">project profile on GitHub</a>:</p>



<blockquote class="wp-block-quote"><p>TermRecord is a simple terminal session recorder with easy-to-share self-contained HTML output!</p></blockquote>



<p>It is built with Python so you can install it on almost any Linux distribution without much trouble. Moreover, TermRecord is licensed under the MIT License so we will have no problem examining its source code.</p>



<p><strong>Why would I use it?</strong></p>



<p>One of the best reasons to record your terminal session is because you can remember a whole sequence of commands to install or do certain things.</p>



<p>Think that when we<a href="https://www.osradar.com/how-to-install-wordpress-ubuntu-20-04/" target="_blank" rel="noreferrer noopener"> install WordPress on Ubuntu</a> or other application, several commands are executed, recording the terminal session and sharing it can be a complement to help with that.</p>



<p>On the other hand, it also serves as a reminder about many things with our work. Especially if it is in the terminal.</p>



<h2 id="install-termrecord-on-almalinux-os-8-/-centos-8"><a href="#install-termrecord-on-almalinux-os-8-/-centos-8" name="install-termrecord-on-almalinux-os-8-/-centos-8"></a>Install TermRecord on AlmaLinux OS 8 / CentOS 8</h2>



<p>Open a terminal and update your distribution completely:</p>



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



<p>Then, install Python:</p>



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



<p>And we will install using <code>PIP</code> so before using it we will have to update it to avoid versioning problems.</p>



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



<p>The process will be quite fast, so there should be no problem.</p>



<p>And then, start the installation by executing the following command:</p>



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



<p>At the end of the command execution, you will get the following output:</p>



<pre class="wp-block-preformatted">Successfully installed TermRecord-1.2.5</pre>



<h2 id="using-termrecord"><a href="#using-termrecord" name="using-termrecord"></a>Using TermRecord</h2>



<p>The usage is really simple, open a terminal and then run it:</p>



<pre class="wp-block-preformatted">TermRecord -o sample.html</pre>



<p>This will indicate that the output will be called <code>sample.html</code> and will be at the current location of the prompt. Of course, you can change this and define whatever name and path you want.</p>



<p>After this, go back to work as you normally do. When you want to stop the recording run</p>



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



<p>And you will get the following output on the screen</p>



<pre class="wp-block-preformatted">Script done, file is /tmp/tmplti5d8ph</pre>



<p>Now open your file and you can see the results.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2021/06/1-2-1024x506.png" alt="1.- TermRecord on AlmaLinux OS 8 / CentOS 8" class="wp-image-30433" srcset="https://www.osradar.com/wp-content/uploads/2021/06/1-2-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2021/06/1-2-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2021/06/1-2-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2021/06/1-2-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2021/06/1-2-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2021/06/1-2.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- TermRecord on AlmaLinux OS 8 / CentOS 8</figcaption></figure>



<p>Enjoy it</p>



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



<p>This interesting tool is a marvel that will help us to record our work in the terminal. It is not intrusive and consumes very few resources. Moreover, it is quite easy to install which guarantees that we will not waste any time with it</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/record-session-termrecord-almalinux-os/">Install TermRecord on AlmaLinux OS 8 / CentOS 8: Record your terminal session</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/record-session-termrecord-almalinux-os/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install WebERP on AlmaLinux 8 / CentOS 8</title>
		<link>https://www.osradar.com/install-weberp-on-almalinux-centos/</link>
					<comments>https://www.osradar.com/install-weberp-on-almalinux-centos/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 04 Jun 2021 04:13:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[almalinux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[ERP]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[weberp]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=30351</guid>

					<description><![CDATA[<p>Hello, friends. In this post, we will show you how to install WebERP on AlmaLinux OS 8.4 / CentOS 8 According to the project website: webERP is a complete web-based accounting and business management system that requires only a web-browser and pdf reader to use. It has a wide range of features suitable for many [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-weberp-on-almalinux-centos/">Install WebERP on 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 show you how to install WebERP on AlmaLinux OS 8.4 / CentOS 8</p>



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



<blockquote class="wp-block-quote"><p>webERP is a complete web-based accounting and business management system that requires only a web-browser and pdf reader to use. It has a wide range of features suitable for many businesses particularly distributed businesses in wholesale, distribution, and manufacturing.</p><p>There are 33 different language translations available all included in the archive with users all over the world.</p></blockquote>



<p>Some of the main goals that the project planned and achieved are:</p>



<ul><li>Fast, web-based, integrated “best practice” business administration software.</li><li>“Low footprint” efficient and fast, with absolutely minimal network traffic</li><li>Platform Independence with no reliance on any propriety technologies</li><li>Scripts easily readable and modifiable by a business</li></ul>



<p>So, it’s time to start work</p>



<h2 id="install-weberp-on-almalinux-os-8-/-centos-8"><a href="#install-weberp-on-almalinux-os-8-/-centos-8" name="install-weberp-on-almalinux-os-8-/-centos-8"></a>Install WebERP on AlmaLinux OS 8 / CentOS 8</h2>



<p>The first thing you have to do, is to open a new terminal session or connect via SSH and update the distribution</p>



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



<p>Then, you have to install the LAMP stack because WebERP works as a web application. So, you can read our post about it which is compatible with AlmaLinux OS.</p>



<p><a href="https://www.osradar.com/install-lamp-stack-on-oracle-linux-8-rhel-8-centos-8/" target="_blank" rel="noreferrer noopener">How to install LAMP on CentOS 8?</a></p>



<p>Also, install some modules and packages needed for the tutorial:</p>



<pre class="wp-block-preformatted">php php-mysqli php-curl php-curl php-json php-cgi php-xmlrpc php-gd php-mbstring unzip</pre>



<p>Once this is installed, you can continue.</p>



<h3 id="creating-a-new-database-for-weberp"><a href="#creating-a-new-database-for-weberp" name="creating-a-new-database-for-weberp"></a>Creating a new database for WebERP</h3>



<p>As you can imagine, this application needs to store data and for that it is compatible with advanced database drivers such as MariaDB.</p>



<p>Although MariaDB and AlmaLinux OS are very secure, it is advisable to create a database that is managed by a MariaDB user different from the root user.</p>



<p>So, open the shell</p>



<pre class="wp-block-preformatted">sudo mysql -u root -p</pre>



<p>And create the database, the user, his password and the corresponding permissions.</p>



<pre class="wp-block-preformatted">CREATE DATABASE weberpdb;
GRANT ALL PRIVILEGES ON weberpdb.* TO 'weberpuser'@'localhost' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
EXIT;</pre>



<p>You can replace the values with whatever you want, especially the password.</p>



<h3 id="download-weberp-on-almalinux-os-8.4-/-centos-8"><a href="#download-weberp-on-almalinux-os-8.4-/-centos-8" name="download-weberp-on-almalinux-os-8.4-/-centos-8"></a>Download WebERP on AlmaLinux OS 8.4 / CentOS 8</h3>



<p>Now, with the help of the <code>wget</code> command you can download the WebERP package.</p>



<pre class="wp-block-preformatted">wget https://sourceforge.net/projects/web-erp/files/webERP_4.15.zip</pre>



<p>Unzip it inside the Apache folder.</p>



<pre class="wp-block-preformatted">sudo unzip webERP_4.15.zip -d /var/www/html</pre>



<p>Then, make Apache the owner of the folder and set the appropriate permissions:</p>



<pre class="wp-block-preformatted">sudo chown apache:apache -R /var/www/html/webERP
sudo chmod 755 -R /var/www/html/webERP</pre>



<p>Now create a new VirtualHost for webERP</p>



<pre class="wp-block-preformatted">sudo nano /etc/httpd/conf.d/weberp.conf</pre>



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



<pre class="wp-block-preformatted">&lt;VirtualHost *:80>

ServerAdmin admin@weberp.org
DocumentRoot /var/www/html/webERP
ServerName weberp.osradar.test

        &lt;Directory /var/www/html/webERP/>
                Options FollowSymLinks
                AllowOverride All
                Order allow,deny
                allow from all
        &lt;/Directory>

ErrorLog /var/log/httpd/weberp.org-error_log
CustomLog /var/log/httpd/weberp.org-access_log common
&lt;/VirtualHost></pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="884" height="410" src="https://www.osradar.com/wp-content/uploads/2021/06/1-1.png" alt="1.- New VirtualHost for WebERP" class="wp-image-30418" srcset="https://www.osradar.com/wp-content/uploads/2021/06/1-1.png 884w, https://www.osradar.com/wp-content/uploads/2021/06/1-1-300x139.png 300w, https://www.osradar.com/wp-content/uploads/2021/06/1-1-768x356.png 768w, https://www.osradar.com/wp-content/uploads/2021/06/1-1-696x323.png 696w" sizes="(max-width: 884px) 100vw, 884px" /><figcaption>1.- New VirtualHost for WebERP</figcaption></figure>



<p>Replace the value of <code>ServerName</code> with your domain. Save the changes and close the edit</p>



<p>To apply the changes, restart Apache.</p>



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



<h3 id="install-weberp-on-almalinux-os"><a href="#install-weberp-on-almalinux-os" name="install-weberp-on-almalinux-os"></a>Install webERP on AlmaLinux OS</h3>



<p>Now, open a web browser and access <code>http://your-server/</code> and you will see the first screen where you will have to choose the installation language</p>



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



<p>Next, set up the database parameters</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2021/06/3-1-1024x502.png" alt="3.- Installing WebERP on AlmaLinux 8 / CentOS 8" class="wp-image-30420" srcset="https://www.osradar.com/wp-content/uploads/2021/06/3-1-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2021/06/3-1-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2021/06/3-1-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2021/06/3-1-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2021/06/3-1-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2021/06/3-1.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>3.- Installing WebERP on AlmaLinux 8 / CentOS 8</figcaption></figure>



<p>In the next step, you have to define the company name, as well as create the <code>admin</code> user and password.</p>



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



<p>After this, webERP will be installed and you will see the Login screen.</p>



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



<p>After logging in you will see the dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="522" src="https://www.osradar.com/wp-content/uploads/2021/06/6-1-1024x522.png" alt="6.- WebERP on AlmaLinux 8.4 / CentOS 8" class="wp-image-30423" srcset="https://www.osradar.com/wp-content/uploads/2021/06/6-1-1024x522.png 1024w, https://www.osradar.com/wp-content/uploads/2021/06/6-1-300x153.png 300w, https://www.osradar.com/wp-content/uploads/2021/06/6-1-768x392.png 768w, https://www.osradar.com/wp-content/uploads/2021/06/6-1-696x355.png 696w, https://www.osradar.com/wp-content/uploads/2021/06/6-1-1068x545.png 1068w, https://www.osradar.com/wp-content/uploads/2021/06/6-1.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>6.- WebERP on AlmaLinux 8.4 / CentOS 8</figcaption></figure>



<p>Enjoy it</p>



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



<p>WEbERP is a very efficient application to manage your company. The installation is easy to install and use and it’s free.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-weberp-on-almalinux-centos/">Install WebERP on 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-weberp-on-almalinux-centos/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install aaPanel on AlmaLinux OS 8 / CentOS 8</title>
		<link>https://www.osradar.com/aapanel-almalinux-centos-8/</link>
					<comments>https://www.osradar.com/aapanel-almalinux-centos-8/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 31 May 2021 23:49:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[panel]]></category>
		<category><![CDATA[server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=30339</guid>

					<description><![CDATA[<p>Hello, friends. Recently we explained to you how to install aaPanel on Ubuntu 20.04 but many users indeed prefer to use AlmaLinux OS 8 / CentOS 8 on their servers. That&#8217;s why we will show you how to install aaPanel on AlmaLinux OS 8 / CentOS 8. According to the project website, aaPanel is a [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/aapanel-almalinux-centos-8/">Install aaPanel on AlmaLinux OS 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. Recently we explained to you <a href="https://www.osradar.com/install-aapanel-ubuntu/" target="_blank" rel="noreferrer noopener">how to install aaPanel on Ubuntu 20.04</a> but many users indeed prefer to use AlmaLinux OS 8 / CentOS 8 on their servers. That&#8217;s why we will show you how to install aaPanel on AlmaLinux OS 8 / CentOS 8.</p>



<p>According to the <a href="https://www.aapanel.com/index.html">project website</a>, aaPanel is a Free and Open source Hosting Control Panel</p>



<p>In other words:</p>



<blockquote class="wp-block-quote"><p>aaPanel, a simple but powerful control panel, can manage the web server through web-based GUI(Graphical User Interface).</p></blockquote>



<p>Also, the app provides the one-click function such as one-click install LNMP/LAMP developing environment and software. So this application makes everything easy for the administration of a hosting.</p>



<p>With aaPanel you can Monitor your server resource occupancy in real-time, allowing you to better understand its load capacity. And many more things.</p>



<h2>Install aaPanel on AlmaLinux OS 8 / CentOS 8</h2>



<p>aaPanel has an installation method, quite simply because although it is not in the official repositories, it has an installation script.</p>



<p>Note: For this post to be completed, it is necessary to do a clean install.</p>



<p>First, update the whole system.</p>



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



<p>After this, you can install the <code>wget</code> tool to download the script</p>



<pre class="wp-block-preformatted">wget -O install.sh http://www.aapanel.com/script/install_6.0_en.sh
--2021-05-26 15:58:44--  http://www.aapanel.com/script/install_6.0_en.sh
 Resolving www.aapanel.com (www.aapanel.com)… 2606:4700:3031::6815:4fc4, 2606:4700:3034::ac43:ab07, 172.67.171.7, …
 Connecting to www.aapanel.com (www.aapanel.com)|2606:4700:3031::6815:4fc4|:80… connected.
 HTTP request sent, awaiting response… 200 OK
 Length: 26608 (26K) [application/octet-stream]
 Saving to: ‘install.sh’
 install.sh                                 100%[=====================================================================================>]  25.98K   158KB/s    in 0.2s    
 2021-05-26 15:58:44 (158 KB/s) - ‘install.sh’ saved [26608/26608]</pre>



<p>Once the script has been downloaded, you have to run it with root permissions.</p>



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



<p>The first message you will see will be a question about where you will install aaPanel.</p>



<pre class="wp-block-preformatted">Do you want to install aaPanel to the /www directory now?(y/n):</pre>



<p>You can answer <code>Y</code> to accept the default location.</p>



<p>After that, the script will continue to run smoothly and at the end, you will see the following output screen</p>



<pre class="wp-block-preformatted">==================================================================
Congratulations! Installed successfully!
==================================================================
aaPanel Internet Address: http://[2a01:4f9:c010:bcdb::1]:8888/ff33f300
aaPanel Internal Address: http://65.21.176.251:8888/ff33f300
username: yp4sazf9
password: 4e1177f8
Warning:
If you cannot access the panel, 
release the following port (8888|888|80|443|20|21) in the security group
==================================================================
Time consumed: 5 Minute!</pre>



<p>It will indicate that the installation was successful and will show you the login credentials.</p>



<p>Remember to open all the ports indicated in the <a href="https://www.osradar.com/install-csf-config-server-firewall-centos-8/" target="_blank" rel="noreferrer noopener">Firewall</a> to avoid problems.</p>



<h2>Accessing to aaPanel</h2>



<p>Now you have to open a web browser from a client computer and access one of the login addresses.</p>



<p>You will then see the login screen. Log in with the credentials that were given to you via the terminal output.</p>



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



<p>Then, you will see the main screen where you are immediately prompted to install <a href="https://www.osradar.com/how-to-install-lemp-on-oracle-linux-8-rhel-8-centos-8/">LEMP on your server</a>. The whole process is quite simple to do.</p>



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



<p>And this is what the aaPanel dashboard looks like.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2021/05/3-4-1024x506.png" alt="3.- aaPanel on AlmaLinux OS / CentOS 8" class="wp-image-30354" srcset="https://www.osradar.com/wp-content/uploads/2021/05/3-4-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/3-4-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/3-4-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/3-4-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/3-4-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/3-4.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>3.- aaPanel on AlmaLinux OS / CentOS 8</figcaption></figure>



<p>Enjoy it</p>



<h2>Conclusion</h2>



<p>Applications like aaPanel make a sysadmin’s job easier. With it is possible to manage hosting easily and quickly without sacrificing useful options. As we have been able to demonstrate the installation process is quite simple and within everyone’s reach.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/aapanel-almalinux-centos-8/">Install aaPanel on AlmaLinux OS 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/aapanel-almalinux-centos-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
