当前位置:网站首页>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
边栏推荐
- Latest Android advanced interview questions summary, Android interview questions and answers
- OpenGL jobs - shaders
- 【Azure微服务 Service Fabric 】在SF节点中开启Performance Monitor及设置抓取进程的方式
- Unity local coordinates and world coordinates
- 使用 BlocConsumer 同时构建响应式组件和监听状态
- The whole network "chases" Zhong Xuegao
- Gazebo import the mapping model created by blender
- PHP method of obtaining image information
- Revit secondary development - link file collision detection
- . Net automapper use
猜你喜欢

The whole network "chases" Zhong Xuegao

0-5VAC转4-20mA交流电流隔离变送器/转换模块

Nx10.0 installation tutorial

Robot autonomous exploration series papers environment code
Latest Android advanced interview questions summary, Android interview questions and answers

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

Add get disabled for RC form

Pre sale 179000, hengchi 5 can fire? Product power online depends on how it is sold

PHP method of obtaining image information

OpenGL configuration vs2019
随机推荐
Remove the default background color of chrome input input box
Relationship between URL and URI
Time convolution Network + soft threshold + attention mechanism to realize residual life prediction of mechanical equipment
Revit secondary development - shielding warning prompt window
OpenGL configure assimp
Oracle advanced (VI) Oracle expdp/impdp details
vite Unrestricted file system access to
The strongest installation of the twin tower model, Google is playing "antique" again?
Customer case | China law network, through observing the cloud, greatly shortens the time of fault location
Typeorm automatically generates entity classes
Record a garbled code during servlet learning
[azure microservice service fabric] start the performance monitor in the SF node and set the method of capturing the process
Cannot find module 'xxx' or its corresponding type declaration
[colmap] sparse reconstruction is converted to mvsnet format input
Aspose. Word operation word document (I)
IP网络主动测评系统——X-Vision
戴森官方直营店免费造型服务现已开放预约 先锋科技诠释护发造型理念,助力消费者解锁多元闪耀造型
Gazebo import the mapping model created by blender
Paint basic graphics with custompaint
Understand the autograd package in pytorch