freebsd ntpd 时间同步
来源:互联网 发布:新时代电话软件 编辑:程序博客网 时间:2024/05/20 07:32
转载▼
1.首先在rc.conf里面添加:ntpd_enable=”YES”。
2.修改/etc/ntp.conf
server 0.freebsd.pool.ntp.org iburst maxpoll 9
server 1.freebsd.pool.ntp.org iburst maxpoll 9
server 2.freebsd.pool.ntp.org iburst maxpoll 9
其他全部注释掉。
3.启动ntpd之前需要手动运行ntpdate pool.ntp.org先同步一下时间,避免因为系统时间与时间服务期时间相差太大导致渐次逼近无法实施而造成的ntpd运行失败。
4.运行/etc/rc.d/ntpd start启动服务。
5.可以通过ntpq -p命令来检查当前ntpd服务状态,注意看输出的表格中st这一项值,必须小于16,16代表无法连接时间服务器,如果都为16,则对时不能完成,需要检查网络原因。
6.ntpd服务需要开放对udp端口123的访问。
0 0
- freebsd ntpd 时间同步
- Linux 时间同步 ntpd
- ntpd 时间同步
- ntpd ntpdate时间同步
- 时间同步,ntpd、ntpdate
- 用ntpd做时间同步
- linux 时间同步、ntpd、ntpdate
- linux时间同步,ntpd、ntpdate
- linux时间同步,ntpd、ntpdate
- linux时间同步,ntpd、ntpdate
- linux时间同步,ntpd、ntpdate
- linux时间同步,ntpd、ntpdate
- linux时间同步,ntpd、ntpdate
- linux时间同步,ntpd、ntpdate
- linux时间同步,ntpd、ntpdate
- linux时间同步,ntpd、ntpdate
- linux时间同步,ntpd、ntpdate
- linux同步ntpd服务器时间方式
- 如何在Eclipse中开启代码自动提示功能
- Android Root方法原理解析及Hook(二) udev漏洞
- 解析中国天气网的json代码:
- 跟我一起写 Makefile
- 一元三次方程求解c++实现
- freebsd ntpd 时间同步
- FindBugs错误修改指南
- **4.4**在汇编语言中使用C语言库函数
- 别人嫉妒你,说明你走在他前面
- C++Builder中使用iwnativxml中的TNativeXML注意的问题
- 生命如此沉重--记一只母猫来寝室楼生崽的故事
- HashMap与HashTable的区别
- Eclipse安装配置Maven
- iOS开发debug跟release版本log屏蔽方法