Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. sudo dpkg-reconfigure tzdata
  2.  
  3. sudo timedatectl set-timezone Etc/UTC
  4.  
  5. ln -fs /usr/share/zoneinfo/UTC /etc/localtime
  6.  
  7. -rw-r--r-- 1 root root 3661 Mar 13 22:18 /usr/share/zoneinfo/posix/Eire
  8.  
  9. lrwxrwxrwx 1 root root 13 Mar 13 22:18 /usr/share/zoneinfo/Europe/Dublin -> ../posix/Eire
  10.  
  11. $ date
  12. Wed Jul 16 22:52:47 EDT 2014
  13.  
  14. $ cat /etc/timezone
  15. America/New_York
  16.  
  17. $ sudo dpkg-reconfigure tzdata
  18. $ service cron stop && service cron start
  19.  
  20. Local time: Mon 2017-07-24 16:32:55 GMT Universal time: Mon 2017-07-24 16:32:55 UTC
  21. RTC time: Mon 2017-07-24 16:33:06
  22. Timezone: GMT (GMT, +0000)
  23. NTP enabled: yes NTP synchronized: no RTC in local TZ: no
  24. DST active: n/a root@bi1:~# timedatectl
  25. Local time: Mon 2017-07-24 16:33:02 GMT Universal time: Mon 2017-07-24 16:33:02 UTC
  26. RTC time: Mon 2017-07-24 16:33:13
  27. Timezone: GMT (GMT, +0000)
  28. NTP enabled: yes NTP synchronized: no RTC in local TZ: no
  29. DST active: n/a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement