Hurd: Difference between revisions
mNo edit summary |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= Tray = | |||
== Change timezone == | |||
<source lang="console"> | |||
// create a link to timezone | |||
$ sudo ln -fs /usr/share/zoneinfo/America/Denver /etc/localtime | |||
// commit | |||
$ sudo dpkg-reconfigure -f noninteractive tzdata | |||
</source> | |||
== | == Change hostname == | ||
{{testedon|Debian GNU/Hurd 0.9 | {{testedon|2019-08-10|Debian GNU/Hurd 0.9}} | ||
<source lang="console"> | <source lang="console"> | ||
Line 11: | Line 20: | ||
$ vim /etc/hostname | $ vim /etc/hostname | ||
// update hosts file | |||
$ vim /etc/hosts | $ vim /etc/hosts | ||
// update hostname | |||
$ /etc/init.d/hostname.sh start | $ /etc/init.d/hostname.sh start | ||
// check hostname | |||
$ hostname | $ hostname | ||
</source> | </source> |
Latest revision as of 17:26, 10 August 2019
Tray
Change timezone
// create a link to timezone
$ sudo ln -fs /usr/share/zoneinfo/America/Denver /etc/localtime
// commit
$ sudo dpkg-reconfigure -f noninteractive tzdata
Change hostname
- Last tested on Debian GNU/Hurd 0.9 (2019-08-10)
// update hostname file
$ vim /etc/hostname
// update hosts file
$ vim /etc/hosts
// update hostname
$ /etc/init.d/hostname.sh start
// check hostname
$ hostname