{"id":40122,"date":"2024-11-26T09:49:34","date_gmt":"2024-11-26T01:49:34","guid":{"rendered":"https:\/\/fwq.ai\/blog\/40122\/"},"modified":"2024-11-26T09:49:34","modified_gmt":"2024-11-26T01:49:34","slug":"%e4%bb%8elinux%e5%ad%97%e7%ac%a6%e7%95%8c%e9%9d%a2%e5%88%87%e6%8d%a2%e5%88%b0%e5%9b%be%e5%bd%a2%e7%95%8c%e9%9d%a2%e7%9a%84%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/40122\/","title":{"rendered":"\u4eceLinux\u5b57\u7b26\u754c\u9762\u5207\u6362\u5230\u56fe\u5f62\u754c\u9762\u7684\u65b9\u6cd5"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/246\/273\/173096947648627.jpg\" class=\"aligncenter\" title=\"\u4eceLinux\u5b57\u7b26\u754c\u9762\u5207\u6362\u5230\u56fe\u5f62\u754c\u9762\u7684\u65b9\u6cd5\u63d2\u56fe\" alt=\"\u4eceLinux\u5b57\u7b26\u754c\u9762\u5207\u6362\u5230\u56fe\u5f62\u754c\u9762\u7684\u65b9\u6cd5\u63d2\u56fe\" \/><\/p>\n<p>\u628a\u5176\u4e2d\u7684<span style=\"padding: 4px 8px;font-size: 12px;border-radius: 3px;color: #c7254e;background-color: #f9f2f4\">id:3:initdefault<\/span>\u4e2d\u76843\u6539\u4e3a5\uff0c\u8fd9\u6837\u4ee5\u540e\u7cfb\u7edf\u542f\u52a8\u540e\u5c06\u76f4\u63a5\u8fdb\u5165\u6587\u672c\u6a21\u5f0f\u3002<br \/> \u4ee5\u4e0b\u662f\u914d\u7f6e\u5f15\u5bfc\u8fdb\u5165\u56fe\u5f62\u6a21\u5f0f\u7684etc\/inittab\u6587\u4ef6\u7684\u90e8\u5206\u5185\u5bb9\uff1a<\/p>\n<pre>\u3000#Default runlevel.The runlevels used by RHS are:\n\u3000\u3000# 0-halt(Do NOT set initdefault to this)\n\u3000\u3000# 1 -Single user mode\n\u3000\u3000# 2-Multiuser,without NFS(The same as 3,if you do not have networking)\n\u3000\u3000# 3-Full multiuser mode\n\u3000\u3000# 4-unused\n\u3000\u3000# 5-X11 \/\/\u9009\u62e9\u6b64\u9879\uff0c\u7cfb\u7edf\u5728\u767b\u5f55\u65f6\u5c06\u8fdb\u5165\u56fe\u5f62\u5316\u767b\u5f55\u754c\u9762\n\u3000\u3000# 6-reboot(Do NOT set initdefault to this)<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p><span style=\"padding: 4px 8px;font-size: 12px;border-radius: 3px;color: #c7254e;background-color: #f9f2f4\">id:3:initdefault:<\/span> \/\/\u6b64\u5904\u82e5\u6539\u4e3a3\uff0c\u7cfb\u7edf\u5c06\u88ab\u5f15\u5bfc\u8fdb\u5165\u6587\u672c\u767b\u5f55\u63d0\u793a\u7b26\u754c<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u4eceLinux\u5b57\u7b26\u754c\u9762\u5207\u6362\u5230\u56fe\u5f62\u754c\u9762\u7684\u65b9\u6cd5\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u628a\u5176\u4e2d\u7684id:3:initdefault\u4e2d\u76843\u6539\u4e3a5\uff0c\u8fd9\u6837\u4ee5\u540e\u7cfb\u7edf\u542f\u52a8\u540e\u5c06\u76f4\u63a5\u8fdb\u5165\u6587\u672c\u6a21\u5f0f\u3002 \u4ee5\u4e0b\u662f\u914d\u7f6e\u5f15\u5bfc\u8fdb\u5165\u56fe\u5f62\u6a21\u5f0f\u7684etc\/inittab\u6587\u4ef6\u7684\u90e8\u5206\u5185\u5bb9\uff1a \u3000#Default runlevel.The runlevels used by RHS are: \u3000\u3000# 0-halt(Do NOT set initdefault to this) \u3000\u3000# 1 -Single user mode \u3000\u3000# 2-Multiuser,without NFS(The same as 3,if you do not have networking) \u3000\u3000# 3-Full multiuser mode \u3000\u3000# 4-unused \u3000\u3000# 5-X11 \/\/\u9009\u62e9\u6b64\u9879\uff0c\u7cfb\u7edf\u5728\u767b\u5f55\u65f6\u5c06\u8fdb\u5165\u56fe\u5f62\u5316\u767b\u5f55\u754c\u9762 \u3000\u3000# 6-reboot(Do NOT set initdefault to this) \u767b\u5f55\u540e\u590d\u5236 id:3:initdefault: \/\/\u6b64\u5904\u82e5\u6539\u4e3a3\uff0c\u7cfb\u7edf\u5c06\u88ab\u5f15\u5bfc\u8fdb\u5165\u6587\u672c\u767b\u5f55\u63d0\u793a\u7b26\u754c \u4ee5\u4e0a\u5c31\u662f\u4eceLinux\u5b57\u7b26\u754c\u9762\u5207\u6362\u5230\u56fe\u5f62\u754c\u9762\u7684\u65b9\u6cd5\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-40122","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/40122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=40122"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/40122\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=40122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=40122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=40122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}