Installation Guide Red Hat Enterprise Linux / Centos 6.x

This post is also available in: Türkçe

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.

For further information and to download RHEL, you will need to register on Red Hat’s site:

https://www.redhat.com/wapps/sso/login.html

Many other Linux distributions have been cloned from Red Hat’s Enterprise Linux. These include CentOS and Oracle Linux.

Installing RHEL

STEP 1: To start the installation process we select the “install system with basic video driver”

STEP 2: 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.

STEP 3: RHEL Install Screen

At this screen, we simply click on “next” to continue with the installation.

STEP 4: Select Installation Language

From this screen you need to select the language you wish to use during your RHEL installation.

STEP 5: 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 “Turkish”.

STEP 6: 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.

STEP 7: 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.

STEP 8: 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 RHEL06.

STEP 9: 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/Istanbul as I am based in Turkey.

STEP 11: 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.

STEP 12: 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”.

STEP 13: 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.

STEP 14: Package Installation

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.

STEP 15: 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.

Below is the standard loading screen you will see when RHEL is booted.

STEP 16: RHEL Loading 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.

STEP 17: Software Updates

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.

STEP 18: Create User

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.

STEP 19: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.

STEP 20: kdump

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.

STEP 21: Activate Network

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”.

STEP 22: 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.

STEP 23: System Registration

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

Red Hat Installation Documentation is available from the following link :

https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/pdf/Installation_Guide/Red_Hat_Enterprise_Linux-6-Installation_Guide-en-US.pdf 

Leave a Reply

Your email address will not be published. Required fields are marked *