RHEL 7.3

Install RHEL 7.3

Installing RHEL 7.3 Server

Red Hat Enterprise Linux (RHEL) is a Linux operating system developed by Red Hat. RHEL is generally aimed at commercial organisations. Red Hat Enterprise Linux is available for multiple platforms including x86, x86_64, PowerPC, IBM pSeries and IBM System z (Mainframes). RHEL 7.3 is the latest version available from Red Hat (released November 2016). If you wish to try RHEL 7.3, you can download an evaluation copy giving you a full 30 day free trial (including updates). The following Red Hat Installation guide can be used for installing a Red Hat 7.3 Minimal server configuration with custom disk and static IP addressing. To register and download your evaluation copy of RHEL 7.3, simply follow this Link: Download RHEL 7.3

Once you have downloaded your chosen image of RHEL 7.3, you will need to burn this to a blank DVD. For software that can do this, search for "dvd iso burning software" in the search box located towards the top of this page. Your computer may already have CD/DVD burning software installed such as "Brasero, K3B, Nero, CDBurnerXP or Roxio". Once you have burned your "iso" image of RHEL 7.3 to your DVD, you will need to leave the DVD in the DVD drive and reboot your system. (Assuming that this machine is your intended target system for installation). 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. If you are installing into a Virtual environment, simply copy the downloaded iso image to a relevant folder/data store.

RHEL 7.3 Installer

To start your installation of RHEL 7.3, highlight the "Install Red Hat Enterprise Linux 7.3" option and press enter. Your installation will now start.

RHEL 7.3 Installer Menu Screen

Testing the Media

I would always recommended that you test your media before carrying out an installation for the first time. If you wish to test your media, choose the option "Test this media and install Red Hat Enterprise Linux 7.3". After a media check, your installation will start automatically.

Welcome to Red Hat Enterprise Linux 7.3

At this screen you will need to choose the language that you would like to use during your installation. In this example, "English", "English (United Kingdom)" has been selected. Once you have made your selection, click on continue in the lower right hand corner of the screen.

RHEL 7.3 Choose Installation Language

Installation Summary

At this screen various configuration options are available. Any option that is highlighted must be addressed before you can continue with your installation. It is from this screen that you can configure your Localization settings, Security Policy, Software and System settings.

RHEL 7.3 Installation Summary Screen

Date and Time

From this screen you need to choose your geographic location from either the map or from the pull down menu. In this example "Europe" and "London" have been selected. You can adjust the time and date by clicking on the relevant arrows in the lower left and lower right hand corners of the screen. You may also configure your system to use "NTP" for time synchronisation by clicking on the small gear icon in the upper right corner. (see step below)

RHEL 7.3 Date and Time Settings


If you have chosen to use a NTP server for server time synchronisation, then you will need to add the address/name of the server you wish to use. Before this step can be configured, you will need to configure your network settings first!

RHEL 7.3 Adding a NTP Server

Keyboard Layout

Your keyboard settings may be configured from this screen. Additional keyboard layouts may be added if required. If you have added additional keyboard layouts, you can move your chosen layout to the top of the list to make this the new default layout. The layout configuration may be tested by typing into the text box in the upper right hand corner. To add/delete or move layouts, simply use the relevant arrow keys in the lower left hand corner of the screen. Once you have made any changes, click on the "Done" button in the upper left hand corner of the screen.

RHEL 7.3 Keyboard Layout

Language Support

At this screen you need to verify or choose your Language settings. In the example, "English", "English (United Kingdom)" has been chosen. Click "Done" to continue.

RHEL 7.3 Language Settings

Installation Source

If you have booted from the standard iso image of RHEL 7.3, then no further action is required at this screen. Click on "Done" to continue with your installation.

RHEL 7.3 Installation Source

Software Selection

At this screen you can choose which "Base Environment" is to be used for your installation. In this example, "Minimal Install" has been selected. Any additional "Add-Ons" that are available may be selected from the right hand options panel. In this example, no "Add-Ons" have been selected. Click "Done" to continue with your installation.

RHEL 7.3 Base Environment Selection Screen

Installation Destination

This screen allows you to configure your disk partitioning layout. Two options are available. "Automatically configure partitioning" and "I will configure partitioning". For this installation of RHEL 7.3, I am going to choose the option of manually configuring the disk partition layout "I will configure partitioning"

For this installation I am going to create the following partition scheme using Logical Volume Management: Volume Groups (VG), Logical Volumes (LV) size of partition/file system in MB. You may wish to size your partitions/file systems differently to match your requirements. Note, as a rule of thumb, the swap size should be half the size of the physical memory. In this example I have set the swap size to be 1000MB as this RHEL system has 2GB of physical memory. The size of the disk used in this exercise has a capacity of 20GB.

