This shows you the differences between two versions of the page.
— |
hp_rpm_repository [2011/06/01 12:58] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Adding HP RPM repository ====== | ||
+ | |||
+ | As I sometime install RedHat to some HP servers it's nice to know how to add the HP SW repository. | ||
+ | |||
+ | Download and install HP GPG key: | ||
+ | cd /tmp | ||
+ | wget http://downloads.linux.hp.com/SDR/downloads/ProLiantSupportPack/GPG-KEY-ProLiantSupportPack | ||
+ | rpm --import GPG-KEY-ProLiantSupportPack | ||
+ | | ||
+ | Add the repository so yum can find it. | ||
+ | Create a repository file and add RPM location. | ||
+ | vi /etc/yum.repos.d/hp.repo | ||
+ | name=HP Tools for Red Hat Enterprise Linux $releasever - $basearch | ||
+ | baseurl=http://downloads.linux.hp.com/SDR/downloads/ProLiantSupportPack/RedHatEnterpriseServer/6Server/x86_64/current | ||
+ | enabled=1 | ||
+ | gpgcheck=1 | ||
+ | |||