07 2018 档案

摘要:1、推consul的镜像到生产应用全部服务器。 每个consul的server模式的容器,都需要单独的物理服务器。 主节点:docker run -d --net=host --name=consul_pre1 consul:0.9.0 agent -server -bind=10.0.0.20 - 阅读全文
posted @ 2018-07-18 11:07 王玥 阅读(1873) 评论(0) 推荐(0)
摘要:安装必要的依赖: [root@docker ~]# yum -y install device-mapper-event-libs [root@docker ~]# yum -y install docker-io 获取私有仓库镜像: [root@docker ~]# docker pull reg 阅读全文
posted @ 2018-07-17 13:52 王玥 阅读(219) 评论(0) 推荐(0)
摘要:# Kernel sysctl configuration file for Red Hat Linux## For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and# sysctl.conf(5) for more deta 阅读全文
posted @ 2018-07-17 13:40 王玥 阅读(126) 评论(0) 推荐(0)
摘要:# Kernel sysctl configuration file for Red Hat Linux## For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and# sysctl.conf(5) for more deta 阅读全文
posted @ 2018-07-17 13:38 王玥 阅读(266) 评论(0) 推荐(0)
摘要:入口服务器(网关服务器)关闭selinuxsetenforce 0vim /etc/selinux/config将SELINUX=enforcing改为SELINUX=disabled 修改防火墙iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE 阅读全文
posted @ 2018-07-17 13:29 王玥 阅读(157) 评论(0) 推荐(0)