{"id":6923,"date":"2012-12-02T17:04:42","date_gmt":"2012-12-02T22:04:42","guid":{"rendered":"http:\/\/jianmingli.com\/wp\/?p=6923"},"modified":"2013-02-04T22:53:31","modified_gmt":"2013-02-05T03:53:31","slug":"redhat-linux-change-host-name","status":"publish","type":"post","link":"https:\/\/jianmingli.com\/wp\/?p=6923","title":{"rendered":"Redhat Linux Change Host Name"},"content":{"rendered":"<pre lang=\"bash\">\r\n# echo soaapp > \/proc\/sys\/kernel\/hostname\r\n# hostname\r\nsoaapp\r\n# \/etc\/init.d\/network restart\r\nShutting down interface eth0:                              [  OK  ]\r\nShutting down loopback interface:                          [  OK  ]\r\nBringing up loopback interface:                            [  OK  ]\r\nBringing up interface eth0:  \r\nDetermining IP information for eth0... done.\r\n                                                           [  OK  ]\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p># echo soaapp > \/proc\/sys\/kernel\/hostname # hostname soaapp # \/etc\/init.d\/network restart Shutting down interface eth0: [ OK ] Shutting down loopback interface: [ OK ] Bringing up loopback interface: [ OK ] Bringing up interface eth0: Determining IP information for &hellip; <a href=\"https:\/\/jianmingli.com\/wp\/?p=6923\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[125,301],"tags":[302,271,160,629],"class_list":["post-6923","post","type-post","status-publish","format-standard","hentry","category-centos","category-redhat","tag-change","tag-hostname","tag-linux-2","tag-redhat"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8cRUO-1NF","_links":{"self":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/6923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6923"}],"version-history":[{"count":2,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/6923\/revisions"}],"predecessor-version":[{"id":7182,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/6923\/revisions\/7182"}],"wp:attachment":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}