Installing Red Hat 7.1

[et_pb_section][et_pb_row][et_pb_column type=”3_4″][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”]

Welcome to Linux tutorial series. In our first tutorial I will teach you how to install Red Hat Enterprise Linux 7 .

This is basic installation tutorial and will be using virtual machine to install operating system on it using Anaconda installation program. Before starting Redhat 7 installation first we will look at requirements

Requirements:

you will need active Red Hat subscription to download RHEL7.1  ISO image from Red Hat Customer Portal.

  1. RHEL 7.1 Binary DVD ISO image

RHEL 7.1 can be installed on variety of systems  Intel 64,AMD64, IBM Power,IBM System Z etc. But in this tutorial we will create a virtual machine (VM) using Open Virtual Box and then will deploy RHEL 7.1 OS .

Download DVD Binary ISO image from Red Hat portal

2. Download oracle virtual box from https://www.virtualbox.org/

A) Installation of Virtual Box,

On windows after downloading oracle virtual box double click on download exe file . Follow installation wizard or for more information go to https://www.virtualbox.org/manual/ch02.html#idp91873440

B) Create virtual Machine

After installing oracle virtual box we will now create a virtual machine (VM) on which then we will install RHEL 7.1

To create new VM in Virtual Box you can either Right click on Machine–> New as shown in screenshot below or you can click on New button on tool bar of Virtual box

VM1

Specify name and Type then click Next

VM2

Specify version and click Next

VM3

VM4

Specify memory size. Please select at least 1024MB and click Next

VM5

In next step we will create Virtual disk drive. Select option shown in below screenshot and click create

VM6

Select VDI as hard drive type as we are using Virtual Box for this tutorial. In real life type can be anything from the list depending upon virtualization tool you are using.Click Next

VM7

Select Dynamically allocated option. Click Next

V8

Create Disk size of 25 GB and keep default settings for file location

disksize

Below screenshot shows that VM is now created

VM10

After creating VM now we will install RHEL 7.1 (Operating System/OS)

We will power on VM but we need start Anaconda (Linux installation utility from virtual CD ROM). To do this

Highlight VM . Right Click and select setting as shown in below screenshot. You can also highlight VM and select setting option as shown in next screenshot following below one

select storage and then CD ROM and then browse to location where you have downloaded ISO image from Red Hat portal

VM12

Start VM by selecting start Option

VM13

Alternatively you can start VM by using start option from tool bar

VM will boot from virtual CD-ROM and will display Installation option. Select first option Install Red Hat enterprise Linux  7.1

VM14

system will start loading

4

After system loads Anaconda installation program will start and it will ask you to choose language for installation process . I chose english as I am comfortable with it.Click Next

7

8

Below screenshot shows installation summary. This screen gives you options to customize configuration like Date/Time/Location/Time Zone, Keyboard, Networking and hostname settings etc. First you can choose date time option to set correct date/time and correct time zone.

9

When you click on date/time option you will see similar screen like below. You can click anywhere on map to select your location/time zone. see screenshot below

10

You can also select your location by clicking first on Region drop down. Please see screenshot below

11

Then click on city drop down and select city.

12

As I am based in UK . I have selected London.

13

Once you are happy click on Done. Then Click on Keyboard option in Installation summary. It will display below screen to set keyboard layout

15

Click on “+”(Plus) button as shown in screenshot below to add another keyboard layout and “-“(minus) to remove keyboard layout. I will remove English (US) and will add

English(UK)

16

It gives yout list of options available. I am selecting English (UK)

18

English(UK) keyboard layout is added. Now click on Done button

19

Below screenshot will appear and it will ask you to select language support  I am selecting English (United Kingdom)

20

Next screenshot (below) gives you option to select installation source. Select  Installation source option.

21

Below Screenshot gives you option to select source. As we are installing from virtual CD ROM it is already auto selected. In case it is not selected you can specify location manually

and the click Done

22

In this step we will select software selection see screenshot below

23

We will select server with GUI. For now we need GUI (Graphical User Interface) of Linux which will help in learning linux quickly for beginners

25

In this step we will select destination where we will install Linux. Click on Installation destination

26

As we created only one virtual hard disk. We will install on that disk. You will notice it is already selected automatically

27

Kdump is optional. When system crashes information from memory at crash time are stored in log files. But Linux system rarely crashes so we will not enable it.

28

Disable Kdump by unchecking box as shown in screenshot below and then click done

kdump

Next screen is for network and hostname settings.You will see network is disabled.

networkoff

Connect to network by sliding the bar

networkconnect

you can manually configure network by clicking on configure button. But we will leave this at moment.

31

At bottom of network screen you can set hostname. We will name VM fully qualified domain name. As we do not have registered domain. So we will name rhel7.example.com (example.com domain)

hostname

Once you are happy with installation options you have chosen earlier . You can click on Begin Installation

34

Installation of Linux will start.While system installs Linux you will be provided choices to create  a) root password and b)create non root user(which is optional)

35

First we will create root password. I will set password for training purpose. You will see warning that password is too week at bottom of screen but you can ignore it. After setting password click Done twice

rootpassword

38

Now click on user creation option. We will not do most of linux operation as root user because root We will make this user as non administrator . We will try to do most of operation using this user whenever we need to perform administrative we can switch to root user. Later we will also create user with Administrative privileges.

nonrootuser

Enter user details including password. Click Done

Now wait until systems finish installation

After Linux installation has finished. Click Reboot

After reboot. You will see below screen. you have to accept license .You can see finish configuration is greyed out. Click on License information

45

Now we will accept license

46

After accepting license now you can see you can select finish configuration option. click on Finish Configuration

47

You will then see below screen. If you have paid license for Red Hat you can register now and click yes.For time being select No, I prefer to register at later time.

48

Click on forward

49

you will see login screen. It will show you login button for user which you already created

userlogin

Enter password and click sign in

userlogin-password

Here again it give you option to use language

51

I have selected English UK

52

Click Next

53

Click start using Red Hat linux

54

For very first time it will display tutorials how to use Linux GNOME. Close this window

55

On Desktop right click and select Open in Terminal

shellprompt

Above terminal is default shell for linux. you can see ali is user id and hostname is rhe7 (ali@rhel7) and dollar sign $ in prompt. This means this user is non Administrator user. to switch to root user use below command

switch-to-poweruser

I hope you have enjoyed and learnt basic installation of Red Hat Linux 7. In next tutorials most of time we will be using terminal /shell prompt.Thank you for visiting my tutorial page

[/et_pb_text][/et_pb_column][et_pb_column type=”1_4″][/et_pb_column][/et_pb_row][/et_pb_section]
SUBSCRIBE OUR NEWSLETTER
I agree to have my personal information transfered to MailChimp ( more information )
Join us by subscribing to our newsletter and learn IT subjects for free
We hate spam. Your email address will not be sold or shared with anyone else.