redis 服务器启动与关闭

xiaoxiao2021-02-28  77

## 启动redis-server,后台线程 $ redis-server /usr/local/redis/etc/redis.conf ## 启动成功 $ ps axu|grep redis shoren 14948 0.0 0.0 2434840 760 s000 S+ 10:18上午 0:00.00 grep redis shoren 14946 0.0 0.0 2452968 1492 ?? Ss 10:18上午 0:00.01 redis-server *:6379 ## 关闭服务器 $ redis-cli shutdown ##关闭成功 $ ps axu|grep redis shoren 14952 0.0 0.0 2435864 772 s000 S+ 10:19上午 0:00.01 grep redis
转载请注明原文地址: https://www.6miu.com/read-37150.html

最新回复(0)