摘要: docker-compose安装 1、docker-compose安装 下载稳定版本 curl -L "https://github.com/docker/compose/releases/download/1.28.6/docker-compose-$(uname -s)-$(uname -m)" 阅读全文
posted @ 2021-03-26 14:59 左岸丶 阅读(205) 评论(0) 推荐(0) 编辑
摘要: CentOS安装Docker 1、卸载旧版本(如果有) yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docke 阅读全文
posted @ 2021-03-26 14:42 左岸丶 阅读(53) 评论(0) 推荐(0) 编辑
摘要: yum换源 If the mirrorlist= does not work for you, as a fall back you can try the remarked out baseurl= line instead. 1、修改CentOS-Base.repo文件 mv /etc/yum. 阅读全文
posted @ 2021-03-26 14:34 左岸丶 阅读(154) 评论(0) 推荐(0) 编辑
摘要: redis主从配置及哨兵 1、主从配置 1、下载安装redis ​ 下载安装上redis 2、修改配置文件 ​ 所有机器都需要配置 ​ vim redis.conf daemonize yes #后台运行 bind 0.0.0.0 #取消访问限制 protected-mode no #允许远程访问 阅读全文
posted @ 2021-03-26 09:56 左岸丶 阅读(181) 评论(0) 推荐(0) 编辑