https://redis.io/
tar -xzf redis-5.0.3.tar.gz
cd redis-5.0.3
make
mkdir -p /usr/local/redis/redis_1
mkdir -p /usr/local/redis/redis_2
mkdir -p /usr/local/redis/redis_3
mkdir -p /usr/local/redis/redis_4
mkdir -p /usr/local/redis/redis_5
mkdir -p /usr/local/redis/redis_6
port 7001
bind 172.20.10.12
requirepass 123456
daemonize yes
pidfile /var/run/redis_1.pid
cluster-enabled yes
cluster-config-file nodes_1.conf
cluster-node-timeout 10100
appendonly no
src/redis-server /usr/local/redis/redis_1/redis.conf
src/redis-server /usr/local/redis/redis_2/redis.conf
src/redis-server /usr/local/redis/redis_3/redis.conf
src/redis-server /usr/local/redis/redis_4/redis.conf
src/redis-server /usr/local/redis/redis_5/redis.conf
src/redis-server /usr/local/redis/redis_6/redis.conf
src/redis-cli --cluster create 172.20.10.12:7001 172.20.10.12:7002 172.20.10.12:7003 172.20.10.12:7004 172.20.10.12:7005 172.20.10.12:7006 -a 123456 --cluster-replicas 1
src/redis-cli --cluster check 172.20.10.12:7001 -a 123456
src/redis-cli -c -h 172.20.10.12 -p 7001 -a 123456
pkill redis
給大家推薦幾個好用的工具
10年積累的成都網(wǎng)站設(shè)計、成都做網(wǎng)站經(jīng)驗,可以快速應(yīng)對客戶對網(wǎng)站的新想法和需求。提供各種問題對應(yīng)的解決方案。讓選擇我們的客戶得到更好、更有力的網(wǎng)絡(luò)服務(wù)。我雖然不認識你,你也不認識我。但先做網(wǎng)站設(shè)計后付款的網(wǎng)站建設(shè)流程,更有紅河免費網(wǎng)站建設(shè)讓你可以放心的選擇與我們合作。