1. Start Stop
If (sudo apt install redis-server) mounted
Start: sudo srevice redis start
Stop: sudo srevice redis stop
Restart: sudo srevice redis restart
If ( https://www.cnblogs.com/jum-bolg/p/11300134.html ) Installation
Start: sudo redis-server /etc/redis/redis.conf(/etc/redis/redis.conf for the configuration file)
View redis process id: ps aux | grep redis
Stop: sudo kill -9 pid (pid for the redis process id)
2. The client connection
Connection: redis-cli
Test Connection: ping (server automatically reply to a pong)
Switching database: select n (n represents the resolution of several databases, a total of 16 (0-15))
Reproduced indicate the source: Story II odd