Mount Point VG Name LV Name Size
/boot Standard Partition - 500MB
/ sysVG rootLV 3000MB
swap sysVG swapLV 1000MB
/home sysVG homeLV 2000MB
/opt sysVG optLV 2000MB
/tmp sysVG tmpLV 1000MB
/var sysVG varLV 2000MB
/usr sysVG usrLV 3000MB
/spare sysVG spareLV 5975MB

Once you have selected the option "I will configure partitioning", click on the "Done" button in the upper left hand corner of the screen.

RHEL 7.3 Manual Partitioning Scheme

Manual Partitioning

From this screen we can see that we have a "20GB" disk available to create our partitions/file systems. Available space is indicated in the lower left of the screen. To start creating our partitions and file systems, we will need to click on the "+" plus button in the lower left hand corner of the screen.

RHEL 7.3 Manual Disk Configuration and Partitioning

Add a New Mount Point

Each time you click on the click on the "+" plus button in the lower left hand corner of the screen, you will be presented with a small pop up menu. It is from this menu that you can select the "Mount Point" or enter the name of a mount point to create. You also need to specify the "Desired Capacity" to be used with each mount point.

RHEL 7.3 Creating a Mount Point

Create Boot Partition

The first partition we are going to create is the boot partition. The "Mount Point" can be selected from the drop down menu and the desired capacity can by typed into the "Desired Capacity" box. Once the details have been entered, click on Add Mount Point". Notice, the Device Type is set to "Standard Partition" for a boot partition. A size of 500MB was specified in this example.

RHEL 7.3 Create a Boot Partition

Adding Additional File systems

To add the remainder of our file systems, simply click on the + Plus button. Enter the appropriate values as per the table above. In this exercise we are going to change the default name of the Volume Group to be "sysVG".

RHEL 7.3 Adding additional File Systems

The remainder of all file systems will have a Device Type of "LVM" a Volume Group of "sysVG". To change the name of the default Volume Group from "rhel", click on the "Modify" button. A Volume Group configuration box will appear. Simply change the name from the default to "sysVG". The Logical Volume name is entered into the box "Name. For example, if you are creating the "/spare" filesystem, then the name "spareLV" will be used.

You will notice that a filesystem called "/spare" is to be created. This file system is created last as we are going to assign all remaining space to this filesystem (5975MB in this example). The reason we allocate the remaining space to "/spare" is to allow us to easily allocate this space back to the Volume Group "sysVG". Once the system is built, we can remove this filesystem and all space will be then available to our system Volume Group "sysVG". This space can then be given to any of the file systems within the Volume Group "sysVG". Details of how to reclaim this space will be covered later. Once you have configured all the file systems, you should end up with a layout similar to the one below. Once you are happy with your configuration, click on "Done" to continue.

RHEL 7.3 Adding additional File systems

Summary of Changes

A summary of changes will now be displayed. If you need to make any modifications, then select "Cancel and Return to Custom Partitioning". To continue, click on the "Accept Changes" button.

RHEL 7.3 Summary of Changes


"Kdump" is a mechanism that will allow in the event of a system crash information to be collected for determining the cause of a system crash. In this example, I have chosen to "Disable" kdump. To disable "kdump", un-check the "Enable Kdump" option. Now click "Done" to continue with the installation.

RHEL 7.3 Disabling kdump Reporting

Configure Network and Hostname

At this screen you can enter the hostname to be used for your server and click on "Configure" to manually configure our network interfaces. To update the screen with the newly entered hostname, click on the "Apply" button. If you do not wish to assign a static IP address to your system and you wish to use "DHCP" for the automatic allocation of an IP address, then you can simply click on the "OFF/ON" box in the upper right hand corner of the screen.

In this example, we are going to assign a static IP address. Generally all servers normally require a static IP address. This is an address that is assigned specifically to your server and will not change after a restart.

Host name in this box enter a unique name to identify your system on a network. In this example, I will be entering "rhel73srva". Click "Apply" to update.

Click "Configure" to start configuring your network settings.

RHEL 7.3 Setting Hostname and Network Options

Configuring a Static IP Address

Next, you should see a "Pop-Up" menu where we are going to add our IP address, Netmask, Gateway and DNS server information. In the following example I will be using the following Network Addressing:

IP Address =
Netmask =
Gateway =
DNS Server =

You will need to enter your own details here. (Modify where necessary)

From the "Tabs" across the top of the menu, select "IPv4 Settings"

From the "Method" pull down menu, select "Manual"

Now click in the Address, Netmask and Gateway boxes and enter your settings.

Finally, give the name of your DNS Server (IP Address)

Once all settings have been entered, click "Save" to continue.

RHEL 7.3 Create Static IP Address

Activate Network Interface

To apply our static IP address information to our interface, click on the "ON/OFF" button in the upper right of the screen. Your interface should now activate. Confirmation of your active addressing information is displayed. Click on "Done" to continue with your installation.

RHEL 7.3 Activate Network Settings

Security Policy

From this screen you can select a policy that matches your needs. In this example I have gone with the default policy. Click "Done" to continue.

