一、开启网络功能(后面的ifcfg-ens33自身系统不同)

vi /etc/sysconfig/network-scripts/ifcfg-ens33

ONBOOT=yes

systemctl restart network

改为桥接

vi /etc/sysconfig/network-scripts/ifcfg-ens33

BOOTPROTO=static
IPADDR=192.168.1.45
GATEWAY=192.168.1.1
NETMASK=255.255.255.0
DNS1=192.168.1.1

二、关闭防火墙

systemctl disable firewalld

systemctl stop firewalld

三、关闭selinux

vi /etc/selinux/config

SELINUX=disabled

四、主节点安装ansible,备节点配置

 

相关文章:

  • 2021-10-20
  • 2022-01-07
  • 2021-11-29
  • 2021-12-15
  • 2021-06-12
  • 2021-08-01
  • 2022-02-09
猜你喜欢
  • 2021-11-20
  • 2021-10-31
  • 2021-06-21
  • 2022-12-23
  • 2021-09-25
  • 2021-11-20
相关资源
相似解决方案