NTP 自动对时

文章内容

2012-11-22 13:53:37
0
发现一台服务器的时间不对,却忘了对时相关的一些命令。复习一下

_BBCODE_CODE:

安装 ntp 服务
# yum install ntp

设置 ntp 服务自动运行
# chkconfig ntpd on

强制对时
# ntpdate pool.ntp.org

启动对时服务
# /etc/init.d/ntpd start


ntp 服务的配置文件
/etc/ntp.conf

一些 ntp 服务器

time.nist.gov
0.pool.ntp.org
1.pool.ntp.org

点击: 0 | 评论: 0 | 分类: Linux (Ubuntu) | 论坛: 颠覆小组—LINUX | 论坛帖子

QR Code
请用微信 扫一扫 扫描上面的二维码,然后点击页面右上角的 ... 图标,然后点击 发送给朋友分享到朋友圈,谢谢!
分享:
分享到微信

文章评论

现在还没有任何评论,欢迎您发表您的看法或者回复。

发表评论

加西网为北美中文网传媒集团旗下网站