07 May 2012 @ 2:49 PM 

Check what the current timezone is:

date

For example, the result is:

Mon May 7 17:42:57 EEST 2012

To change the timezone first look at what timezones are available by running the following command on the command line interface:

ls /usr/share/zoneinfo/

As a result you’ll see:


[root@host1 ~]# ls /usr/share/zoneinfo
Africa Australia Cuba Etc GMT0 Iceland Japan MST Poland right Universal Zulu
America Brazil EET Europe GMT-0 Indian Kwajalein MST7MDT Portugal ROC US
Antarctica Canada Egypt Factory GMT+0 Iran Libya Navajo posix ROK UTC
Arctic CET Eire GB Greenwich iso3166.tab MET NZ posixrules Singapore WET
Asia Chile EST GB-Eire Hongkong Israel Mexico NZ-CHAT PRC Turkey W-SU
Atlantic CST6CDT EST5EDT GMT HST Jamaica Mideast Pacific PST8PDT UCT zone.tab

Simply import new timezone:

cat /usr/share/zoneinfo/Europe/Kiev > /etc/localtime

or

rm /etc/localtime
ln –s /usr/share/zoneinfo/Europe/Kiev /etc/localtime


synchronizing time with NTP server:

Install NTP:

yum install ntp

Once ntp is installed synchronize your server clock with:

ntpdate 0.us.pool.ntp.org

Posted By: lvlind
Last Edit: 06 Oct 2016 @ 04:13 PM

EmailPermalink
Tags
Tags: ,
Categories: How to?


 

Responses to this post » (None)

 

Sorry, but comments are closed. Check out another post and speak up!

Tags
Comment Meta:
RSS Feed for comments

 Last 50 Posts
Change Theme...
  • Users » 1
  • Posts/Pages » 35
  • Comments » 0
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

About



    No Child Pages.

Need Help?



    No Child Pages.

Check your IP



    No Child Pages.