- open "/etc/hostname" file using text editor
- command: sudo gedit /etc/hostname
- modify the existing hostname value with new
- open "/etc/hosts" file using text editor
- command: sudo gedit /etc/hosts
- modify the existing hostname value with new
- execute below command to refresh the hostname
- command: sudo service hostname restart
Already 10000+ students are trained in ORIENIT under Mr.Kalyan, Cloudera CCA175 Certified Consultant, Apache Contributor, 18+ years of IT exp, IIT Kharagpur, Gold Medalist
Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts
Saturday, 30 April 2016
How to change the hostname in ubuntu
Tuesday, 24 March 2015
Subscribe to:
Posts (Atom)