thedark Second Lieutenant
Joined: 30 Jul 2005
Posts: 1074
|
Posted: Thu Aug 04, 2005 11:25 am Post subject: Changing your timezone |
|
|
You can change your timezone with 'sysinstall', with 'tzsetup' and like a good unix is
supposed to be by hand.
I haven't veriefied but I pretty sure 'sysinstall' starts the 'tzsetup' program when you
select 'configure | timezone'.
When you start 'tzsetup' it will ask you a few simple questions and it will set your timezone.
What it actually does is copy a timezone from '/usr/share/zoneinfo' to the file '/etc/localtime'
and updates the system date.
I you want to do it your self then you copy the required timezone over the '/etc/localtime'
file and you execute 'adjkerntz -a':
---
root@host:/#date
Thu Apr 12 14:12:21 CEST 2001
root@host:/#cp /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime
root@host:/#adjkerntz -a
root@host:/#date
Thu Apr 12 16:12:21 CEST 2001 |
|