Monday, December 9, 2013

Configure Date/Time Manually in Debian Squeeze

debian:~#date --set 1998-11-02
debian:~#date --set 21:08:00
debian:~#hwclock --systohc

7.5.2 Setting the Time Zone
---------------------------

debian:~# vim /etc/timezone

Or...

tzconfig
Your current time zone is set to US/Pacific
Do you want to change that? [n]:

y

Please enter the number of the geographic area in which you live:

      1) Africa                             7) Australia
      2) America                         8) Europe
      3) US time zones                9) Indian Ocean
      4) Canada time zones       10) Pacific Ocean
      5) Asia                              11) Use System V style time zones
      6) Atlantic Ocean             12) None of the above

Then you will be shown a list of cities which represent the time zone
in which they are located. You should choose a city in your time zone.

1 comment:

  1. its not easy to configure time as y've done, i thing its most easy to do :

    #dpkg-reconfigure tzdata

    ReplyDelete