Hurd: Difference between revisions

From Han Wiki
Jump to navigation Jump to search
iwu
 
mNo edit summary
 
(4 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">
# update hostname file
// update hostname file
$ 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 18: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