Installing Redis Services under Windows

Source: Internet
Author: User
Tags install redis

1.Redis does not natively support windows, but another team is maintaining a version under Windows

2.:

Https://github.com/MSOpenTech/redis

2.8 version in the source code does not contain the executable files under Windows, all moved to release inside, so click Release to download.

3, download after decompression

4, installation is very simple, Windows Service documentation.docx detailed description.

1) Installation Services:

Redis-server--service-install Redis.windows.conf--loglevel verbose

2) Uninstall Service:

Redis-server--service-uninstall

3) Start the service:

Redis-server--service-start

Note: Under Windows 7 64-bit machine, start if error (other environment not tried)

The solution for this is to add in redis.windows.conf:

Maxheap 1GB

Specific reasons do not know why, may be related to my machine environment (I set to 2GB and 4GB will be error)

4), Stop the service:

Redis-server--service-stop

5, specify the service name and port number of the installation:

1) Installation: Redis-server--service-install--service-name RedisService1--port 10001

Note: The above installation service will cause error (Redis service failed to start), so specify the configuration file when installing:

Redis-server--service-install redis.windows.conf--loglevel verbose--service-name redisService1--port 10001

2) Uninstall:

Redis-server--service-uninstall--service-name RedisService1--port 10001

3) Start the service:

Redis-server--service-start--service-name RedisService1

4) Stop the service:

Redis-server--service-stop--service-name RedisService1

Installing Redis Services under Windows

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.