基本思路就是,手动配置好HP的yum源,更新一下yum,不用管报错信息,直接忽略,然后用yum安装你需要的软件,即可,以下是基本步骤:


cd /etc/yum.repos.d

vi hp.repo

[HP-spp]
name=HP Service Pack for ProLiant
baseurl=http://downloads.linux.hp.com/SDR/repo/spp/RHEL/7.1/x86_64/current/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-ssp

[HP-mcp]
name=HP Management Component Pack for ProLiant
baseurl=http://downloads.linux.hp.com/SDR/repo/mcp/CentOS/7/x86_64/current/
enabled=1
gpgcheck=0
gpgkey=
file:///etc/pki/rpm-gpg/GPG-KEY-mcp


yum clean all

yum -y update

yum -y upgrade

yum -y install hp-health hpssacli hp-snmp-agents hpssa hpssacli hp-smh-templates hpsmh hponcfg


service hp-health start

service snmpd start

service hpsmhd start


systemctl enable hp-health
systemctl enable snmpd
systemctl enable hpsmhd