{"id":782,"date":"2021-07-16T00:09:18","date_gmt":"2021-07-15T16:09:18","guid":{"rendered":"https:\/\/www.dd-home.top\/?p=782"},"modified":"2021-07-16T00:09:31","modified_gmt":"2021-07-15T16:09:31","slug":"centos%e5%88%9d%e5%a7%8b%e5%8c%96%e5%ae%89%e8%a3%85%e6%97%a0%e7%bd%91%e7%bb%9c%e5%a4%84%e7%90%86","status":"publish","type":"post","link":"https:\/\/www.dd-home.top\/?p=782","title":{"rendered":"centos\u521d\u59cb\u5316\u5b89\u88c5\u65e0\u7f51\u7edc\u5904\u7406"},"content":{"rendered":"<h6 class=\"md-end-block md-heading\"><span class=\"md-plain\">1.\u5c06\/etc\/sysconfig\/network-scripts\/ifcfg-ens33 \u6587\u4ef6\u4e2d\u7684ONBOOT\u6539\u4e3ayes\u4fdd\u5b58\u5e76\u9000\u51fa<\/span><\/h6>\n<pre class=\"md-fences md-end-block ty-contain-cm modeLoaded\" lang=\"html\" spellcheck=\"false\"><span role=\"presentation\">vi \/etc\/sysconfig\/network-scripts\/ifcfg-ens33<\/span>\r\n<span role=\"presentation\">\u200b<\/span>\r\n<span role=\"presentation\">\u6309\u4e0binsert<\/span>\r\n<span role=\"presentation\">\u200b<\/span>\r\n<span role=\"presentation\">\u4fee\u6539\u540e\u6309\u4e0besc<\/span>\r\n<span role=\"presentation\">\u200b<\/span>\r\n<span role=\"presentation\">\u8f93\u5165 :wq<\/span><\/pre>\n<h6 class=\"md-end-block md-heading\"><span class=\"md-plain\">2.service network restart<\/span><\/h6>\n<h6 class=\"md-end-block md-heading\"><span class=\"md-plain\">3.\u67e5\u770bIP\u4fe1\u606f<\/span><\/h6>\n<pre class=\"md-fences md-end-block ty-contain-cm modeLoaded\" lang=\"html\" spellcheck=\"false\"><span role=\"presentation\">ip addr<\/span><\/pre>\n<h6 class=\"md-end-block md-heading\"><span class=\"md-plain\">4.NetworkService \u81ea\u52a8\u542f\u52a8<\/span><\/h6>\n<pre class=\"md-fences md-end-block ty-contain-cm modeLoaded\" lang=\"html\" spellcheck=\"false\"><span role=\"presentation\">systemctl enable NetworkManager-wait-online.service<\/span><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>1.\u5c06\/etc\/sysconfig\/network-scripts\/ifcfg-ens33 \u6587\u4ef6\u4e2d\u7684ONBOO &hellip; <a href=\"https:\/\/www.dd-home.top\/?p=782\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">centos\u521d\u59cb\u5316\u5b89\u88c5\u65e0\u7f51\u7edc\u5904\u7406<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,1],"tags":[],"class_list":["post-782","post","type-post","status-publish","format-standard","hentry","category-5","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.dd-home.top\/index.php?rest_route=\/wp\/v2\/posts\/782","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dd-home.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dd-home.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dd-home.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dd-home.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=782"}],"version-history":[{"count":1,"href":"https:\/\/www.dd-home.top\/index.php?rest_route=\/wp\/v2\/posts\/782\/revisions"}],"predecessor-version":[{"id":783,"href":"https:\/\/www.dd-home.top\/index.php?rest_route=\/wp\/v2\/posts\/782\/revisions\/783"}],"wp:attachment":[{"href":"https:\/\/www.dd-home.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dd-home.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dd-home.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}