Windows Redis installation Configuration tutorial _redis

Source: Internet
Author: User
Tags redis

The example of this article for everyone to share the Windows Redis installation method for your reference, the specific content as follows

1, first of all, Redis official support Linux system, I do not say here, need to refer to: http://www.jb51.net/article/96234.htm

2. Windows 64-bit download address: https://github.com/MSOpenTech/redis/releases

3, after the download of the Redis extract to their own directory below, after decompression

4, here you can directly click Redis-server.exe Boot, the default configuration (no password) to start

Red box can be seen, no config file specified, using the default Config, so that the start is no problem, you can check the installation directory under the Open Command window, run the command redis-cli.exe-h 127.0.0.1

Success can see the above effect.

5, we will set the Redis password, open the redis.windows.conf file, find the # Requirepass foobared this line to remove the comments, foobared replaced by their own password, save.

6. Operation Command: Redis-server.exe redis.windows.conf

Can see is to use our configuration file to start, and then test, here must enter the password, do not enter the password will be the error

This note does not enter the password, no permissions, so we need to enter the password, redis-cli.exe-h 127.0.0.1-a password

7, here, Windows installation Redis is done. Here's a shortcut to start the command Redis-server.exe redis.windows.conf, create a new txt text, save the command in a file,

Then convert the text format to a. bat file and run the bat file directly.

The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.

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.