Hurd: Difference between revisions

From Han Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Commands related to  
= 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>


= Tray =


== Changing hostname ==
== Change hostname ==


{{testedon|Debian GNU/Hurd 0.9|2019-08-10}}
{{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  
// update hosts file  
$ vim /etc/hosts
$ vim /etc/hosts


# update hostname
// update hostname
$ /etc/init.d/hostname.sh start
$ /etc/init.d/hostname.sh start


# check hostname
// 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