CentOS 8 installation with Screenshots

CentOS 8 was released on 24.09.2019 with lots of new features. In this tutorial, we learn CentOS 8 installation on VirtualBox or on a Physical machine.

Step 1: Download CentOS 8 ISO Image

You can easily get an ISO image of all released versions of CentOS. On the website of CentOS, you can get the list of all available mirrors in the world. For better download speed choose the mirror in your region.

After Download the ISO image, you can verify the image with the size and SHA256 hash value given Here.

Step 2: Create a bootable USB drive

After download the ISO image the next thing we required is a bootable USB drive.

On a Windows PC, you can create a bootable USB of CentOS by using YUMI or RUFUS or LiLi. All are very simple and reliable ways to make a bootable USB.

If you on Linux then you can create bootable USB using the dd command like the below example.

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

Note: replace path_to_iso_file with your iso file path and also replace /dev/sdb by your USB device path. If you don’t know your USB device path you can run the below command to see it.

sudo lsblk

Virtual Box

For installation in Virtual Box, we do not need a bootable USB media. You can just click on Create New Virtual Machine and Select Redhat 64 Bit.

Also, allot RAM and Storage according to your choice.

Remember a minimum of 1.5 GB RAM and 10 GB HDD is required.

virtualbox-create-centos-8-1

Now go under the Storage option and choose CentOS 8 ISO image file in Virtual Optical Drive.

virtual-box-select-centos-8-iso

Step 3: Begin the CentOS 8 installation

Finally, boot from your bootable USB media and start the CentOS 8 Setup.

centos-8-install

Step 4: Choose installation language Language

Here you can choose the language for the installation process.

choose-installation-language-centos-8

When you click on continue, You will see the below page.

installation-summary-centos-8

Step 5: Select the keyboard language

Here you can choose the keyboard language for the installation process. The default is English (United States).

choose-installation-keyboard-layout-centos-8

In this section, you can choose between different languages and also can test it by typing some text in the given textbox.

choose-and-test-keyboard-layout-centos-8

Step 6: Configure Language

In localization, section click on Language Support to choose the language for OS.

choose-language-for-os-centos-8
language-list-for-os-centos-8

Step 7: Select the location and the timezone

After that, click on Time & Date for selecting Timezone and the location.

select-timezone-for-centos-8
select-timezone-and-date-for-centos-8

Step 8: Select Software and features to install

In the software section, the installation source is automatically selected. Below that, the Software selection option is available. Here you can select which features and software you want to install during installation.

software-selection-menu-centos-8

By default, the server with the GUI option is selected. You can choose between various Base Environment and select Add-Ons for selected Environment.

software-and-features-list-centos-8

For Example, You want a Basic WEB server without GUI then just select the following options.

basic-web-server-with-no-gui-centos-8

Step 9: Choose the partitioning scheme

Note: Be careful when making choices in this process. You may lose your data if the wrong option selected.

In the SYSTEM section, the first option is for configuring Disk partition and choose the installation destination for our server.

select-partition-scheam-centos-8-installation

Disk partitioning is one of the most important parts of the OS installation.

Step 9.1: Automatic Partition Configuration

If you do not want to create manual partitions, just select the disk, select Storage Configuration as automatic and click on Done. In this method, all the disk space is used and partitions are created automatically.

Note: This process deletes all your partitions and data on the disk.

auto-partition-centos-8-installation

Step 9.2: Custom Partition Configuration

If you want to install CentOS 8 on a disk, where you already have some partition then you should select the custom partition option.

select-custom-partition-method-centos-8-installation

After that, you will the below menu where you have to select the partition scheme and create new partitions. For example, in the below image I select the Standard partition scheme.

select-partition-type-and-create-new-partition-centos-8

Now, We have to create mount points like the image below.

create-mount-point-centos-8-installation

After creating all the necessary mount points, your partition table looks like the below image.

save-partition-table-centos-8-installtion

After that, verify all the changes will be done in the partition table and click on Accept Changes when done.

verify-patition-and-accept-changes-centos-8-installation

Step 11: Configure Network and Hostname

You should have a configured network connection during the installation process because the network connection is required to update all the components during installation.

select-network-centos-8-installation

Also, you can define the hostname of the server.

configure-network-hostname-centos-8-installation

Step 12: Begin the installation

Now, we are ready to start the installation process of our CentOS 8 Server.

Step 16: Set the root password and create a user account

After that, the User Settings section needs to be configured.

user-settings-section-centos-8-installtion

Now set a strong password for the root user.

set-root-password-centos-8-installation

After that, create a user and set a strong password for that user.

create-user-centos-8-installtion

Step 18: Reboot and accept the license agreement

When the installation process is completed you have to reboot the server.

reboot-server-centos-8-installation

After reboot, you have to accept the license and finally Finish Configuration.

license info centos 8 install
accept-license-centos-8-isntall

Step 19: Login in your New Centos 8 Machine

After that, you can log in with the user you created in the previous step.

login-centos-8-install

Summary:

In this tutorial, we learn, how to install CentOS 8. I hope you like the way I write this tutorial. You can suggest to me in the comment section if something is missing. Happy Learning !!!

1 thought on “CentOS 8 installation with Screenshots”

Leave a Comment