将Redis安装包分别上传到3个文件夹,并解压缩
#编译并指定安装目录
cd /root/usr/local/redis-cluster/redis-7001/redis-6.2.6/
make
make PREFIX=/root/usr/local/redis-cluster/redis-7001 install#===============================================================
cd /root/usr/local/redis-cluster/redis-7002/redis-6.2.6/
make
make PREFIX=/root/usr/local/redis-cluster/redis-7002 install#===============================================================
cd /root/usr/local/redis-cluster/redis-7003/redis-6.2.6/
make
make PREFIX=/root/usr/local/redis-cluster/redis-7003 install