Reference https://downloads.linux.hpe.com/SDR/project/mcp/
*** Create /etc/yum.repos.d/mcp.repo
vi /etc/yum.repos.d/mcp.repo
[mcp]
name=Management Component Pack
baseurl=http://downloads.linux.hpe.com/repo/mcp/dist/dist_ver/arch/project_ver
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-mcp
Where:
dist centos, fedora, opensuse, oracle, asianux
dist_ver Browse repo to identify supported distribution versions
arch i386, x86_64
project_ver current, 12.05, 11.30, 11.21, 11.05, 10.62, 10.50, 10.40, 10.20
Example file for Centos 6.9Server x86_64 current
[mcp]
name=Management Component Pack
baseurl=http://downloads.linux.hpe.com/repo/mcp/CentOS/6.9Server/x86_64/current/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-mcp
*** Get keys from HP site
rpm --import https://downloads.linux.hpe.com/SDR/hpPublicKey2048.pub
rpm --import https://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub
rpm --import https://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub
*** use this command to check and view the package available
yum --disablerepo="*" --enablerepo="mcp" list available
*** if you want to install ssacli and which is available then use this command as below
yum --disablerepo="*" --enablerepo="mcp" install ssacli
*** done
沒有留言:
發佈留言