How To Download and Install CentOS 8? – POFTUT

How To Download and Install CentOS 8?


CentOS project released the CentOS version 8 on 25 September 2019. We can download and install CentOS 8 in different ways. In this tutorial, we will download the CentOS DVD and install it. This installation tutorial can be also used for CentOS 6, CentOS 7 and upwards versions.

What Changes with CentOS 8?

There are some major changes which can affect the use of CentOS. Here we will list them.

  • `yum` package manager is now based `dnf`.
  • Version control systems provided with Git 2.18, Mercurial 4.8 and Subversion 1.10
  • Python 3 or Python 3.6 is the default version where some limited support is provided for Python 2.7. By default, no version of Python is installed.
  • `Node.js` is added to the CentOS 8. Also PHP 7.2, Ruby 2.5, Perl 5.26 is available.
  • Database servers MariaDB 10.3, MySQL 8.0, PostgreSQL 10 and Redis 5 is provided
  • Webservers Apache 2.4 and Nginx 1.14 is provided
  • GNOME Desktop is provided as 3.28 version and Wayland display server is by default

Download CentOS ISO

We can download the CentOS ISO image from the following URLs. We can download the ISO image directly from the server or using the torrent file. In this case, we will download the ISO image directly.

http://isoredirect.centos.org/centos/8/isos/x86_64/CentOS-8-x86_64-1905-dvd1.iso

http://isoredirect.centos.org/centos/8/isos/x86_64/

Download CentOS8
Download CentOS8

The CentOS-8-x86_64-1905-dvd1.iso image size is about 6.6 GB which is very huge.

Burn The CentOS 8 ISO Image To CD, USB, Flashdisk

In order to install into a physical system, computer or laptop we need to use some installation media which contains CentOS 8. We can use following tutorial to create CentOS 8 installation media with the downloaded CentOS 8 ISO image.

How To Create Bootable USB/Flash Drive with Rufus For Any OS Like Ubuntu, Windows,…?

How To Create Bootable Ubuntu Installation USB/Flash Disk with Rufus On Windows?

Start CentOS 8 Installation

When we start the system with the CentOS 8 iso mounted we will see the following startup screen. In this screen simply we will select Install CentOS Linux which will start the installation process.

LEARN MORE  CentOS ISO/DVD Download Links and Different Versions
CentOS 8 Installation Screen
CentOS 8 Installation Screen

During boot we can see a dark screen or a screen like below we just need to wait for the Welcome CentOS screen.

CentOS 8 Boot
CentOS 8 Boot

In the following screen we will select the Installation Language. By default English is provided as Installation language.

CentOS 8 Installation Language
CentOS 8 Installation Language

The following Installation Summary screen provides the complete configuration about the CentOS 8 Installation.

  • `Keyboard` configuration is used to set the keyboard layout
  • `Language Support` configuration is used to set system language
  • `Time&Date` configuration is used to set date and time with time zone configuration
  • `Installation Source` configuration is used to set installation media which is DVD for this case but also network and internet can be used
  • `Software Selection` configuration is used to set installed software, desktop environment and packages
  • `Installation Destination` configuration is used to set the disk configuration like LVM, root partition etc
  • `KDUM` configuration
  • `Network & Host Name` configuration is used to set the IP address, hostname and network-related configuration.
  • `Security Policy` is used to set some security policy from the network.
CentOS 8 Installation Configuration
CentOS 8 Installation Configuration

By default, English keyboard layout is provided but we can change it from Keyboard configuration. We can add new layout with the plus sign and remove selected existing layout with the minus sign. We can also test the selected layout with the text box on the right side.

CentOS 8 Install Keyboard Layout
CentOS 8 Install Keyboard Layout

We can change the system language from the Language support. By default, English is provided.

CentOS 8 Install Language Support
CentOS 8 Install Language Support

We can change the system time, date and time zone from Time&Date configuration. We can use the map to select the location which is Istanbul in this case. We can also use Region and City options to select.

CentOS 8 Install Date&Time
CentOS 8 Install Date&Time

We can change the installation source but this is generally not required.

CentOS 8 Install Installation Source
CentOS 8 Install Installation Source

In the Software Selection we can select the software, packages or desktop environment we want to install CentOS 8 and use. By default Server with  GUI base environment selected with no Add-ons.

