ユーザ用ツール

サイト用ツール


alacarte:vmmatchingthetime

VM環境の時刻合わせ

# vi /etc/ntp.conf 
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
#server 0.centos.pool.ntp.org
#server 1.centos.pool.ntp.org
#server 2.centos.pool.ntp.org
server -4 ntp.nict.jp
server -4 ntp1.jst.mfeed.ad.jp
server -4 ntp2.jst.mfeed.ad.jp
# rm -f /etc/localtime
# cp -p /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
# clock --systohc
# date
Fri Feb  1 11:07:41 JST 2012
# ntpdate ntp.nict.jp
1 Feb 11:08:08 ntpdate[11521]: the NTP socket is in use, exiting
# /etc/init.d/ntpd start
# chkconfig ntpd on
# ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*ntp-a3.nict.go. .NICT.           1 u   17  256  377   13.034   -0.355   0.531
+ntp1.jst.mfeed. 210.173.176.4    2 u  149  256  377   12.094    0.584   0.565
+ntp2.jst.mfeed. 210.173.176.4    2 u  218  256  377   13.017    0.108   0.076
 LOCAL(0)        .LOCL.          10 l   16   64  377    0.000    0.000   0.001
alacarte/vmmatchingthetime.txt · 最終更新: 2014/02/21 03:23 by clownclown

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki