How to Install CentOS 8?, CentOS 8 installation?, Installing CentOS 8?, Step by step installation of CentOS 8?. CentOS 8 was released on 24.09.2019 with plenty of new features as discussed in RHEL 8 New features and on CentOS 8 New Features. This guide will discuss how to install CentOS 8 Linux on VirtualBox, KVM, Proxmox VE, RHEV or any other Virtualized / Physical environment.

For Vagrant use, check: How To run CentOS 8 VM using Vagrant on KVM / VirtualBox / VMWare / Parallels

Follow our steps below while installing CentOS 8 on VirtualBox, KVM, VMware or Physical server.

Step 1: Download CentOS 8 ISO Image

Download a copy of CentOS 8 ISO from CentOS 8 mirror. The ISO files are available under isos directory and CPU architecture. For those interested in using CentOS 8 stream, check CentOS 8 Stream ISO downloads page. You can also check All CentOS mirrors near you.

We’ll use direct ISO links for this.

# CentOS 8

$ wget

# CentOS 8 Stream
$ wget

Step 2: Create a CentOS 8 bootable USB drive

After the CentOS 8 iso file is downloaded, create a bootable USB drive using dd command if you’re running Linux on your local machine.

Confirm ISO file exists locally.

$ file ~/iso/CentOS-8-x86_64-1905-dvd1.iso 
/home/jmutai/iso/CentOS-8-x86_64-1905-dvd1.iso: DOS/MBR boot sector; partition 2 : ID=0xef, start-CHS (0x3ff,254,63), end-CHS (0x3ff,254,63), startsector 23120, 19924 sectors

Create CentOS 8 bootable USB by running the command:

sudo dd if=~/iso/CentOS-8-x86_64-1905-dvd1.iso of=/dev/sdb status=progress && sync


  • ~/iso/CentOS-8-x86_64-1905-dvd1.iso is the path to ISO file.
  • /dev/sdb is your usb device location.

Alternative tools for creating CentOS 8 bootable device are Etcher, PowerISO, WoeUSB, and Win32DiskImager.

Install CentOS 8 Linux on VirtualBox

For guys on Virtualized environments, just select the new VM creation and browse to the location of CentOS 8 ISO file.

install centos 8 virtualbox 01

Click “New“, give VM a name and choose OS type and version.

install centos 8 virtualbox 02

Complete other steps necessary to install CentOS 8 on VirtualBox.

Install CentOS 8 Linux on KVM:

Create New VM > Choose ISO > Assign resources >Finish

Step 3: Start CentOS 8 Linux Installation

4.1 – Boot from your CentOS 8 installation media to start the installation process.

install centos 8 01

4.2 – Select “Install CentOS Linux 8” from the list of options available. CentOS 8Anaconda installer will start in a short while.

4.3 – Choose installation language and click “Continue

install centos 8 02

4.4 – Under “Localization“, select your Keyboard layout, Language Support, Time and Date.

4.5 – Under “SOFTWARE” section, select installation type and optionally select Add-Ons to install for the selected environment.

install centos 8 06

The common installation types are:

  • Minimal Install – Minimal Server without GUI, for advanced Linux Sysadmins.
  • Workstation – For installation on Laptops and PCs.
  • Server with GUI – Server installation with Graphical interface for administration.

If you want to use CentOS Linux 8 as hypervisor, e.g running KVM only, then select “Virtualization Host“.

4.6 – Under “SYSTEM” section, Set:

Installation destination – Choose storage configuration.

Network and Hostname.

To set a static IP address, click “Configure“. For hostname setting, provide hostname value and hit “Apply“.

install centos 8 09

Confirm all settings are okay.

install centos 8 10

4.7 – When done with all the changes, begin installation.

install rhel 8 14

4.8 – As the installation is starting, set root user password.

install centos 8 11

4.9 – Also add a new Admin user account under “User Creation”.

install centos 8 12

Provide user information details and tick “Make this user administrator“.

install centos 8 13

4.10 – When the installation is complete, click Reboot.

Wait for the installation to complete then reboot the server/workstation to login to CentOS 8 environment.

install centos 8 14

4.11 – Select your CentOS 8 Linux installation from Grub menu to boot to your new system.

install centos 8 15

4.12 – On Initial Setup screen,

install centos 8 16

Accept License

install centos 8 17

Click “Finish Configuration“.

install centos 8 18

Login with admin account created.

install centos 8 19

Accept Gnome initial setup popups.

install centos 8 20

You’re ready to start using CentOS 8 Linux system.

install centos 8 21

Step 4: Enable Cockpit Service – Optional

CentOS 8 ships with Cockpit web console which allows you to manage server from a web console. Check its installation on:

How To Manage CentOS 8 With Cockpit Web Admin Console

Step 5: Update CentOS 8

Open your terminal and check for available updates.

$ sudo dnf check-update

To do actual update, run the command.

sudo dnf -y update

Step 6: Change SSH Port

It is recommended to change your server SSH port from the default TCP port 22 to custom port to avoid brute-force attacks. Follow the instructions in our guide for this.

How To Change SSH Port on CentOS / RHEL & Fedora With SELinux Enforcing

Step 7: Customize Bash Shell (Optional)

The default Bash shell for CentOS 8 doesn’t have a good look with helpful default functions and aliases. I’ve found the Bash-it framework to be so helpful for seasoned SysAdmins and Developers.

To customize Bash, refer to How To Customize Bash on Linux with Bash-it


There are plenty of new features in CentOS 8. For Developers who like to work with cutting-edge technologies, and don’t want to wait for weeks or months for new releases, you can go with CentOS 8 stream. The new CentOS 8 modular repository ensures there are regular updates distributed for packages not part of CentOS Base operating system.

You have completed the installation of CentOS 8 Linux server/workstation. Check out recommended books to help you get started.

Best Linux Books for Beginners 2019

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!

As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.


Please enter your comment!
Please enter your name here