時刻表示 NTPサーバー設定

[root@falcon21 ~]# vi /etc/ntp.conf

19 # Use public servers from the pool.ntp.org project.
20 # Please consider joining the pool (http://www.pool.ntp.org/join.html).
21 #server 0.centos.pool.ntp.org iburst
22 #server 1.centos.pool.ntp.org iburst
23 #server 2.centos.pool.ntp.org iburst
24 #server 3.centos.pool.ntp.org iburst
25 server ntp.nict.jp
26 server ntp.jst.mfeed.ad.jp
27 server ntp.asahi-net.or.jp

 

[root@falcon21 ~]# ntpdate ntp.nict.jp
30 Apr 14:08:54 ntpdate[21393]: adjust time server 133.243.238.244 offset 0.001122 sec

[root@falcon21 ~]# systemctl start ntpd
[root@falcon21 ~]# systemctl enable ntpd
Created symlink from /etc/systemd/system/multi-user.target.wants/ntpd.service to /usr/lib/systemd/system/ntpd.service.

投票数:2 平均点:10.00

 
Back to Top