8、启动
/usr/local/bin/redis-server /etc/redis/redis.conf
./redis-server /home/work/redis/redis.conf &
关闭:
ps -ef | grep redis
9、查看启动
ps -ef | grep redis
10、使用客户端
redis-cli
>set name david
OK
>get name
"david"
11.关闭客户端
redis-cli shutdown
8、启动
/usr/local/bin/redis-server /etc/redis/redis.conf
./redis-server /home/work/redis/redis.conf &
关闭:
ps -ef | grep redis
9、查看启动
ps -ef | grep redis
10、使用客户端
redis-cli
>set name david
OK
>get name
"david"
11.关闭客户端
redis-cli shutdown