How to Install Rocky Linux 8

Rocky Linux is a CentOS clone created by Gregory Kurtzer, the founding father of CentOS. Kurtzer introduced the Rocky Linux challenge hours after the RHEL improvement crew introduced help for CentOS 8 ended on December 31, 2021. The downstream, binary-compatible construct primarily based on RHEL launched on June 21, 2021. Kurtzer named the distro after his late CentOS co-founder, tweeting, “Considering again to early CentOS… My co-founder Rocky McGaugh. He’s not with us, in order a H/T to him, who by no means acquired to see the success that CentOS got here to be, I introduce to you… Rocky Linux.”


Rocky Linux Minimal Necessities

Listed here are the minimal necessities to put in Rocky Linux 8.5.

  • 2 GB RAM or larger
  • 20 GB Laborious Disk or bigger
  • 2 CPU / vCPUs (1.1 GHz processor)
  • Web Connection (optionally available)
  • Bootable media (USB or DVD)

Associated: What Is Rocky Linux and Ought to You Think about It?

Obtain Rocky Linux and Create USB Drive

Observe these directions to obtain Rocky Linux and create a bootable USB drive.

  1. Open your net browser and navigate to rockylinux.org/download.
  2. Click on Save File.
  3. As soon as the file is downloaded, create your Rocky Linux bootable USB out of your machine. When you’re undecided how to do that, see under:
    1. Methods to Create a Home windows 11 Bootable USB Drive
    2. Methods to Make a Bootable USB Drive With Etcher in Linux
    3. Methods to Create and Boot From a Linux USB Drive on Mac

MAKEUSEOF VIDEO OF THE DAY

With the set up media created, you are able to proceed.

Rocky Linux Set up Directions

Observe these directions to efficiently set up Rocky Linux 8.5

  1. Insert the Rocky Linux bootable USB you created into your goal PC/laptop computer.
  2. Begin or restart your machine as well from the USB drive. As soon as you’re introduced with the Rocky Linux boot display screen, choose Set up Rocky Linux.
    Rocky Linux Initial Installation Screen
  3. Click on your most popular language when prompted and click on Proceed.
  4. On the Set up Abstract window, choose Set up Vacation spot.
    Rocky Linux - Begin the installation.

    Select your goal arduous disk and click on Completed.

  5. Choose Community and Host Identify and connect with your community connection. Click on Completed.
    Rocky Linux - Select installation source. Choose your network and host name.
  6. Choose Set up Supply and select your Rocky Linux bootable USB (if not already chosen).
  7. Choose Software program Choice and select your required base atmosphere and extra software program. Click on Completed when glad together with your decisions.
    Rocky Linux - Choose the sofware you want to install.
  8. Select Root Password from the Set up Abstract window. Enter and confirm your required password. Click on Completed.
  9. Choose Create Person from the Set up Abstract window. Enter your required responses. Click on Completed.
    Rocky Linux - Create a new user.
  10. Please be affected person whereas Rocky Linux installs in your laptop computer/PC.
  11. After the set up completes, click on Reboot System. Take away the Rocky Linux bootable USB drive when prompted. Press <Enter>.
  12. .After the system reboots, click on Licensing Info on the Preliminary Setup window.
  13. Learn the License Settlement, scroll to the underside, and examine I settle for the license settlement. Click on Completed.
    Rocky Linux - Reboot and remove USB drive when prompted.
  14. Click on End Configuration.


Rocky Linux Submit-Set up Procedures

You’ll have just a few configuration steps to finish following the primary boot of Rocky Linux.

  1. Login to your Rocky Linux set up utilizing the person (and password) you created earlier.
    Rocky Linux - Login to your new Rocky Linux installation.
  2. After the system reboots, click on Licensing Info on the Preliminary Setup window.
  3. Learn the License Settlement, scroll to the underside, and examine I settle for the license settlement. Click on Completed.
  4. Click on End Configuration.
  5. Login to your Rocky Linux set up.
    Rocky Linux - Login to your new Rocky Linux installation.
  6. Select your required language on the Welcome display screen. Click on Subsequent.
  7. Repeat for the Typing display screen. Click on Subsequent.
  8. On the Privateness display screen, select whether or not you need location companies on or off. Click on Subsequent.
    Rocky Linux - Choose what online accounts, if any, you want to add.
  9. Select what on-line accounts you want to join and enter your credentials, or click on Skip.
  10. Click on Begin utilizing Rocky Linux.
    Rocky Linux - Click Start to start using Rocky Linux.
  11. Congratulations, you’ve gotten efficiently put in Rocky Linux 8 in your laptop computer/PC!


