Changing the computer name on Linux

Last Updated : Apr 06, 2022 |

About this task

Perform the following procedure if you need to change the host name of a Linux® based Avaya Aura® MS:

Important:

Avaya also provides appliance versions of Avaya Aura® MS. Do not use this procedure when you are working with Avaya Aura® MS as a physical or virtual appliance. For appliance installations, see Deploying and Updating Avaya Aura® Media Server Appliance.

Before you begin

Stop Avaya Aura® MS before changing the computer name.

Procedure

  1. Edit the file /etc/hosts.
  2. Update the host name wherever the host name appears in the file.
  3. Save the file.
  4. Edit the file /etc/sysconfig/network.
  5. Update the host name wherever the host name appears in the file.
  6. Save the file.
  7. Using a Linux® shell, enter the following command to apply the host name change to the system:

    hostname newhostname

    Where newhostname is the new name for the server.

  8. Restart the server to apply change system-wide.