How to Install CentOS 8 Server

First of all, the great new has come. The CentOS Project has been released a new version of its Linux distribution CentOS 8, it’s available on two flavors, the CentOS 8 server and CentOS 8 desktop that you can download and installs.

The CentOS 8 released in Sept 2019 with some major updates. And here what’s new on the CentOS 8.

  • Build on the kernel 4.18 that focus on stability
  • New package manager DNF (Dandified Yum)
  • The Cockpit installed by default
  • Comes with two main default repositories: The BaseOS and AppStream
  • The iptables replaced by nftables
  • For Desktop, the Xorg replaced with the Wayland
  • New updated packages including Python, PHP, GCC, Nginx, Git, etc

In this tutorial, we’re going to show you how to install the CentOS 8 Server.

System Requirements

  • 2 GB of RAM
  • 20 GB free disk space
  • Media installation – DVD or USB

1. Download CentOS 8 Server ISO

The CentOS 8 comes with two different versions, the CentOS Linux and CentOS Stream.

The CentOS Linux is a stable, consistent, and suitable for small and large deployments. You can download it from the link below.


The CentOS Stream is the rolling-release version of CentOS distro. It tracks just ahead of RHEL (RedHat Enterprise Linux) development, and you can download the CentOS Stream from the link below.


2. Create Bootable Media

To create the media installation for CentOS 8, you can use different applications.

If you want to create the DVD media installation, you can use an open-source tool such as “brasero”.

For the USB media installation, you can use other applications such as Balena Etcher that can be installed on the different operating system including Windows, macOS, and Linux.

3. Boot and Choose Language

Once the media installation is created, it’s time to insert your media installation and boot into it. Wait a few seconds, and you will be get the first messages of the CentOS boot process as below.

CentOS Boot Process

Move the menu using the “up and down” key and choose “Install CentOS Linux 8”.

After a few moments, you will get the welcome message below.

CentOS Welcome Message

Choose the language as you preferred and click the “Continue” button.

Now you will get the “Installation Summary” page, and you need to click on each menu to configure the CentOS 8 installation.

Installation Summary CentOS 8

4. Setup Keyboard Layout

On the “Localization” section, click the “Keyboard” menu.

Select Keyboard Layout

By default, the installation will detect the keyboard automatically. Click the “plus” button to add a new keyboard layout and click “Done”.

5. Setup Language Support

Click on the “Language Support” menu.

Language Support

Select the language as you preferred and click “Done”.

6. Setup Time and Date

Click on the “Time and Date” menu.

Set up date and time

Change the region and city with your own, and make sure the time correct.

After that, click the “Done” button and the “Localization” setting has been completed.

7. Software Selection for CentOS 8 Server

Move to the “Software” section in the middle and click the “Software Selection” menu.

Additional Software Installation CentOS 8

For the CentOS 8 server, select the “Minimal Install” as a base environment and choose the add-ons as you need. Then click the “Done” button.

8. Hardisk Setup

Move to the “System” section and click the “Installation Destination” menu.

Disk Setup for CentOS 8 Installation

Select your disk for the CentOS 8 installation. For the storage configuration, choose “Automatic” for automatically disk partition, and choose the “Custom” if you want to configure the disk manually.

For this guide, we will be using the “Automatic” storage configuration. Once it’s complete, click the “Done” button.

9. Network and Hostname Configuration

Now click on the “Network and Hostname” menu.

Setup Network and Hostname

Type your system hostname and click “Apply”. For the network configuration, click on the “Configure” button.

For this guide, we will leave the network configuration as default. Because we can configure it manually after the installation is completed.

Now click the “Done” button and we’re ready for the installation.

Click the “Begin Installation” button to start the CentOS 8 installation

Start CentOS 8 Installation

10. Setup Root Password

During the installation, click on the “Root Password” menu.

Setup Root Password

Type your strong root password and click “Done”.

Setup Root Password

11. Setup New User

After that, click the “User Creation” menu to create a new user.

Setup New User

Type your username and make sure to check the “Make this user administrator” option, then type your strong password.

Now click the “Done” button and wait for the CentOS 8 installation is finished.

12. Completed the CentOS 8 Server Installation

Once the CentOS 8 installation is completed, click “Reboot”.

You've successfully installed CentOS 8 Server

Once the system rebooted, remove the installation media.

Finally, the CentOS 8 server installation has been completed.

13. Test Login and Upgrade Packages

Once the server is up again, you will be get the CentOS 8 login page.

Log in with your username and password.

Now type “sudo su” command to get the root privileges and type your password.

After that, type the dnf commands below to upgrade all packages to the latest version.

sudo dnf update

And all packages on the CentOS 8 server has been upgraded.

Write A Comment