<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://serverrental.store/index.php?action=history&amp;feed=atom&amp;title=Installing_Rocky_Linux_9</id>
	<title>Installing Rocky Linux 9 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://serverrental.store/index.php?action=history&amp;feed=atom&amp;title=Installing_Rocky_Linux_9"/>
	<link rel="alternate" type="text/html" href="https://serverrental.store/index.php?title=Installing_Rocky_Linux_9&amp;action=history"/>
	<updated>2026-04-14T23:22:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://serverrental.store/index.php?title=Installing_Rocky_Linux_9&amp;diff=5791&amp;oldid=prev</id>
		<title>Admin: New server guide</title>
		<link rel="alternate" type="text/html" href="https://serverrental.store/index.php?title=Installing_Rocky_Linux_9&amp;diff=5791&amp;oldid=prev"/>
		<updated>2026-04-13T10:00:46Z</updated>

		<summary type="html">&lt;p&gt;New server guide&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Installing Rocky Linux 9 =&lt;br /&gt;
Rocky Linux is a community-driven, enterprise-class Linux distribution designed to be 100% bug-for-bug compatible with Red Hat Enterprise Linux (RHEL). Following the discontinuation of CentOS Linux as a downstream rebuild of RHEL, Rocky Linux has emerged as a popular and stable alternative for servers. This guide provides a comprehensive, step-by-step tutorial for installing Rocky Linux 9 on your server.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
Before you begin the installation, ensure you have the following:&lt;br /&gt;
&lt;br /&gt;
* '''Server Hardware''': A physical or virtual server. Dedicated servers with full root access from providers like [https://powervps.net/?from=32 PowerVPS] are ideal for running Rocky Linux.&lt;br /&gt;
* '''Installation Media''': A bootable USB drive or ISO image of Rocky Linux 9. You can download the ISO from the official Rocky Linux website.&lt;br /&gt;
* '''Network Connectivity''': A stable internet connection for downloading packages during installation.&lt;br /&gt;
* '''Basic Linux Knowledge''': Familiarity with command-line operations and server administration concepts is beneficial.&lt;br /&gt;
* '''BIOS/UEFI Access''': Ability to boot from the installation media.&lt;br /&gt;
&lt;br /&gt;
== Downloading Rocky Linux 9 ==&lt;br /&gt;
1.  Visit the official Rocky Linux download page: [https://rockylinux.org/download](https://rockylinux.org/download)&lt;br /&gt;
2.  Choose the appropriate architecture (usually x86_64 for most servers).&lt;br /&gt;
3.  Select a mirror close to your location to download the desired ISO image (e.g., `Rocky-9.x-x86_64-dvd1.iso`).&lt;br /&gt;
&lt;br /&gt;
== Creating a Bootable USB Drive ==&lt;br /&gt;
For physical servers, you'll need to create a bootable USB drive.&lt;br /&gt;
&lt;br /&gt;
* '''On Linux:'''&lt;br /&gt;
    &amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dd if=/path/to/Rocky-9.x-x86_64-dvd1.iso of=/dev/sdX bs=4M status=progress oflag=sync&lt;br /&gt;
    &amp;lt;/pre&amp;gt;&lt;br /&gt;
    Replace `/path/to/Rocky-9.x-x86_64-dvd1.iso` with the actual path to your ISO file and `/dev/sdX` with your USB drive device (e.g., `/dev/sdb`). '''Be extremely careful to select the correct device, as this command will erase all data on it.'''&lt;br /&gt;
&lt;br /&gt;
* '''On Windows:'''&lt;br /&gt;
    Use a tool like Rufus or balenaEtcher to write the ISO image to your USB drive.&lt;br /&gt;
&lt;br /&gt;
== Starting the Installation ==&lt;br /&gt;
1.  Insert the bootable USB drive into your server and reboot.&lt;br /&gt;
2.  Enter your server's BIOS/UEFI settings (usually by pressing F2, F10, F12, or DEL during boot).&lt;br /&gt;
3.  Configure the boot order to prioritize booting from the USB drive.&lt;br /&gt;
4.  Save changes and exit BIOS/UEFI. The Rocky Linux installer should now load.&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
=== 1. Welcome and Language Selection ===&lt;br /&gt;
*   Select your preferred language for the installation process and click &amp;quot;Continue&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== 2. Installation Summary ===&lt;br /&gt;
The &amp;quot;Installation Summary&amp;quot; screen is your central hub. Many options can be configured here before proceeding.&lt;br /&gt;
&lt;br /&gt;
*   '''Keyboard:''' Select your keyboard layout.&lt;br /&gt;
*   '''Language Support:''' Add additional language support if needed.&lt;br /&gt;
*   '''Time &amp;amp; Date:''' Set your server's time zone.&lt;br /&gt;
*   '''Installation Source:''' This should automatically detect your local media (USB/DVD). If installing over the network, you can configure it here.&lt;br /&gt;
*   '''Software Selection:'''&lt;br /&gt;
    *   Click on &amp;quot;Software Selection&amp;quot;.&lt;br /&gt;
    *   Choose a &amp;quot;Base Environment&amp;quot;. For a server, &amp;quot;Minimal Install&amp;quot; is often recommended to reduce the attack surface and resource usage. You can also select &amp;quot;Server&amp;quot; or &amp;quot;Server with GUI&amp;quot; depending on your needs.&lt;br /&gt;
    *   Add &amp;quot;Add-Ons for Selected Environment&amp;quot; if necessary (e.g., development tools, system administration tools).&lt;br /&gt;
    *   Click &amp;quot;Done&amp;quot;.&lt;br /&gt;
*   '''Installation Destination:'''&lt;br /&gt;
    *   Click on &amp;quot;Installation Destination&amp;quot;.&lt;br /&gt;
    *   Select the disk where you want to install Rocky Linux.&lt;br /&gt;
    *   Under &amp;quot;Storage Configuration&amp;quot;, choose &amp;quot;Automatic&amp;quot; for simple partitioning or &amp;quot;Custom&amp;quot; for manual control. For most users, &amp;quot;Automatic&amp;quot; is sufficient.&lt;br /&gt;
    *   Click &amp;quot;Done&amp;quot;. You may be prompted to accept configuration changes (e.g., enabling encryption if selected).&lt;br /&gt;
*   '''Network &amp;amp; Hostname:'''&lt;br /&gt;
    *   Click on &amp;quot;Network &amp;amp; Hostname&amp;quot;.&lt;br /&gt;
    *   Enter your desired &amp;quot;Hostname&amp;quot; (e.g., `myrockyserver`).&lt;br /&gt;
    *   Ensure your network interface (e.g., `eth0`, `enpXsX`) is configured correctly. For static IP addresses, click the gear icon next to the interface, go to the &amp;quot;IPv4 Settings&amp;quot; tab, set &amp;quot;Method&amp;quot; to &amp;quot;Manual&amp;quot;, and enter your IP address, Netmask, and Gateway. Configure DNS servers as well.&lt;br /&gt;
    *   Toggle the network interface ON.&lt;br /&gt;
    *   Click &amp;quot;Done&amp;quot;.&lt;br /&gt;
*   '''Security Policy:''' (Optional) Configure SELinux policy if required.&lt;br /&gt;
*   '''KDump:''' (Optional) Configure kernel dump settings.&lt;br /&gt;
&lt;br /&gt;
=== 3. Begin Installation ===&lt;br /&gt;
*   Once all necessary configurations are complete, click &amp;quot;Begin Installation&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== 4. User Settings ===&lt;br /&gt;
While the system is installing, you need to set up user accounts and the root password.&lt;br /&gt;
&lt;br /&gt;
*   '''Root Password:'''&lt;br /&gt;
    *   Click on &amp;quot;Root Password&amp;quot;.&lt;br /&gt;
    *   Enter a strong password for the root user and confirm it.&lt;br /&gt;
    *   Click &amp;quot;Done&amp;quot;.&lt;br /&gt;
*   '''User Creation:'''&lt;br /&gt;
    *   Click on &amp;quot;User Creation&amp;quot;.&lt;br /&gt;
    *   Enter a &amp;quot;Full name&amp;quot; for a regular user.&lt;br /&gt;
    *   Enter a &amp;quot;Username&amp;quot; (e.g., `adminuser`).&lt;br /&gt;
    *   Check &amp;quot;Make this user administrator&amp;quot; if you want to grant them sudo privileges.&lt;br /&gt;
    *   Enter a strong password for this user and confirm it.&lt;br /&gt;
    *   Click &amp;quot;Done&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== 5. Installation Complete ===&lt;br /&gt;
*   Once the installation finishes, you will see a &amp;quot;Installation Complete&amp;quot; message.&lt;br /&gt;
*   Click the &amp;quot;Reboot System&amp;quot; button. Remove the installation media before the server reboots.&lt;br /&gt;
&lt;br /&gt;
== Post-Installation Steps ==&lt;br /&gt;
After rebooting into your new Rocky Linux 9 system, it's crucial to perform some initial configuration.&lt;br /&gt;
&lt;br /&gt;
=== 1. First Login ===&lt;br /&gt;
*   Log in as the user you created during installation (or as root if you prefer).&lt;br /&gt;
&lt;br /&gt;
=== 2. Update System Packages ===&lt;br /&gt;
*   It's essential to update all installed packages to their latest versions.&lt;br /&gt;
    &amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dnf update -y&lt;br /&gt;
    &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3. Configure Firewall ===&lt;br /&gt;
Rocky Linux comes with `firewalld` enabled by default. You should configure it to allow necessary services.&lt;br /&gt;
&lt;br /&gt;
*   Check the status of `firewalld`:&lt;br /&gt;
    &amp;lt;pre&amp;gt;&lt;br /&gt;
sudo systemctl status firewalld&lt;br /&gt;
    &amp;lt;/pre&amp;gt;&lt;br /&gt;
*   Allow SSH (port 22) if it's not already enabled:&lt;br /&gt;
    &amp;lt;pre&amp;gt;&lt;br /&gt;
sudo firewall-cmd --permanent --add-service=ssh&lt;br /&gt;
sudo firewall-cmd --reload&lt;br /&gt;
    &amp;lt;/pre&amp;gt;&lt;br /&gt;
*   To allow other services (e.g., HTTP on port 80):&lt;br /&gt;
    &amp;lt;pre&amp;gt;&lt;br /&gt;
sudo firewall-cmd --permanent --add-service=http&lt;br /&gt;
sudo firewall-cmd --reload&lt;br /&gt;
    &amp;lt;/pre&amp;gt;&lt;br /&gt;
*   To list all allowed services:&lt;br /&gt;
    &amp;lt;pre&amp;gt;&lt;br /&gt;
sudo firewall-cmd --list-all&lt;br /&gt;
    &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4. Enable and Configure SSH ===&lt;br /&gt;
Ensure SSH is enabled and running.&lt;br /&gt;
&lt;br /&gt;
*   Check SSH service status:&lt;br /&gt;
    &amp;lt;pre&amp;gt;&lt;br /&gt;
sudo systemctl status sshd&lt;br /&gt;
    &amp;lt;/pre&amp;gt;&lt;br /&gt;
*   If not running, start and enable it:&lt;br /&gt;
    &amp;lt;pre&amp;gt;&lt;br /&gt;
sudo systemctl start sshd&lt;br /&gt;
sudo systemctl enable sshd&lt;br /&gt;
    &amp;lt;/pre&amp;gt;&lt;br /&gt;
*   For enhanced security, consider disabling root login via SSH and changing the default port. Edit `/etc/ssh/sshd_config`:&lt;br /&gt;
    &amp;lt;pre&amp;gt;&lt;br /&gt;
sudo vi /etc/ssh/sshd_config&lt;br /&gt;
    &amp;lt;/pre&amp;gt;&lt;br /&gt;
    Change or add the following lines:&lt;br /&gt;
    &amp;lt;pre&amp;gt;&lt;br /&gt;
PermitRootLogin no&lt;br /&gt;
Port 2222 # Example: change to a non-standard port&lt;br /&gt;
Protocol 2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
    After saving, reload the SSH service:&lt;br /&gt;
    &amp;lt;pre&amp;gt;&lt;br /&gt;
sudo systemctl reload sshd&lt;br /&gt;
    &amp;lt;/pre&amp;gt;&lt;br /&gt;
    '''Remember to adjust your firewall rules if you change the SSH port.'''&lt;br /&gt;
&lt;br /&gt;
=== 5. Install Essential Packages ===&lt;br /&gt;
Depending on your server's role, you might want to install common utilities.&lt;br /&gt;
&lt;br /&gt;
*   For example, to install `wget`, `curl`, `htop`, and `vim`:&lt;br /&gt;
    &amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dnf install -y wget curl htop vim&lt;br /&gt;
    &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
*   '''&amp;quot;No bootable device found&amp;quot;''': Ensure your BIOS/UEFI is set to boot from the correct device (USB/DVD) and that the installation media is properly created.&lt;br /&gt;
*   '''Network issues during installation''': Double-check your network configuration (IP address, netmask, gateway, DNS) in the &amp;quot;Network &amp;amp; Hostname&amp;quot; section. Ensure your server has a valid IP address from your network.&lt;br /&gt;
*   '''Installation fails with errors''': Note the exact error message. This often indicates a problem with the installation media, hardware (especially RAM or disk), or a corrupted download. Try re-downloading the ISO and recreating the bootable media.&lt;br /&gt;
*   '''Cannot connect via SSH after installation''':&lt;br /&gt;
    *   Verify that the `sshd` service is running (`sudo systemctl status sshd`).&lt;br /&gt;
    *   Check your firewall rules (`sudo firewall-cmd --list-all`) to ensure the SSH port is allowed.&lt;br /&gt;
    *   Confirm your server's IP address and network connectivity.&lt;br /&gt;
&lt;br /&gt;
== Related Articles ==&lt;br /&gt;
* [[Configuring a Web Server on Rocky Linux]]&lt;br /&gt;
* [[Setting up a Database Server]]&lt;br /&gt;
* [[Securing Your Linux Server]]&lt;br /&gt;
&lt;br /&gt;
[[Category:OS Installation]]&lt;br /&gt;
[[Category:Rocky Linux]]&lt;br /&gt;
[[Category:Server Administration]]&lt;br /&gt;
&lt;br /&gt;
{{Exchange Box}}&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>