{"id":5472,"date":"2022-04-01T19:40:53","date_gmt":"2022-04-01T11:40:53","guid":{"rendered":"https:\/\/cn.hostease.com\/xueyuan\/?p=5472"},"modified":"2022-04-01T19:34:44","modified_gmt":"2022-04-01T11:34:44","slug":"%e6%80%8e%e6%a0%b7%e9%80%9a%e8%bf%87%e6%97%a5%e5%bf%97%e6%96%87%e4%bb%b6%e5%ad%a6%e4%b9%a0linux%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/cn.hostease.com\/xueyuan\/jishu\/fuwuqi\/%e6%80%8e%e6%a0%b7%e9%80%9a%e8%bf%87%e6%97%a5%e5%bf%97%e6%96%87%e4%bb%b6%e5%ad%a6%e4%b9%a0linux%ef%bc%9f\/","title":{"rendered":"\u600e\u6837\u901a\u8fc7\u65e5\u5fd7\u6587\u4ef6\u5b66\u4e60Linux\uff1f"},"content":{"rendered":"<p>\u5982\u679c\u771f\u7684\u5e0c\u671b\u5b66\u4e60\u638c\u63e1<a href=\"https:\/\/cn.hostease.com\/dedicated-servers.html\" target=\"_blank\" rel=\"noopener\"><strong>Linux\u670d\u52a1\u5668<\/strong><\/a>\uff0c\u5c31\u5e94\u8be5\u719f\u6089\u65e5\u5fd7\u6587\u4ef6\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u4f60\u7406\u89e3\u9047\u5230\u7684\u95ee\u9898\u3002\u8fd9\u4e5f\u662f\u5bfb\u6c42\u5176\u4ed6\u4eba\u5e2e\u52a9\u65f6\u5bf9\u65b9\u4f1a\u8981\u6c42\u4f60\u63d0\u4f9b\u7279\u5b9a\u65e5\u5fd7\u6587\u4ef6\u7684\u539f\u56e0\u6240\u5728\u3002\u8fd9\u4e9bLog\u6587\u4ef6\u6709\u52a9\u4e8e\u63d0\u4f9b\u89e3\u51b3\u95ee\u9898\u7684\u8db3\u591f\u4fe1\u606f\u3002\u65e5\u5fd7\u6587\u4ef6\u5728\u7cfb\u7edf\u51fa\u73b0\u95ee\u9898\u65f6\u5c24\u5176\u6709\u5e2e\u52a9\u3002\u7136\u800c\uff0c\u8981\u4e86\u89e3\u7684Log\u6587\u4ef6\u6709\u5f88\u591a\uff0c\u56e0\u6b64\u672c\u6587\u91cd\u70b9\u4ecb\u7ecd\u7684\u662f\u4e0eLinux\u7cfb\u7edf\u6709\u5173\u7684\u65e5\u5fd7\u5206\u6790\u65b9\u6cd5\u3002<\/p>\n<p>\u5728\u7cfb\u7edf(\u6216\u8fde\u63a5USB)\u51fa\u73b0\u95ee\u9898\u65f6\uff0cdmesg\u547d\u4ee4\u662f\u53ef\u4ee5\u6700\u5148\u8003\u8651\u7684\u4e8b\u60c5\u3002\u8fd9\u4e2a\u547d\u4ee4\u80fd\u663e\u793a\u51fa\u4e0e\u5185\u6838(kernel keyring buffer)\u6709\u5173\u7684\u4fe1\u606f\u3002\u901a\u8fc7\u5b83\u4eec\u53ef\u4ee5\u770b\u51fa\u6240\u6709\u7cfb\u7edf\u542f\u52a8\u65f6\u7684\u4fe1\u606f\u3002\u8fd9\u4e5f\u662f\u4e86\u89e3\u786c\u4ef6\u60c5\u51b5\u7684\u597d\u5730\u65b9\u3002\u5728\u6211\u7684\u624b\u63d0\u7535\u8111\u4e0a\uff0c\u8fd0\u884cdmesg\u547d\u4ee4\u53ef\u4ee5\u770b\u5230\uff1a<\/p>\n<p>Phoenix BIOS detected: BIOS may corrupt low RAM, working it around.\u63a8\u8350\u9605\u8bfb\uff1a\u300a<a href=\"https:\/\/cn.hostease.com\/xueyuan\/zhuji\/5261.html\" target=\"_blank\" rel=\"noopener\">Windows \u548c Linux \u7684 VPS \u64cd\u4f5c\u7cfb\u7edf\u4e4b\u95f4\u7684\u5173\u952e\u533a\u522b\u300b<\/a><\/p>\n<p>last_pfn = 0x7f6d0 max_arch_pfn = 0x100000<\/p>\n<p>x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106<\/p>\n<p>kernel direct mapping tables up to 38000000 @ 10000-15000<\/p>\n<p>Using x86 segment limits to approximate NX protection<\/p>\n<p>RAMDISK: 37c6a000 \u2013 37fef4a2<\/p>\n<p>\u4ece\u8fd9\u91cc\u53ef\u4ee5\u770b\u51fa\u6211\u6709\u4e00\u4e2aPhoenix bios\uff0c\u4e4b\u540e\u53ef\u4ee5\u770b\u5230\uff1a<\/p>\n<p>Security Framework initialized<\/p>\n<p>SELinux: Initializing.<\/p>\n<p>SELinux: Starting in permissive mode<\/p>\n<p>\u8fd9\u4e9b\u4fe1\u606f\u544a\u8bc9\u6211Linux\u5b89\u5168\u52a0\u5f3a\u5df2\u7ecf\u542f\u52a8\uff0c\u542f\u52a8\u662f\u8bb8\u53ef\u6a21\u5f0f\u3002\u63a5\u4e0b\u6765\u8fd8\u53ef\u4ee5\u770b\u5230\uff1a<\/p>\n<p>CPU1: Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz stepping 0d<\/p>\n<p>checking TSC synchronization [CPU#0 -&gt; CPU#1]: passed.<\/p>\n<p>Brought up 2 CPUs<\/p>\n<p>Total of 2 processors activated (7447.76 BogoMIPS)<\/p>\n<p>\u8fd9\u4e9b\u4fe1\u606f\u6709\u52a9\u4e8e\u4f60\u66f4\u597d\u7684\u4e86\u89e3\u7535\u8111CPU\u7684\u7279\u6027\u3002\u63a8\u8350\u9605\u8bfb\uff1a<a href=\"https:\/\/cn.hostease.com\/xueyuan\/jishu\/fuwuqi\/4214.html\" target=\"_blank\" rel=\"noopener\">\u300aLinux\u72ec\u7acb\u670d\u52a1\u5668\u600e\u6837\u4f7f\u7528ncat\u8bca\u65ad\u7f51\u7edc\u300b<\/a><\/p>\n<p>\u7528dmesg\u547d\u4ee4\u83b7\u5f97\u7684\u6700\u91cd\u8981\u4fe1\u606f\u4e4b\u4e00\u5c31\u662f\u8fde\u63a5USB\u8bbe\u5907\u7684\u60c5\u51b5\u3002\u53ea\u6709\u5728\u4e86\u89e3\u7279\u5b9a\u8bbe\u5907\u7684\u60c5\u51b5\u4e0b\u624d\u80fdmount\u5b83\u3002\u8fd9\u4e9b\u5185\u5bb9\u5c06\u4f1a\u663e\u793a\u5728\u8f93\u51fa\u4fe1\u606f\u7684\u5e95\u90e8\u3002dmesg\u547d\u4ee4\u7684\u8f93\u51fa\u901f\u5ea6\u5f88\u5feb\uff0c\u56e0\u6b64\u53ef\u4ee5\u7528\u201ddmesg | less\u201c\u547d\u4ee4\u5206\u9875\u67e5\u770b\u3002<\/p>\n<p>\/var\/log<\/p>\n<p>\u5728\u8fd9\u4e2a\u76ee\u5f55\u4e2d\u53ef\u4ee5\u770b\u5230\u4ee5\u4e0b\u65e5\u5fd7\uff1a<\/p>\n<p>boot.log \u2013 boot information<\/p>\n<p>cron \u2013 cron logs<\/p>\n<p>cups \u2013 directory of all printing logs<\/p>\n<p>httpd \u2013 Apache logs<\/p>\n<p>mail \u2013 Mail server logs<\/p>\n<p>maillog \u2013 The mail log<\/p>\n<p>messages \u2013 Post-boot kernel information<\/p>\n<p>secure \u2013 Security log<\/p>\n<p>Xorg.0.log \u2013 X Server log<\/p>\n<p>\u4f46\u8981\u770b\u5230\u8fd9\u4e9bLog\u4fe1\u606f\uff0c\u4f60\u9700\u8981\u662froot\u7528\u6237\u3002\u5176\u4e2d\u4e00\u4e2a\u67e5\u770b\u65e5\u5fd7\u6587\u4ef6\u7684\u65b9\u6cd5\u662f\u4f7f\u7528tail\u547d\u4ee4\u3002tail\u53ef\u4ee5\u8ddf\u8e2a\u8fd0\u884c\u7684\u65e5\u5fd7\u6587\u4ef6\u3002\u4f8b\u5982\uff0c\u8ddf\u8e2a\/var\/log\/secure\u65e5\u5fd7\u5c31\u53ef\u4ee5\u7528\u201dtail -f \/var\/log\/secure\u201c\u3002f\u662f\u544a\u8bc9tail\u8ddf\u8e2a\u65e5\u5fd7\u3002\u5982\u679c\u6ca1\u6709\u8fd9\u4e2af\uff0c\u547d\u4ee4\u53ea\u4f1a\u8f93\u51fa\u4e00\u4e2a\u5217\u8868\u3002<\/p>\n<p>\u603b\u4e4b\uff0c\u9605\u8bfb\u65e5\u5fd7\u6587\u4ef6\u53ef\u4ee5\u83b7\u5f97\u5f88\u591a\u4fe1\u606f\u3002\u4e00\u65e6\u4e86\u89e3\u57fa\u672c\u539f\u7406\uff0c\u5b66\u4e60\u638c\u63e1\u9605\u8bfbLinux\u65e5\u5fd7\u5c31\u4f1a\u53d8\u5f97\u5f88\u5bb9\u6613\u3002\u63a8\u8350\u9605\u8bfb\uff1a<a href=\"https:\/\/cn.hostease.com\/xueyuan\/jishu\/linux\/4199.html\">\u300a\u4ec0\u4e48\u662fSSH\u5bc6\u94a5\uff0c\u5982\u4f55\u7ed3\u5408Linux\u670d\u52a1\u5668\u4f7f\u7528\u5b83\u300b<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u679c\u771f\u7684\u5e0c\u671b\u5b66\u4e60\u638c\u63e1Linux\u670d\u52a1\u5668\uff0c\u5c31\u5e94\u8be5\u719f\u6089\u65e5\u5fd7\u6587\u4ef6\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u4f60\u7406\u89e3\u9047\u5230\u7684\u95ee\u9898\u3002\u8fd9\u4e5f\u662f\u5bfb\u6c42\u5176\u4ed6\u4eba\u5e2e\u52a9\u65f6\u5bf9 &#8230; <a title=\"\u600e\u6837\u901a\u8fc7\u65e5\u5fd7\u6587\u4ef6\u5b66\u4e60Linux\uff1f\" class=\"read-more\" href=\"https:\/\/cn.hostease.com\/xueyuan\/jishu\/fuwuqi\/%e6%80%8e%e6%a0%b7%e9%80%9a%e8%bf%87%e6%97%a5%e5%bf%97%e6%96%87%e4%bb%b6%e5%ad%a6%e4%b9%a0linux%ef%bc%9f\/\" aria-label=\"\u9605\u8bfb \u600e\u6837\u901a\u8fc7\u65e5\u5fd7\u6587\u4ef6\u5b66\u4e60Linux\uff1f\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9],"tags":[38],"class_list":["post-5472","post","type-post","status-publish","format-standard","hentry","category-fuwuqi","tag-linux"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/5472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/comments?post=5472"}],"version-history":[{"count":1,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/5472\/revisions"}],"predecessor-version":[{"id":5473,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/5472\/revisions\/5473"}],"wp:attachment":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/media?parent=5472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/categories?post=5472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/tags?post=5472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}