(1)使用特定配置文件运行。
[root@192 redis-5.0.4]# pwd
/usr/local/redis-5.0.4
[root@192 redis-5.0.4]# ./bin/redis-server ./redis.conf
(2)登录
./redis-cli -h 127.0.0.1 -p 6379
(1)使用特定配置文件运行。
[root@192 redis-5.0.4]# pwd
/usr/local/redis-5.0.4
[root@192 redis-5.0.4]# ./bin/redis-server ./redis.conf
(2)登录
./redis-cli -h 127.0.0.1 -p 6379