First, download and install Readis
Github:https://github.com/microsoftarchive/redis/tags
Download . MSI After the next installation can be
Second, verify the installation
1. In compute management, make sure Redis is started
2. Test Readis read/write with command
Third, the necessary configuration
1. Password restrictions
Cache information is often sensitive, and setting a password can effectively reduce the risk of data leakage from the cache. Settings are as follows:
2. Restricting IP access
The default limit is to use Redis only natively, and if you want to have external access, you need to locate the redis.windows-service.conf file in the installation directory, and locate the file location in:
Note where the red is marked, configure the rule:
1, instead of "# bind 127.0.0.1" is not restricted IP access (preceded by sign # ), if the machine has more than one IP, then use any one IP can access;
2. Instead of "bind 127.0.0.1 10.16.161.16", the restriction can only be accessed using the "native" IP. It can be used to assume that this machine has three IPs, but only two IP can access to Redis. Each IP is separated by a "space" character.
Note: Redis does not restrict access to the source IP and can set access passwords for data security.
Readis for Windows installation and password, IP restrictions