- download windows redis
https://github.com/ServiceStack/redis-windows
- start redis
cd c:\redis
redis-server.exe redis.windows.conf
- connect to redis
cd c:\redis
redis-cli.exe
- operation after connection
redis 127.0.0.1:6379> SET foo bar
OK
redis 127.0.0.1:6379> KEYS *
1) "foo"
redis 127.0.0.1:6379> GET foo
"bar"
redis 127.0.0.1:6379>
网友评论