Tag: static ip on centos 7

  • Initial Settings after installing the CentOS 7

    1) To change the hostname permanently, edit the following file: sudo vi /etc/hostname Here you can simply put the name of your system (in my case, I have assigned it CentOS-7): After that, edit the hosts file: sudo vi /etc/hosts Here add the same name, that you have added in the /etc/hostname file, after 127.0.0.1: After reboot, it will display […]