linux redis-集群搭建脚本

1:redis脚本

#!/bin/bash
cd /usr/local/src/
# 请用root权限执行
#下载redis并解压 
wget https://github.com/licheng1013/linux-/raw/master/redis-5.0.4.tar.gz
tar -zxvf redis-5.0.4*
cd redis-5.0.4
apt -y install make
make && make install
wget https://github.com/licheng1013/linux-/raw/master/redis-clusters.tar.gz
tar -zxvf redis-clusters*

你可能感兴趣的:(redis)