Timezone: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
To set a Linux/Debian timezone. | To set a Linux/Debian timezone. | ||
= Preferred Method = | |||
<pre> | |||
timedatectl set-timezone Australia/Brisbane | |||
</pre> | |||
= Alternatives = | |||
<pre> | <pre> | ||
cp /usr/share/zoneinfo/Australia/Brisbane /etc/localtime | cp /usr/share/zoneinfo/Australia/Brisbane /etc/localtime | ||
</pre> | </pre> | ||
or preferred | or preferred | ||
<pre> | <pre> | ||
Line 12: | Line 20: | ||
dpkg-reconfigure tzdata | dpkg-reconfigure tzdata | ||
</pre> | </pre> | ||
[[Category : Linux]] | [[Category : Linux]] |
Latest revision as of 11:57, 18 August 2017
To set a Linux/Debian timezone.
Preferred Method
timedatectl set-timezone Australia/Brisbane
Alternatives
cp /usr/share/zoneinfo/Australia/Brisbane /etc/localtime
or preferred
ln -sf /usr/share/zoneinfo/Australia/Brisbane /etc/localtime
Alternatively for debian
dpkg-reconfigure tzdata