Redis officially does not provide Windows edition, but Microsoft Open source organization provides a version of the Windows Redis, in the spirit of learning, the next will be on my computer to build a Windows version of the Reids service.
1. Download Redis installation package for Windows: Https://github.com/MSOpenTech/redis
The installation package can download the MSI installer directly, download the source code to build it yourself, and get it by other means, such as nuget.
MSI package: Redis-x64-3.0.501.msi is installed to run directly as a Windows service.
NuGet Installation:
MSI installation package I have not been downloaded, so is the installation through NuGet, after performing the installation to perform the installation successfully, you can copy the Redis files under the Packages folder under the solution to other folders, the main files are as follows:
2, installed as a Windows service:
Redis-server--service-install redis.windows.conf--loglevel verbose
3. Testing
Open Redis Client: Execute REDIS-CLI command
To save a number using the SET directive:
To take a value using a Get instruction:
Redis Development Environment Setup