redis commonly used commands
1, redis start the service: In the src directory: ./ redis-server Syntax
2, close redis service: in the client: shutdow Syntax
3, restart redis service: redis-server restart
4, start redis client: ./ redis-cli
5, connected redis service:
View redis Password: config get requirepass Syntax
Change the need to set parameters in the configuration file redis.conf: requirepass xxxxx
Restart redis, you need to specify rdis.conf profile address to set up their own password
./redis-server /usr/local/redis/redis-5.0.5/redis.conf command [server]
./redis-cli ----- auth xxxxxx [kefuduan Syntax
6, quit client: quit Syntax