In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article is about the installation and deployment of Redis. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.
The data types of redis are: string (string), Map (Map), list (list), sets (set) and ordered set (sorted sets).
Redis and other key-value caching products have three features:
1. Redis supports persistence and can keep the data in memory on disk. When you restart, you can load it again and use it.
2. Redis not only supports simple key-value data, but also supports the storage of list, set, zset, hash and other data structures.
3. Redis supports data backup, that is, data backup in master-slave mode.
Installation under Redis Window
Download the installation package at https://github.com/MSOpenTech/redis/releases.
Redis supports 32-bit and 64-bit. This needs to choose your own version according to the actual situation of your system.
Download the Redis-x64-xxx.zip package to disk C, unzip it, and rename the folder to redis.
Test download to other drive letters can not be used, it is recommended to put the decompression package on disk C.
Open a cmd window and use the cd command to change the directory to C: edis to run redis-server.exe redis.windows.conf
Open the second cmd window, do not close the original window. Or you won't be able to access the server.
Change to the redis directory and run redis-cli.exe-h 127.0.0.1-p 6379
Set key value pair set lgt 123
Take out the key value pair get lgt
After reading this article, have you learned how to install and deploy Redis? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel. Thank you for reading.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.