How to Install Red Hat Enterprise Linux 7 or RHEL 7 (maipo) on your machine

     

Today, we will learn how to install Red Hat Enterprise Linux 7.0 (RHEL 7 or Codename: Maipo) on your server or any machine. At the time of writing, RHEL 7.0 is almost ready (no more beta versions) and Red Hat released the release candidate version of it. So if you would like to try the new Red Hat Enterprise Linux 7, then you can download the Release candidate version and install it on your machine.

Red hat version 7 is a much anticipated version of RHEL where lots of improvement is done towards Virtualization, Red Hat changed the file system to XFS which supports up to 500TB, new software implementation for ISCSI AND fCoE targets, new boot-loader called GRUB2, improved the graphical interface by introducing Gnome 3 etc. Please check the Redhat website for more information regarding RHEL 7 new features

Red Hat Enterprise Linux 7 Gnome Interface

Before you plan to install RHEL 7.0 on your machine, you need to check whether your server hardware will support this latest version of RHEL. Once you checked and confirmed that RHEL 7 is supported on your server or machine, you could start the Linux installation.

At first,  you need to have RHEL DVD or ISO with you. You can create a bootable DVD, USB or mount the ISO file on your machine. Ensure that you set the right boot order for your machine so that your machine can boot from DVD, USB or ISO. Remember, this article does not talk about PXE boot of RHEL 7.0 or later.

NOTE: If you would like to download Red Hat Enterprise Linux 7 release candidate version, then you can download it from this FTP link or from this direct link to the ISO.

Turn on your machine and allow it to boot from the RHEL 7 boot media. Once your machine boots, you would see following screen. This is the Boot Menu of Red Hat Linux 7. Use the Arrow Keys on keyboard to choose your option.

Red Hat Enterprise Linux First Boot Screen

If you select the option “Test this media & Install Red Hat Enterprise Linux 7.0”, then the installer will check whether the media ( Linux .ISO file or DVD) is intact, once media check is completed, you can go ahead and install Linux. Here, I will not select this option as I know my RHEL media is fine. Moreover, if you select the above option, it would take a lot time to complete the media check.

NOTE: Boot menu provides a lot of options to customize the installation such as providing your own drivers, doing Linux installation in basic graphical mode etc. But we will be not be focusing on all these options.

So go ahead and select the option “Install Red Hat Enterprise Linux 7.0” and press Enter key.

Install Red Hat Enterprise Linux 7

The Anaconda installation program will be launched now. Anaconda installation program allow users to select various configuration options while they perform Operating system installation. Though the name Anaconda is scary word, the installation program is very friendly!!

Once the installer launches on your screen, you will be greeted with “Welcome to Red Hat Enterprise Linux 7.0” window. Here you need to choose the language would you like to use during the installation process. I see lot of languages listed here but I am okay with English (United States) though I do not speak well. Once you select the language, click on Continue button.

Welcome to Red Hat Enterprise Linux 7

Once you click on Continue button, you will reach the Installation Summary screen. In the case if Red hat Enterprise Linux 7, you need to configure all your installation options from this single screen. You need to configure Date & Time, keyboard layout, Language support, Red hat Installation media location, additional software packages, Partition information, Network settings. You will not be able continue till you complete all these settings. The Begin Installation button will be grayed-out till you configure all options.Redhat Enterprise 7 Installation Summary screen

So, first set correct Date and Time. To set Date and time, click on Date and Time option as shown below.

Redhat Enterprise 7 Installation Date and Time

Here, you can select the Time Zone (I selected Europe, Budapest), Select Date, Month and year. You may also select the Time Format (24 Hr or AM/PM format).

Redhat Enterprise 7 Date and Time Settings

If you have a Time Server in your network and you would like to enter NTP server information, then it is possible here. To enable the Network Time option, click on icon next to it. It would give you an option to add NTP server information. Also ensure that you set the Network Time switch in the ON position.

Redhat Enterprise 7 NTP Server Settings

You would receive following screen where you can enter the NTP server information. Once you enter the NTP server information click on + sign and click OK button.

NOTE: Before you configure your NTP Server settings, you need to setup the networking first. Otherwise, NTP Server will not be accessible. Please scroll down this page to find the section which speaks about Network configuration.

Red Hat Enterprise Linux 7 NTP Server Configuration

Once you are done with Date & Time setup, click on Done button.

