[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
you will need active Red Hat subscription to download RHEL7.1 ISO image from Red Hat Customer Portal.
- 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
Specify name and Type then click Next
Specify version and click Next
Specify memory size. Please select at least 1024MB and click Next
In next step we will create Virtual disk drive. Select option shown in below screenshot and click create
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
Select Dynamically allocated option. Click Next
Create Disk size of 25 GB and keep default settings for file location
Below screenshot shows that VM is now created
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
Start VM by selecting start Option
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
system will start loading
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
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.
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
You can also select your location by clicking first on Region drop down. Please see screenshot below
Then click on city drop down and select city.
As I am based in UK . I have selected London.
Once you are happy click on Done. Then Click on Keyboard option in Installation summary. It will display below screen to set keyboard layout
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
It gives yout list of options available. I am selecting English (UK)
English(UK) keyboard layout is added. Now click on Done button
Below screenshot will appear and it will ask you to select language support I am selecting English (United Kingdom)
Next screenshot (below) gives you option to select installation source. Select Installation source option.
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
In this step we will select software selection see screenshot below
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
In this step we will select destination where we will install Linux. Click on Installation destination
As we created only one virtual hard disk. We will install on that disk. You will notice it is already selected automatically
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.
Disable Kdump by unchecking box as shown in screenshot below and then click done
Next screen is for network and hostname settings.You will see network is disabled.
Connect to network by sliding the bar
you can manually configure network by clicking on configure button. But we will leave this at moment.
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)
Once you are happy with installation options you have chosen earlier . You can click on Begin Installation
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)
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
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.
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
Now we will accept license
After accepting license now you can see you can select finish configuration option. click on Finish Configuration
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.
Click on forward
you will see login screen. It will show you login button for user which you already created
Enter password and click sign in
Here again it give you option to use language
I have selected English UK
Click start using Red Hat linux
For very first time it will display tutorials how to use Linux GNOME. Close this window
On Desktop right click and select Open in Terminal
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
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