<?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>Rocky Linux Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/rocky-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 26 Jul 2021 16:27:22 +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 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 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>Rocky Linux 8.3 RC1 available</title>
		<link>https://www.osradar.com/rocky-linux-8-3-rc1-available/</link>
					<comments>https://www.osradar.com/rocky-linux-8-3-rc1-available/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sat, 01 May 2021 18:48:00 +0000</pubDate>
				<category><![CDATA[Desktop]]></category>
		<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=29839</guid>

					<description><![CDATA[<p>Hello, friends. We have some great news for you. Rocky Linux 8.3 RC1 is available which indicates that we are getting closer and closer to a stable version of a distribution called to be the replacement for CentOS 8 after the change that has left us all speechless. Rocky Linux is a community enterprise Operating [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/rocky-linux-8-3-rc1-available/">Rocky Linux 8.3 RC1 available</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. We have some great news for you. Rocky Linux 8.3 RC1 is available which indicates that we are getting closer and closer to a stable version of a distribution called to be the replacement for CentOS 8<a href="https://www.osradar.com/opinion-development-focus-changes-for-centos/" target="_blank" rel="noreferrer noopener"> after the change that has left us all speechless.</a></p>



<p><strong>Rocky Linux is a community enterprise Operating System designed to be 100% bug-for-bug compatible with Enterprise Linux, now that CentOS has shifted direction.</strong></p>



<p>This resulted in the creation of a fork to continue the CentOS spirit, this distribution is called Rocky Linux.</p>



<p>Being one of the most awaited distributions because of the importance of CentOS 8, we are getting closer and closer to a stable version. Rocky Linux 8.3 RC1 has been released to speed up the development process.</p>



<p>Although RCs are near-stable releases, the Rocky Linux website tells us that &#8220;<strong>Under no circumstance should you use a release candidate in a production environment. A release candidate is provided for testing and validation purposes only</strong>&#8220;. So only use it on a personal computer or virtual machine.</p>



<p>This release is the result of several months of hard work in the process of integrating CentOS into this new distribution. For now, we only have images for the x86_64 and aarch64 architectures.</p>



<p>The exact date when we will have the first stable version? we don&#8217;t know yet, but the development team says it will be this year if everything goes well.</p>



<h2>Download Rocky Linux 8.3 RC 1</h2>



<p>As mentioned above, there are only images for x86_64 and aarch64 architectures. So, you can download them from the corresponding section of the website.</p>



<p>The x86_64 image can be downloaded from <a href="https://download.rockylinux.org/pub/rocky/8.3/isos/x86_64/Rocky-8.3-x86_64-dvd1.iso" target="_blank" rel="noreferrer noopener">this link</a> while the ARM64 (aarch64) image can be downloaded from <a href="https://download.rockylinux.org/pub/rocky/8.3/isos/aarch64/Rocky-8.3-aarch64-dvd1.iso" target="_blank" rel="noreferrer noopener">this link.</a></p>



<p>Enjoy it!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/rocky-linux-8-3-rc1-available/">Rocky Linux 8.3 RC1 available</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/rocky-linux-8-3-rc1-available/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