Red hat Enterprise 7 Date and Time Settings done

Now we are back at the Summary Screen, click on Keyboard as shown below.

Redhat Enterprise 7 Installation Keyboard Settings

Here, you can add additional Keyboard layouts if you wish. You need to click on the + sign and add the layout you really want.

Red Hat Enterprise 7 Add Keyboard Layout

Once you click the + sign, you would receive a list of different Keyboard layouts. Select the keyboard layout which matches your language/region. Here I am not adding any keyboard layout because I am comfortable with English (US) layout.

Red Hat Enterprise 7 Keyboard Layout Selection Screen

Once you select the Keyboard Layout, click Add button. Now you will be back at the Keyboard Layout Screens as shown below. Once you are done, click Done button.

Red Hat Enterprise 7 Keyboard Layout Done

Now you will be back at the Summary Screen, click on Language support button.

Redhat Enterprise 7 Installation Summary Language Support

Here, you could select additional languages for the Operating System. Once you selected the languages you want to use, click on Done button.

Red Hat Enterprise Linux 7 Additional Language Selection Screen

Once you click on Done button, you will be back at Installation Summary Screen. Click on Installation Source option now.

Redhat Enterprise 7 Installation Source Screen

Once the Installation Source window opens, select the option “Auto-Detected Installation Media” as shown below.  When we use a physical DVD or ISO file, then this option will be auto selected. You may click the verify icon if you want to check the file integrity of the media.

NOTE: The installation source windows does provide you an option to choose an installation media which is available on the network. The anaconda installation program supports http, https, ftp and nfs network locations.

Red Hat Enterprise Linux 7 Installation Source

Once you are done with Installation Source window, click on Done button. Now you are back at the Red Hat Enterprise Linux 7 Summary Screen. Click on Software Selection option.

Redhat Enterprise 7 Software Selection Screen

By default, Minimal Install will be the option selected. Minimal Install option will install very basic packages and libraries on your system. If you need additional functionality, you can install  packages later. Moreover, basic installation does not install any Graphics related libraries. So you will not have the graphical interface (Gnome or KDE) once the Linux is installed.

Red Hat Enterprise Linux 7 Minimal Install

Here, I will not select Basic install because I need full graphical interface (Gnome and KDE). Depends on your preference, you may choose any one of the options available at the Software Selection screen.  I will go ahead and choose Server with GUI.

Red Hat Enterprise Linux 7 Server with GUI

NOTE: I selected KDE for testing purpose, you do not have to select it. When you select the option Server with GUI, RHEL will install Gnome. Gnome is the default graphical interface. KDE is another graphics Interface which you could try.

Once you are completed with Software Selection, click on Done button.

Red Hat Enterprise Linux 7 Server with Gnome and KDE

Again you are back at the Summary Screen, Click Installation Destination option.

Redhat Enterprise 7 Installation Destination

Now select the Disk in which you want RHEL 7 to be installed. If you have a hardware raid setup on your machine, the LUN (logical drive) should be visible here. If you do not find any disk listed, then you may need to exit the installer program, reconfigure your storage and try to re-install RHEL. As you can see, my hard drive is detected here and the name of the Disk is sda.

Red Hat Enterprise Linux 7 Device Selection screen

Once you select the disk, you can choose the option Automatically Configure Partitioning if you want the RHEL installer to partition your device automatically. If you are not familiar different partitions and different file systems in RHEL, then it is better you choose this option. Red Hat Enterprise Linux 7 Automatic Partitioning Options

If you are an advanced user and would like to customize the partition sizes, then you need to select the option I will configure partitioning and click on Done button. If you are a newbie and new to Linux mount points and configuration, then I would recommend you not to try this option.Red Hat Enterprise Linux 7 custom partition

Once you click Done button, the screen will be like the screenshot shown below. If you have chosen Automatically Configure Partitioning option, then everything will be configured automatically. If not, you have to create mount points or partitions manually.

Red Hat Enterprise Linux Partition mount points

To create the mount points, click the + sign as shown below.

Red Hat Enterprise Linux 7 Partition mount points

Here, you need to create /boot, swap and / mount points. First create the /boot partition or mount point. 500MB will be enough for /boot mount point.

Red Hat Enterprise Linux 7 cretae boot partition

Click Add Mount point button to create the mount point for /boot.Once you are done, the screen will look like the screenshot provided below.

