在主服务器上安装NTP时间同步服务器

yum -y install ntp

vim /etc/ntp.conf  手动添加两行

server 127.127.1.0

fudge 127.127.1.0 startum 8

启动服务、/etc/init.d/ntpd start

chkconfig ntpd on

在客户端安装ntpdate

yum -y install ntpdate

ntpdate masterIP

结束。。。。。。。。。。。。

 

相关文章:

  • 2021-07-18
  • 2021-09-22
  • 2022-12-23
  • 2021-08-21
  • 2021-11-27
  • 2021-08-06
  • 2021-06-23
  • 2021-08-28
猜你喜欢
  • 2022-12-23
  • 2021-07-03
  • 2021-12-22
  • 2021-06-25
  • 2022-01-21
  • 2021-05-15
相关资源
相似解决方案