首页 > 系统服务 > 详细

Linux时间同步操作

时间:2020-03-31 15:27:15      阅读:52      评论:0      收藏:0      [点我收藏+]
  • yum进行软件安装,软件安装过程中遇到询问,选择y,ntp是时间同步命令
[root@centos7 ~]#yum -y install ntp
  • 时间同步命令
[root@centos7 ~]#ntpdate time1.aliyun.com
31 Mar 14:55:35 ntpdate[14453]: step time server 203.107.6.88 offset 0.752479 sec
  • 查看系统时间
[root@centos7 ~]#date
Tue Mar 31 15:02:59 CST 2020
  • 同步时间的意义
    时间同步操作在分布式程序中拥有特殊的意义,它有效的避免了在分布式文件系统中,两台主机在数据传输过程中有可能接到来自未来文件的错误信息。

Linux时间同步操作

原文:https://www.cnblogs.com/xiangmeng/p/12605326.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!