PinoyPC Forums

Technical Discussions => Software => Topic started by: adizero on August 03, 2016, 03:35:36 PM

Title: linux ntp question
Post by: adizero 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 (http://www.pool.ntp.org)

kailangan din baguhin ung    " /etc/timezone"  ?

ano ung dapat pillin namin sa  http://www.pool.ntp.org    (http://www.pool.ntp.org)for UTC ?
Title: Re: linux ntp question
Post by: jeremypv 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.
Title: Re: linux ntp question
Post by: adizero on August 04, 2016, 08:14:57 AM
thanks jeremypv