...
If running or using any of avahi, CUPS, ejabberd, Exim, /etc/motd, OpenSSH server, ssmtp or sysklogd then read the Debian WIKI page on changing hostname
Ubuntu
Change the hostname
- edit /etc/hostname
- edit /etc/hosts
service hostname restart
Change the DHCP domain name
In case you are running ltsp
...
Not tested (may all be done by the commands above): if running or using any of avahi, CUPS, ejabberd, Exim, /etc/motd, OpenSSH server, ssmtp or sysklogd then read the Debian WIKI page on changing hostname.
Change the ldap master uri
- edit /etc/ldap.conf
- replace the uri=service.av to the appropriate hostname. Note: if the uri=///ldapi or anything else of the kind, leave it
- service slapd restart
Changes required on other computers
...