Monthly Archives: July 2018

How to change the hostname in CentOS 7

First edit the hostname file by typing: sudo vi /etc/hostname Delete the line that you see in the file so it our case we deleted: localhost.localdomain Now¬† enter your hostname, in our case we called it darrens centos.   We … Continue reading

Posted in CentOS, linux | Leave a comment