Cisco Cisco Prime Optical 10.6 Installation Guide

Page of 26
13
 
Enabling SSH on the Prime Optical Server and Database Workstation
To enable you to install 
Prime Optical
, the 
Prime Optical
 server must be able to use secure shell (SSH) to run commands on the 
database workstation. 
To enable SSH:
Step 1
As the root user, enter the following command to start the SSH service:
service sshd start
Step 2
Edit the /etc/ssh/sshd_config file on the 
Prime Optical
 workstation and change the PermitRootLogin value to yes.
Step 3
Enter the following command on the 
Prime Optical
 workstation to make the changes take effect:
service sshd restart
Step 4
If you are installing the Prime Optical server and database on two different workstations, repeat the preceding steps on 
the Prime Optical database workstation.
Make sure that the file /etc/hosts contains the following row: 
ipaddress hostname 
where ipaddress and hostname are the IP address and the hostname of the local servers.
Configuring yum
To install the required Red Hat Package Manager (RPM) utility for the Linux server and database, you must enable yum 
commands.
Before You Begin
Ensure that the yum command is properly configured and that the yum repository is available. Enter the following command to 
verify that at least one valid repository is configured:
# yum repolist
If yum is not configured, you can register your system on Red Hat Network (RHN) or configure the yum command on a local 
repository.
Note
If yum is configured on RHEL registration, ensure that the system has access to the external network.
To configure yum commands on a local repository:
Create a local.repo file in /etc/yum.repos.d directory and configure the local.repo file to the RHEL DVD.
Step 1
Copy the proper local.repo file template from DVD-mount-point/Disk1 to /etc/yum.repos.d directory. 
You can find a local.repo template for RHEL5.x, RHEL6.x and RHEL7.x in Disk1 of the Prime Optical installation DVD.
For RHEL 5.x installation, use the following command:
cp <
DVD-mount-point>/Disk1/local.repo.5x /etc/yum.repos.d/local.repo
For RHEL 6.x installation, use the following command:
cp 
<DVD-mount-point>/Disk1/local.repo.6x /etc/yum.repos.d/local.repo
For RHEL 7.x installation, use the following command:
cp <DVD-mount-point>/Disk1/local.repo.7x /etc/yum.repos.d/local.repo