Redis has server side and client server: server: Https://github.com/dmajkic/redis/downloads after decompression: Then go to cmd command: Do not close this command window (close service is off), To open a new command window: Enter the Redis directory (the unzipped folder) to execute:
redis-cli.exe-h 192.168.1.200-p 6379//(address changed to its own IP)
You can now set the cache value and read it;
Set KEY01 (Note: KEY01 is the key name): The value that the write key is called Key01
Get Key01 (Note: KEY01 is the key name): Read the value of the key called Key01
Note: The key name cannot be Chinese;
Write:
Read:
In addition to command line management, Redis also has a desktop visualizer https://redisdesktop.com/download:
Click Redisdesktopmanager to enter the visualizer, click, the connection configuration appears:
After filling it out, link to the Redis host:
Note: Each db is a cache database, and Redis relies on this support cluster to build the database cache.
Clicking on the first db0 appears Key01 is the key name we wrote earlier:
The right panel is a detailed action on this key: You can view the key values and you can modify the key names
The entire configuration process is simple and easy to understand.
Redis installation Configuration