Author Topic: linux ntp question  (Read 270 times)

Offline adizero

  • Member
  • **
  • Posts: 259
linux ntp question
« on: August 03, 2016, 03:35:36 PM »

mga bro.

medyo nakaka hiya pero tanong lang. kapag ba ni set namin ung ntp   sa  http://www.pool.ntp.org

kailangan din baguhin ung    " /etc/timezone"  ?

ano ung dapat pillin namin sa  http://www.pool.ntp.org   for UTC ?

Online jeremypv

  • Member
  • **
  • Posts: 914
    • jeremypv.net
Re: linux ntp question
« Reply #1 on: August 04, 2016, 04:52:56 AM »
your local timezone setting does not affect ntp setting. (and vice-versa)

Linux always work with time using GMT internally -- thus, setting the time using outside sources always changes the internal time.

your local timezone setting is just that. a timezone setting. used as reference to give you time -- for example, if you want to check the time, the way Linux does this is it first gets the internal time (in GMT), and then check the timezone setting (either the global setting or the TZ variable), then apply the appropriate +/- to the internal time, then after that is the only time it will display it to you.
jeremypv

Offline adizero

  • Member
  • **
  • Posts: 259
Re: linux ntp question
« Reply #2 on: August 04, 2016, 08:14:57 AM »
thanks jeremypv