Solved: How to change hostname in Redhat Linux

In this post we will see how to change hostname in Redhat Linux 4, 5, 6 and 7 .

For changing the hostname you should have root access. To switch to root do:-

sudo su -

If you want to change the hostname temporarily do as below:-

Save on Flights to Hot Beaches!Use code BT18 & get up to $18 off on our fees on flights.Use the Code & Save!

Continue reading “Solved: How to change hostname in Redhat Linux”