• Welcome to LiuJason's Blog!

Debian/Ubuntu下一键编译安装MegaCli64

Linux笔记 Jason 4 years ago (2020-12-14) 530 Views 0 Comments
文章目录[隐藏]

前言

每次都去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
Like (1)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址