#!/bin/bash
wget https://raw.githubusercontent.com/crazy-zhangcong/tools/master/MegaCli8.07.10.tar.gz
tar -zxf MegaCli8.07.10.tar.gz
cd MegaCli8.07.10/Linux/
apt-get install -y alien
alien -k MegaCli-8.02.21-1.noarch.rpm
dpkg -i megacli_8.02.21-1_all.deb
ln -s /opt/MegaRAID/MegaCli/MegaCli64 /usr/local/bin/megacli