Fork me on GitHub
摘要: redis 默认都是master redis集群中,必须使用相同版本的redis,最好精确到小版本 一、开启redis服务,并使用redis客户端连接redis服务 1 redis-server 2 redis-cli 二、使用SLAVEOF 将角色转换为slave,并指向redis 主服务器的IP 阅读全文
posted @ 2021-07-14 17:18 Alex-Lzy 阅读(3034) 评论(0) 推荐(0) 编辑
摘要: 一、下载redis 6.2.4的包 https://download.redis.io/releases/redis-6.2.4.tar.gz?_ga=2.70789136.1042920708.1625648003-2123206961.1625648003 官网地址:https://redis. 阅读全文
posted @ 2021-07-14 11:50 Alex-Lzy 阅读(770) 评论(0) 推荐(0) 编辑
摘要: 环境:Centos 7 一、配置阿里云的base源和epel源 1、下载阿里云的base源 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 2、安装epel源 yum ins 阅读全文
posted @ 2021-07-14 11:48 Alex-Lzy 阅读(46) 评论(0) 推荐(0) 编辑