当前位置:网站首页>Redis cluster installation
Redis cluster installation
2022-07-07 22:37:00 【51CTO】
Here we are Centos7 Operating system redis Take as an example to install
Environmental preparation
Download address http://download.redis.io/releases/redis-3.2.1.tar.gz
Redis The cluster is required to at least 6 Nodes , And it has to be 3 Above version
If it is a lower version, it may appear ruby In the case of low version

Operation user
root
Start installation
Pass the installation package through sftp Or client tools or rz Command and other methods to upload to /root Under the table of contents
Execute the decompression command and extract to /usr/local Under the table of contents
Enter the decompression directory and execute the compilation command ( The installation of the compilation environment will not be repeated here )
stay redis Execute the command to create 6 individual Redis The configuration file
Configure the contents of the configuration file separately as ( The configuration files of different ports configure different ports )
It will record a log every time it writes port and pidfile Need to follow Different increments of folders .
Enter into redis Unzip directory , Execute the command to start each node
Check each node redis process

Create a cluster client


The above figure shows that the startup is successful , You can see three master Three stations slave !
Shutting down the cluster is not repeated here , A little violence directly kills the process , For other ways, please refer to the link https://my.oschina.net/ruoli/blog/2252393
边栏推荐
- Remove the default background color of chrome input input box
- C # realizes the communication between Modbus protocol and PLC
- JS number is insufficient, and 0 is added
- [interview arrangement] 0211 game engine server
- OpenGL jobs - shaders
- Revit secondary development - collision detection
- Two kinds of updates lost and Solutions
- Failed to initialize rosdep after installing ROS
- Revit secondary development - project file to family file
- 【Azure微服务 Service Fabric 】在SF节点中开启Performance Monitor及设置抓取进程的方式
猜你喜欢

Implementation method of data platform landing

100million single men and women "online dating", supporting 13billion IPOs

Record a garbled code during servlet learning

. Net automapper use

新版代挂网站PHP源码+去除授权/支持燃鹅代抽

Vs custom template - take the custom class template as an example

微服务远程Debug,Nocalhost + Rainbond微服务开发第二弹

【Azure微服务 Service Fabric 】如何转移Service Fabric集群中的种子节点(Seed Node)

Antd date component appears in English

如何选择合适的自动化测试工具?
随机推荐
Record a garbled code during servlet learning
[开源] .Net ORM 访问 Firebird 数据库
How to judge whether the input content is "number"
What if the win11u disk does not display? Solution to failure of win11 plug-in USB flash disk
ASP.NET Core入门五
Yarn开启ACL用户认证之后无法查看Yarn历史任务日志解决办法
Oracle advanced (VI) Oracle expdp/impdp details
双塔模型的最强出装,谷歌又开始玩起“老古董”了?
Redis集群安装
Overseas agent recommendation
Firefox browser installation impression notes clipping
#DAYU200体验官#MPPT光伏发电项目 DAYU200、Hi3861、华为云IotDA
微服务远程Debug,Nocalhost + Rainbond微服务开发第二弹
OpenGL jobs - shaders
Get the exact offset of the element
Reinforcement learning - learning notes 9 | multi step TD target
Welcome to CSDN markdown editor
PHP method of obtaining image information
Implementation method of data platform landing
How to write an augmented matrix into TXT file