The first experience of redis (window)

Source: Internet
Author: User

1 Download window version of redis:https://github.com/msopentech/redis/releases

2 Unzip the package. I put it on the E-plate: E:/redis

3 program, input cmd into the console

4 Follow the steps below to enter the Redis directory and turn on the Redis service

    • E:
    • CD Redis
    • Redis-server.exe redis.windows.conf

5 Fourth Step window do not close, otherwise you will not be able to access the service, new open a cmd console,

Switch to the Redis directory to run the redis-cli.exe-h 127.0.0.1-p 6379 .

Set the key-value pair set MyKey codeforphp

Remove key value pair get MyKey

6379-Why does Redis choose it as the default port number?

A few days ago , Antirez, a Redis author, said on Twitter that the next blog post would explain to everyone why he chose 6379 as the default port number.

Now this blog post, after explaining the LRU mechanism of Redis, as scheduled to explain the use of 6379 as the default port reasons.

6379 Merz The corresponding number on the phone keypad, and Merz is taken from the Italian showgirl Alessia Merz name. Merz has long been synonymous with Antirez and his friends as stupidity.

The first experience of redis (window)

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.