默认的是6379
可以用6380,6381开启多个
1.开启
./redis-server ../etc/redis.6380.conf &
2.链接
redis-cli -p 6380
查看进程
# ps aux|grep redis
root 866 0.0 0.0 45536 4520 ? Ssl 11:51 0:04 /usr/local/redis/bin/redis-server 127.0.0.1:6379 jiqing 9847 0.0 0.0 43492 3828 ? Ssl 13:17 0:00 ./redis-server 127.0.0.1:6380