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.