How to build a redis environment in a Windows operating system and a redis

Source: Internet
Author: User

How to build a redis environment in a Windows operating system and a redis
1. Download suitable for installing Redis in Windows operating systems: https://github.com/dmajkic/redis/downloads
2. decompress the downloaded compressed file and you will get two versions of Redis: 32-bit and 64-bit.
3. select an appropriate version and copy the folder to another place, such as the C: \ redis directory.
4. Open a cmd window and use the cd command to switch to the C: \ redis directory.
Run redis-server.exe redis. conf on the 5th node, as shown in figure. Note: redis. conf can be omitted. If omitted, the default setting is enabled.


6. Open a new cmd window. Use the cd command to switch to the C: \ redis directory, as in step 3 above.

7. Run redis-cli.exe-h 127.0.0.1-p 6379 in the new window, as shown in. Note: Do not close the original window, or you will not be able to access the server.


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.