linux

How to change the hostname in CentOS 7

To change the hostname in CentOS 7, you have to do four things: 1. Modify /etc/sysconfig/network HOSTNAME=hostname.domain.com 2. Modify /etc/hosts Find: 127.0.0.1 localhost localhost.localdomain localhost4

Read More
Scroll to Top