Actions

Toolpack Installation:Change hostname: Difference between revisions

 
No edit summary
 
(26 intermediate revisions by 6 users not shown)
Line 1: Line 1:
== Change hostname of server ==
{{DISPLAYTITLE:Change Hostname}}
__TOC__


To change the hostname, connect to the Web Portal and do:
This procedure applies to [[TMG800]], [[TMG3200]], [[TMG7800]] and [[ProSBC]] with static IP for management interfaces. <br>
*Edit host configuration
Requires version 2.9 and above <br>
**Hosts->Edit
'''Note''': For [[ProSBC]], this will require a license update. Make sure you inform the [[Support:Contacting_TelcoBridges_technical_support|Support]] team that this procedure will be done. <br>
**Name: input new hostname
 
**Save
== CentOS 7 procedure ==
*Change hostname of the linux host
*[[Accessing_Device#SSH|ssh]] to the management interface
*Activate config:  
*To view current hostname:
**Systems -> Edit -> Activate
hostnamectl
*To update the hostname:
hostnamectl  set-hostname  NewHostName
*To update the /etc/hosts file:
vim /etc/hosts
Replace the hostnames in the file
*Reboot server:
shutdown -r now
*After reboot verify if everything is ok:
hostnamectl
cat /etc/hosts
 
== CentOS 5 procedure ==
*[[Accessing_Device#SSH|ssh]] to the management interface
*To view current hostname:
hostname
*To update the hostname:
hostname NewHostName
*Reboot server:
shutdown -r now
 
Note: DO NOT change the hostname via webportal.

Latest revision as of 14:44, 2 April 2026

This procedure applies to TMG800, TMG3200, TMG7800 and ProSBC with static IP for management interfaces.
Requires version 2.9 and above
Note: For ProSBC, this will require a license update. Make sure you inform the Support team that this procedure will be done.

CentOS 7 procedure

  • ssh to the management interface
  • To view current hostname:
hostnamectl
  • To update the hostname:
hostnamectl  set-hostname   NewHostName
  • To update the /etc/hosts file:
vim /etc/hosts

Replace the hostnames in the file

  • Reboot server:
shutdown -r now
  • After reboot verify if everything is ok:
hostnamectl
cat /etc/hosts

CentOS 5 procedure

  • ssh to the management interface
  • To view current hostname:
hostname
  • To update the hostname:
hostname NewHostName
  • Reboot server:
shutdown -r now

Note: DO NOT change the hostname via webportal.