Install RHEL 6
Installing Red Hat Enterprise Linux 6
Red Hat Enterprise Linux (RHEL) is a Linux operating system developed by Red Hat. RHEL is mainly aimed at commercial organisations. RHEL is available on multiple platforms including x86, x86_64, PowerPC, IBM pSeries and IBM System z. RHEL is probably one of the most popular Linux Operating system used by large Enterprises. RHEL can be downloaded from Red Hat as an evaluation giving you a free 30 day trial. Many other Linux distributions have been cloned from Red Hat's Enterprise Linux. These include CentOS and Oracle Linux.
For further information and to download RHEL, you will need to register on Red Hat's site:
Login or Sign up with Red Hat
Once you have registered, you are able to download older version of RHEL and you can also register for a free 30 day trial of the latest versions of RHEL. Assuming you have registered and downloaded your iso image for the relevant architecture, you will need to burn this to a DVD. For software that can do this, search for "dvd iso burning software" in the search box located above. Your system may already have DVD burning software installed such as "Brasero, K3B, Nero, CDBurnerXP or Roxio". Once you have burned your "iso" image of RHEL 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 x86 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 order of your system to boot from CD/DVD first. Once you have made this change, you can reboot your system and follow the settings below.
Welcome to Red Hat Enterprise Linux
To start the installation process we select the "install system with basic video driver".
Begin Testing Media before Installation
Before you carry out an installation for the first time, it is always advisable to carry out a check of your media. I have chosen to skip this in the example as I have used this image before.
At this screen, we simply click on "next" to continue with the installation.
Select Installation Language
From this screen you need to select the language you wish to use during your RHEL installation.
Select Appropriate Keyboard
Here you will need to select the keyboard you are going to use with your system. In this example I am using the option "United Kingdom".
Select Devices to be used during Installation
Two options are offered here. We have chosen the default "Basic Storage Device" option as we are installing on a x86 system using the local Hard Drive.
Storage Device Check
RHEL will attempt to identify any partitions that may be in use on the disk presented. In the example, I am using a Virtual disk under VirtualBox. I can safely answer "Yes, Discard any data" as my drive contains no partitions or data.
Configure your systems Hostname
Here you will need to give your a system a unique hostname by which it can be identified on your network. It is always good practise to have a naming standard for your servers. This way, their type and number can be easily identified. In the example I have used RHEL001.
Select your Time Zone
From this screen you will need to locate the nearest city to your installation site. This will be used for configuring your Time Zone. I have chosen Europe/London as I am based in the United Kingdom.
Create a root user password
You will need to supply a strong root password for your system. It is always advisable not to use common dictionary words or short passwords. Ideally your password should contain a mixture of Upper and Lower case letters and numbers with symbols.
Select Storage Installation Type
Here you get to specify your installation type. You can choose from various options where you can use all space available and delete any existing partitions, use any un-partitioned space providing there is enough. You can also create a custom layout with the built in partitioning tool. In this example I have gone with the option to use all space available.
Writing Storage Configuration to Disk
You will need to confirm that you are happy to proceed with your chosen options. If you need to go back to the previous menu, simply select "back".
Select Installation type
The default installation of RHEL is that of a basic server. Numerous options are available depending on what your server will be used for. In this example I have gone with a "Desktop" option. Depending on which option you choose, various packages will be including automatically within your installation. You may also add additional repositories to install additional components if you wish.
We are now at the point in the installation where the packages we have chosen manually or based on installation type will be installed. This process may take a while depending on your choices.
Congratulations your installation is now complete
Congratulations, you have now installed RHEL. You will need to reboot your system. Remember to remove any media from your drives.
RHEL Loading Screen
Below is the standard loading screen you will see when RHEL is booted.
First Boot welcome Screen
After an installation, you will be greeted with the first boot Welcome Screen. You will need to click on the "Forward" option to continue.
From this screen you are able to install any updates. If you see a screen indicating no network, do not panic, you can configure your network settings a little later and then check for any updates to packages.
From the Create a User screen, you must give the name of a regular user. This account should be used for all none administration tasks. Additional accounts may be added at a later time either from the GUI or from the command line with "useradd". If you wish to create your account with a different "home" area to the standard location, then you will need to click on the advanced button. alternatively you can change this with the "usermod -d" option command or again from the GUI.
Set Date and Time
Check that you have the correct time and date. You may also specify to synchronize your time with a Time Server over the network. Many organisations will have a dedicated time server for this functionality. In this example, I have left this option un-checked.
Kdump is a mechanism used to collect system information after a serious crash. If you choose not to activate this mechanism at this point, you can activate this later. To Finish our installation, click on the Finish button.
At this login screen you will need to select the user that you created during the installation. You will be asked to enter your password that you used with this account.
To activate our network connection and obtain an IP address, we can click on the network icon located in the upper right hand corner. From here we need to choose our interface. In this example "system eth0".
IP address now allocated
The output from our terminal window after running the ip a s command now indicates we have been supplied an IP address. The configuration settings for device "eth0" can be found in the following location: "/etc/sysconfig/network-scripts/ifcfg-eth0". If you needed a static IP address, this is the location where you would add your settings. In our example, we have used "dhcp" to obtain our address.
Before you can update your system, you will need to register your installation with Red hat. you will need to provide the credentials you used to register your account with. If you are only testing/evaluating your installation, you can add a custom repository containing the rpm packages that came with your installation. To do this follow the link: Add a Custom repository