Upgrade from Rocky Linux 8 to Rocky Linux 9

Upgrade from Rocky Linux 8 to Rocky Linux 9

rocky linux
XXLarge
VPS
6
vCPU
24 GB
Memory
240 GB
NVMe Disk
12288 GB
Traffic
56.90
/month
* Up to 12 vCPU, 72GB RAM and 720GB NVMe Disk Space
#### Prerequisites Before you begin, ensure you have: - A server or workstation running Rocky Linux 8 - A user account with sudo privileges - Basic familiarity with the command line #### Step 1: Back Up Your Data Before proceeding with the upgrade, it's crucial to back up all important data and configurations to prevent data loss in case of unexpected issues during the upgrade process. #### Step 2: Prepare Your System Ensure your Rocky Linux 8 system is up to date by installing all available updates: ```bash sudo dnf update -y ``` #### Step 3: Install the Rocky Linux 9 Upgrade Tool Add the Rocky Linux 9 repository and install the upgrade tool: ```bash sudo dnf install rocky-release --enablerepo=rocky-9-Base -y sudo dnf upgrade --refresh -y sudo dnf install dnf-plugin-system-upgrade -y ``` #### Step 4: Start the Upgrade Process Initiate the upgrade process to Rocky Linux 9: ```bash sudo dnf system-upgrade download --releasever=9 ``` This command downloads the necessary packages for the upgrade to Rocky Linux 9. #### Step 5: Perform the Upgrade Once the download is complete, reboot your system to begin the upgrade process: ```bash sudo dnf system-upgrade reboot ``` Follow the on-screen instructions to complete the upgrade. Your system will reboot into Rocky Linux 9 once the upgrade process finishes. #### Step 6: Verify the Upgrade After the upgrade is complete, log in to your Rocky Linux 9 system and verify the upgrade was successful: ```bash cat /etc/redhat-release ``` You should see output indicating Rocky Linux 9. #### Conclusion You have successfully upgraded your Rocky Linux 8 system to Rocky Linux 9, ensuring you have access to the latest features and improvements available in Rocky Linux 9. **Additional Resources:** - **Rocky Linux Documentation:** [https://docs.rockylinux.org/](https://docs.rockylinux.org/) - **Red Hat Enterprise Linux 9 Documentation:** [https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/)

Related Tutorials



    Created with ❤ at Estonia
    EcoStack Technology OÜ