Linux VPS主机:CentOS/Debian/Ubuntu同步NTP服务器 同步时间教程

一、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
喜欢就支持一下吧
点赞15 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容