reids 使用systemctl找不到
来源:4-4 项目开发环境介绍(服务器环境和Pycharm远程开发设置)
Dang_JR0727
2019-07-02
写回答
1回答
-
Jack
2019-07-04
你是yum install redis安装的吗?源码编译安装的话需要注册systemctl服务
[zanhu@zanhu ~]$ systemctl status redis
● redis.service - Redis persistent key-value database
Loaded: loaded (/usr/lib/systemd/system/redis.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/redis.service.d
└─limit.conf
Active: active (running) since Mon 2019-06-03 14:46:01 CST; 1 months 0 days ago
Process: 3405 ExecStop=/usr/libexec/redis-shutdown (code=exited, status=0/SUCCESS)
Main PID: 3448 (redis-server)
CGroup: /system.slice/redis.service
└─3448 /usr/bin/redis-server 127.0.0.1:6379
[zanhu@zanhu ~]$
00
相似问题