{"id":262699,"date":"2023-01-24T00:01:16","date_gmt":"2023-01-23T16:01:16","guid":{"rendered":"https:\/\/lrxjmw.cn\/lxtqdgczdqdx.html"},"modified":"2023-01-24T00:01:16","modified_gmt":"2023-01-23T16:01:16","slug":"lxtqdgczdqdx","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lxtqdgczdqdx.html","title":{"rendered":"Linux\u7cfb\u7edf\u542f\u52a8\u8fc7\u7a0b\u4e2d\u7684\u542f\u52a8\u9879\u548c\u68c0\u6d4b\u5668\u7684\u533a\u522b"},"content":{"rendered":"

Linux<\/a>\u662f\u4e00\u4e2a\u5f00\u653e\u6e90\u4ee3\u7801\u7684\u591a\u7528\u6237\u3001\u591a\u4efb\u52a1\u3001\u5904\u7406\u5668\u65e0\u5173\u7684\u64cd\u4f5c\u7cfb\u7edf<\/a>\uff0c\u5b83\u662f\u5728Unix\u64cd\u4f5c\u7cfb\u7edf\u4e4b\u4e0a\u8fdb\u884c\u4fee\u6539\u800c\u6765\u3002Linux\u53ef\u4ee5\u5728\u5404\u79cd\u8ba1\u7b97\u673a\u5e73\u53f0\u4e0a\u5b89\u88c5\u548c\u8fd0\u884c\uff0c\u5305\u62ec\u624b\u673a\u3001\u5e73\u677f\u7535\u8111\u3001\u4e2a\u4eba\u7535\u8111\u548c\u5927\u578b\u670d\u52a1\u5668\u3002Linux\u7684\u529f\u80fd\u4e30\u5bcc\u5d4c\u5165\u5f0flinux\u57f9\u8bad\uff0c\u6613\u4e8e\u4f7f\u7528\uff0c\u4e14\u514d\u8d39\uff0c\u56e0\u6b64\u53d7\u5230\u4e86\u4f17\u591a\u7528\u6237\u7684\u9752\u7750\u3002<\/p>\n

Linux\u7cfb\u7edf\u542f\u52a8\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u8fc7\u7a0b\uff0c\u5b83\u51b3\u5b9a\u4e86Linux\u7cfb\u7edf\u662f\u5426\u80fd\u591f\u6b63\u5e38\u5de5\u4f5c\u3002\u542f\u52a8\u9879\u662fLinux\u7cfb\u7edf\u542f\u52a8\u8fc7\u7a0b\u4e2d\u6267\u884c\u7684\u4e00\u4e9b\u547d\u4ee4<\/a>\uff0c\u5b83\u4eec\u88ab\u5b58\u50a8\u5728\/etc\/inittab\u6587\u4ef6\u4e2d\u3002\u5f53Linux\u7cfb\u7edf\u542f\u52a8\u65f6linux\u7cfb\u7edf\u542f\u52a8\u9879<\/strong>\uff0c\u5b83\u4f1a\u8bfb\u53d6\/etc\/inittab\u6587\u4ef6\u4e2d\u7684\u542f\u52a8\u9879\uff0c\u6839\u636e\u914d\u7f6e\u6587\u4ef6\u4e2d\u7684\u4fe1\u606f\u6765\u6267\u884c\u76f8\u5e94\u7684\u547d\u4ee4\u3002<\/p>\n

\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\/etc\/inittab\u6587\u4ef6\u4e2d\u4f1a\u5305\u542b\u5982\u4e0b\u51e0\u4e2a\u91cd\u8981\u7684\u542f\u52a8\u9879\uff1a<\/p>\n

pe\u7cfb\u7edf\u4e0b\u8f7d u\u76d8\u542f\u52a8 win10\u7cfb\u7edf_u\u76d8\u5b89\u88c5xp\u7cfb\u7edf\u540e\u603b\u662f\u4eceu\u76d8\u542f\u52a8\u7cfb\u7edf_linux\u7cfb\u7edf\u542f\u52a8\u9879<\/p>\n

1.id:3:initdefault:<\/p>\n

u\u76d8\u5b89\u88c5xp\u7cfb\u7edf\u540e\u603b\u662f\u4eceu\u76d8\u542f\u52a8\u7cfb\u7edf_linux\u7cfb\u7edf\u542f\u52a8\u9879_pe\u7cfb\u7edf\u4e0b\u8f7d u\u76d8\u542f\u52a8 win10\u7cfb\u7edf<\/p>\n

\u6b64\u9879\u8bbe\u5b9a\u4e86Linux\u5c06\u8981\u8fdb\u5165\u7684\u8fd0\u884c\u6a21\u5f0f\u3002\u5176\u4e2d3\u4ee3\u8868\u4f1a\u8bdd2(runlevel 2)\u5d4c\u5165\u5f0flinux\u57f9\u8bad\uff0c\u4e5f\u5c31\u662f\u56fe\u5f62\u754c\u9762\u6a21\u5f0f\u3002<\/p>\n

\u6b64\u9879\u8868\u660e\u5f53\u521d\u59cb\u5316(sysinit)\u65f6\u4f1a\u6267\u884c\/etc\/rc.d\/rc.sysinit\u811a\u672c\u3002\u8be5\u811a\u672c\u4f1a\u6267\u884c\u4e00\u4e9b\u521d\u59cb\u5316\u5de5\u4f5clinux\u7cfb\u7edf\u542f\u52a8\u9879<\/strong>\uff0c\u5982\u521d\u59cb\u5316\u5185\u5b58\u3001\u68c0\u6d4b\u6587\u4ef6\u7cfb\u7edf\u3001\u68c0\u6d4b\u548c\u8bbe\u5907\u5e76\u6fc0\u6d3b\u5fc5\u8981\u7684\u670d\u52a1\u3002<\/p>\n

\u6b64\u9879\u8ba9Linux\u8fdb\u5165\u4f11\u7720(runlevel 0)\u6a21\u5f0f\uff08\u4e5f\u5c31\u662f\u5173\u673a\u6a21\u5f0f\uff09\u65f6\u6267\u884c\/etc\/rc.d\/rc 0 \u811a\u672c\u3002\u8be5\u811a\u672c\u4f1a\u9000\u51fa\u6b63\u5728\u8fd0\u884c\u7684\u670d\u52a1\uff0c\u7136\u540e\u5173\u95ed\u6240\u6709\u4e0d\u5fc5\u8981\u7684\u8fdb\u7a0b\u5e76\u628a\u5185\u5b58\u4e2d\u7684\u6570\u636e\u5199\u56de\u5230\u76f8\u5e94\u7684\u6587\u4ef6\u4f4d\u7f6e\u4e0a\u3002<\/p>\n

\u6b64\u9879\u8ba9Linux\u8fdb\u5165\u56fe\u5f62\u754c\u9762(runlevel 3)\u6a21\u5f0f\u65f6\u6267\u884c\/etc\/rc.d\/rc 3 \u811a\u672c\u3002\u8be5\u811a\u672c\u4f1a\u9996\u5148\u6267\u884c\u4e00\u4e9b\u521d\u59cb\u5316\u5de5\u4f5c\uff08\u5982\u4e0a\u6587\u4e2d\u63d0\u5230\u7684sysinit\u5de5\u4f5c\uff09\uff1b\u7136\u540e\u6839\u636eX11R6\u4e2dxorg.conf\u6587\u4ef6\u4e2d\u7684\u4fe1\u606f\u6765\u542f\u52a8X Window System;\u6700\u540e\u6839\u636eGDM\u6216KDM\u76f8\u5e94\u6587\u4ef6\u6765\u663e\u793a\u56fe\u5f62\u754c\u9762\u3002<\/p>\n

\u6b64\u9879\u8ba9Linux\u8fdb\u5165xinetd(runlevel 5)\u65f6\u6267\u884c\/etc \/ rc . d \/ rc 5 \u811a\u672c.\u8be5\u811a\u672c\u4f1a\u9996\u5148\u6267\u884c\u4e00\u4e9b\u521d\u59cb\u5316\u5de5\u4f5c\uff08\u5982\u4e0a\u6587\u4e2d\u63d0\u5230\u7684 sysinit \u5de5\u4f5c\uff09\uff1b\u7136\u540e\u6839\u636e xinetd \u76f8\u5e94\u914d\u7f6e\u6587\u4ef6\u6fc0\u6d3b\u7f51\u7edc\u670d\u52a1\uff1b\u6700\u540e\u8fd0\u884c xinetd \u670d\u52a1\u76d1\u770b\u7aef\u53e3\uff08 port \uff09\uff08\u901a\u5e38\u662f 21, 22, 23, 25, 53, 80, 110, 143, 443, 993, 995, 2077 \u7b49\uff09\uff09\u4e0a\u7684\u8fde\u63a5\u8bf7\u6c42.<\/p>\n

\u603b\u4e4b\uff0clinux\u7cfb\u7edf\u542f\u52a8\u9879<\/strong>\u662flinux\u5728\u4e0d\u540c\u8fd0\u884c\u6a21\u5f0f\u4e0b\u6267\u884c\u4e0d\u540c\u547d\u4ee4\u6216\u8005\u811a\u672c\u7684\u91cd\u8981\u90e8\u5206\uff1b\u8003\u8651\u5230linux\u5728\u4e0d\u65ad\u53d1\u5c55\u58ee\u5927\u4e4b\u65f6\u4e5f\u8981\u4e0d\u65ad\u5b9e\u65f6\u66f4\u65b0\u5176\u64cd\u4f5c\u4f53\u9a8c\u548c\u6027\u80fd\u6c34\u51c6\uff08\u5373\u5bf9\u5e94\u4e0d\u540c\u7248\u672clinux\u5185\u6838\u7248\u672c\u3001\u5e94\u7528\u7248\u672c\u3001\u90fd\u8981\u968f\u4e4b\u5347\u7ea7\u54a9\u4fdd\u8bc1\u6574\u4f53\u6027\u80fd\u53ca\u4f53\u9a8c\u6d41\u7545\u6027\uff09\uff1b\u56e0\u6b64\u6211\u4eec\u4e5f\u8981\u6ce8\u610f\u4e0d\u65f6\u68c0\u6d4b\u5f53\u524dlinux\u4e0b\u76f8\u5e94\/ etc \/ inittab \u914d\u7f6e\u662f\u5426\u4e0e\u6700\u65b0 linux \u7248\u672c\u76f8\u5173\u914d\u7f6e\u9700\u6c42\u76f8\u9002\u914d\uff08\u5929\u5929\u592a\u592a\uff09\uff1b\u4ece\u8003\u8651\u5230 linux \u7535\u8111\u673a\u673a\u623f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

Linux\u662f\u4e00\u4e2a\u5f00\u653e\u6e90\u4ee3\u7801\u7684\u591a\u7528\u6237\u3001\u591a\u4efb\u52a1\u3001\u5904\u7406\u5668\u65e0\u5173\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5b83\u662f\u5728Unix\u64cd\u4f5c\u7cfb\u7edf\u4e4b\u4e0a\u8fdb\u884c\u4fee\u6539\u800c\u6765\u3002\u542f\u52a8\u9879\u662fLinux\u7cfb\u7edf\u542f\u52a8\u8fc7\u7a0b\u4e2d\u6267\u884c\u7684\u4e00\u4e9b\u547d\u4ee4\uff0c\u5b83\u4eec\u88ab\u5b58\u50a8\u5728\/etc\/inittab\u6587\u4ef6\u4e2d\u3002\u5f53Linux\u7cfb\u7edf\u542f\u52a8\u65f6\uff0c\u5b83\u4f1a\u8bfb\u53d6\/etc\/inittab\u6587\u4ef6\u4e2d\u7684\u542f\u52a8\u9879\uff0c\u6839\u636e\u914d\u7f6e\u6587\u4ef6\u4e2d\u7684\u4fe1\u606f\u6765\u6267\u884c\u76f8\u5e94\u7684\u547d\u4ee4\u3002\u8be5\u811a\u672c\u4f1a\u6267\u884c\u4e00\u4e9b\u521d\u59cb\u5316\u5de5\u4f5c\uff0c\u5982\u521d\u59cb\u5316\u5185\u5b58\u3001\u68c0\u6d4b\u6587\u4ef6\u7cfb\u7edf\u3001\u68c0\u6d4b\u548c\u8bbe\u5907\u5e76\u6fc0\u6d3b\u5fc5\u8981\u7684\u670d\u52a1\u3002<\/p>\n","protected":false},"author":1,"featured_media":262700,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-262699","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/262699","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=262699"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/262699\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/262700"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=262699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=262699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=262699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}