Linux is a free and open source operating system developed by Linus Torvalds on September 17, 1991. It is mainly used as server environment. A lot of Linux distributions are present today. Among them, Red Hat Linux is used as enterprise Linux. Red Hat is also known as Red Hat commercial Linux that means Red Hat is a paid service program. CentOS (Community Enterprise Operating System) is another Linux distribution that provides a free and open source, enterprise-class, community-supported server platform functionally compatible with its upstream source, Red Hat Enterprise Linux (RHEL). All the commands and functionalities those are available in Red Hat Enterprise Linux are available in CentOS Linux. The current version of CentOS is CentOS 7.5. So, in this article I will show how to install current version of CentOS (CentOS 7.5) with Graphical User Interface (GNOME Desktop).
System Requirements
CentOS 7 can be installed on your server machine if it has minimum 256MB RAM, 2GB disk space and 64 bit CPU architecture because CentOS 7 does not support 32 bit CPU architecture.
Installation of CentOS 7.5 with 7 Easy Steps
CentOS 7.5 can easily be installed on your server machine following the below 8 easy steps.
- Downloading CentOS 7.5 ISO and making bootable drive
- Beginning installation
- Choosing language
- Localization Setup
- Software Setup
- System Setup
- Root Password and User Creation
- Finalizing GNOME Desktop Configuration
Step 1: Downloading CentOS 7.5 ISO and Making Bootable Drive
Before going to start CentOS installation, you have to collect CentOS ISO file and then burn this ISO to a bootable media. The following steps will show how to download CentOS 7.5 ISO file and how to burn ISO file to a bootable media.
- Go to CentOS official site [centos.org] and click on GET CENTOS menu item and then click on DVD ISO button. Now choose your desired ISO from this download page. Alternately, you can follow this link and download CentOS 7.5 from here.
- After downloading ISO file, burn the ISO image in a DVD or in a USB flash drive with your favorite burning software such as Nero[nero.com] or Power ISO [poweriso.com] and then start installation according to the below steps.
Step 2: Beginning Installation
After downloading and making bootable drive, we will now start our CentOS 7.5 installation. The following steps will show the initial procedures to start CentOS 7.5 installation.
- Press power button of your server machine and go to boot option menu according to your machine vender. Choose your boot media CD/DVD ROM if you use DVD or USB Flash Drive if you use Pen drive as your bootable media from boot menu.
- First window of CentOS 7.5 installation will appear. Press Enter key or just wait 60 seconds to go next window.
- It will now ask you to press Enter key to start installation. So, hit Enter key to begin installation.
- After checking a lot of system requirements, a graphical window will appear to choose language.
Step 3: Choosing Language
From this first graphical window, choose your operating system’s language and then click on Continue button. If you wish to keep English as your server language, just click Continue button. Installation Summery window will now appear to setup Localization, Software and System.
Step 4: Localization Setup
In localization setup, there are three types of configuration. Among them, Keyboard and Language Support will be selected according to previous language setup. Now you need to setup Date & Time. To setup date and time, click on Date & Time icon.
Select your region from Region dropdown menu and select your city from City dropdown menu. You are also able to adjust your Region and City by clicking your city on the map. Your time and date will be adjusted by selecting Region and City but double check your changed date and time below the map and then click on Done button.
Step 5: Software Setup
In software setup, there are two options. These are:
- Installation Source: Installation source will be automatically selected as Local Media. So, no need to change it.
- Software Selection: Minimal Install will be selected in Software Selection option. As we want to install CentOS 7.5 Graphical User Interface (GUI), we will change Minimal Install now. Click on Software Selection icon and then click on GNOME Desktop from Base Environment panel. Optionally you can select Development Tools, System Administration Tools, GNOME Applications and Office Suite and Productivity options from Add-Ons for Selected Environment panel. Click on Done button after choosing your Base Environment and Add-Ons.
Step 6: System Setup
There are two options in System setup. These are Installation Destination and Network & Hostname. We will configure network and hostname in our future tutorial. So, we will do nothing in network and hostname configuration. But we will configure Installation Destination now according to below steps.
- Click on INSTALLATION DESTINATION icon. Installation Destination window will appear.
- In Device Selection area click on disk icon which is shown within Local Standard Disks panel.
- From Other Storage Options, click on I will configure partitioning radio button and then click on Done button.
- Manual Partitioning window will appear now. Click on dropdown menu within New CentOS 7 Installation box and choose Standard Partition option.
- Now click on PLUS SIGN (+) located below New CentOS 7 Installation. ADD A NEW MOUNT POINT pop up window will appear. Choose /boot option from Mount Point dropdown menu and type 500 in Desired Capacity input box. By default, MB will be the unit of capacity if you do not mention it. Click on Add Mount Point button now.
- Similarly click on PLUS SIGN again and choose swap from Mount Point dropdown menu and put desired capacity equal to your RAM size in Desired Capacity input box. For example, if your RAM size is 1GB, put capacity value 1GB. Click on Add Mount Point button.
- Again click on PLUS SIGN and choose (/) root partition from Mount Point dropdown menu and put your desired root partition value in Desired Capacity input box. If you wish to assign 10GB for your root partition, put value as 10GB but it must be less than or equal to total disk space-(/boot+swap). Click on Add Mount Point button.
- Click on Done button and then click on Accept Changes button in SUMMARY OF CHANGES window.
- Now click on Begin Installation button. CentOS will start installation according to your desired configuration.
Step 7: Root Password and User Creation
While installing required services, you have to provide Root Password and optionally you can create another local user in this time. To provide root password, click on Root Password option from USER SETTINGS area. Now provide root password in Root Password input box and confirm your password by typing again in Confirm input box and then click on Done button. If you wish to create a local user, click on USER CREATION option and provide necessary information.
Step 8: Finalizing GNOME Desktop Configuration
After installing software packages, CentOS will show a complete message and ask you to reboot your system. Reboot your server by clicking Reboot button.
After rebooting, CentOS will start Initial Setup. In Initial Setup page, it will ask to accept license. So click on LICENSE INFORMATION and then click on I accept the license agreement checkbox and click Done button. We will not configure network and hostname at this time. So, click on FINISH CONFIGURTION button.
Now CentOS will ask to login to your system. You will find your local user is listed here if you provide information at the time of package installation. You can login with local user credential but we will now login with root (administrator) user. So, click on Not listed link and it will ask you to provide your known username. Put root in Username input box and click on Next button. Now it will ask you to provide password for root user. Put your root password that you provided at the time of package installation and click on Sign In button.
You will now be logged in as root user but before getting your Desktop, you will find some gnome initial setup pages. Here do nothing just click Next or Skip button and finally you will find Start using CentOS Linux button. Click on this button and you will find your Desktop now.
If you face any confusion to install CentOS 7.5 following the above steps, watch my video about CentOS 7.5 installation step by step with GUI. I hope it will reduce your confusion.
How to install CentOS 7.5 step by step with GNOME Desktop has been discussed in this article. I hope you will now be able to install your CentOS Linux server successfully. However, if you face any problem to install CentOS 7.5, feel free to discuss in comment or contact with me from Contact page. I will try my best to stay with you.