Category: General

Change Hostname

# Edit hostname file

vi /etc/sysconfig/network

HOSTNAME=$hostname

# Update with the new hostname

# Change hostname

hostname $hostname

Linux

How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

No votes so far! Be the first to rate this post.