Change hostname and mailname on Debian
26 maggio 2008, 9:13 Debian , Open Source , Tips & Tricks May 26, 2008, 9:13
To change in ways that ultimately the hostname of a Linux box - it's done as usual with a Debian Etch - not simply use the command `hostname`:
hostname nuovonome
To ensure that the settings are lost permanently to the first reboot, you must change the host name in the file:
/etc/hostname
When you do an operation of this Title, 9 times out of 10 is also necessary in an update of the file:
/etc/mailname
Attention! These should include the entire domain, in my case:
nuovonome.agliardi.net