RHEL 7.3 Select Security Policy

Begin Installation

Once all configuration settings have been entered, we are now ready to initiate the installation. This is done by clicking on the "Begin Installation" button in the lower right corner of the screen.

RHEL 7.3 Begin Installation

User Account Configuration

The next section of this installation involves defining the root password and creating a new user. Click on each of the highlighted options in turn to enter the requested information. Whilst you are entering the requested details, the installation will continue in the background.

RHEL 7.3 Account Creation

Root Password

You must specify a root password to be used for the administration of your system. Note, if you supply a weak password, you will be asked to press "Done" twice to confirm you have chosen a weak password! The strength of your password is also indicated.

RHEL 7.3 Root Password Entry

Create User

From this screen you must define the name of a user. In this example I have also chosen the use to be an "Administrator". Again, if you supply a weak password, you will be asked to confirm this. Once you have supplied the relevant credentials, simply click "Done" to continue with the installation.

RHEL 7.3 Create First User

Finish Configuration

At this point, Red Hat Enterprise Linux 7.3 is now installed, however, there a few more tasks still to carry out. Click on the "Finish Configuration" button in the lower right hand corner.

RHEL 7.3 Installation Progress Screen


Red Hat Enterprise Linux has now been successfully installed. Your system needs to be re-booted before you can use it. Click on "Reboot" to finalise your installation. Remember to remove any media from your drives.

RHEL 7.3 Installation Complete

Login Screen

At this screen you can now login to your server with the accounts you created earlier.

RHEL 7.3 Terminal Login Prompt

Verify your File systems

You can verify that the file systems that were created earlier have been mounted by issuing the command df -hT.

RHEL 7.3 Display Mounted File systems

Reclaim space by removing /spare

One of the earlier steps within the installation process was to assign any remaining space to a file system called /spare.

We are now going to remove this filesystem and the space will be allocated back to the "sysVG" Volume group.

The following steps need to be followed to free this space:

Unmount the filesystem "/spare by issuing the command: umount /spare

Remove the Logical Volume "spareLV" by issuing the command: lvremove /dev/sysVG/spareLV

Edit the file /etc/fstab and remove the following line:

/dev/mapper/sysVG-spareLV  /spare       xfs     defaults       0 0

You can issue the command "pvs". You should now see space available within the Volume Group "sysVG" (5.84GB).

RHEL 7.3 Reclaim Space form File System

Display assigned IP address

To verify that we have the correct IP address that we assigned, you can issue the command: ip a s. You should now see output similar to the one below.

RHEL 7.3 Display IP Address

Register Installation with Red Hat

Before you can access any repositories from the Red Hat Network, you will need to register your system. In the example that follows, I will be registering a 30 day evaluation copy of RHEL 7.3.

[root@rhel73srva ~]# subscription-manager register
Registering to: subscription.rhsm.redhat.com:443/subscription
Username: xxxxxxxxxxx
The system has been registered with ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 

You will need to specify the Username that you used to register with the Red Hat Network.

List Available Subscriptions

To list available subscriptions we can issue the command: subscription-manager list --available

[root@rhel73srva ~]# subscription-manager list --available
    Available Subscriptions
Subscription Name:   30 Day Red Hat Enterprise Linux Server Self-Supported
Provides:            Red Hat Container Images Beta
                     Red Hat Beta
                     Oracle Java (for RHEL Server)
                     Red Hat Enterprise Linux Atomic Host Beta
                     Red Hat Container Images
                     Red Hat Enterprise Linux Server
                     Red Hat Enterprise Linux Atomic Host
SKU:                 RHXXXXX
Contract:            xxxxxxxx
Pool ID:             xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Provides Management: No
Available:           2
Suggested:           1
Service Level:       Self-Support
Service Type:        L1-L3
Subscription Type:   Instance Based
Ends:                03/12/16
System Type:         Physical

From the above we can see that we have a 30 day evaluation Subscription for RHEL 7.3

Add a Subscription

To add a subscription to our server we need to issue the following "subscription-manager" command along with the "Pool ID" that was obtained from the above output:

[root@rhel73srva ~]# subscription-manager subscribe --pool=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Successfully attached a subscription for: 30 Day Red Hat Enterprise Linux Server Self-Supported Evaluation

Verify Connection to Repositories

Now that you have activated your repositories, you can issue the "yum repolist command to confirm this.

[root@rhel73srva ~]# yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager
rhel-7-server-rpms                                       | 3.5 kB     00:00     
(1/3): rhel-7-server-rpms/7Server/x86_64/group             | 701 kB   00:00     
(2/3): rhel-7-server-rpms/7Server/x86_64/updateinfo        | 1.7 MB   00:01     
(3/3): rhel-7-server-rpms/7Server/x86_64/primary_db        |  31 MB   00:10     
repo id                           repo name                               status
rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs 13,352
repolist: 13,352