Fun at work!

Posts tagged ‘host’

How to change root@localhost to root@domain in CentOS?

1. Edit the file /etc/sysconfig/network and change:

NETWORKING=yes
HOSTNAME=localhost.localdomain

to...

NETWORKING=yes
HOSTNAME=domain.com

2. Reboot the machine to have the changes take effect.

Advertisements

Tag Cloud