How to Install CentOS 7.x?

Step 1: Download the ISO Image
To get a copy of CentOS 7 download from its source. CentOS 7 is now shipping for 64-bit platforms because most of the servers are in 64 bit.


Step 2: Make a bootable Drive
After you have downloaded the ISO image, make a bootable USB drive, I will recommend Etcher to make a bootable disk because it supports all major platforms Linux, macOS, and Windows and it is simple.
You should get the etcher started like this:

Select your ISO image file and the target and flash the drive.

How to install Etcher on Linux.

Step 3: Boot the CentOS

After you have created the bootable media, place your bootable media into your system and select the media as your primary device.

After you boot from your bootable disk, the boot should be started like this, Select Install CentOS 7 and press Enter key.

The system will start loading the media installer. Select your preferred language as well as the Keyboard type you have

Press ENTER key to begin the installation.

Step 4: Welcome to CentOS 7 / Install CentOS.

 Before starting the installation process, itself, select which language you would like to use during installation. The default option is English.

Click Continue to confirm.

Step 5: Installation Summary

There are a couple of settings you would want to configure. All items marked with a warning icon must be configured before you begin the installation.

Step 6: Set Date and Time

Select the “DATE & TIME” option to set your local date and time, as I am in INDIA I selected “Asia/Kolkata time zone”.

After Select, the TZ, click on Done.

Step 7: Language Support

Select you preferred language with which you want to use your OS.

Click Done, after select.

Step 8: Installation Source

As we are booting from a bootable drive, the installation source will be automatically selected to local drive. But CentOS can be installed from a network path, if you wish to install it from a network path.

You have the option to select network installation as depicted below.

Click Done after selected.

Step 9: Installation Destination

Select the installation destination tab, in summary, you will get two options here “Automatically configure partition and I will configure the partition. As a beginner, I will suggest going with “Automatically configure partition”.  To perform a manual partition: Click here.

Click Done, after you selected the right option. If the drive is not empty it will ask for reclama space.

Click ON > reclama space > delete all > click on done.

Step 10: Network & Host Name

Select the “Network & Host Name” tab in summary.

Enable network > Set hostname > Done, as depicted below.

Step 11: Software Selection

Select the Software Selection tab in the summary. You will see a list of predefined Base Environment options and optional add-ons. This part entirely depends on your needs.

  • Minimal Install. This is the most flexible and least resource-demanding option. Excellent for production environment servers. Be prepared to customize the environment.
  • Predefined Server Options. If you are 100% certain about the role of your server and don’t want to customize it for its role, select one of the predefined server environments.
  • GNOME Desktop and KDE Plasma Workspaces. These environments include a full graphical user interface.

Select Server with GUI > Click Done.

Step 12: Configuring KDUMP

KDUMP is enabled by default. (recommended)

To disable the KDUMP kernel, select the KDUMP option under the Installation Summary and uncheck the Enable KDUMP checkbox. Click the Done.

Note: KDUMP is a feature of the Linux kernel that creates crash dumps in the event of a kernel crash. It helps you diagnose the cause of the crash. When enabled, KDUMP reserves a portion of system memory.

Step 13: Security Policy

The anaconda installer used on the CentOS Linux Minimal, DVD and Everything ISOs contains a section called Security Profiles. These profiles add packages to installs and they also may perform set up options for several services.

Default (no profile selected): Normal install, normal remote access, Default firewalld and sshd active.

Standard System Security Profile: Normal install, normal remote access, Default firewalld and sshd active.

PCI-DSS v3.2.1 Control Baseline: Remote root access, local root access from the console. Remote user access, local user access from the console. Default firewalld and sshd active.

Note: Please be aware of the login and firewall restrictions in the above profiles. If the security profile restricts remote root logins, make sure you have console access to the machine after reboot AND that you have set up a non-root user to be able to log in and then you can su to root from that user if required.

Step 14: Start the Installation Process

Once everything is set up, click Begin Installation to start the install. This will start the initial installation process.

Step 14: Define Root and User Password

Select the Root Password and enter the password and renter For the confirmation and click Done. 

Select the User Creation and enter the username, password, and renter

For the confirmation, to grant administrator privilege to the user check

“Make this user administrator” and click done.

After the user creation, wait for the installation process to complete.

CentOS Linux is now successfully installed. Reboot the system.

Step 15: License Information

After the reboot, you need to accept the license.

Select “License Information” accept the license, you have installed the CentOS Linux successfully. Log into the system by using the credentials you defined previously.

Leave a Reply

Your email address will not be published. Required fields are marked *