summerdata

Linux之时间同步操作

时间同步操作应用的命令

  • yum进行软件安装,软件安装过程中如遇到询问,一律选择y,ntp是时间同步命令

[root@localhost ~]# yum -y install ntp
  • 执行同步命令:

[root@localhost ~]# ntpdate time1.aliyun.com
  • 查看当前系统时间:

[root@localhost ~]# date

时间同步操作的意义

时间同步操作在分布式程序中拥有特殊的意义,它有效的避免了在分布式文件系统中,两台主机在数据传输过程中有可能接到来自未来文件的错误信息。

具体图示


分类:

技术点:

相关文章:

  • 2021-09-27
  • 2021-10-27
  • 2021-11-13
  • 2021-09-25
  • 2022-01-16
猜你喜欢
  • 2021-12-29
  • 2022-02-28
  • 2022-12-23
  • 2021-12-25
  • 2021-09-27
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案