redis-server /etc/redis.conf

redis-cli


[root@localhost redis-6.2.6]# redis-server /etc/redis.conf
[root@localhost redis-6.2.6]# ps -ef |grep redis
root      8097     1  0 17:32 ?        00:00:00 redis-server 127.0.0.1:6379
root      8118  3190  0 17:32 pts/1    00:00:00 grep --color=auto redis
[root@localhost redis-6.2.6]# redis-cli
127.0.0.1:6379> 

更多推荐

redis启动命令