首页 > 其他 > 详细

Debian 安装设置 NTP server

时间:2020-10-27 18:42:19      阅读:137      评论:0      收藏:0      [点我收藏+]
随着群集系统的普及,系统间的时间同步成了主要问题,有些系统还不想连接外网,搭建一个内网时间同步服务器需求就来了

安装NTP服务器

#apt install -y ntp
# dpkg --get-selections ntp          [Can be used to confirm NTP is installed]
# dpkg -s ntp                        [Can also be used to confirm NTP is installed]

配置NTP服务器

#vim /etc/ntp.conf

...
pool ntp7.aliyun.com iburst //阿里云
pool cn.ntp.org.cn iburst   //中国
pool edu.ntp.org.cn iburst  //中国教育网
pool hk.ntp.org.cn iburst   //中国香港
pool jp.ntp.org.cn iburst   //日本 
...

重启 NTP

#systemctl restart ntp

完成~

Debian 安装设置 NTP server

原文:https://blog.51cto.com/14386969/2544450

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!