ntp时钟同步
2018-02-05 17:06
381 查看
服务器时间的一致性,很关键的。
[root@server0 ~]# yum -y install chrony //NTP客户端 centos7.x centos6.x ntp
[root@server0 ~]# vim /etc/chrony.conf
server classroom.example.com iburst
[root@server0 ~]# systemctl enable chronyd
[root@server0 ~]# systemctl restart chronyd.service
yum install -y ntp
echo "0/20 * * * * ntpdate ip &>/dev/null" >>/var/spool/cron/root
*/20 * * * * /usr/sbin/ntpdate ntpupdate.tencentyun.com >/dev/null &
相关地址:
http://www.ntp.org/ http://www.ntp.org.cn/index.html #国内时钟服务器
11. 基于ntp服务的形式
[root@server0 ~]# yum -y install chrony //NTP客户端 centos7.x centos6.x ntp[root@server0 ~]# vim /etc/chrony.conf
server classroom.example.com iburst
[root@server0 ~]# systemctl enable chronyd
[root@server0 ~]# systemctl restart chronyd.service
22、基于定时任务形式的
yum install -y ntpecho "0/20 * * * * ntpdate ip &>/dev/null" >>/var/spool/cron/root
*/20 * * * * /usr/sbin/ntpdate ntpupdate.tencentyun.com >/dev/null &
相关地址:
http://www.ntp.org/ http://www.ntp.org.cn/index.html #国内时钟服务器
相关文章推荐
- 计算机NTP时钟同步(NTP服务器-NTP时间服务器)的重要性及其配置方法
- buildroot ntp 网络时钟同步
- 【iOS Clock Synchronization】iOS时钟同步:基于NTP协议的开源项目ios-ntp
- 转载:基于NTP的高精度时钟同步系统实现_电子技术应用
- ntp时钟同步的建立过程
- Linux 使用 NTP 时钟同步
- Qt实现NTP时钟同步
- 设置ntp时钟同步
- 华为交换机无法跟Windows NTP 时钟服务器进行同步故障处理
- CentOS 集群 NTP 时钟同步配置教程
- C# NTP 时钟同步,获取指定IP地址的系统时间及错误问题解决。
- 时钟同步提示:ntpdate[21931]: no server suitable for synchronization found
- 模拟NTP协议实现时钟同步
- NTP时钟系统(NTP时钟同步系统-NTP时间同步系统)
- AIX 6.1 上 NTP 时钟同步配置详解
- 通过 NTP 进行时钟同步
- 使用ntp进行时钟同步
- 内网配置NTP时钟同步
- [原]NTP时钟同步服务设置
- 计算机NTP时钟同步(NTP服务器-NTP时间服务器)的重要性及其配置方法