How to Install CentOS 9 [Easiest Guide]

CentOS stands out as a widely embraced open-source Linux distribution designed for server applications, offering alignment with Red Hat’s RPM package manager. Its primary objective is to deliver a reliable operating system compatible with upstream RHEL (Red Hat Enterprise Linux). Consequently, CentOS is considered one of the premier free Linux distributions suitable for server environments.

Requirements to Install CentOS

  • Minimum 10 GB of free space.
  • Minimum 2 GB RAM (4 GB recommended).
  • USB drive.

What is CentOS?

CentOS (Community ENTerprise Operating System) is a free and open-source distribution derived from the Red Hat Enterprise Linux (RHEL) source code. The community develops and maintains it, providing a stable and reliable operating system for servers and enterprise environments. It is recognized for its stability, robust security features, and diverse panel choices.

CentOS Linux Distribution Key Features:

  • Security Features: CentOS incorporates robust security features, including the Security-Enhanced Linux (SELinux) system, which allows users to enable access control policies for different processes and files.
  • Updates: Red Hat launches a new significant version of CentOS Linux, with a support period of ten years. This approach minimizes potential issues associated with software updates.
  • Stability: CentOS uses stable software versions since the release cycle is longer. Therefore, applications don’t need to be updated as often.
  • Panel Options: CentOS users can choose from a variety of management platforms, such as cPanel, Plesk, WebMin, Spacewalk, CWP, Virtualmin, and VestaCP.

Steps to Install CentOS

Before diving into the installation process, it’s always good practice to back up your important data before making any significant changes to your system.

To install CentOS follow the steps below:

Step 1: Download the CentOS ISO File

Go to the CentOS official Website to download CentOS 9’s ISO file. official website of CentOS

Step 2: Create a Bootable Media

You can utilize Etcher, an open-source application to create a bootable USB drive from the ISO file.

  1. Initiate by installing Etcher on either Windows or MacOS. Upon installation is complete, launch the application and Choose the “Flash from File” option.Click on Flash from file
  2. Next, pick the ISO file from the location where you downloaded it. Select the iso file on Etcher.
  3. After that, connect your USB pen drive to the computer and click on “Select target”. Click on Select target on Etcher
  4. Select your USB drive from the list.  select the usb
  5. Finally, click on Flash! to start the ISO file on the USB drive. Select flash on Etcher

Following that, Etcher will proceed to transfer the contents of the ISO file to your USB drive, thereby making it bootable.

Step 3: Boot CentOS from USB

To boot RHEL from the USB drive follow the below steps:

  1. First, insert the bootable USB drive into the computer. Subsequently, power on/restart the computer, and the boot window will automatically appear. Boot Fedora form USB
  2. Navigate to Boot using the RIGHT ARROW key and then keep the cursor on Removable devices using the Down ARROW key. Boot from USB
  3. Now use the + key to move the “Removable Devices” option on the top. Pull the "Removable Devices" option at first using plus "+" key
  4. Navigate to Exit by using the RIGHT ARROW (or you can press ESC) and keep the cursor on the Exit Saving Changes option. Then, press ENTER. Press "Esc"key or right arrow to navigate to Exit.
  5. Select Yes and press ENTER. Select "yes" and press "ENTER"
  6. After booting, the install window will appear on the screen. Here select “Install CentOS 7” using the UP and DOWN ARROW and press ENTER.  select intall Centos 9

Step 4: Choose the Language

Select your preferred language (for example ENGLISH) and click on Continue. Select your preferred language Following the language selection, the central screen known as “Installation Summary” will appear, presenting configuration options as below: installation summary

Step 5: Set Date and Time

To configure the date and time, navigate to “Date & Time” from the “Installation Summary” prompt. Now, select your preferred “Region” and “City”. Then, click on Done. Set time and date

Step 6: Select a Keyboard Layout

First, navigate to “KEYBOARD LAYOUT”  from the “INSTALLATION SUMMARY” prompt. After that, click on the “+” icon. To change language click on plus icon Here, you can add a keyboard layout by selecting it from the list. Click on Add. Select the language from list and click on Add After that, this prompt will close, and then click on Done on the “KEBOARD LAYOUT” prompt. Click on done to set the language

