Redis Installation and Testing

Source: Internet
Author: User
Tags data structures redis
First, introduce

Redis is completely open source free, compliant with the BSD protocol, and is a high-performance key-value database. Redis and other Key-value cache products have the following three features: Redis support the persistence of data, you can save the data in memory on disk, restart can be loaded again to use. Redis not only supports simple key-value types of data, but also provides storage of data structures such as List,set,zset,hash. Redis supports backup of data, that is, data backup in Master-slave mode.
Redis runs in memory but can be persisted to disk, so it is necessary to weigh memory when reading and writing to different datasets because the amount of data cannot be greater than hardware memory. Another advantage of the memory database is that it is very simple to operate in memory compared to the same complex data structure on disk, so that Redis can do a lot of internal complexity. At the same time, they are compact in terms of disk format, because they do not require random access.
Second, prepare

Provide Redis GitHub installation address: https://github.com/MicrosoftArchive/redis/releases

Redis visualization tool redisdesktopmanager download Address: HTTPS://GITHUB.COM/UGLIDE/REDISDESKTOPMANAGER/RELEASES?AFTER=0.9.0-ALPHA1 Third, installation

Download the. msi version



Four, install a visualization tool

Always the next step ...


Five, Test





vi. supplement the installation process under Ubuntu

1) Installation


2 Enter Redis command line mode:


3 about Redis configuration file:


4 If this line is not commented out, can only be local access, not remote links, so we generally note it out.


5 Redis link Password settings "Requirepass foobared", we open the comment, modify the password "foobared" as "myredisserver" or other


6 save exit, reboot Redis


7 Reconnect, because there is no password (no permissions), rejoin the password connection.


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.