Debian/Ubuntu下一键编译安装MegaCli64

文章目录[隐藏]

前言

每次都去github找,结果每次都是错的(有typo),这里博客放一个备用。

脚本



#安装依赖

apt install wget unzip alien dpkg -y

#下载

wget https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/8-07-14_MegaCLI.zip

#解压

unzip 8-07-14_MegaCLI.zip

#安装

cd Linux

sudo alien MegaCli-8.07.14-1.noarch.rpm

sudo dpkg -imegacli_8.07.14-2_all.deb

#添加到/usr/bin

ln -s /opt/MegaRAID/MegaCli/MegaCli64 /usr/bin/MegaCli64

#帮助

MegaCli64 -h

其他问题

报错:MegaCli64: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
解决:sudo apt-get install libncurses5


This article is under CC BY-NC-SA 4.0 license.
Please quote the original link:https://www.liujason.com/article/1122.html
comments powered by Disqus
Built with Hugo
Theme Stack designed by Jimmy