How to open Redis for Windows correctly

Source: Internet
Author: User
Tags install redis

Official website: Https://redis.io

Chinese Web: http://www.redis.cn/and http://www.redis.net.cn/

Redis does not provide the official Windows version of the package, has been developed, maintained and updated by Microsoft

Windows version: Https://github.com/MicrosoftArchive/redis/releases

MSI direct installation, Zip/tar for decompression

Installation Steps

Here is a brief introduction to the Windows version of the installation steps, other versions can be found on the official website

1. Open CMD,CD to the directory where Redis resides

2. Run Redis-server.exe redis.windows.conf start server

3. Another cmd,cd to the directory where Redis resides

4. Run Redis-cli.exe-h 127.0.0.1-p 6379 to start the client

5. Run Set key value, such as set name Zhangsan, output OK

6. Run get name and output Zhangsan to prove that the Redis service is working properly

Windows Services

Make Redis a Windows service that automatically runs every time you boot without the need for CMD to start the service

1. Open CMD,CD to the directory where Redis resides

2. Run Redis-server--service-install redis.windows.conf

3. Run services.msc to view Windows services

How to open Redis for Windows correctly

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.