How to change time zone in RHEL 5

Posted on 2012-08-28
Last Modified: 2012-08-28

I have two different server using two different time zones and want to make sure both uses same timezone.

So want to change the time zone used in Stage server to match with timezone used in Prod server.

Here below are the details of time zone used:

Stage Server:  Tue Aug 28 03:22:07 CDT 2012
Prod Server:    Tue Aug 28 08:22:39 UTC 2012

TO change the timezone in STAGE server i run utility (CLI) 'setup' and goto "Timezone Configuration" --> press ENTER, it shows list of time zone avaialbel to select.  

Now I am unable to understand which location should be selected from the list to match it with PROD server time zone "UTC".

Please suggest.
Question by:ashuji
    LVL 40

    Expert Comment

    UTC stands for universal Tile C ordination , on the prod server run

    cat /etc/localtime

    Author Comment


    cat /etc/localtime returns below result on PROD server where present timezone is UTC:

    #cat /etc/localtime
    LVL 40

    Accepted Solution

    do the following

    cp /etc/localtime  /etc/localtime-old
    cd /etc
    ln -sf /usr/share/zoneinfo/UTC localtime

    follow other instructions in link below

    Author Closing Comment

    Exactly same command could solve the issue.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Suggested Solutions

    Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
    The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. Once you open the link you will see …
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now