6
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

時刻同期

Last updated at Posted at 2014-10-29

参考: CentOSにntpサーバを入れて、日本標準時刻に自動的に合わせるためのメモ - Qiita

/etc/ntp.conf追記
server -4 ntp.nict.jp
server -4 ntp1.jst.mfeed.ad.jp
server -4 ntp2.jst.mfeed.ad.jp
server -4 ntp3.jst.mfeed.ad.jp
service ntp restart
# ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*ntp-b3.nict.go. .NICT.           1 u   14   64   37    5.197    0.670   0.291
 ntp1.jst.mfeed. 172.29.2.50      2 u   10   64   37    3.725    0.907   0.267
 ntp2.jst.mfeed. 172.29.1.100     2 u    4   64   37    3.652    0.314   0.365
 ntp3.jst.mfeed. 172.29.3.60      2 u    9   64   37    3.625    0.284   0.410

各サーバの前に*とか+がつくと同期完了。

archlinuxの場合

pacman -Sy ntp
systemctl enable ntpdate
systemctl start ntpdate
6
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?