Correcting your timezone is an easy operation, so here is a quick guide to change your CentOS timezone configuration file.
Firstly you’ll need to know your timezone and/or country, a list can be found in /usr/share/zoneinfo/
The more generic procedure to change the timezone is to create a symlink to file /etc/localtime
# ln -sf /usr/share/zoneinfo/Africa/Johannesburg /etc/localtimeOR you can copy and replace the current localtime setting
# cp /usr/share/zoneinfo/Africa/Johannesburg /etc/localtimeTo verify that your timezone is changed use the date command:
# date
No comments:
Post a Comment