0% found this document useful (0 votes)
25 views27 pages

RedHat Enterprise Linux 6 Installation of OS & Hyper FS Updated

Uploaded by

anilkumar.n117
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views27 pages

RedHat Enterprise Linux 6 Installation of OS & Hyper FS Updated

Uploaded by

anilkumar.n117
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 27

RedHat Enterprise Linux

6 Installation of OS
& Hyper FS Installation
1) RHEL 6 Installion Process:
Step 1: Insert the RHEL dvd, into DVD Drive, once booting with Rhel we are able to see the below
screen.

Image 1.1
Press enter to boot the selected OS.

Image 1.2
a) Welcome to Red Hat Enterprise Linux for x86_64

skip the test of media to continue installation or you we test the media status.

Image 1.3

b) click on 'Next' to start.

Image 1.4
c) selecting language

Image 1.5

d) Select Keyboard Language

Image 1.6
e) select the Basic Storage Device

Image 1.7

f) Assign the host name & configure network

Image 1.8
f i) assigning ip address in 'em1'

Image 1.9

f ii) click on check box “Connect automatically”

Image 1.10
f iii) click apply once ip address been assigned.

Image 1.11

f iv) specifying time zone

Image 1.12
g) assigning root administration password

Image 1.13

step 2) creating 'custom layout' or 'lvm' partitioning

a) “Use All Space” creating partition in lvm partitioning default.

Image 2.1
Image 2.2

b) create custom layout is for manual partitioning

Image 2.3

here we are using Use All Space option.

Image 2.4
Step 3) select the installation method

Image 3.1

Image 3.2
Image 3.3

d) Reboot server.

Image 3.4
once server got rebooted.

Image 3.5

Step 4) Welcome screen

Image 4.1
a) License Information

Image 4.2

b) Set up Software updates

Image 4.3
Image 4.4

c ) finish the update proccess later.

Image 4.5
d ) Set Date and Time

Image 4.6

e) Enable crash dump mechanism

Image 4.7
Step 5) once server got rebooted, login with 'root' username.

Image 5.1

Step 6) to check redhat-release using command

# cat /etc/redhat-release

Step 7) After Installing OS need to enter the ip address and hostname of server in a file called “hosts”
file path or location for the host file “/etc/hosts”

To see the information using “cat” command we can see the information

Example output : cat /etc/hosts

Image 7.1

To communicate with other servers in the network, hosts file need to update with details like
Hostname and Ip address.
Using vi editor or vim editor or gedit options we open a file update details of servers or client
machines.

use gedit option to open the in graphical mode,


other editor option need to know the shortcuts option before editing the file.

root@qtssecondary ~]#gedit /etc/hosts

Image 7.2

example output : 192.168.10.10 is this server ip address & hostname qtssecondary.testserver.com


192.168.10.14 is another server ip address & hostname qtsprimary.testserver.com

Edit the files called “Hosts, host name to assign host name using CLI & network file to assign host
name”.

Note:after entering ip address & host name, using '# key' in the same line details which were enter
will be not read by the server, so the information of ip address belongs to clients or servers.

root@qtssecondary ~] # gedit /etc/hostname

Image 7.3

[root@qtssecondary~]#gedit /etc/sysconfig/network

Image 7.4

Step 8)
8.a i) Check the ip tables or firewall is enabled or disabled.

[root@qtssecondary~]# iptables -L or getenforce gives fire wall status.


Image 8.1
[root@qtssecondary~]# getenforce

Image 8.2

Output of above commands shows firewall is 'enabled'.

a.ii) See the main selinux file status

[root@qtssecondary~]#cat /etc/sysconfig/selinux

Image 8.3
a.iii) change the state enforcing to disabled state

[root@qtssecondary~]#gedit /etc/sysconfig/selinux

Image 8.4

a.iv) check the firewall status

[root@qtssecondary~]# service iptables status

Image 8.5

[root@qtssecondary~]# service ip6tables status


Image 8.6

Need to stop firewall services

[root@qtssecondary~]# service ip6tables stop


[root@qtssecondary~]# service iptables stop

First check status


[root@qtssecondary~]# chkconfig - - list | grep iptables
[root@qtssecondary~]# chkconfig - - list | grep ip6tables

permanently stop firewall service

[root@qtssecondary~]# chkconfig - - level 2345 iptables off


[root@qtssecondary~]# chkconfig - - level 2345 ip6tables off

Image 8.7

Step 9) Automount of Rhel OS & change directory location.

a.i) To identify the RHEL 6 OS disk is mounted or visiable using command.

[root@qtssecondary~]# df -h
Image 9.1

a ii ) to see the data available on rhel os dvd drive, using 'cd'- change directory commad

[root@qtssecondary~]# cd /media/RHEL-6.7\ Server.x86_64/ then change directory location to


Packages

Image 9.2

Step 10) Configure yum server

a.i) prerequisite packages are vsftpd*, delta*,python-delta & createrepo*

[root@qtssecondary Packages]# ls -l | grep vsftpd*


[root@qtssecondary Packages]# ls -l | grep delta*
[root@qtssecondary Packages]# ls -l | grep python-delta*
[root@qtssecondary Packages]# ls -l | grep createrepo*

Image 10.1

a.ii) once installation complete create a directory in location /var/ftp/pub

[root@qtssecondary ~]# cd /var/ftp/pub


[root@qtssecondary ~]# mkdir rhel6.7
a.iii) change directory to dvd drive location then copy all Packages to rhel6.7 directory location

[root@qtssecondary~]# cp -rvf /media/RHEL-6.7\ Server.x86_64/ /var/ftp/pub/rhel6.7


[root@qtssecondary~]#
once copied all packages.

b) create repository file using touch command create 'zero byte' file in location /etc/yum.repos.d

[root@qtssecondary ~]# touch /etc/yum.repos.d/secondary.repo


[root@qtssecondary ~]#

using gedit command add some line for repository file.


[root@qtssecondary ~]# gedit /etc/yum.repos.d/secondary.repo

Image 10.2

then update repository db file using createrepo command

NOTE: createrepo command is not recommended for RHEL5 to RHEL6

[root@qtssecondary ~]# createrepo -v /var/ftp/pub/rhel6.7 (createrepo - -database


/var/ftp/pub/rhel6

Image 10.3

latest repository to check

[root@qtssecondary ~]# yum clean all

Image 10.4
step 11) Installing Hyper File System Package

a) change directory to package location

[root@qtssecondary ~]# cd /root/Desktop


[root@qtssecondary Desktop]#

using yum install, install package of SLI-HyperFS-5.5.2-2344.x86_64.rpm

b) [root@qtssecondary Desktop]# yum install SLI-HyperFS-5.5.2-2344.x86_64.rpm

or
[root@qtssecondary Desktop]# rpm -ivh SLI-HyperFS-5.5.2-2344.x86_64.rpm

Image 11.1

Image 11.2
c) once Hyper fs rpm package is installed then we need run command sli-hyperfs-setup

[root@qtssecondary Desktop]# sli-hyper-setup

Image 11.3

Installation is completed.
Step 12) open Hyper fs in a brower using ip address

For example:

http://192.168.10.14:82 and http://192.168.10.14:83

a) login to Hyper FS - using port no:83

connecting Hyperfs you can see client software, configure iscsi so on in port no : 83
(refer image 12.1)

username: root
password: refer to Image 1.13

Image 12.1
Image 12.2

b) login to Hyper FS

To manage the file system Song & SAN need to connect using port no : 82

for port 82, username : fsadmin


password : password

Image 12.3
Image 12.4

hyper fs installation completed.

You might also like