Windows Platform Installation Redis service

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.