天天看点

Linux时间同步

1、使用yum安装ntpdate软件包

[root@localhost ~]# yum install -y ntpdate

2、使用Liunx定时任务进行一定时间的更新

使用命令crontab -e编辑添加以下内容

继续阅读