43
1.
2.
3.
4.
5.
6.
7.
Uninstalling MLNX_OFED
Use the script /usr/sbin/ofed_uninstall.sh to uninstall the Mellanox OFED package. The script is part of
the ofed-scripts RPM.
Installing MLNX_OFED Using YUM
This type of installation is applicable to RedHat/OL, Fedora, XenServer Operating Systems.
Setting up MLNX_OFED YUM Repository
Log into the installation machine as root.
Mount the ISO image on your machine and copy its content to a shared location in your network.
# mount -o ro,loop MLNX_OFED_LINUX-<ver>-<OS label>-<CPU arch>.iso /mnt
Download and install Mellanox Technologies GPG-KEY:
The key can be downloaded via the following link:
http://www.mellanox.com/downloads/ofed/
# 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]
Install the key.
# 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) <[email protected]>"
From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox
Is this ok [y/N]:
Check that the key was successfully imported.
# rpm -q gpg-pubkey --qf
'%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n'
| grep Mellanox
gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support
@mellanox
.com>)
Create a yum repository configuration file called "/etc/yum.repos.d/mlnx_ofed.repo" with the
following content:
[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
Check that the repository was successfully added.
Summary of Contents for C-ADAB
Page 14: ...14...