Install the Megacli command in Centos
1. Current version
cat
/etc/redhat-release
CentOSrelease6.5(Final)
2. Installation Package
yum-y
install
wget
yum-y
install
unzip
3. Download 8.07.10_megacli_linux.zip
wgethttp:
//www
.lsi.com
/downloads/Public/RAID
%20Controllers
/RAID
%20Controllers%20Common%20Files
/8
.07.10_MegaCLI_Linux.zip
--2015-05-1317:27:56--http:
//www
.lsi.com
/downloads/Public/RAID
%20Controllers
/RAID
%20Controllers%20Common%20Files
/8
.07.10_MegaCLI_Linux.zip
Resolvingwww.lsi.com...192.19.195.176
Connectingtowww.lsi.com|192.19.195.176|:80...connected.
HTTPrequestsent,awaitingresponse...200OK
Length:1543709(1.5M)[application
/x-zip-compressed
]
Savingto:8.07.10_MegaCLI_Linux.zip.1
100%[=============================================================================================================================================>]1,543,70918.1K
/s
in
72s
2015-05-1317:29:08(21.0KB
/s
)-8.07.10_MegaCLI_Linux.zip.1saved[1543709
/1543709
]
4. decompress the package
unzip8.07.10_MegaCLI_Linux.zip
Archive:8.07.10_MegaCLI_Linux.zip
inflating:8.07.10_MegaCLI_Linux
/Linux
MegaCLI8.07.10.txt
creating:8.07.10_MegaCLI_Linux
/Linux
MegaCLI8.07.10/
inflating:8.07.10_MegaCLI_Linux
/Linux
MegaCLI8.07.10
/MegaCli-8
.07.10-1.noarch.rpm
5. Installation
cd
/root/8
.07.10_MegaCLI_Linux
/Linux
\MegaCLI\8.07.10/
rpm-ivhMegaCli-8.07.10-1.noarch.rpm
Preparing...
###########################################[100%]
1:MegaCli
###########################################[100%]
11187blocks
6. Find related commands
find
/-name
"MegaCli*"
/root/MegaCli-8
.07.10-1.noarch.rpm
/opt/MegaRAID/MegaCli
/opt/MegaRAID/MegaCli/MegaCli64
7. Copy related commands
/usr/local/sbin/
cp
/opt/MegaRAID/MegaCli/MegaCli
*
/usr/local/sbin
=======================================================================================
Iii. command reference
http:
//thatlinuxbox
.com
/blog/article
.php
/lsi-megaraid-megacli
?query=Mega