Redis installation Configuration

Source: Internet
Author: User

Redis has server side and client server: server: Https://github.com/dmajkic/redis/downloads after decompression: Then go to cmd command: Do not close this command window (close service is off), To open a new command window: Enter the Redis directory (the unzipped folder) to execute:

redis-cli.exe-h 192.168.1.200-p 6379//(address changed to its own IP)

You can now set the cache value and read it;

Set KEY01 (Note: KEY01 is the key name): The value that the write key is called Key01

Get Key01 (Note: KEY01 is the key name): Read the value of the key called Key01

Note: The key name cannot be Chinese;

Write:

Read:

In addition to command line management, Redis also has a desktop visualizer https://redisdesktop.com/download:

Click Redisdesktopmanager to enter the visualizer, click, the connection configuration appears:

After filling it out, link to the Redis host:

Note: Each db is a cache database, and Redis relies on this support cluster to build the database cache.

Clicking on the first db0 appears Key01 is the key name we wrote earlier:

The right panel is a detailed action on this key: You can view the key values and you can modify the key names

The entire configuration process is simple and easy to understand.

Redis installation Configuration

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.