Deploying Redis into Windows Services

Source: Internet
Author: User
Tags install redis

Redis can be installed as a Windows service, starting from boot, the command is as follows:

  Redis-Server -service-install Redis. Windows. conf

  

  Once installed, you can see that Redis is already a Windows service:

  

  

However, after installation, Redis does not start, and the Start command is as follows:

Redis-Server -service-start

  

  

Stop command:

  Redis-Server -service-stop

  

  

  

You can also install multiple instances

1.Redis-Server -service-install –service-name RedisService1 –port 10001

< Span class= "PLN" >< Span class= "PLN" > 2, redis-server --service-start –< Span class= "PLN" >service-name redisService1

< Span class= "PLN" > 3, redis-server --service-install Span class= "pun" >–service-name RedisService2 –port 10002

< Span class= "PLN" >< Span class= "PLN" > 4, redis-server --service-start –< Span class= "PLN" >service-name redisService2

< Span class= "PLN" > 5, redis-server --service-install Span class= "pun" >–service-name redisService3 –port 10003

6. Redis-Server -service-start –service-name RedisService3

Deploying Redis into Windows Services

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.