云服务器内容精选

  • 操作步骤 执行命令tar -zxvf MLNX_OFED_LINUX-5.8-3.0.7.0-xxx-x86_64.tgz(xxx为OFED安装包名)解压OFED安装包。 解压完成后,进入“MLNX_OFED_LINUX-5.8-3.0.7.0-xxx-x86_64”文件夹执行安装。 ./mlnxofedinstall --without-fw-update --force --add-kernel-support --skip-distro-check --distro hce --without-ucx --without-depcheck (hce) ./mlnxofedinstall --without-fw-update --without-ucx --force (CentOS) ./mlnxofedinstall --without-fw-update --force --add-kernel-support --without-ucx --skip-distro-check (EulerOS) 以centos系列为例:[root@localhost MLNX_OFED_LINUX-5.8-3.0.7.0-xxx-x86_64]# ./mlnxofedinstall --without-fw-update --without-ucx --forceLogs dir: /tmp/MLNX_OFED_LINUX.1479.logsGeneral log file: /tmp/MLNX_OFED_LINUX.1479.logs/general.logVerifying KMP rpms compatibility with target kernel...Error: One or more required packages for installing MLNX_OFED_LINUX are missing.Please install the missing packages using your Linux distribution Package Management tool.Run:yum install fuse-libs tcsh tk createrepo 在安装过程中,如果缺少相关依赖包,执行yum install xxx进行安装。 按照上一步提示执行:yum install fuse-libs tcsh tk createrepo 按照步骤2安装依赖完成后,再次执行对应命令安装脚本。 等待一段时间后如下所示,即为安装成功。 安装成功后,执行/etc/init.d/openibd restart加载驱动。 [root@localhost MLNX_OFED_LINUX-5.8-3.0.7.0-xxx-x86_64.tgz]# /etc/init.d/openibd restartUploading HCA driver: [ OK ]Loading HCA driver and Access Layer: [ OK ] 执行reboot命令,使驱动生效。