Sometimes we need to use Redis as the caching service on the Windows platform, which requires Redis to be installed as a window service.
Now, I will record the installation process, to facilitate their own or have similar needs of the students reference. Mainly refer to the existing examples on the Internet, please lightly spray
The main references are as follows:
Http://www.it165.net/admin/html/201407/3407.html
Http://www.cnblogs.com/shanyou/archive/2013/01/17/redis-on-windows.html
The following excerpt is the article at http://www.it165.net/admin/html/201407/3407.html
First download Microsoft's official recommended version redis-2.8.12
2. Start configuration, first copy two copies of redis.conf and rename the configuration node inside redis6379.conf redis6380.conf corresponding change to port 6379 Port 6380
3. Start the installation (the stupidest method of cmd command line)
D:\redis-2.8.12\redis-server.exe–service-install D:\redis-2.8.12\redis6379.conf–service-name redisservice6379– Port 6379
D:\redis-2.8.12\redis-server.exe–service-install D:\redis-2.8.12\redis6380.conf–service-name redisservice6380– Port 6380
E:\redis-2.8.12\redis-server.exe--service-install E:\redis-2.8.12\redis6379.conf--service-name redisService6379- -port 6379
Here I win7 64 bit above use "--" to register success, do not know why, have to know the classmate please leave a message to inform, thank you ~
Post-Installation Service conditions:
Task Manager Scenarios:
Port monitoring condition:
At this point, the successful operation of Redis as a Windows service, Microsoft Official recommendation can be installed to run up to 3 instances, this article to run 2 instances as an example.