CentOS 6.7 Server

Installing CentOS 6.7 Server - Minimal Build

Installing Centos 6.7


CentOS (Community Enterprise Operating System) is a free Linux operating system that has 100% binary comparability with RHEL (Red Hat Enterprise Linux). Because of this compatibility, many organisations choose CentOS as their choice of Linux. In the example that follows, we will show you how to install a minimal build server without a graphical user desktop. To install CentOS 6.7 (minimal build) simply follow the instructions below:

To download your iso image of CentOS 6.7, simply follow this Link: CentOS 6.7 Download

For a 64 bit version, choose the x86_64 folder and for a 32bit version choose the i386 folder. In the example that follows I have used the 64 bit version FileName: CentOS-6.7-x86_64-minimal.iso



Once you have downloaded your CentOS 6.7 iso for your chosen architecture (32 bit or 64 bit), you will need to burn this to a blank CD/DVD. For software that can do this, search for "dvd iso burning software" in the search box located at the top of this page. Your system may already have CD/DVD burning software installed such as "Brasero, K3B, Nero, CDBurnerXP or Roxio". Once you have burned your "iso" image of CentOS 6.4 to your DVD, you will need to leave the DVD in the DVD drive and reboot your system. (This example assumes you are using a i386 32bit version of the software). As your computer reboots, you will need to press the appropriate key to access your system's BIOS settings. On many systems this key will be "F8", "F11" or "F12". Most systems will display the a message indicating which key needs to be pressed. Once you have access to your BIOS settings, you will need to modify the boot sequence order of your system to boot from CD/DVD first. Once you have made this change, you can reboot your system and follow the instructions below.


Welcome to CentOS 6.7 Installation Menu


To start your installation of Centos 6.7, simply highlight the "Install or upgrade an existing system" and press enter. Your installation will now start.


CentOS 6.7 Installation Menu

Testing Installation Media


It's always recommended that you should test your installation media before carrying out an installation. If you are happy that your media is OK, then select "skip" to continue.


Test Installation Media

Welcome to CentOS for x86_64


At this screen click on the "OK" button to continue with your installation.


Welcome to CentOS 6.7

Language Selection


At this screen you will need to select the language that is to be used throughout the installation. In this example "English" has been selected.


Select Installation Language

Select Keyboard


Select keyboard type. In this example I have chosen a "UK" keyboard.


Select Keyboard type

Storage Device Warning


From this screen you must confirm that any data on the specified disk can be discarded. Choose the option "Re-initialize all".


basic Storage Devices

Select Time Zone Location


Choose the location that you are located in. In the example, I have chosen "Europe/London" as this is my location.


Time Zone Selection

Root Password


Pick a "root" password to be used on your system.


Pick a root Password


Partition Type


The installation now requires partitioning of your hard drive. Confirm which drive you are using. Once happy with your selections, click on"OK" to continue. In the example I have chosen "Use Entire Drive" as this is a virtual disk and no other operating systems are present.


Partition type

Write Storage Configuration to Disk


If you are happy with your selections, then choose "Write changes to disk" to continue with the installation.


Write changes to disk

Package Installation


At this stage, no further action is needed. The minimal build packages are being installed. Progress is indicated by the progress line.


Package Installation

Complete


Congratulations, your minimal CentOS 6.7 installation is now complete. You must remove any media from your CD/DVD drive and reboot your system.


Installation Complete

CentOS Loading Screen


If all goes well, you should see the following loading screen while your system is booting.


CentOS 6.7 Loading Screen

CentOS Login Screen


If all goes well, you should now see the following login screen. Here you will need to login as the "root" user, using the password you specified in a previous step


CentOS 6.7 Login Screen

Configure Hostname and Activate Network Settings


To configure the hostname on your system, you will need to edit the following file:

/etc/sysconfig/network

You will need to change the line that begins "HOSTNAME". In this example, I have given the name "centos67a".
Next we will need to activate the network interface. By default, this is set to not start at system boot. In the majority of cases, you will want to set this to activate at system boot. To configure our interface to obtain an IP address at system startup, we will need to specify the following parameter within the following interface file:

/etc/sysconfig/network-scripts/ifcfg-eth0

Amend the the following line to read: ONBOOT=yes

Below is an image of what the configuration files have been changed to on this example installation.


CentOS 6.7 Loading Screen

Reboot System


After we have made the changes, it is a good time to carry out a test reboot. This will verify our changes above. To reboot your server, you will need to issue the following command:

shutdown -r now

This will reboot the system and you will be taken back to the login screen. Here you can login and you will be able to see the new hostname that you specified. You can check you IP address assignment by issuing the command: ip a s


CentOS 6.7 Login Screen