Everytime you set up a brand new distro, your first order of motion is updating your system to make sure any safety updates are utilized, in addition to software program on OS updates. Launch your terminal and replace your repositories with the next command (enter your root password if prompted):

# sudo yum check-update

After the yum check-update command completes, enter the next command to replace your OS and all put in software program:

# sudo yum replace

When the sudo yum replace command completes, exit the terminal with the next command:

# exit

Improve Rocky Linux 8.5’s DNF Velocity

Dandified YUM, higher often known as DNF, is a software program package deal supervisor for RPM-based Linux distributions that installs, updates, and removes packages. It was first launched in Fedora 18 in a testable state (i.e., tech preview), however it’s been Fedora’s default package deal supervisor since Fedora 22. Additionally obtainable as a package deal supervisor in Rocky Linux is RPM (Purple Hat Bundle Supervisor). Bundle managers permit Linux customers to put in, replace, and take away software program.


After set up and updating and upgrading your new Rocky 8.5 set up, it is beneficial that you just enhance your DNF velocity. First backup the dnf.conf file.

# sudo cp /and so on/dnf/dnf.conf /and so on/dnf/dnf.bak

Subsequent, edit the dnf.conf file:

# sudo nano /and so on/dnf/dnf.conf

Now you may enhance the DNF velocity by including parallel downloads by including the next to the underside of the dnf.conf file:

max_parallel_downloads=10

Notice that 10 is the beneficial setting for customers to start out with, however you may enhance this to totally different quantity similar to 15, 20, and so forth. It is suggested to do that sparingly. To allow the quickest mirror, add this line beneath the max_parallel_downloads=10.

fastestmirror=True

Save the up to date /and so on/dnf.conf file, and exit nano.

There may be have to reboot or restart any companies, as these adjustments take impact instantly.

Migrating to Rocky Linux 8.5

Current CentOS 8.5, Alma Linux 8.5, RHEL 8.5, or Oracle Linux 8.5 customers can simply migrate to Rocky Linux utilizing the next procedures.

First, obtain the Rocky Linux migration script. Probably the most safe means is to obtain the migration script by way of git.

Enter your terminal. Enter the next command to put in git (enter the basis password if prompted):

# sudo dnf set up git

Subsequent, clone rocky-tools repository with the next command:

# sudo git clone https://github.com/rocky-linux/rocky-tools.git

You too can obtain the migration script by way of the curl command (though this a much less safe technique):

# sudo curl https://uncooked.githubusercontent.com/rocky-linux/rocky-tools/most important/migrate2rocky/migrate2rocky.sh -o migrate2rocky.sh

Now that you’ve the migration script, you may execute it and begin the migration. First, nevertheless, you have to give the proprietor of the script file execution permissions by way of the next command:

# sudo chmod u+x migrate2rocky.sh

Lastly, we’ll execute the script:

&/nbsp;

# sudo ./migrate2rocky.sh -r

(Notice that the ‘-r’ possibility directs the script to put in all the things. Please be affected person because the migration script completes. Upon completion, exit the terminal.

# exit

Rocky Linux Is a Rock Strong Distro

Rocky Linux is a godsend to Linux fans, like me, lamenting the lack of CentOS 8.0 and none too keen on Fedora. The distro is essentially the most strong I’ve ever seen as an introductory launch. CentOS customers switching to Rocky Linux shall be pleasantly stunned with the acquainted feel and look of the distro. New Linux customers can even have little downside navigating and traversing Rocky Linux.

The Linux group’s response has been overwhelmingly optimistic and supportive of the distro. Quickly after the discharge of Rocky Linux, a subreddit, /r/RockyLinux was created and now boasts nearly 6000 customers.

Rocky Linux actually is ‘the cat’s meow.’ Rocky McGaugh could be proud.


man riding a horse with red hat
The 7 Finest Purple Hat-Based mostly Linux Distributions

In contrast to different Linux distros, RHEL is not free to obtain. However you may nonetheless get pleasure from its advantages by putting in these free RHEL-based Linux distributions.

Learn Subsequent


About The Writer

Leave a Comment