Change timezone on CentOS

Written by Hannes Van de Vel on . Posted in Linux

Here’s how to change the timezone on CentOS/RHEL;

cp /usr/share/zoneinfo/Europe/Brussels /etc/localtime

Trackback from your site.

Comments (17)

  • Paolo

    |

    Thank you for the info. Solved my problem in 1 min

    Very handy

    Reply

  • pap

    |

    thankyou, very easy

    Reply

  • fsasad

    |

    Not enough, after reboot timezone will be set to what specified in /etc/sysconfig/clock

    Reply

  • Leo

    |

    Thanks! Very helpful!

    Reply

  • centfool

    |

    system-config-date

    Reply

  • Ernast

    |

    Many Thanks !!!! Very helpful !!! do not forgot make /etc/init.d/ntpd restart after that ;)

    Reply

  • Shailendra

    |

    First command
    cp /usr/share/zoneinfo/Europe/Brussels /etc/localtime
    worked fine for me and I was able to get it fixed in a min… thanks

    Reply

  • Ernie

    |

    very helpful thank you…

    Reply

  • shares8

    |

    Nice and neat TNX

    Reply

  • Matthew

    |

    i have updated mine

    cp /usr/share/zoneinfo/America/Costa_Rica /etc/localtime

    however it shows the time using date as

    17:42:43 CST 2011

    when that is the wrong time, it is only 11:39am right now in Costa rica….

    Reply

  • Shane

    |

    Worked fkn MINT for Brisbane Australia :)
    Thanks!

    Reply

  • kuldeep

    |

    Hi Hannes,

    Thanks for the quick way ….

    Reply

  • kuldeep

    |

    Hi Hannes,

    Thanks, Solved my problem :)

    Reply

  • MagicServ

    |

    Thanks mate, really quick my timezone issue was solved. God bless you!

    Reply

  • Andres

    |

    Graciasssssssssssssssssss

    Reply

Leave a comment

*