How to change the Timezone in CentOS 6

No Comments
  1. The timezone that’s active on your system is stored in the file /etc/localtime
  2. First make a backup of the existing localtime file
    mv /etc/localtime /etc/locatime.backup
  3. Now we create a link so that the timezone auto updates when updates come through
    ln -s /usr/share/zoneinfo/Africa/Johannesburg /etc/localtime
  4. In the above change Africa/Johannesburg to the appropriate timezone you need to use
  5. To test this change run the following command and see if the timezone updated.

Image Credits: Photo by Isis França on Unsplash.

Last Updated On April 07, 2018

Related Articles

No results found

Leave a Reply

Notify of
Copy link