Set Hostname on CentOS

  1. how to check host name in centos
  2. open terminal type command hostame hit enter 
  1. TO change host name type hostname example.local in my case nafees.local

Next Step : Edit /etc/sysconfig/network

This file also contains your hostname. Open the /etc/sysconfig/network file with your favorite text editor.

Post a Comment

NETWORKSTIP Networking CCNA,Centos,Ubuntu,Sql, © 2013. All Rights Reserved. Shared by NetworksTip Muhammad Nafees