一、CentOS/RedHat 同步时间
使用如下命令:
yum install -y ntpdate
ntpdate time1.google.com
二、Debian/Ubuntu 同步时间使用如下命令:
apt-get update
apt-get install ntpdate
systemctl disable ntp.service
systemctl stop ntp.service
ntpdate time1.google.com
这样就完成了时间的校正。
© 版权声明
THE END
暂无评论内容