Red Hat / CentOS

How to Install CentOS 8

How to Install CentOS 8


This tutorial will guide you on how to perform a minimal installation of latest version of CentOS 8.0, using the binary DVD ISO image, an installation that is best suitable for developing a future customizable server platform, with no Graphical User Interface, where you can install only the software that you need.

What is CentOS

CentOS is an open-source Linux distribution based on Red Hat Enterprise Linux (RHEL). CentOS 8 is viewed as the preferred option for web hosting due to its stability and active developer community.


  • Is the installation program used by CentOS / RHEL and other Linux distributions
  • Runs in textual or graphical mode
  • Supports installation from local or remote sources – CD, DVD, USB drive, or images stored on a hard drive, NFS, HTTP, or FTP
  • The installation can be automated with Kickstart for unattended installation.

Install CentOS 8

1. Download CentOS 8

To download the official and up-to-date CentOS 8 ISO file, navigate to

2. Create Bootable USB or DVD

After downloading the last version of CentOS using above links or using official CentOS download page. Burn it to a DVD or create a bootable USB stick using LiveUSB Creator called Unetbootin.

3. Boot the CentOS ISO File

Upon booting the CentOS 8 ISO file, you can begin the installation process. To do so, select Install CentOS 8. That will start the installer’s graphical interface.

If you are booting from a USB, click the Install to Hard Drive icon on the desktop. That will open the installation wizard.

How to Install CentOS 8

4. Install CentOS

Before starting the installation process itself, select which language you would like to use during installation. The default option is English.

How to Install CentOS 8

Click Continue to confirm your selection.

How to Install CentOS 8

There are a couple of settings you would want to configure. All items marked with a warning icon must be configured before you begin the installation.

Some system configurations outlined below may differ based on use case.

5. Set Date and Time

To set a date and time for the system, click the Date & Time icon under the Localization heading. Select a region/time zone on the map of the world as seen below. Once you have selected your time zone, hit Done to save your changes.

6. Keyboard Layout

Select the Keyboard option under the Localization heading to set the keyboard layout.

The system default is English (US) and the language you selected in the initial window. Click the plus icon to add more layouts. Move a layout to the top of the list to make it the default option.

Click the Options button to define a key combination for switching between keyboard layouts. When you are satisfied with the settings defined, select the Done button to confirm the changes.

7. System Language

Next, select the Language Support option under the Localization heading. The language selected in the Welcome to CentOS 8 window will be the default system language. If necessary, select additional languages and hit the Done button once you are finished.

8. Software Selection

Select the Software Selection option under the Software heading. You will see a list of predefined Base Environment options and optional add-ons. This part entirely depends on your needs.

  • Minimal Install. This is the most flexible and least resource-demanding option. Excellent for production environment servers. Be prepared to customize the environment.
  • Predefined Server Options. If you are 100% certain about the role of your server and don’t want to customize it for its role, select one of the predefined server environments.
  • GNOME Desktop and KDE Plasma Workspaces. These environments include a full graphical user interface.

When you have selected the base environment and optional add-ons, click the Done button. Wait for the system to check for software dependencies before you move on to the next option.

Select Installation Destination

Click the Installation Destination option under the System heading. Check your machine’s storage under the Local Standard Disks heading. CentOS 8 will be installed on the selected disk.

9. Installation Destination (Partitioning)

Option 1: Automatic Partitioning

Under the Other Storage Options heading, select the Automatically configure partitioning checkbox. This ensures the selected destination storage disk will automatically partition with the /(root), /home and swap partitions. It will automatically create an LVM logical volume in the XFS file system.

If you do not have enough free space, you can reclaim disk space and instruct the system to delete files.

When finished, click the Done button.

Option 1: Automatic Partitioning

Option 2: Manual Partitioning

Select the I will configure partitioning checkbox and choose Done.

If you want to use other file systems (such as ext4 and vfat) and a non-LVM partitioning scheme, such as btrfs. This will initiate a configuration pop-up where you can set up your partitioning manually.

This is an advanced setting option, very much based on your requirements.

How to Install CentOS 8

10. Configuring KDUMP

KDUMP is enabled by default.

To disable the KDUMP kernel crash dumping mechanism, select the KDUMP option under the System heading and uncheck the Enable kdump checkbox. Click the Done button to confirm your changes.

Note: KDUMP captures system information at the time of a crash. It helps you diagnose the cause of the crash. When enabled, kdump reserves a portion of system memory.

11. Network and Hostname

Click the Network & Host Name option under the System heading.

For the hostname, type in the fully qualified domain name of your system. In our example, we will set the Hostname as, where my_server is the hostname while is the domain.

Select Configure… and select to add IPv4 settings or IPv6 settings depending on what you have. Add static IP addresses to help identify your computer on the network. Bear in mind that your network environment’s settings define these values.

To add a static IP address:

  1. Select Manual from the Method drop-down.
  2. Click the Add button to add a static IP address.
  3. Enter the information for your network domain.
    • IP Address
    • Netmask Address
    • Gateway Address
    • DNS Servers Address
  4. Click Save to confirm your changes.

By default, all detected Ethernet connections are disabled. Click the ON/OFF toggle to enable the connection.

12. Security Policy

Select the Security Policy option under the System heading. Choose a profile from the list and hit Select profile. Hit the Done button to confirm your selection.

Start the Installation Process

Once everything is set up according to your liking, hit Begin Installation to start the install. This will start the initial installation process.

Define Root Password

To define the root user, select the Root Password icon.

Select a Root Password and re-enter it in Confirm field.

Root user accounts should consist of at least 12 characters, including uppercase and lowercase letters, numbers, and special characters. We cannot stress enough the importance of a well-defined root password.

Click the Done button to proceed.

Create User

To begin, select the User Creation option.

Add a new system account user by defining the full name, user name, and password. We recommend you check the Make this user administrator and Require a password to use this account checkboxes. This will grant the user root privileges.

After you fill in all of the fields and define a secure password, select Done in the upper-left corner of the screen.

Wait for the installation process to complete.

How to Install CentOS 8

Before you start using your new CentOS installation, reboot the system. Click the Finish configuration button and Reboot.
Log into the system by using the credentials you defined previously.

13. Boot and Accept License Agreement

Upon rebooting, select the first option on the grub menu as shown.

You will be required to Accept the License information as shown.

Click on the ‘License Information’ option and check the ‘I Accept the license agreement’ checkbox.

Finally, click on ‘FINISH CONFIGURATION‘ to wind up the installation process and log in to your new CentOS 8 system.

Once logged in, follow the post installation step and on the final section click on Start using CentOS Linux option.

CentOS 8 comes with a beautiful new GNOME desktop as shown.

Congratulation! You have now successfully installed the latest version of CentOS 8 on your bare new machine


This tutorial outlined how to install CentOS 8, the latest version. By following this guide, you should have a successful installation and boot right into the system.

About the author


jon snow

Jon is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, and currently a content creator for ERRORHAT who loves working with computers and strongly believes in sharing knowledge.

Add Comment

Click here to post a comment