摘要: 一、实验环境 1.准备3个CentOS7 mini版本的虚拟机,每个主机3个网卡。如图: 图中OVS-1、OVS-2、OVS-3分别为三台CentOS7 mini版虚拟机,分别配备3个虚拟网卡。如图中编号所示: 网卡1(eno16777736):作为管理网,桥接到办公网络。 网卡2(eno33554 阅读全文
posted @ 2018-03-23 00:23 风间悠香 阅读(4806) 评论(1) 推荐(2)
摘要: 1.安装Ansible软件 yum install -y ansible 2./etc/ansible/hosts 该文件代表需要管理的主机列表 格式为: #组名 [test] #IP地址或主机名或域名 192.168.1.151 192.168.1.152 test1 test2 OS_contr 阅读全文
posted @ 2018-03-23 00:08 风间悠香 阅读(830) 评论(0) 推荐(0)
摘要: 命令均在root用户下运行: 一、关闭防护墙及selinux sed -i '/SELINUX/s/enforcing/disabled/g' /etc/selinux/config setenforce 0 systemctl stop firewalld.service systemctl di 阅读全文
posted @ 2018-03-23 00:06 风间悠香 阅读(1052) 评论(0) 推荐(0)