{"id":866,"date":"2013-02-10T17:14:24","date_gmt":"2013-02-10T04:14:24","guid":{"rendered":"http:\/\/www.zoyinc.com\/?p=866"},"modified":"2013-09-29T19:47:55","modified_gmt":"2013-09-29T06:47:55","slug":"renaming-a-fedora-host","status":"publish","type":"post","link":"http:\/\/www.zoyinc.com\/?p=866","title":{"rendered":"Renaming a Fedora host"},"content":{"rendered":"<p>This article explains, to the best of my knowledge, what to do when renaming a Fedora server. My notes relate most recently to Fedora 14 and 16.<\/p>\n<p>Basically open up and edit the following files:<\/p>\n<ul>\n<li>\/etc\/sysconfig\/network<\/li>\n<li>\/etc\/hosts<\/li>\n<li>\/etc\/samba\/samba.conf<\/li>\n<li>\/etc\/sysconfig\/network-scripts\/ifcfg-Auto_eth*<\/li>\n<\/ul>\n<p>It should be that all you change are any references to the name of the host. If you are actually cloning a machine then clearly you might need to change other things like static IPs but this article is focused on changing the name.<\/p>\n<p>The first file, &#8220;network&#8221; is the most important one. In fact with Fedora 16 I would suggest only editing &#8220;network&#8221;, rebooting and then looking at the hosts file.<\/p>\n<p>The &#8220;samba.conf&#8221; file may need no work depending on how you have set it up.<\/p>\n<p>I don&#8217;t often have to edit the ifcfg-Auto file so quite likely it won&#8217;t exist for you and you needn&#8217;t worry.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article explains, to the best of my knowledge, what to do when renaming a Fedora server. My notes relate most recently to Fedora 14 and 16. Basically open up and edit the following files: \/etc\/sysconfig\/network \/etc\/hosts \/etc\/samba\/samba.conf \/etc\/sysconfig\/network-scripts\/ifcfg-Auto_eth* It should be that all you change are any references to the name of the host. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":868,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[296,295,93],"class_list":["post-866","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-fedora","tag-linux","tag-unix"],"_links":{"self":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/866","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=866"}],"version-history":[{"count":4,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/866\/revisions"}],"predecessor-version":[{"id":1655,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/866\/revisions\/1655"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/media\/868"}],"wp:attachment":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=866"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=866"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}