1.确认命令软件包
yum whatprovides */lspci
2.安装软件包
yum -y install pciutils
3.查看阵列卡信息
lspci -k
或
lspci -k |grep RAID -A 2
1.官网下载软件包
访问官网页面"https://www.broadcom.com/"
搜索内容“megacli”
基于版本型号下载合适的安装包
下载页面:
https://www.broadcom.com/site-search?filters[pages][Content_Type][type]=and&filters[pages][Content_Type][values][]=Downloads&page=1&per_page=100&q=megacli
2.下载软件包
wget https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/8-07-14_MegaCLI.zip
3.解压
unzip 8-07-14_MegaCLI.zip -d 8-07-14_MegaCLI
4.安装rpm包
cd 8-07-14_MegaCLI/Linux/
rpm -ivh MegaCli-8.07.14-1.noarch.rpm
注意:默认安装位置“/opt/MegaRAID/MegaCli/MegaCli64”
5.创建软连接
ln -s /opt/MegaRAID/MegaCli/MegaCli64 /usr/local/bin/MegaCli
6.测试安装是否成功
MegaCli -v
MegaCli -help