Child pages
  • How to rename a computer

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TBC.  May involve re-generating certificates.

OpenVPN

Remove any OpenVPN client configuration for the old name: OpenVPN#Ontheclient

(info) The next step is most commonly done on the client but may need to be done partly on the primary OpenVPN server, details in the linked section.

Set up the OpenVPN client under the new name: OpenVPN#Per-clientconfiguration%28serverandclient%29

Postfix

(warning) Do not restart or reload postfix until all files have been updated.

Update by editing:

  • /etc/aliases  If it is changed, run the newalises command.
  • /etc/mailname
  • /etc/postfix/header_checks  If the file doesn't exist, create it using the procedure at http://wiki.bluelightav.org/x/PAIW . (warning) Do not restart or reload postfix until all files have been updated.   If it is changed, run the postmap command on it, in the /etc/postfix directory.
  • /etc/postfix/generic  If it is changed, run the postmap command on it, in the /etc/postfix directory.

...

Ubuntu

Change the hostname

  • edit Edit /etc/hostname
  • edit Edit /etc/hosts
  • service hostname restart

...

Change the LDAP Address Book clients

OpenVPN server

On the primary OpenVPN server, revoke the client under its old name: OpenVPN#Ontheprimaryserver

Miscelaneous computers

/etc/hosts files

On computers with an /etc/hosts file which has record(s) for the old name, change the record(s).

git

ssh aliases

Update git.bluelightav.org:git:bluelight/bash library/aliases.BL.sh and push