Home > HowTo, Linux > change linux hostname

change linux hostname

January 23rd, 2012 Leave a comment Go to comments

change linux RedHat / CentOS hostname

vim /etc/sysconfig/network
HOSTNAME=servername

vim /etc/hosts
10.10.10.10 servername

hostname servername

verify
hostname

service network restart

Categories: HowTo, Linux Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.

VAMOVE *

*