In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the relevant knowledge of "the installation method of Redis". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Introduction to Redis
Redis is an open source (BSD licensed), in-memory data structure storage system that can be used as database, cache, and messaging middleware. It supports many types of data structures, such as string (strings), hash (hashes), list (lists), set (sets), ordered set (sorted sets) and range query, bitmaps, hyperloglogs and geospatial (geospatial) index radius query. Redis has built-in replication (replication), LUA script (Lua scripting), LRU driven event (LRU eviction), transaction (transactions) and different levels of disk persistence (persistence), and provides high availability (high availability) through Redis Sentinel (Sentinel) and automatic partitioning (Cluster).
Redis and other key-value cache products have the following three features:
Redis supports data persistence. You can save the data in memory on disk and load it again when you restart it.
Redis not only supports simple key-value type data, but also provides storage of data structures such as list,set,zset,hash.
Redis supports data backup, that is, data backup in master-slave mode.
Redis advantage
Extremely high performance-Redis can read at a speed of 110000 times per second and write at a speed of 81000 times per second.
Rich data types-Redis supports Strings, Lists, Hashes, Sets and Ordered Sets data type operations for binary cases.
Atom-all operations of Redis are atomic, meaning either successful execution or failure to execute at all. A single operation is atomic. Multiple operations also support transactions, that is, atomicity, wrapped by MULTI and EXEC instructions.
Rich features-Redis also supports publish/subscribe, notification, key expiration, and so on.
Installation of Redis under Windows
Download address: https://github.com/MSOpenTech/redis/releases.
Installation under 64-bit
We open the link to the download address above, where we download the Redis-x64-xxx.zip package to disk C, unzip it, and rename the folder to redis-x64.
After opening the folder of Redis-x64 above, find redis-server.exe and run it directly.
Then the box below pops up to show that Redis is already running
Install Redis under 32-bit
Redis doesn't have a 32-bit Redis directly, so we download the source code directly from the above address and compile it ourselves.
First download the source code of Redis, or the address just now, let's download Source Code (zip) directly.
After downloading and decompressing, it will be the source code of the above image.
Next we open VS2017, and then open src\ Win32_interop under the project redis
Then right-click Win32_Interop to select properties
Then change the above platform to the WIN32,Windows SDK version to the current system version, and the following platform tool classes to our VS2017 toolset. Rebuild the solution after the change.
Then we open msys\ RedisServer.sln in the Redis directory
Then change the corresponding items in the items on the right to Win32 platform, Windows SDK and platform toolset.
Modify the above before recompiling
The compiled files are stored in the folder Redis\ msys\ Win32\ Release
Then we deleted all the obj and lib files, leaving only the available files.
The above is the file we keep, which runs in the same way as the 64-bit one above.
This is the end of the content of "how to install Redis". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.