{"id":51,"date":"2010-07-21T20:42:23","date_gmt":"2010-07-21T20:42:23","guid":{"rendered":"https:\/\/shan.info\/new\/rc-local\/"},"modified":"2010-07-21T20:42:23","modified_gmt":"2010-07-21T20:42:23","slug":"rc-local","status":"publish","type":"post","link":"https:\/\/shan.info\/new\/rc-local\/","title":{"rendered":"rc.local"},"content":{"rendered":"<div id=\"msgcns!750E812099FE2A7!185\" class=\"bvMsg\">\n<p>\/etc\/rc.d\/rc.local\u4f3c\u4e4e\u662f\u5f88\u591alinux\u7cfb\u7edf\u7ba1\u7406\u5458\u7684\u504f\u7231\uff0c\u56e0\u4e3a\u51e1\u662f\u9700\u8981\u968f\u7cfb\u7edf\u81ea\u52a8\u542f\u52a8\u7684\u670d\u52a1\u3001\u7a0b\u5e8f\u7b49\uff0c\u53ea\u8981\u7cfb\u7edf\u6ca1\u6709\u63d0\u4f9bSys V\u98ce\u683c\u7684\u542f\u52a8\u811a\u672c\uff0c\u5c31\u628a\u8fd9\u4e9b\u9700\u6c42\u90fd\u585e\u5230\/etc\/rc.d\/rc.local\u3002<\/p>\n<p>\u5f53\u7136\uff0c\u7edd\u5927\u90e8\u5206\u60c5\u51b5\u4e0b\uff0c\u4f60\u4f1a\u53d1\u73b0\u8fd9\u4e00\u5207\u90fd\u5de5\u4f5c\u5f97\u5f88\u6b63\u5e38\uff0c\u770b\u4e0a\u53bb\u4e5f\u5f88\u7f8e\u597d\u3002\u4e0d\u8fc7\uff0c\u5f53\u4f60\u9047\u5230\u4e86\u4e00\u4e9b\u8be1\u5f02\u7684\u95ee\u9898\u7684\u65f6\u5019\uff0c\u4e5f\u8bb8\u4f60\u5e94\u8be5\u597d\u597d\u7684\u53bb\u770b\u770b\/etc\/rc.d\/rc.local\u91cc\u90fd\u5199\u4e86\u4ec0\u4e48\u4e86\uff1f<\/p>\n<p>\u867d\u7136\/etc\/rc.d\/rc.local \u7684\u63cf\u8ff0\u662f\u4f60\u53ef\u4ee5\u628a\u4f60\u9700\u8981\u7684\u81ea\u52a8\u542f\u52a8\u7684\u7a0b\u5e8f\u653e\u5230\u8fd9\u91cc\uff0c\u4e0d\u8fc7\u90a3\u4ec5\u4ec5\u53ea\u662f\u9650\u4e8e\u6ca1\u6709\u522b\u7684\u5730\u65b9\u53ef\u4ee5\u653e\u7f6e\u4e86\uff0c\u6216\u8005\u8bf4\u7cfb\u7edf\u4e5f\u6ca1\u6709\u63d0\u4f9b\u5176\u4ed6\u529e\u6cd5\u4e86\uff0c\u6211\u4eec\u624d\u8fd9\u4e48\u5e72\uff0c\u7136\u800c\u5b9e\u9645 \u4e0a\uff0c\u6211\u78b0\u5230\u7684\u5f88\u591a\/etc\/rc.d\/rc.local\u91cc\u653e\u7f6e\u7684\u5185\u5bb9\uff0c\u5176\u5b9e\u7cfb\u7edf\u63d0\u4f9b\u4e86\u66f4\u597d\u7684\u5904\u7406\u65b9\u5f0f<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\/etc\/rc.d\/rc.local\u4f3c\u4e4e\u662f\u5f88\u591alinux\u7cfb\u7edf\u7ba1\u7406\u5458\u7684\u504f\u7231\uff0c\u56e0\u4e3a\u51e1\u662f\u9700\u8981\u968f\u7cfb\u7edf\u81ea\u52a8\u542f\u52a8\u7684\u670d\u52a1\u3001\u7a0b\u5e8f\u7b49\uff0c\u53ea\u8981\u7cfb\u7edf\u6ca1\u6709\u63d0\u4f9bSys V\u98ce\u683c\u7684\u542f\u52a8\u811a\u672c\uff0c\u5c31\u628a\u8fd9\u4e9b\u9700\u6c42\u90fd\u585e\u5230\/etc\/rc.d\/rc.local\u3002 \u5f53\u7136\uff0c\u7edd\u5927\u90e8\u5206\u60c5\u51b5\u4e0b\uff0c\u4f60\u4f1a\u53d1\u73b0\u8fd9\u4e00\u5207\u90fd\u5de5\u4f5c\u5f97\u5f88\u6b63\u5e38\uff0c\u770b\u4e0a\u53bb\u4e5f\u5f88\u7f8e\u597d\u3002\u4e0d\u8fc7\uff0c\u5f53\u4f60\u9047\u5230\u4e86\u4e00\u4e9b\u8be1\u5f02\u7684\u95ee\u9898\u7684\u65f6\u5019\uff0c\u4e5f\u8bb8\u4f60\u5e94\u8be5\u597d\u597d\u7684\u53bb\u770b\u770b\/etc\/rc.d\/rc.local\u91cc\u90fd\u5199\u4e86\u4ec0\u4e48\u4e86\uff1f \u867d\u7136\/etc\/rc.d\/rc.local \u7684\u63cf\u8ff0\u662f\u4f60\u53ef\u4ee5\u628a\u4f60\u9700\u8981\u7684\u81ea\u52a8\u542f\u52a8\u7684\u7a0b\u5e8f\u653e\u5230\u8fd9\u91cc\uff0c\u4e0d\u8fc7\u90a3\u4ec5\u4ec5\u53ea\u662f\u9650\u4e8e\u6ca1\u6709\u522b\u7684\u5730\u65b9\u53ef\u4ee5\u653e\u7f6e\u4e86\uff0c\u6216\u8005\u8bf4\u7cfb\u7edf\u4e5f\u6ca1\u6709\u63d0\u4f9b\u5176\u4ed6\u529e\u6cd5\u4e86\uff0c\u6211\u4eec\u624d\u8fd9\u4e48\u5e72\uff0c\u7136\u800c\u5b9e\u9645 \u4e0a\uff0c\u6211\u78b0\u5230\u7684\u5f88\u591a\/etc\/rc.d\/rc.local\u91cc\u653e\u7f6e\u7684\u5185\u5bb9\uff0c\u5176\u5b9e\u7cfb\u7edf\u63d0\u4f9b\u4e86\u66f4\u597d\u7684\u5904\u7406\u65b9\u5f0f<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-51","post","type-post","status-publish","format-standard","hentry","category-22"],"_links":{"self":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/comments?post=51"}],"version-history":[{"count":0,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/51\/revisions"}],"wp:attachment":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/media?parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/categories?post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/tags?post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}