<?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_AlmaLinux_9</id>
	<title>Installing AlmaLinux 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_AlmaLinux_9"/>
	<link rel="alternate" type="text/html" href="https://serverrental.store/index.php?title=Installing_AlmaLinux_9&amp;action=history"/>
	<updated>2026-04-15T01:01:57Z</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_AlmaLinux_9&amp;diff=5772&amp;oldid=prev</id>
		<title>Admin: New server guide</title>
		<link rel="alternate" type="text/html" href="https://serverrental.store/index.php?title=Installing_AlmaLinux_9&amp;diff=5772&amp;oldid=prev"/>
		<updated>2026-04-12T20:00:10Z</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 AlmaLinux 9 ==&lt;br /&gt;
This guide provides step-by-step instructions for installing AlmaLinux 9, a free, enterprise-grade, community-supported fork of Red Hat Enterprise Linux (RHEL). It covers the installation process and essential initial configuration steps to get your server up and running.&lt;br /&gt;
&lt;br /&gt;
AlmaLinux 9 is an excellent choice for servers requiring stability, security, and long-term support. It's well-suited for a wide range of applications, from web servers to database servers and development environments. For those seeking powerful hardware for their AlmaLinux deployments, consider dedicated servers from [https://powervps.net/?from=32 PowerVPS], offering full root access and optimal performance.&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;
*   A server or workstation with bootable media (USB drive or ISO image).&lt;br /&gt;
*   A stable internet connection for downloading packages.&lt;br /&gt;
*   Basic knowledge of server hardware and operating system installation.&lt;br /&gt;
*   A keyboard and monitor connected to the server, or remote console access.&lt;br /&gt;
*   If installing on a dedicated server, ensure you have the necessary boot media uploaded or accessible via your provider's control panel. [https://powervps.net/?from=32 PowerVPS] provides easy ways to upload ISOs for custom installations.&lt;br /&gt;
&lt;br /&gt;
== Downloading AlmaLinux 9 ==&lt;br /&gt;
1.  Visit the official AlmaLinux download page: [https://almalinux.org/download/](https://almalinux.org/download/)&lt;br /&gt;
2.  Choose the appropriate installer for your architecture (typically x86_64 for most servers). You can download the full ISO or a minimal boot image. For a server, the minimal ISO is often preferred to reduce the attack surface and install only necessary packages.&lt;br /&gt;
3.  Verify the integrity of the downloaded file using its checksum (SHA256, MD5) provided on the download page.&lt;br /&gt;
&lt;br /&gt;
== Creating Bootable Media ==&lt;br /&gt;
Once you have the ISO image, you need to create bootable media.&lt;br /&gt;
&lt;br /&gt;
=== For USB Drives ===&lt;br /&gt;
On Linux:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dd if=/path/to/AlmaLinux-9.x-x86_64-dvd1.iso of=/dev/sdX bs=4M status=progress&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Replace `/path/to/AlmaLinux-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 an incorrect choice can erase data from another drive.&lt;br /&gt;
&lt;br /&gt;
On Windows:&lt;br /&gt;
Use a tool like Rufus ([https://rufus.ie/](https://rufus.ie/)) or balenaEtcher ([https://www.balena.io/etcher/](https://www.balena.io/etcher/)) to write the ISO to your USB drive.&lt;br /&gt;
&lt;br /&gt;
=== For Virtual Machines / Cloud ===&lt;br /&gt;
For virtual machines or cloud instances, you can often directly attach the ISO image to the virtual CD/DVD drive and boot from it.&lt;br /&gt;
&lt;br /&gt;
== Installation Process ==&lt;br /&gt;
1.  **Boot from Installation Media**: Insert your bootable media into the server and reboot. Ensure your BIOS/UEFI is configured to boot from the USB drive or CD/DVD drive.&lt;br /&gt;
2.  **Select Installation Option**: You will be presented with a boot menu. Choose &amp;quot;Install AlmaLinux 9&amp;quot;.&lt;br /&gt;
3.  **Language Selection**: Select your preferred language for the installation process and click &amp;quot;Continue&amp;quot;.&lt;br /&gt;
4.  **Installation Summary**: This is the main configuration screen. You'll need to configure several options:&lt;br /&gt;
    *   **Local Sources**: Usually, this is automatically detected if you booted from the ISO.&lt;br /&gt;
    *   **Time &amp;amp; Date**: Set your server's timezone.&lt;br /&gt;
    *   **Keyboard**: Select your keyboard layout.&lt;br /&gt;
    *   **Language Support**: Add any additional languages if needed.&lt;br /&gt;
    *   **Installation Source**: Ensure &amp;quot;Local media&amp;quot; is selected.&lt;br /&gt;
    *   **Software Selection**: This is crucial. For a server, it's recommended to select &amp;quot;Minimal Install&amp;quot;. You can add additional software groups later if needed. For specific roles, consider groups like &amp;quot;Server with GUI&amp;quot; (if you need a graphical interface) or &amp;quot;Web Server&amp;quot;.&lt;br /&gt;
    *   **Installation Destination**:&lt;br /&gt;
        *   Click on &amp;quot;Installation Destination&amp;quot;.&lt;br /&gt;
        *   Select your disk.&lt;br /&gt;
        *   Choose &amp;quot;Automatic&amp;quot; partitioning for simplicity, or &amp;quot;Custom&amp;quot; if you need specific partition layouts (e.g., separate `/home`, `/var`). For beginners, &amp;quot;Automatic&amp;quot; is usually sufficient.&lt;br /&gt;
        *   Click &amp;quot;Done&amp;quot;.&lt;br /&gt;
    *   **Network &amp;amp; Hostname**:&lt;br /&gt;
        *   Click on &amp;quot;Network &amp;amp; Hostname&amp;quot;.&lt;br /&gt;
        *   Enter a hostname for your server (e.g., `almalinux-server`).&lt;br /&gt;
        *   Ensure your network interface is configured correctly (usually DHCP by default). If you need a static IP address, click the gear icon next to your network interface and configure the IPv4 settings.&lt;br /&gt;
        *   Click &amp;quot;Done&amp;quot;.&lt;br /&gt;
    *   **Security Policy**: (Optional) You can configure security profiles here.&lt;br /&gt;
    *   **KDUMP**: (Optional) Enable or disable kernel dump. It's usually recommended to leave it enabled for debugging.&lt;br /&gt;
5.  **Begin Installation**: Once all options are configured, click &amp;quot;Begin Installation&amp;quot;.&lt;br /&gt;
6.  **Root Password**: While the installation proceeds, click on &amp;quot;Root Password&amp;quot; and set a strong password for the root user.&lt;br /&gt;
7.  **User Creation**: (Optional but recommended) Click on &amp;quot;User Creation&amp;quot; to create a non-root user with administrative privileges (using `sudo`). Enter a username and a strong password.&lt;br /&gt;
8.  **Installation Complete**: After the installation finishes, you will see a &amp;quot;System is Ready&amp;quot; message. Click &amp;quot;Finish Installation&amp;quot;.&lt;br /&gt;
9.  **Reboot**: Remove the installation media and reboot your server.&lt;br /&gt;
&lt;br /&gt;
== Initial Configuration ==&lt;br /&gt;
After the first boot, you'll need to perform some essential configuration steps.&lt;br /&gt;
&lt;br /&gt;
=== Logging In ===&lt;br /&gt;
You can log in as the `root` user or the regular user you created. It's generally recommended to log in as a regular user and use `sudo` for administrative tasks.&lt;br /&gt;
&lt;br /&gt;
=== Updating the System ===&lt;br /&gt;
It's crucial to update your system to the latest packages.&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;
=== Enabling SSH ===&lt;br /&gt;
SSH is usually enabled by default, but ensure it's running and accessible.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo systemctl enable sshd&lt;br /&gt;
sudo systemctl start sshd&lt;br /&gt;
sudo systemctl status sshd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To allow SSH connections from external networks, you might need to adjust the firewall.&lt;br /&gt;
&lt;br /&gt;
=== Firewall Configuration ===&lt;br /&gt;
AlmaLinux 9 uses `firewalld` by default.&lt;br /&gt;
To allow SSH (port 22):&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 HTTP (port 80) and HTTPS (port 443) for a web server:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo firewall-cmd --permanent --add-service=http&lt;br /&gt;
sudo firewall-cmd --permanent --add-service=https&lt;br /&gt;
sudo firewall-cmd --reload&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To check the active firewall rules:&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;
=== SELinux ===&lt;br /&gt;
SELinux (Security-Enhanced Linux) is enabled by default and is a powerful security mechanism. You can check its status:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sestatus&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you need to temporarily disable SELinux for troubleshooting (not recommended for production):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo setenforce 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To permanently disable SELinux (requires reboot, not recommended):&lt;br /&gt;
Edit `/etc/selinux/config` and set `SELINUX=disabled`.&lt;br /&gt;
&lt;br /&gt;
=== Network Configuration (Static IP) ===&lt;br /&gt;
If you need to configure a static IP address manually:&lt;br /&gt;
1.  Identify your network interface name (e.g., `eth0`, `enp1s0`) using `ip a`.&lt;br /&gt;
2.  Edit the network configuration file. For example, for `eth0`:&lt;br /&gt;
    &amp;lt;pre&amp;gt;&lt;br /&gt;
    sudo nano /etc/sysconfig/network-scripts/ifcfg-eth0&lt;br /&gt;
    &amp;lt;/pre&amp;gt;&lt;br /&gt;
3.  Add or modify the following lines:&lt;br /&gt;
    &amp;lt;pre&amp;gt;&lt;br /&gt;
    BOOTPROTO=&amp;quot;static&amp;quot;&lt;br /&gt;
    IPADDR=&amp;quot;192.168.1.100&amp;quot;&lt;br /&gt;
    NETMASK=&amp;quot;255.255.255.0&amp;quot;&lt;br /&gt;
    GATEWAY=&amp;quot;192.168.1.1&amp;quot;&lt;br /&gt;
    DNS1=&amp;quot;8.8.8.8&amp;quot;&lt;br /&gt;
    ONBOOT=&amp;quot;yes&amp;quot;&lt;br /&gt;
    &amp;lt;/pre&amp;gt;&lt;br /&gt;
    Replace the IP addresses and subnet mask with your network's details.&lt;br /&gt;
4.  Restart the network service:&lt;br /&gt;
    &amp;lt;pre&amp;gt;&lt;br /&gt;
    sudo systemctl restart network&lt;br /&gt;
    &amp;lt;/pre&amp;gt;&lt;br /&gt;
    Alternatively, you can use `nmcli` for network configuration.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
*   **Installation hangs**: Ensure your bootable media is not corrupted and your hardware is compatible. Try a different USB port or a different USB drive.&lt;br /&gt;
*   **Network issues after installation**: Double-check your network configuration, firewall rules, and ensure the network service is running.&lt;br /&gt;
*   **Cannot log in**: Verify your username and password. If you forgot the root password, you may need to boot into rescue mode to reset it.&lt;br /&gt;
*   **Package installation errors**: Ensure your system is updated and has access to the AlmaLinux repositories. Check your `/etc/yum.repos.d/` directory.&lt;br /&gt;
&lt;br /&gt;
== Related Articles ==&lt;br /&gt;
*   [[Configuring Apache on AlmaLinux 9]]&lt;br /&gt;
*   [[Setting up Nginx on AlmaLinux 9]]&lt;br /&gt;
*   [[Basic Firewall Management with firewalld]]&lt;br /&gt;
*   [[Using SSH Key-Based Authentication]]&lt;br /&gt;
&lt;br /&gt;
[[Category:OS Installation]]&lt;br /&gt;
[[Category:AlmaLinux]]&lt;br /&gt;
[[Category:Server Administration]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>