redis-server redis.windows-service9901.conf
redis-server.exe redis.windows.conf
redis-server.exe redis.windows-service.conf
redis-server --service-install redis.windows-service9901.conf --service-name redis9901 --port 9901
redis-server --service-start --service-name redis9901
redis-cli.exe -h 127.0.0.1 -p 9901
redis-server --service-stop
redis-server --service-start
redis-server --service-install redis.windows-service.conf
redis-server --service-install redis.windows.conf
D:SRDFile edisRedis-x64-3.2.100
redis-server --service-uninstall
redis-server --service-install redis.windows.conf
#查看所有key
keys * 或 keys "*"
#查看匹配前缀的keys
keys "miao*"
#清空redis
flushdb
#随机取出一个key
randomkey
#查看key的类型
type key
#查看数据库中key的数量
dbsize
#查看服务器信息
info