Friday, 14 October 2016

How to change your Linux CentOS Server time zone



How to change your Linux CentOS Server time zone 

Timezone data (tzdata) is stored in /usr/share/zoneinfo.
To change your CentOS server’s timezone, simply run the following command based up on the examples below:
 Example of changing the timezone to Melbourne,Australia:

1
2
3

yes | cp -rf  /usr/share/zoneinfo/Australia/Melbourne /etc/localtime

this will overwrite your actual local-time configuration.

No comments: