To install Redis under Windows

Source: Internet
Author: User
Tags install redis

One, download the Windows version of Redis

Since there is no Windows version on the official website, Redis, which needs to download the Windows version, has the following two addresses:

Blogger's csdn resources address:http://download.csdn.net/detail/u010608551/9778240

Github:https://github.com/msopentech/redis/tags

Ii. Installing Redis on Windows

1. Unzip the downloaded package to a specified directory, then open the cmd window and point the current directory to the extracted directory of Redis.

2. Service to start Redis

Perform redis-server redis.windows.conf, the display indicates that the boot was successful.

Iii. setting up Redis as a service under Windows

1. Although Redis is started in, Redis disappears as soon as a cmd window is closed. So to set up Redis as a service under Windows. That is set here, first found that it is useless for this Redis service ( directly enter services.msc in the input field to open the Windows Service window )

2. Setting up Redis as a service under Windows

Execute command:redis-server--service-install redis.windows-service.conf--loglevel verbose,(this may be a bit of a stutter, Do not close the window or keep it wild. If there is no error message, it means success, and then to the "service" interface refresh, found that a Redis service items

3. Common Redis Service commands

Uninstall Service: Redis-server--service-uninstall

Open service: Redis-server--service-start

Stop service: Redis-server--service-stop

4. Start the service

Next Run the Redis-server--service-start command to start the Redis service

5. Test if Redis started successfully

 

Here, the installation and service deployment of Redis under Windows has been successful, in more detail to Redis's Chinese web http://www.redis.net.cn/

To install Redis 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.