Cisco Cisco Prime Central 1.1 Guia Da Instalação

Página de 36
21
   
Step 5
Mount the /rhel .iso file to /cdrom-6.2:
cd /rhel
mount -t iso9660 -o loop /rhel/rhel-server-6.2-x86_64-dvd.iso /cdrom-6.2
Note
To permanently mount the drive, update the /etc/fstab file. See 
Step 6
Create a file named /etc/yum.repos.d/local.repo. Use UNIX format and be sure there are no spaces before lines.
Step 7
Save the newly created file in local.repo, as follows:
[local]
name=Red Hat Enterprise Linux $releasever - $basearch - Local
baseurl=file:///cdrom-6.2/Server
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[HighAvailability]
name=Red Hat Enterprise Linux $releasever - $basearch - HighAvailability
baseurl=file:///cdrom-6.2/HighAvailability
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[ResilientStorage]
name=Red Hat Enterprise Linux $releasever - $basearch - ResilientStorage
baseurl=file:///cdrom-6.2/ResilientStorage
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Step 8
(Optional) If you forget the HA package and want to install it later, enter: 
yum groupinstall "High Availability"
Step 9
(Optional) If you forget the desktop and want to install it later, enter:
yum groupinstall "X Window System" Desktop
vi /etc/inittab
Then, change id:3:initdefault: to id:5:initdefault: and reboot the server.
Step 10
Temporarily disable the firewall and SELinux to enable initial testing of the cluster:
a.
To disable the firewall, enter:
# service iptables save
service iptables stop
chkconfig iptables off
service ip6tables save
service ip6tables stop
chkconfig ip6tables off
b.
To disable SELinux, enter:
vi /etc/selinux/config
change
SELINUX=enforcing
to
SELINUX=disabled
Step 11
Keep the nodes synchronized:
echo server tick.redhat.com$'\n'restrict tick.redhat.com mask 255.255.255.255 nomodify notrap noquery 
>> /etc/ntp.conf
chkconfig ntpd on