[PLDWWW] page changed: docs:man:timezone

"Elan Ruusamäe (glen)" glen at pld-linux.org
Fri May 15 16:07:05 CEST 2015



--- https://www.pld-linux.org/docs/man/timezone?rev=1229593723
+++ https://www.pld-linux.org/docs/man/timezone?rev=1431698824
@@ -1,25 +1,49 @@
- 
- 
  ====== Timezone ======
+ 
  Time zones are special settings, which are used to change Universal Time Clock (UTC) to a local time. 
  
  What we need is to install a **tzdata** package. 
  
- <file># poldek -u tzdata
+ <file>
+ # poldek -u tzdata
  </file>
  Now edit the **/etc/sysconfig/timezone** file. 
  
- <file>TIMEZONE="Europe/Warsaw"
+ <file>
+ TIMEZONE="Europe/Warsaw"
  </file>
  Time zones can be found in **/usr/share/zoneinfo** folder. 
  
  To apply changes - restart a timezone service 
  
- <file># service timezone restart
+ <file>
+ # service timezone restart
  </file>
  
+ ===== Time Sync =====
+ 
+ If your host BIOS clock is terribly wrong, you can fix the date from Internet:
+ 
+   * using ''rdate'', a rdate server from [[http://tf.nist.gov/tf-cgi/servers.cgi|here]]: <code>
+ [root at rescue /pld]# date
+ Sun Aug  3 03:35:46 CEST 2008
+ [root at rescue /pld]# rdate -s time-a.nist.gov
+ [root at rescue /pld]# date
+ Fri May 15 16:03:19 CEST 2015
+ </code>
+   * using ''ntpdate''
+ 
+ **NB!**: Don't forget to sync Hardware clock:
  
+ <code>
+ [root at rescue /pld]# hwclock                                                                                                                                                        
+ Sun Aug  3 03:39:30 2008  -0.720527 seconds
+ [root at rescue /pld]# hwclock --systohc
+ [root at rescue /pld]# hwclock           
+ Fri May 15 16:06:11 2015  -0.095274 seconds
+ [root at rescue /pld]# 
+ </code>
  
   [[:Docs:man| TOC]] 
  
  


Diff URL:
  https://www.pld-linux.org/docs/man/timezone?do=diff&r1=1229593723&r2=1431698824
-- 
This mail was generated by DokuWiki at
https://www.pld-linux.org/


More information about the pld-cvs-commit mailing list