CentOS 8 Install Software Selection
CentOS 8 Install Software Selection

Installation Destination configuration is used to select and configure the disk we want to install. The default configuration, in this case, is single disk which will be configured automatically.

LEARN MORE  CentOS ISO/DVD Download Links and Different Versions
CentOS 8 Install Disk Configuration
CentOS 8 Install Disk Configuration

Network& Host Name is used to configure the IP address, Hostname, and network configuration. We need to make the interface On which is ens160 in this case. We can also set the Hostname from below the screen which is centos8.poftut.com in this case.

CentOS 8 Install Network and Hostname Configuration
CentOS 8 Install Network and Hostname Configuration

We can also load a security policy from the network location bt providing its URL.

CentOS 8 Install Security Policy
CentOS 8 Install Security Policy

Now we will click to the Begin Installation and the installation process will start. During the installation we have to configure the Root Password and User from the following screen.

CentOS 8 Install
CentOS 8 Install

In the Root Password screen, we will set the root user password. If the provided password is weak from the security point of view a Weak message is provided. When we provide a secure password we will see a green Strong message like below. Also, we have to provide the Root Password to the Confirm text box to prevent mistyping.

CentOS 8 Install Root Password
CentOS 8 Install Root Password

The new step is creating a user from the Create User. We will see the following screen. We will provide the following configuration.

  • `Full name` is the full name with first and surname of the user which is `İsmail Baydan` in this case.
  • `User name` is the system-level user name which will be used for login, authentication and system-related operations. We will set `ismail` in this example.
  • `Make this user administrator` will give admin, root, sudo privileges to this user
  • `Requires a password to use this account` will requires a password for this account
  • `Password` is the password for this user and which is strong
  • `Confirm password` will confirm password
LEARN MORE  CentOS ISO/DVD Download Links and Different Versions
CentOS 8 Install User Creation
CentOS 8 Install User Creation

When the installation is complete without any problem we will see the following screen. We can just click to the Reboot to restart and boot freshly installed CentOS 8 system.

CentOS 8 Install Complete
CentOS 8 Install Complete

First Time Boot CentOS 8

When we first start the CentOS 8 we will see the following Initial Setup screen. We will just need to open the License Information screen.

CentOS 8 Installation Initial Setup
CentOS 8 Installation Initial Setup

We will click to the I accept the license aggrement and then click to the Done in order to accept the license agreement.

CentOS 8 Installation License Agreement
CentOS 8 Installation License Agreement

In the following screen just click to the Finish Configuration.

CentOS 8 Installation Finish Initial Setup
CentOS 8 Installation Finish Initial Setup

We can see the following Login screen for the CentOS 8 operating system. We can see the created user named İsmail Baydan.

CentOS 8 Login Screen
CentOS 8 Login Screen

In the first start, we will be asked some question which has been already configured in the CentOS 8 installation phase. In the following screen, we can select the GNOME GUI language which is English.

CentOS 8 Gnome Language
CentOS 8 Gnome Language

In the following screen, we will select the Keyboard layout which is Turkish in this case.

CentOS 8 Gnome Keyboard Layout
CentOS 8 Gnome Keyboard Layout

We can also enable location services for privacy with the following screen.

CentOS 8 Gnome Privacy
CentOS 8 Gnome Privacy

If we have Google, NExtclodu, Microsoft, Facebook accounts we can log in and connect them to the Gnome with the following screen.

CentOS 8 Gnome Connect Google, Microsoft, Facebook
CentOS 8 Gnome Connect Google, Microsoft, Facebook

Here is the last step to use CentOS 8. There is no action just click to the Start Using CentOS Linux.

Update Outdated Packages with Yum

After installing from a DVD there may be some outdated packages which are installed. We can update these packages with the following command from the command line.

$ sudo yum update
Update Outdated Packages with Yum
Update Outdated Packages with Yum

Install Vmware, VirtualBox VM  Tools

If we are installing the CentOS 8 to a VM like VMWare, VirtualBox, Qemu or KVM installing the open-vm-tolls make our life easier. Open VM Tools will integrate the CentOs 8 with the virtualization software and make it faster, efficient and easier.

$ sudo yum install open-vm-tools

Leave a Comment