Redis 64 steps

时间:2023-03-09 17:23:18
Redis 64 steps

a memo for redis 64 operations

start server in console:
1. D:\>cd redis64
2. D:\redis64>redis-server.exe redis.windows.conf
_._
_.-``__ ''-._
_.-`` `. `_. ''-._ Redis 2.8.2101 (00000000/0) 64 bit
.-`` .-```. ```\/ _.,_ ''-._
( ' , .-` | `, ) Running in stand alone mode
|`-._`-...-` __...-.``-._|'` _.-'| Port: 6379
| `-._ `._ / _.-' | PID: 6252
`-._ `-._ `-./ _.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' | http://redis.io
`-._ `-._`-.__.-'_.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' |
`-._ `-._`-.__.-'_.-' _.-'
`-._ `-.__.-' _.-'
`-._ _.-'
`-.__.-' [6252] 01 Dec 10:13:27.169 # Server started, Redis version 2.8.2101
[6252] 01 Dec 10:13:27.170 * The server is now ready to accept connections on port 6379 start server in services:
1. D:\redis64>redis-server --service-install redis.windows.conf --loglevel verbose
[5660] 01 Dec 10:20:09.677 # Granting read/write access to 'NT AUTHORITY\Network Service' on: "D:\redis64" "D:\redis64\"
[5660] 01 Dec 10:20:09.678 # Redis successfully installed as a service. 2. D:\redis64>redis-server --service-start
[5632] 01 Dec 10:24:08.241 # Redis service successfully started. start client D:\redis64>redis-cli.exe
127.0.0.1:6379> set age 10
OK
127.0.0.1:6379> set foo bar
OK
127.0.0.1:6379> get age
"10"
127.0.0.1:6379> get foo
"bar"
127.0.0.1:6379> keys *
1) "foo"
2) "age"
127.0.0.1:6379> keys foo
1) "foo"
127.0.0.1:6379> set foo std
OK
127.0.0.1:6379> get foo
"std"
127.0.0.1:6379> keys foo
1) "foo"
127.0.0.1:6379> exit D:\redis64>