Linuxhotel Wiki

Wie ging das nochmal?

Benutzer-Werkzeuge

Webseiten-Werkzeuge


No renderer 'pdf' found for mode 'pdf'
admin_grundlagen:uhrzeit

Dies ist eine alte Version des Dokuments!


Systemuhr stellen

date

date --set "2006-03-26 01:59:30"

oder

date 032601592006

oder

ntpdate pool.ntp.org

Überprüfen:

date

systemd timedatectl

Hardwareuhr stellen

Die Hardwareuhr auf UTC einstellen:

hwclock --systohc --utc 

Die Hardwareuhr auf lokale Zeit einstellen:

hwclock --systohc --localtime

Überprüfen:

hwclock --show

Zeitzone einstellen

Systemweit

Welche Zeitzone ist eingestellt?

find /usr/share/zoneinfo/ -type f -exec md5sum {} \; | grep $(md5sum /etc/localtime | cut -d' ' -f1)

oder

date

Doku

man tzfile

Debian

Debian ab 3.1

tzconfig

Debian ab 5.0

dpkg-reconfigure tzdata

Mehr Informationen: http://www.debian.org/doc/manuals/system-administrator/ch-sysadmin-time.html

SuSE

/etc/sysconfig/clock :

HWCLOCK="-u"
TIMEZONE="Europe/Berlin"
DEFAULT_TIMEZONE="Europe/Berlin"

CentOS / RedHat

/etc/sysconfig/clock :

ZONE="Europe/Berlin"
UTC=true

Debian (?)

/etc/default/rcS :

UTC=yes

persönlich

admin_grundlagen/uhrzeit.1428480951.txt.gz · Zuletzt geändert: 2015/04/08 08:15 von ingo_wichmann