Created
March 28, 2012 03:20
-
-
Save retr0h/2223264 to your computer and use it in GitHub Desktop.
Install MegaCLI
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; | |
FILE="megacli_8.02.16.orig.tar.gz" | |
LINK="http://hwraid.le-vert.net/ubuntu/sources/$FILE" | |
wget $LINK -O /tmp/$FILE | |
( | |
cd /tmp | |
tar -zxvf $FILE && cd megacli-8.02.16/opt | |
cp -R MegaRAID/ /opt | |
) | |
apt-get install libsysfs-dev libsysfs2 sysfsutils | |
ln -s /lib/libsysfs.so.2.0.1 /usr/lib64/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