Step 7: Select Installation Destination

Click on Installation Destination and then check the Automatic option of “Storage Configuration”. Now, select ATA VBOX HARDDISK in the “Local Standard DIsks” and click on Done. Installation destination

Step 8: Set Root Password

Go to “ROOT PASSWORD” from the “Installation Summary” prompt. Now, set a root password and click on Done. Set root password

Step 9: Create a User Account

To create a user account, go to “USER ACCOUNT” from the Installation summary prompt. After that, type your Full name and Username, and set a password for the account. Create user

Note: If you want the user account to be an administrator, check the “Make this user administrator” option.

Step 10: Start the Installation Process

Click on Begin Installation. Begin installation

Step 11: Reboot the OS

Now, click on the Reboot option.  Reboot the system After rebooting, a prompt will appear with the user account created while installing. Here, click on the username, type the user password, and lastly press ENTER. Login user account After logging into the user account, here is the CentOS desktop interface. CENTOS interface Great job! You’ve effectively set up CentOS. Feel free to delve into the system and explore its features.

Conclusion

In conclusion, installing CentOS is a straightforward process that involves creating a bootable installation media, configuring system settings, and allowing the installer to set up the operating system on your chosen hardware or virtual environment. CentOS, renowned for its stability and security features, is a popular choice for servers and enterprise applications.

People Also Ask

Is CentOS and RHEL same?

No, CentOS and RHEL are not the same. While CentOS is built from the same source code as RHEL. The key differences lie in their support models, branding, release timing, stability, and target audience. RHEL is a commercially supported and branded enterprise.

What is GCC CentOS?

GCC on CentOS refers to the GNU Compiler Collection installed on a CentOS operating system. It is a set of compilers for various programming languages, including C, C++, Fortran, and others essential for building and compiling software from source code. Users can install GCC on CentOS using package management commands like YUM or DNF.

Which is faster CentOS or Ubuntu?

CentOS is widely recognized for its stability in comparison to Ubuntu, primarily attributed to less frequent package updates. However, this characteristic can also pose a drawback. If you seek the most recent versions of specific applications or software, you’ll need to undertake manual installations.

Is CentOS 7 end of life?

CentOS 7 was scheduled to reach its end of life (EOL) on June 30, 2024. However, it’s important to note that information about end-of-life dates can change

What replaced CentOS Linux?

The traditional CentOS Linux, which was a downstream, free, and community-supported version of Red Hat Enterprise Linux (RHEL), was replaced by CentOS Stream as the primary focus of development.

What is the difference between CentOS Linux and CentOS Stream?

CentOS Linux and CentOS Stream are two distinct variants of the CentOS operating system with notable differences in their release models and update approaches. CentOS Linux adheres to a traditional fixed-release model, providing a stable and reliable platform with updates focusing on security and bug fixes. It typically follows the release cycle of Red Hat Enterprise Linux (RHEL). In contrast, CentOS Stream adopts a rolling release model, positioned between Fedora and RHEL. This results in a more continued stream of updates, allowing users to access newer RHEL releases. CentOS Stream is favored by developers and those seeking a balance between stability and proximity to the cutting edge of software development.

Related Articles


<< Go Back to Linux OS Single InstallationLinux OS Installation Guide | Learn Linux Basics

Rate this post
LINUX
FUNDAMENTALS
A Complete Guide for Beginners Enroll Course Now
Auhona Islam

Auhona Islam is a dedicated professional with a background in Electronics and Communication Engineering (ECE) from Khulna University of Engineering & Technology. Graduating in 2023, Auhona is currently excelling in her role as a Linux content developer executive at SOFTEKO to provide a more straightforward route for Linux users. She aims to generate compelling materials for Linux users with her knowledge and skills. She holds her enthusiasm in the realm of Machine Learning (ML), Deep Learning (DL), and Artificial Intelligence (AI). Apart from these, she has a passion for playing instruments and singing. Read Full Bio

Leave a Comment