In this article you will learn how to install CentOS 7 in a few easy steps. CentOS is a Linux distribution company similar to Redhat Enterprise Linux was released it’s first version on year 2004, Till now the versions released by CentOS are CentOS 3, 4, 5, 6, 7. CentOS 7 is the latest version which was released on year 2014.
To start the installation process of CentOS 7 Server version / CentOS 7 Desktop version insert the installation bootable media in DVD-ROM/RW and keep the DVD-ROM as a first boot device to allow the system to boot from CentOS 7 bootable media OR if you are trying to install on Vmware Workstation then you can use iso image. After boot the system from CentOS 7 media you will able to see the first screen in front of you which is shown below, Here you select Install CentOS 7 ( Highlighted in Blue color on the snapshot below )and press enter to go for further step.
Step 1: Starting Installation, Selecting Language And Keyboard
To begin installation, click on the Install to Hard Drive icon on the desktop. The system will start loading media installer and a Welcome screen should appear. Select your Installation Process Language, that will assist you through the entire installation procedure and click on Continue. Select your preferred language as well as the Keyboard type you have. Take care not forget to choose the correct keyboard or else you will end up with a few scrambled keys.
Step 2 – Select The Installation Destination
The next step, present screen prompt is Installation Summary. It contains a lot of options to fully customize your system. First thing you may want to setup is your time settings. Click on Date & Time and select your server physical location from the provided map and hit on upper Done button to apply configuration.
Time Zone – Select time Zone as per your Country. (eg: Asia/Calcutta)
Keyboard Language – Select Language for Keyboard. (eg: English (US))
Language Support – This is we have selected as English (United States) on our previous step.
Installation Source – Select the Installation Source (eg: Installation DVD media or .iso Image)
Software Selection – Here you have to select the software as per your scenario for eg: if you want to install with CentOS 7 Server features or just minimal Installation features, Just select as per your need.
Installation Destination: Here we have to do some settings like: – Select the Harddisk where you want to install the Operating System. – You have to choose partition creation options i.e.
Automatically create partition: Here system will automatically create partition for you.
Manually create partition: Here you have to create partition manually as per your need.
Network & Hostname: Enable the Network Settings to get the IP Address from DHCP Server or Manually configure the IP Configuration and give a Hostname to CentOS 7 Server.
Click on Date & Time and select your server physical location from the provided map and hit on upper Done button to apply configuration.
The next step is to choose your Language Support and Keyboard settings. Choose your main and extra language for your system and when you’re finished hit on Done button.
Select Keyboard Layout, here it’s English (US), You can add more languages by click on + sign on lower portion of the window then click on Done to save the setting
On the next step you can customize your installation by using other Installation Sources than your local DVD/USB media, such as a network locations using HTTP, HTTPS, FTP or NFS protocols and even add some additional repositories, but use this methods only if you know what you’re doing. So leave the default Auto-detected installation media and hit on Done to continue.
Next – Choose your system installation software
Minimal Installation : Install the Operating Basic Functionality.
Infrastructure Server : Server for operating Network Infrastructure Services.
File and Print Server : File, Print and Storage Server for your Network/Organisation.
Basic Web Server : Web Server for your Internet/Intranet Sites
Server with GUI : Install with all Server features with GUI (Graphical User Interface)
Gnome Desktop : Install with all Desktop Gnome Features and So on.
and then select required add-ons for selected environment on the right side of the window as shown on the snapshot below.
After all required changes click on Done to save the settings, Refer the snapshot below.
Step 3 – Select The Partitioning Scheme
On the next screen, choose LVM (Logical Volume Manager) as partition layout and, then, click on Click here to create them automatically, option which will create three system partition using XFS filesystem, automatically redistributing your hard-disk space and gathering all LVS into one big Volume Group named centos.
If you are not pleased with the default partition layout done automatically by the installer you can completely add, modify or resize your partition scheme and when you finish hit on Done button and Accept Changes on the Summary of Changes prompt.
Step 4. To set your system hostname and enable networking
Click on Network & Hostname label and type your system FQDN (Fully Qualified Domain Name) on Hostname filed, then enable your Network interface, switching the top Ethernet button to ON.
After complete configuration just click on Begin Installation button to start the Installation Process.
Now we have to set strong password for root (Administrator user account in linux) user and it is recommended to create a new user.
After you finish setting up a strong password for root account move to User Creation and create your first system user. You can designate this user to become a System Admin with root privileges using sudo command by checking the box Make this user administrator, then click on Done to go back on main menu and wait for the installation process to finish.
As shown on the snapshot below CentOS 7 Installation completed successfully, Just click on Reboot to login in to the operating system.
Congratulation! You have now installed last version of CentOS on your bare new machine. Now just select the GRUB and press ENTER to boot the operating system. Enter the password for for user elinuxbook to login the operating system.
After first login the CentOS 7 operating system will prompt a Welcome Page where we have to do some normal settings like select preferred Language, Input Language. Then click on Start using CentOS Linux. Follow the snapshots below for reference.