Redis runs configuration method as multiple Windows services

Source: Internet
Author: User

1. First download the official Microsoft 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

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.