export JAVA_HOME=/usr/local/java/jdk1.8.0_144
exportCLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$JAVA_HOME/bin:$PATH
protected-mode no(关闭保护模式)
yum -yinstallruby ruby-devel
rubygems rpm-build
geminstallredis
redis安装路径默认/usr/local/bin
redis-trib.rbcreate--replicas1(每个master一个slave)192.168.1.151:7000 192.168.1.151:7001192.168.1.151:7002 192.168.1.151:7003192.168.1.151:7004192.168.1.151:7005