# yum
repolist
Loaded plugins: product
-id, security, subscription-manager
is
not registered to
Red
Hat Subscription Management.
You
can use subscription-manager to
# sudo rpm
--import
RPM-GPG-KEY-Mellanox
warning: rpmts_HdrFromFdno: Header
V3 DSA/SHA1
Signature, key ID 6224c050:
NOKEY
Retrieving key from file:///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox
Importing
GPG
key 0x6224C050:
Userid:
"Mellanox
Technologies
(Mellanox
Technologies
-
Signing
Key
v2)
<support@mellanox.com>"
From
:
/repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox
Is this
ok
[y/N]:
[mlnx_ofed]
name=MLNX_OFED Repository
baseurl=file:///<path to extracted
MLNX_OFED package>/RPMS
enabled=1
gpgkey=file:///<path to the downloaded key
RPM-GPG-KEY-Mellanox>
gpgcheck=1
# yum search mlnx-ofed-
mlnx-ofed-all.noarch
:
MLNX_OFED
all installer
package
(with
KMP
support) mlnx-
ofed-basic.noarch
:
MLNX_OFED
basic
installer
package
(with
KMP
support) mlnx-
ofed-guest.noarch
:
MLNX_OFED
guest
installer
package
(with
KMP
support) mlnx-
ofed-hpc.noarch
:
MLNX_OFED
hpc
installer
package
(with
KMP
support)
mlnx-ofed-hypervisor.noarch
:
MLNX_OFED
hypervisor
installer
package
(with
KMP
support)
mlnx-ofed-vma.noarch
:
MLNX_OFED vma
installer
package
(with
KMP
support)
mlnx-ofed-vma-eth.noarch
:
MLNX_OFED
vma-eth
installer
package
(with
KMP
support)
mlnx-ofed-vma-vpi.noarch
:
MLNX_OFED
vma-vpi
installer
package
(with
KMP
support)
4.
Install the key.
5.
Check that the key was successfully imported.
6.
Create a yum repository configuration file called "/etc/yum.repos.d/mlnx_ofed.repo" with the
following content:
7.
Check that the repository was successfully added.
RHEL
6Server
-
RPMforge.net
-
dag
Installing MLNX_OFED Using the YUM Tool
After setting up the YUM repository for MLNX_OFED package, perform the following:
1.
View the available package groups by invoking:
Where:
# rpm -q gpg-pubkey --qf '%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n' | grep Mellanox
gpg-pubkey-a9e4b643-520791ba
gpg(Mellanox Technologies
<support@mellanox.com>)
# wget http://www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox
--2014-04-20 13:52:30-- http://www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox
Resolving www.mellanox.com... 72.3.194.0
Connecting to www.mellanox.com|72.3.194.0|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1354 (1.3K) [text/plain]
Saving to: ?RPM-GPG-KEY-Mellanox?
100%[=================================================>] 1,354 --.-K/s in 0s
2014-04-20 13:52:30 (247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [1354/1354]