Install redis and windows redis in windows

Source: Internet
Author: User
Tags download redis install redis

Install redis and windows redis in windows

1. Download Redis for windows

After searching for the windows version on the official website for a long time, I found that the windows version can be downloaded from the official website. Currently, the windows version is only available on github. The official website only provides the linux version for download.

Official Website: http://redis.io/download

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

Ii. Install Redis

1. Here the download is the Redis-x64-3.2.100 version, my computer is win7 64-bit, so download the 64-bit version, Enter cmd in the run, and then point the directory to the decompressed Redis directory.

2. Start the command

Redis-server redis. windows. conf. If it is displayed, the startup is successful.

 

3. Set up the Redis Service

1. Although redis is started above, redis will disappear as long as the cmd window is closed. Therefore, we need to set redis as a service in windows.

That is, the Redis service is not used.

2. Set service commands

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

If no error is reported after you enter the command, it indicates that the operation is successful. Refresh the service and you will see an additional redis service.

3. Common redis service commands.

Uninstall the service: redis-server -- service-uninstall

Enable service: redis-server -- service-start

Stop service: redis-server -- service-stop

4. Start the service

5. Test Redis

The installation test is successful.

Here just do simple installation, deployment service use, more in-depth use can go to redis Chinese network to see http://www.redis.net.cn/blog Park also has a lot of in-depth use of methods, because my blog system needs to use, let's make a discussion.

There is a document in the downloaded decompression package, which provides detailed instructions,

For more information, thank you.

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.