Flipkart

Saturday, May 20, 2017

OCS Agent installation on linux servers

First , Install these modules :-
CentOS/OEL :
yum install -y perl-XML-Simple perl-Compress-Zlib perl-Net-IP perl-LWP perl-Digest-MD5 perl-Net-SSLeay
yum install -y perl-Crypt-SSLeay perl-Net-SNMP perl-Proc-Daemon perl-Proc-PID-File perl-Sys-Syslog pciutils smartmontools monitor-edid
RHEL 4 :
up2date install  perl-XML-Simple perl-Compress-Zlib perl-Net-IP perl-LWP perl-Digest-MD5 perl-Net-SSLeay
up2date install -y perl-Crypt-SSLeay perl-Net-SNMP perl-Proc-Daemon perl-Proc-PID-File perl-Sys-Syslog pciutils smartmontools monitor-edid
up2date --register
up2date up2date
rpm -qa | grep up2date
[
 Note: RHEL upgrade with  OEL repo . Run these commands 
Converting RHEL To OEL YUM
 cd /etc/yum.repos.d
 yum repolist
Might give an error Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
To resolve this use the following command
rpm --import /usr/share/rhn/RPM-GPG-KEY
 rpm -q gpg-pubkey-ec551f03-4c2d256a
After the updates are complete system might start throwing a CERT Error
rhn-plugin: ERROR: can not find ULN CA file: /usr/share/rhn/RHNS-CA-CERT
========================================================================
To resolve this, follow the below,
# cd /usr/share/rhn
You will find the cert ULN-CA-CERT
]
Ubuntu  :
apt-get install dmidecode nmap make

No comments:

Post a Comment