Author Photo

Ahmer's SysAdmin Recipes is a blog for Linux System Administrators. This blog provides recipes for Installation & Configuration of Linux, Ubuntu, Oracle Database, MySQL, Apache, Nginx, Oracle Cloud Control, FreeIPA, Kerberos & OpenLDAP, Subversion, PXE, DevOps, etc. over Red Hat Enterprise Linux (RHEL), CentOS, Ubuntu and Windows.

Please give me your feedback and help me improve this blog. Please let me know If you want me to write on a specific topic.

Friday, 5 February 2016

Installation of CentOS 7 Server

Installation-of-CentOS-7-ServerCentOS (Community Enterprise Operating System) is the famous distribution of Linux that provides a free, enterprise-class, community-supported computing platform, functionally compatible with it’s upstream source, Red Hat Enterprise Linux.

In this article, we will install CentOS 7 from a Minimal ISO.

 

System Specification :

We are using a virtual machine with following specification:

CPU 2.4 Ghz (2 Cores)
Memory 2 GB
Storage 50 GB

 

Install CentOS 7 Server:

At first you are required to download the CentOS 7 setup from the following URL https://www.centos.org/download/We prefer to start with Minimal ISO, and then install only those packages which are required thru CentOS 7 yum command.

Insert installation ISO/CD into Server’s CDROM and restart the Server.

centos-7-install-menu-01

Select Install CentOS 7 and press Enter.

centos-7-install-language-01

Select Language for the installation process. We selected English – English (United States).

Click on Continue.

centos-7-install-summary-01

Now, you are at the installation summary screen. You are required to make various customizations here. At first, click on Date/Time to adjust settings.

centos-7-install-timezone-01

Select your timezone and adjust time and date (if required). Click on Done to get back to installation summary screen.

centos-7-install-summary-02

Click on Installation Destination to setup disk partitions.

centos-7-install-destination-01

At Installation Destination screen, the primary hard disk is already been selected by the installer, and at the Other Storage Options section Automatic Configure Partitioning is selected. But for the sake of demonstration we select I will configure partitioning and Click on Done.

centos-7-install-partitions-01

In Manual Partitioning screen, select Standard Partition from drop down list. and Click on +.

centos-7-install-partition-02centos-7-install-partition-03

Add a swap partion of 4 GB and / root partition of 50 GB.

centos-7-install-partition-04

Review the storage structure and click on Done.

centos-7-install-partition-05

Click on Accept Changes.

centos-7-install-summary-03

At the Installation Summary screen again. Click on Network and Host name.

centos-7-install-network-01

Turn on the Ethernet adaptor and you will notice that Server will automatically acquire a dynamic IP and other network configurations from our DHCP Server.

centos-7-install-network-02

But usually, we required to assign a fixed IP to the Server, therefore, we assign another IP, that we have already reserved for it. Click on Configure.

centos-7-install-network-03

Go to IPv4 Settings tab.

centos-7-install-network-04

Select method Manual and Click on Add to add an IP address. Also add Gateway and DNS servers information on this screen. Our final configurations are as follows":

centos-7-install-network-05

We are not intented to use IPv6 networking, therefore go to IPv6 Settings tab and select method Ignore.

Click on Save.

centos-7-install-network-06

Review Network settings and set the FQDN (Fully Qualified Hostname).

Click on Done.

centos-7-install-summary-04

Click on Begin Installation.

centos-7-install-begin-01

Two more configurations are available during the installation. i.e. Root Password and User Creation. So set a password for root user and create another Admin User as follows:

centos-7-install-root-passwd-01centos-7-install-create-user-01

Click on Done at both screens.

centos-7-install-progress-01centos-7-install-progress-02

At the end of installation, Click on Reboot.

centos-7-grub-menu-01centos-7-cli-01

CentOS 7 installation completed successfully.

Installation of CentOS 7 Server


YOU MIGHT ALSO LIKE:

No comments:

Post a Comment