CentOS 8 Minimal Installation with screenshots

Share on Social Media

Learn how to perform a CentOS 8 minimal installation with our detailed guide and screenshots. Follow step-by-step instructions to set up a lightweight and efficient CentOS 8 environment. #centlinux #linux

What is CentOS 8?

CentOS 8 is a free and open-source Linux distribution based on Red Hat Enterprise Linux (RHEL). It was designed for enterprise and server environments, providing a robust and stable platform for a variety of applications. Here’s an in-depth look at what CentOS 8 is, its features, and its uses:

CentOS 8 (Community ENTerprise Operating System) is the eighth major version of the CentOS Linux distribution. It is derived from the sources of RHEL 8, providing a similar experience to the enterprise-level features of RHEL but without the associated support costs. CentOS 8 was officially released in September 2019, and it has since been succeeded by CentOS Stream.

Key Features

1. Based on Red Hat Enterprise Linux 8

CentOS 8 uses the same source code as RHEL 8, providing a stable and reliable platform with many of the same features found in Red Hat’s enterprise solution.

2. New Package Manager: DNF

CentOS 8 introduces the DNF (Dandified YUM) package manager, replacing the older YUM (Yellowdog Updater, Modified) for package management. DNF offers:

  • Improved performance and enhanced dependency resolution.
  • Better support for modular repositories.
  • Advanced features like history management and rollback capabilities.

3. Modular Repository System

The Modular Repository System allows users to choose from multiple versions of software packages to better meet specific needs:

  • Provides modularity for different software versions and streams.
  • Enables easy management of different versions of applications and components.

4. Updated Kernel

CentOS 8 ships with the Linux kernel 4.18, which includes many improvements over previous kernels:

  • Enhanced performance and security features.
  • Support for new hardware and technologies.

5. New Default Desktop Environment: GNOME 3

The default desktop environment for CentOS 8 is GNOME 3, offering a modern and streamlined interface:

  • Improved user experience with a focus on simplicity and productivity.
  • Updated GNOME Shell for a more intuitive user interface.

6. System Roles and Automation

CentOS 8 supports System Roles and automation:

  • Predefined roles for various system configurations.
  • Integration with Red Hat Ansible Automation Platform for efficient management and automation.

7. Security Enhancements

CentOS 8 includes numerous security improvements:

  • Enhanced SELinux policies for better system security.
  • Improved cryptographic libraries and secure boot support.

8. Application Streams

Application Streams allow users to install multiple versions of software packages:

  • Separate from the core OS packages.
  • Provides access to up-to-date applications and frameworks.

9. Performance and Scalability Improvements

CentOS 8 is designed for both performance and scalability:

  • Supports large-scale deployments.
  • Enhanced performance for both physical and virtualized environments.

Uses of CentOS 8

CentOS 8 can be used in a variety of scenarios, including:

  • Enterprise Servers: Hosting web servers, application servers, and database servers.
  • Development Environments: Building and testing applications in a stable and consistent environment.
  • Educational Purposes: Teaching and learning about Linux systems and administration.
  • Cloud Environments: Running virtual machines and services in cloud infrastructures.
  • High-Performance Computing (HPC): Supporting scientific computing and research applications.

CentOS 8 vs. CentOS Stream

It’s important to note that CentOS 8 has been succeeded by CentOS Stream, which acts as a rolling-release distribution that provides a preview of upcoming RHEL features. CentOS Stream sits between Fedora and RHEL in the release cycle, offering a continuous stream of updates.

For those looking for a traditional CentOS experience akin to RHEL, CentOS Stream may offer a different approach compared to CentOS 8’s fixed release model.

Comparison Table

FeatureCentOS 8CentOS StreamRHEL 8
Release ModelFixed ReleaseRolling ReleaseFixed Release
UpdatesUpdates in major releasesContinuous updatesMajor updates with support
SupportCommunity SupportCommunity SupportPaid Support and Subscription
FocusEnterprise StabilityPreview of Future RHELEnterprise Stability and Support
CentOS 8 Comparison Table

In this article, we will perform minimal installation of CentOS 8 operating system and also attach the screenshots of all the steps. Alternatively, you can upgrade your existing applications and databases by following our previous article on How to upgrade Centos 7 to 8

Recommended Online Training: Learn Bash Shell in Linux for Beginners

745772 0021

Environment Specification

We have provisioned a KVM virtual machine with following specifications.

  • CPU – 3.4 Ghz (2 cores)
  • Memory – 2 GB
  • Storage – 60 GB

CentOS 8 Minimal Installation

Download the CentOS 8 ISO file from CentOS Project website.

