Content

CentOS 7 Server Setup

CentOS 7 (abbreviated from Community Enterprise Operating System) is a Linux distribution that attempts to provide a free, enterprise-class, community-supported computing platform which aims to be functionally compatible with its upstream source, Red Hat Enterprise Linux (RHEL).

In the example that follows, we will show you how to install a minimal build server without a graphical interface.To install CentOS 7 (minimal) Just follow our steps below:

 

Hardware Requirements

  • Minimum 1024MB (1GB) RAM is require to setup and use CentOS 7
  • At least 1280 MB RAM is recommended for LiveCD installs
  • At least 1344 MB RAM is recommend for LiveGNOME or LiveKDE installs.

To begin with installation

Download CentOS 7

You need to download CentOS  image file. There are many options for downloading CentOS ISO image from https://www.centos.org/download/

Check for minimal ISO and download the the image file.

Boot your computer with CentOS 7 installation media like  burned CD/DVD/USB. Choose “Install CentOS 7”  from the boot menu and hit Enter button.

Centos 7 Boot up

It’s is recommended that you should test your installation media before an installation, if you are happy with the media choose the option “Install CentOS Linux 7” and skip media test.

You will see CentOS 7 installer is loading

installer loading

 

 Language Selection

We will select the option “English”. You can also choose any other available language of your choice.

langauge-selection

 

Installation Summary

You will now be presented with a screen with title Installation Summary. Now configure all the options in the “installation summary” one by one and once you are done, click “Done” button in the top left corner of the installer screen.

Install-Summary Centos7

 

Configure Date and time

Set Date & Time with your respective Zone. This tutorial we will choose Singapore.

Timezone Selection Centos 7

 

Now select the keyboard layout.

keyboard-select

 

Select language of your choice.

keyboard-langauge

 

Select software selection

For minimal installation, select the option “Minimal installation”. If you have downloaded the minimal ISO image, then there will be no other options except “minimal installation”.

install-minimal

 

Configure installation destination

Click “installation destination” from installation summary screen. You will get a screen like below where you can configure disk partitioning, addition of disk etc. We will select  the option “automatically configure partitioning” and hit “Done” button when done.

 

install disk

Configure network and hostname

If you are connected to internet through ethernet, You will see a screen like below. Enter the hostname and click “Configure” button.

configure hostname

You can also configure  static network configuration on Ethernet NIC by clicking on Configure button and add  your static interface settings like in the screenshot below, select the device from the select list. Now select IPv4 setting and manually provide IP address, netmask, gateway, DNS server. when you’re finished hit on Save button, disable and enable Ethernet card by switching the button to OFF and ON, and, then hit on Done to apply setting and go back to main menu.

configure network

 

configure network 2

 

Begin Installation

Once you hit “Begin installation” the installation process will start amid a warning to provide a root password and to create a user.

root password prompt

Provide root password

root password prompt 2

 

Create user

Now create a new user and password on your system, then hit Done Button which is in topmost left. You need to enter FULL Name of the new user.

create user centos 7

Check Installation

You will be now taken back to installation screen where you can check how many packages are installed till now.

installation progress

 

Once installation completes you will get a confirmation and then hit “Reboot” button.

installation completed

 

Congratulation! You have now installed CentOS 7 on your PC/Desktop. Remove any installation media and reboot your computer so that you can login to your new minimal CentOS 7 environment and perform other system tasks, such as update you system and install other useful software needed to run day to day tasks.

Once your server gets rebooted , you will get similar screen like below. Choose the default option and press “Enter”.

Server Bootup

Now enter username as root and  root’s password, you will get a  shell prompt.

centos 7 login prompt

 

Was this article helpful to you?

Admin

Comments are closed.