
{"id":1235,"date":"2013-08-06T02:52:00","date_gmt":"2013-08-06T02:52:00","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=1235"},"modified":"2013-08-06T02:52:00","modified_gmt":"2013-08-06T02:52:00","slug":"change-hostname-computer-name-in","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2013\/08\/change-hostname-computer-name-in\/","title":{"rendered":"How to Change Hostname (Computer Name) in Ubuntu 13.04"},"content":{"rendered":"<p>Here&#8217;s a beginners&#8217; guide to change your <b>hostname or computer name in Ubuntu 13.04 Raring Ringtail<\/b>. The default PC name was set when you were installing Ubuntu. You can easily change it to whatever you want both in Ubuntu Server and Desktop with this tutorial. To check your current name, go to top-right corner &#8220;gear&#8221; button -> About This Computer.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/08\/hostname.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/08\/hostname.jpg\" alt=\"ubuntu hostname\" width=\"468\" height=\"253\" class=\"aligncenter size-full wp-image-1236\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/08\/hostname.jpg 468w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/08\/hostname-300x162.jpg 300w\" sizes=\"auto, (max-width: 468px) 100vw, 468px\" \/><\/a><\/p>\n<h3>Change Hostname in graphical way:<\/h3>\n<p>There&#8217;s a graphical tool called <b>gnome-network-admin<\/b>, it provides a simple way to change your computer name in Ubuntu Desktop.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/08\/change-hostname.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/08\/change-hostname.jpg\" alt=\"change hostname in gui\" width=\"460\" height=\"286\" class=\"aligncenter size-full wp-image-1237\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/08\/change-hostname.jpg 460w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/08\/change-hostname-300x186.jpg 300w\" sizes=\"auto, (max-width: 460px) 100vw, 460px\" \/><\/a><\/p>\n<p>You can search for and install this tool from Ubuntu Software Center. Or click the link below to launch it:<\/p>\n<p style=\"text-align: center;\"><a href=\"apt:gnome-network-admin\" title=\"click to launch software center and install network admin\">click to install gnome-network-admin<\/a><\/p>\n<h3>Change Hostname in Command Line:<\/h3>\n<p>If you\u2019re comfortable with editing a configuration file and running some terminal commands it\u2019s not difficult to change your PC name manually.<\/p>\n<p>To check current hostname, run below commands:<\/p>\n<pre>hostname<\/pre>\n<p>To set a hostname until you restart, run:<\/p>\n<pre>sudo hostname YOUR_NEW_NAME<\/pre>\n<p>To change your computer name permanently, edit both <b>\/etc\/hostname<\/b> and <b>\/etc\/hosts<\/b> with your favorite editor and change your previous name to whatever you want.<\/p>","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a beginners&#8217; guide to change your hostname or computer name in Ubuntu 13.04 Raring Ringtail. The default PC name was set when you were installing Ubuntu. You can easily change it to whatever you want both in Ubuntu Server and Desktop with this tutorial. To check your current name, go to top-right corner &#8220;gear&#8221; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[397,15],"class_list":["post-1235","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-change-hostname-in-ubuntu-13-04","tag-ubuntu-13-04"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/1235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=1235"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/1235\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=1235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=1235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=1235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}