Attach the CentOS 8 ISO file in the CDROM and start the virtual machine.

Boot from CentOS 8 ISO
Boot from CentOS 8 ISO

The system is displaying a boot menu with multiple options.

Select ‘Install CentOS Linux 8.0.1905’ option and press <ENTER>.

CentOS 8 - Anaconda Installer is Loading
CentOS 8 – Anaconda Installer is Loading

The CentOS 8 installer is loading now.

CentOS 8 Language Selection
CentOS 8 Language Selection

Choose the preferred Language to be used during CentOS 8 installation and click on Continue.

CentOS 8 Installation Summary 1
CentOS 8 Installation Summary 1

This is the Installation Summary window, we can configure many options here.

First of all click on ‘Time & Date’ to set the timezone according to your region.

CentOS 8 Installation - Set Time and Date
CentOS 8 Installation – Set Time and Date

Select your relevant timezone and adjust the date and time here.

Click on Done to return to Installation Summary screen.

CentOS 8 Installation Summary 2
CentOS 8 Installation Summary 2

Now, click on ’Software Selection’ to select the software packages/groups to install.

CentOS 8 Software Selection
CentOS 8 Software Selection

Here, select the option ‘Minimal Install’ under Base Environment section.

Click on Done to return to Installation Summary screen.

CentOS 8 Installation Summary 3
CentOS 8 Installation Summary 3

Click on the ‘Installation Destination’ to configure disks/partitions.

CentOS 8 Installation Destination
CentOS 8 Installation Destination

Select the Automatic Storage Configuration and click on Done.

CentOS 8 Installation Summary 4
CentOS 8 Installation Summary 4

If you have enough memory for use by KDUMP then skip this step, otherwise disable the KDUMP as follows.

Click on ‘KDUMP’.

CentOS 8 KDUMP
CentOS 8 KDUMP

Uncheck ‘Enable kdump’ option and click on Done.

CentOS 8 Installation Summary 5
CentOS 8 Installation Summary 5

KDUMP has been disabled.

The final option that we are required to configure here is ‘Network & Host Name’.

CentOS 8 - Set Hostname
CentOS 8 – Set Hostname

By default, the networking is not enabled for the Ethernet interface.

Enable DHCP Network configurations by click on the ON option at the right side of the screen.

Set a custom Host Name in the text box at the bottom of the screen and then click on Apply.

The final settings should be look like this.

CentOS 8 - Configure Network
CentOS 8 – Configure Network

Click on Done to return to Installation Summary screen.

CentOS 8 Installation Summary 6
CentOS 8 Installation Summary 6

All necessary settings has been configured for CentOS 8 installation.

Click on Begin Installation to start installing CentOS 8.

CentOS 8 Configuration
CentOS 8 Configuration

While installation is in progress, we can configure two more option thereon.

First, click on ‘Root Password’ to set a password for root user.

CentOS 8 - Set root Password
CentOS 8 – Set root Password

Set password for root user and click on Done.

You are required to click twice on Done, if you have set a weak password.

CentOS 8 Downloading Packages
CentOS 8 Downloading Packages

Now, click on ‘User Creation’ to create another user.

CentOS 8 Create User
CentOS 8 Create User

Click on Done to return to Installation Progress screen.

You are required to click twice on Done, if you have set a weak password.

CentOS 8 Installation Progress
CentOS 8 Installation Progress

Wait for the completion of CentOS 8 installation. It won’t be take so long, because we are installing CentOS 8 with minimal option.

CentOS 8 Minimal Installation Completed
CentOS 8 Minimal Installation Completed

Click on Reboot to restart the system.

GRUB Menu
GRUB Menu

We are now at the CentOS 8 GRUB boot menu.

Select the first option and press <ENTER>.

Linux CLI
Linux CLI

We are reached at the CLI login prompt of CentOS 8.

If you want to learn basics of CentOS/RHEL Linux then you should read RHCSA/RHCE Red Hat Linux Certification Study Guide, Seventh Edition (Exams EX200 & EX300) by McGraw-Hill Education.

Final Thoughts

Performing a minimal installation of CentOS 8 is a great way to set up a lean and efficient server environment. Our comprehensive guide, complete with screenshots, walks you through each step of the process, ensuring a smooth and successful installation.

If you need professional assistance with your CentOS 8 minimal installation or have specific configuration requirements, I’m here to help. Check out my Fiverr gig for expert support and get your CentOS 8 server up and running with ease: Linux Admin Expert

Let’s work together to get your CentOS 8 setup exactly how you need it. Contact me today!

Leave a Comment