[Forcepoint] [WCG] How to change Time Zone in a Linux CentOS Server

Modified on Sun, 18 Jun, 2017 at 10:41 AM

Symptom:

Time Zone is not accurate in the Proxy



Cause:

In Linux servers there are files that define the local time zone including the Daylight saving time, in order for the Proxy to accurately display the correct time, this setting needs to be configured.



Solution:

Because the local time file is changed depending on the date and season, it is recommended to create a symbolic link to the original file instead of copying it to the right location. 

  1. Log in to the Linux Server using root credentials.
  2. Create a backup of the original localtime file by using the following command.
    • mv /etc/localtime /etc/localtime.bak
  3. Locate the appropriate time zone file in the /usr/share/timezone directory (Israel time zone is located in /usr/share/timezone/Asia/Jerusalem).
  4. Create a symbolic link to replace the localtime file.

  5. Run the date coomand to ensure that the changes have been made and the time zone is now correct.
  • date


For further Information reference Change Timezone in CentOS

                                                     Time Zone List


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article