[root@localhost redis-4.0.8]# pwd 当前目录
/root/redis-4.0.8/redis-4.0.8
[root@localhost redis-4.0.8]# ./bin/redis-server ./etc/redis.conf 后台启动redis
14839:C 24 May 07:40:09.976 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
14839:C 24 May 07:40:09.976 # Redis version=4.0.8, bits=64, commit=00000000, modified=0, pid=14839, just started
14839:C 24 May 07:40:09.976 # Configuration loaded
[root@localhost redis-4.0.8]# ps -aux | grep redis 查看redis是否后台启动成功
root 14840 0.0 0.2 141816 2020 ? Ssl 07:40 0:00 ./bin/redis-server *:6379
root 14845 0.0 0.0 112724 988 pts/0 R+ 07:40 0:00 grep --color=auto redis
redis使用命令
最新推荐文章于 2024-06-21 00:00:00 发布