Solved: How to change hostname using nmtui or nmcli in redhat linux

In our last post we have seen how to change hostname manually or with hostnamectl .

In this post we will discuss how to change hostname with nmtui and nmcli tools.

Green Monday Sale! Never stop learning, courses now as low as $10.99

Continue reading “Solved: How to change hostname using nmtui or nmcli in redhat linux”

Solved: How to change hostname in AWS EC2 instance of RHEL 7

In our last post we have seen how to change hostname of an RHEL server.

But if you are using the RHEL 7 AMI provided on AWS marketplace the steps will be slightly different.

Green Monday Sale! Never stop learning, courses now as low as $10.99

Continue reading “Solved: How to change hostname in AWS EC2 instance of RHEL 7”

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:-

Green Monday Sale! Never stop learning, courses now as low as $10.99

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