Red Hat Enterprise Linux 7 create boot mount point

Next create the swap mount point  or partition. Click the + sign button again and select swap size. I would recommend you to choose double the amount of RAM memory as your swap size. In my machine, I only have 1 GB memory hence I will choose 2GB.  Click Add mount point button once selected the right swap mount point size.

Red Hat Enterprise Linux 7 swap mount point

Next, create mount point for /. So click on + sign button again and add all available space for /. Check the screenshot if you are confused.

Red Hat Enterprise Linux 7 root mount point

Once you are done. Your screen will look similar to this. Keep in mind that the sizes you chose for each mount points will vary from one machine to another (I am using a 20GB hard drive with 1 GB memory).

Red Hat Enterprise Linux 7 boot swap and root mount points

Once you created the mount points and set the right sizes, click the Done button.

Red Hat Enterprise Linux 7 boot swap and root mount points

At the Summary of Changes screen, you need to confirm the changes you have done with mount points. Click on Accept changes button to proceed.

Red Hat Enterprise Linux 7 mount points summary

If you are a Storage Administrator and if you want to install RHEL on an external storage drive (LUN), then RHEL does provide you an option here. If you have external storage devices connected (FCOE/ISCSI/FC) and want to install RHEL 7 on the external disk partition, then you need to click on Add a Disk option and manually add the disk drives here.

Red Hat Enterprise Linux 7 Add Disk Option

You need to click on Add a Disk option only if you work with external storage devices. Otherwise, do not click on Add a Disk option. Once you click Add a Disk button, you can do a search with WWN number, add a FCoE Storage or add an iSCSI storage.  Once you have completed the procedure, click on Done.

Red Hat Enterprise Linux 7 Multipath FCOE ISCSI FC Storage

NOTE: Regarding external storage, there a lot of options available in RHEL 7 installation window. Unfortunately, I will not be discussing it here as it is beyond this article.

If you are new to Linux and not sure how to handle mount points, just select “Automatically Configure Partitioning” option and installer will take care of everything. If you would like to customize mount points, then you need to select “ I will configure Partitioning” and if you have external storage devices, then you should choose “Add a Disk” option. Depending on the scenario, select the best option for you. Once you are configured everything, click on Done.

Red Hat Enterprise Linux 7 Add Disk Option Done

Once you click Done button, you will be back at RHEL Installation Summary Screen. Click on Network & Hostname option to configure Networking properties. A new window will pop-up on your screen. Here you can change the hostname, Network card properties etc.

Redhat Enterprise 7 Installation Network and Hostname

NOTE: It is not mandatory to configure your network settings here. You can perform all these tasks once Linux is installed on your machine or server.

First change the hostname, I will choose the name as “DemoServer”.

Red Hat Enterprise Linux 7 change hostname

Next you can enable the Network Card interface. Simply bring-up (Turn ON) the network card and it will receive an IP address (if your network card is connected to the network port and a DHCP server is available). In my case, I received an IP address from my DHCP server.

Red Hat Enterprise Linux 7 ethernet and hostname properties

Sometime, you may want to assign a static IP address to the NIC card or may need to enable multiple NIC ports. In those cases, you can perform advanced configuration here. Click on Configure button to do this.

Red Hat Enterprise Linux 7 ethernet configuration

This screen will provide you different options related to network configuration. Here, I am just showing how to set a static IP address for a NIC card. In reality, I will be using my DHCP assigned IP address. Please  explore each options and try when you are free. Keep in mind that network configuration is not mandatory for your Linux installation to work.

Red Hat Enterprise Linux 7 IPv4 settings

Once you have completed all network related configuration (if any),  then click on Done button.

Red Hat Enterprise Linux 7 ethernet and hostname properties done

You are back at the Red Hat Enterprise Installation Summary screen. Now you have successfully configured all settings. The screen will look similar to this. You will find that Begin Installation button is enabled now.

Red Hat Enterprise Linux 7 Installation Summy sucessfully configured

To start the Red Hat Enterprise Linux 7 installation, click on Begin Installation button.

Red Hat Enterprise Linux 7 begin installation button

Linux installer will start formatting the disk and start copying the files. The screen will look similar to this.

Red Hat Enterprise Linux 7 Copying Packages screen

