Created
August 25, 2016 12:50
-
-
Save ijunaid8989/cd0f0695a8232b5641cac32d82a7465b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
### Download and install megaraidcli for Ubuntu; | |
FILE="megacli_8.07.14.orig.tar.gz" | |
LINK="http://hwraid.le-vert.net/ubuntu/sources/$FILE" | |
wget $LINK -O /tmp/$FILE | |
( | |
cd /tmp | |
tar -zxvf $FILE && cd megacli-*/opt | |
cp -R MegaRAID/ /opt | |
) | |
apt-get install libsysfs-dev libsysfs2 sysfsutils | |
ln -s /lib/libsysfs.so.2.0.1 /usr/lib/libsysfs.so.2.0.2 | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment