NETWORKSTIP Networking CCNA,Centos,Ubuntu,Sql,

Made By Muhammad Nafees

Breaking

Thursday 17 March 2016

Set Hostname on CentOS

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.


No comments:

Post a Comment