Friday, May 16, 2008

Setting a UTC Timezone


What timezone should you use for your server? Perhaps you should try Universal Co-ordinated Time (UTC).

vi /etc/sysconfig/clock and change the UTC line to: "UTC=true"

Set localtimezone to UTC: ln -sf /usr/share/zoneinfo/UTC /etc/localtime

If you want to set your timezone to something else, perhaps your personal timezone, then you find that timezone under /usr/share/zoneinfo and link that to /etc/localtime. For example: ln -sf /usr/share/zoneinfo/Australia/Brisbane /etc/localtime.

No comments:

The On Demand Global Workforce - oDesk
Google