Centos配置桥接网络、DNS服务和时间同步

1.配置桥接网络

Centos7桥接网络、DNS、时间同步配置

 

2.配置虚拟机网卡,采用的是静态ip方式

Centos7桥接网络、DNS、时间同步配置

 重启network服务

Centos7桥接网络、DNS、时间同步配置

 

 3.配置dns

Centos7桥接网络、DNS、时间同步配置

 

4.关闭防火墙和selinux

Centos7桥接网络、DNS、时间同步配置

 

5.ping外网域名,已经可以了

Centos7桥接网络、DNS、时间同步配置

 

 6.配置时间同步

安装ntp服务

Centos7桥接网络、DNS、时间同步配置

启用ntpd服务

Centos7桥接网络、DNS、时间同步配置

启动ntpd服务

Centos7桥接网络、DNS、时间同步配置

设置时区为上海时区

Centos7桥接网络、DNS、时间同步配置

时间已同步

Centos7桥接网络、DNS、时间同步配置

 

相关文章:

  • 2021-05-19
  • 2022-12-23
  • 2022-12-23
  • 2021-09-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-23
猜你喜欢
  • 2021-09-11
  • 2021-07-29
  • 2021-06-29
  • 2022-12-23
  • 2022-02-23
  • 2022-12-23
  • 2021-05-02
相关资源
相似解决方案