时钟同步网址

http://www.pool.ntp.org/zone/cn

China — cn.pool.ntp.org
To use this pool zone, add the following to your ntp.conf file:

server 2.cn.pool.ntp.org
server 3.asia.pool.ntp.org
server 0.asia.pool.ntp.org

How do I use pool.ntp.org?
If you just want to synchronise your computers clock to the network, the configuration file (for the ntpd program from the ntp.org distribution, on any supported operating system – Linux, *BSD, Windows and even some more exotic systems) is really simple:

driftfile /var/lib/ntp/ntp.drift

server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
server 3.pool.ntp.org
The 0, 1, 2 and 3.pool.ntp.org names point to a random set of servers that will change every hour. Make sure your computer’s clock is set to something sensible (within a few minutes of the ‘true’ time) – you could use ntpdate pool.ntp.org, or you could just use the date command and set it to your wristwatch. Start ntpd, and after some time (this could take as long as half an hour!), ntpq -pn should output something like:

avbidder:~$ ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
+81.6.42.224 193.5.216.14 2 u 68 1024 377 158.995 51.220 50.287
*217.162.232.173 130.149.17.8 2 u 191 1024 176 79.245 3.589 27.454
-129.132.57.95 131.188.3.222 3 u 766 1024 377 22.302 -2.928 0.508
The IP addresses will be different, because you’ve been assigned random timeservers. The essential thing is that one of the lines starts with an asterisk (*), this means your computer gets the time from the internet – you’ll never have to worry about it again

One Reply to “时钟同步网址”

  1. Qué casualidad Ani! Ando buscando esta receta pero adaptada a thndmomix…teerré que ir probando..qué ya sabes que me encanta el limón en los dulces…suerte en el concurso guapísima!! Besitos

发表评论

电子邮件地址不会被公开。 必填项已用*标注