While files are getting copied or installed, you need to configure user settings as well. You need to set a password for root user and need to create one more user as well. Click on Root Password option now.

Red Hat Enterprise Linux 7 User settings

Enter password for the root user and confirm it by re-entering it. root user have all administrative rights hence you should use a complex password. If you are using simple dictionary based words, then you will have to click the Done button twice to proceed.

Red Hat Enterprise Linux 7 root password

Once you set the root user password, you may to create a new user account on your Red Hat Machine. Click on User Creation as shown below.

Red Hat Enterprise Linux 7 User accounts

Now create a new user account. Here, I created a new user demouser and set the password. If you wish, you can make this user an Administrator by checking the box Make this user administrator.

Red Hat Enterprise Linux 7 user password settings

If you would like to customize the home folder of the new user or want to change the group membership, then you can click on Advanced button and do changes over there.

Red Hat Enterprise Linux 7 user advanced settings

You are at the Advanced User configuration screen now. Here, you can change the Home folder path and group membership (Check the screenshot). Click Save Changes once you made the changes.

Red Hat Enterprise Linux 7 User config Advanced settings

Once you are done with all user related configuration changes, click Done. You will need to press Done twice if you are using a weak password.

Red Hat Enterprise Linux 7 user password settings done

Again you will be back at the installation screen. Please wait till file installation or copy process completes.

Red Hat Enterprise Linux 7 user settings configuration

Once installation completes, you will receive a message “ Red Hat Enterprise Linux is now successfully installed on your system and ready for you to use! Go ahead and reboot to start using it!”. Now you need to restart the machine or server by pressing Reboot button.

Red Hat Enterprise Linux 7 installation completed

Your machine or server will reboot now. You may receive a boot loader screen. Select the option Red Hat Enterprise Linux Server, with Linux 3.10.0-121.e17.x86_64 (The other option listed here is used when you want to log in to the Linux rescue mode). Once you select the option, press Enter key.

Red Hat Enterprise Linux 7 Boot loader

Here comes the Initial Setup wizard, click on License Information to read and accept the Red Hat Enterprise Linux 7 License.

Red Hat Enterprise Linux 7 Initial Setup Localization

Click the option I accept the License Agreement to accept the  End user License Agreement (EULA). Then click Done.

Red Hat Enterprise Linux 7 End User License Agreement

Click Finish Configuration button to continue.

Red Hat Enterprise Linux 7 finish installation

At next screen, you get an option to enable Kdump. Kdump is kernel crash dumping mechanism used in RHEL. Kdump will be created in the event of server crash and would be very useful to analyze the root cause of system crash. I will enable the Kdump here. Once you are done, click Forward button.

Red Hat Enterprise Linux 7 enable Kdump

If you have any Subscription contract with Red Hat, then you can register your copy of Red Hat Linux here. Registering with Red hat will help you to receive software updates and other benefits. If you do not own a registration or you do not want to register with Red Hat, then you can select the option No, I prefer to register at a later time. Once you select the desired option, click Finish.

Red Hat Enterprise Linux 7 Subscription Service

At last, we reached the log-in screen of Red Hat Enterprise 7. If you would like to log-in as a user, click on the user name listed. If you would like to log-in as a root, then select the option “Not Listed” and enter user name as root.

Red Hat Enterprise Linux 7 Login Screen

I will login as root here. So click on Not listed? and enter user name as root.

Red Hat Enterprise Linux 7 root user login

Click Next, then enter the password of root user.

Red Hat Enterprise Linux 7 root password option

Click Sign In button and you are in. Welcome home. I opened a terminal to confirm the Red Hat Linux version installed. It shows Red Hat Enterprise Linux Server release 7.0 (Maipo) and my kernel version is 3.10.0-121.

Red Hat Enterprise Linux 7 logged-in

Hope you enjoy the new version of Red hat Linux installed. If you would like to have more information regarding Red Hat Linux 7 installation, then you can refer the installation guide from Red Hat.  Please let us know your thoughts about this article also don’t forget to like me at Google+

Read More Articles !

Share this Article:

Stay Connected with Us:

Subscribe via Email


Founder and Owner of Tricks Guide. SiRu is a Server Support Specialist, Tech Blogger and a Typical Family Man. If you’d like to connect with him, follow him on Twitter | Facebook | Google+

Leave a Comment:

© 2017 Tricks Guide. All rights reserved.