Following the release of RHEL 8, the CentOS community has released the long-awaited CentOS 8 with two modes:

  • CentOS Stream: A rolling Linux distribution for developers who need frequent updates
  • CentOS: a stable operating system similar to RHEL 8. System administrators can use it to deploy or configure services and applications

In this article, we will use a graphical illustration to demonstrate the installation of CentOS 8.

New features of CentOS 8

  • DNF became the default package manager, while yum remained available
  • Using the Network Manager (nmclinmtui) to configure the network and remove the network script
  • Use Podman for container management
  • Two new package repositories have been introduced: BaseOS and AppStream
  • Use Cockpit as the default system management tool
  • Wayland is used as the display server by default
  • iptablesWill benftablesreplace
  • Use Linux kernel 4.18
  • Provides PHP 7.2, Python 3.6, Ansible 2.8, VIM 8.0, and Squid 4

CentOS 8 requires the following minimum hardware configuration:

  • 2 GB RAM
  • 64-bit x86 architecture, 2 GHz or higher CPU
  • 20 GB hard disk space

CentOS 8 installation diagram

Step 1: Download the CentOS 8 ISO file

Download the CentOS 8 ISO file from the CentOS official website www.centos.org/download/.

Create CentOS 8 boot media (USB or DVD)

After downloading the CentOS 8 ISO file, burn the ISO file to a USB hard drive or DVD as the boot media.

Then restart the system and set it in the BIOS to boot from the boot media burned above.

Step 3: Select Install CentOS Linux 8.0

After the system is started from the CentOS 8 ISO boot media, the following page is displayed. Select Install CentOS Linux 8.0 and press Enter.

Step 4: Choose a preferred language

Select the language you want to use during the CentOS 8 installation and continue.

Step 5: Prepare to install CentOS 8

In this step we will configure the following:

  • Keyboard layout
  • Date and Time
  • The installation source
  • Software selection
  • Install the target
  • Kdump

As shown in the preceding figure, the Installation wizard has automatically provided Keyboard Layout, Time & Date, Installation Source, and Software Selection options.

If you need to change the above Settings, just click on the corresponding icon. For example, to change the system Time and Date, just click “Time & Date”, select the correct Time zone, and then click “Done”.

Select the installation mode in the Software selection options. For example, the “Include Server with GUI” option will provide a graphical interface on the installed system, while Minimal Install can be selected if you want to Install as little extra software as possible.

Here we select “Include Server with GUI” and click “Done”.

The Kdump function is enabled by default. While this is a highly recommended feature, it can also be turned off by clicking on the corresponding icon.

If you want to configure the Network during the installation, click the Network & Host Name option.

If the system is connected to a DHCP enabled modem, it will automatically obtain an IP address when the network interface is enabled. To Configure static IP addresses, click Configure and specify information about the IP addresses. We also set the host name to “linuxtechi.com”.

When the network configuration is complete, click “Done”.

Finally, you need to configure “Installation Destination” to specify the hard disk on which CentOS 8 will be installed and the related partitioning mode.

Click “Done”.

As shown in the figure, I allocated 40 GB of hard disk space for CentOS 8. Two partitioning schemes are available: To use the installation wizard to perform Automatic partitioning, select Automatic from Storage Configuration. If you want to partition manually yourself, select the Customize Custom option.

Here we select the “Custom Custom” option and create an LVM-based partition as follows:

  • /boot– 2 GB (ext4 file system)
  • /– 12 GB (XFS file system)
  • /home– 20 GB (XFS file system)
  • /tmp– 5 GB (XFS file system)
  • Swap – 1 GB (XFS file system)

Create a /boot standard partition and set the size to 2GB, as shown in the figure below:

Click Add Mount Point.

Create a second partition/and set the size to 12GB. Click the plus sign, specify the mount point and partition size, and click Add Mount Point.

Then change the partition type of/partition from standard to LVM on the page and click “Update Settings”.

As shown in the figure above, the installation wizard has automatically created a volume group. To change the name of a Volume Group, click Modify on the Volume Group TAB page.

Similarly, create the /home and/TMP partitions, set the sizes to 20GB and 5GB, respectively, and set the partition type to LVM.

Finally, create a Swap Partition.

Click Add Mount Point.

When all the partitions are set up, click “Done”.

On the next screen, click “Apply Changes Accept Changes” and the above changes will be written to your hard drive.

Step 6: Select “Start Installation”

When all the changes are complete, go back to the previous Installation overview screen and click Begin Installation to start installing CentOS 8.

The following interface indicates that the installation process is in progress.

To set the Password for User root, simply click the “root Password root Password” option, enter a Password, and then click the “Create User User Creation” option to create a local User.

Enter details about the newly created user.

After the installation is complete, the installation wizard will prompt you to restart the system.

Step 7: Complete the installation and restart the system

Restart the system after the installation is complete. Just hit the “Reboot” button.

Note: After the restart is complete, remember to disconnect the installation media and set the BIOS boot media to hard disk.

Step 8: Start the newly installed CentOS 8 and accept the license agreement

In the GRUB boot menu, select CentOS 8 to boot.

Agree to the CentOS 8 license and click Done.

On the next screen, click “Finish Configuration”.

Step 9: Log in after the configuration

After you agree to the CentOS 8 license and complete the configuration, the login screen is displayed.

Log in with the user you just created and the corresponding password, and follow the prompts to see the following interface.

Click “Start Using CentOS Linux”.

This is the installation process of CentOS 8, so we have completed the installation of CentOS 8.

Send us comments.


Via: www.linuxtechi.com/centos-8-in…

By lujun9972

This article was originally compiled by LCTT and released with honor by Linux China