{"id":286635,"date":"2023-11-03T04:07:20","date_gmt":"2023-11-02T20:07:20","guid":{"rendered":"https:\/\/lrxjmw.cn\/lcxtbbff.html"},"modified":"2023-11-03T04:07:20","modified_gmt":"2023-11-02T20:07:20","slug":"lcxtbbff","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lcxtbbff.html","title":{"rendered":"Linux\u67e5\u7cfb\u7edf\u7248\u672c\u65b9\u6cd5"},"content":{"rendered":"
\u4e00\u3001\u547d\u4ee4<\/a>\u884c\u67e5\u627e<\/b><\/p>\n \u5728Linux<\/a>\u7cfb\u7edf<\/a>\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u6765\u67e5\u627e\u7cfb\u7edf\u7248\u672c\u4fe1\u606f\u3002\u6700\u5e38\u7528\u7684\u547d\u4ee4\u662f`lsb_release -a`\uff0c\u5b83\u4f1a\u663e\u793a\u51fa\u7cfb\u7edf\u7684\u53d1\u884c\u7248\u4ee5\u53ca\u7248\u672c\u53f7\u3002\u53e6\u5916linux\u600e\u4e48\u67e5\u7cfb\u7edf\u7248\u672c<\/strong>\uff0c\u8fd8\u53ef\u4ee5\u4f7f\u7528`cat \/etc\/issue`\u547d\u4ee4\u6765\u67e5\u770b\u53d1\u884c\u7248\u7684\u8be6\u7ec6\u4fe1\u606f\u3002<\/p>\n \u4e8c\u3001\u56fe\u5f62\u754c\u9762\u67e5\u627e<\/b><\/p>\n \u5982\u679c\u4f60\u66f4\u559c\u6b22\u4f7f\u7528\u56fe\u5f62\u754c\u9762\u6765\u67e5\u627e\u7cfb\u7edf\u7248\u672c\u4fe1\u606f\uff0c\u90a3\u4e48\u4f60\u53ef\u4ee5\u6253\u5f00\u7cfb\u7edf\u8bbe\u7f6e\u6216\u63a7\u5236\u9762\u677fadobe air linux\uff0c\u5728“\u5173\u4e8e”\u6216“\u7cfb\u7edf\u4fe1\u606f”\u9009\u9879\u4e2d\u627e\u5230\u76f8\u5e94\u7684\u4fe1\u606f\u3002\u4e0d\u540c\u7684Linux\u53d1\u884c\u7248\u53ef\u80fd\u5728\u754c\u9762\u4e0a\u6709\u6240\u5dee\u5f02\uff0c\u4f46\u5927\u4f53\u4e0a\u90fd\u63d0\u4f9b\u4e86\u7c7b\u4f3c\u7684\u529f\u80fd\u3002<\/p>\n \u4e09\u3001\/proc\/version\u6587\u4ef6<\/b><\/p>\n \u5728Linux\u7cfb\u7edf\u4e2dlinux\u600e\u4e48\u67e5\u7cfb\u7edf\u7248\u672c<\/strong>\uff0c\/proc\u76ee\u5f55\u4e0b\u5b58\u50a8\u4e86\u5f88\u591a\u6709\u5173\u7cfb\u7edf\u4fe1\u606f\u7684\u6587\u4ef6\u3002\u5176\u4e2d\uff0c\/proc\/version\u6587\u4ef6\u5305\u542b\u4e86\u5173\u4e8e\u5185\u6838\u7248\u672c\u548c\u7f16\u8bd1\u4fe1\u606f\u7684\u8be6\u7ec6\u5185\u5bb9\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u67e5\u770b\u8be5\u6587\u4ef6\u5185\u5bb9\uff1a`cat \/proc\/version`\u3002<\/p>\n \u56db\u3001uname\u547d\u4ee4<\/b><\/p>\n uname\u547d\u4ee4\u662f\u4e00\u4e2a\u975e\u5e38\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u83b7\u53d6\u5404\u79cd\u7cfb\u7edf\u4fe1\u606f\uff0c\u5305\u62ec\u5185\u6838\u7248\u672c\u3002\u8981\u67e5\u770b\u7cfb\u7edf\u7684\u5185\u6838\u7248\u672c\u53f7\uff0c\u53ea\u9700\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a`uname -r`\u3002<\/p>\n \u4e94\u3001lsb_release\u547d\u4ee4<\/b><\/p>\n lsb_release\u547d\u4ee4\u662f\u7528\u6765\u83b7\u53d6Linux\u53d1\u884c\u7248\u76f8\u5173\u4fe1\u606f\u7684\u5de5\u5177\u3002\u901a\u8fc7\u8fd0\u884c`lsb_release -r`\u547d\u4ee4\uff0c\u4f60\u53ef\u4ee5\u5f97\u5230\u7cfb\u7edf\u7684\u7248\u672c\u53f7\u3002<\/p>\n \u516d\u3001hostnamectl\u547d\u4ee4<\/b><\/p>\n <\/p>\n hostnamectl\u547d\u4ee4\u662f\u4e00\u4e2a\u7528\u4e8e\u7ba1\u7406\u7cfb\u7edf\u4e3b\u673a\u540d\u548c\u76f8\u5173\u4fe1\u606f\u7684\u5de5\u5177\u3002\u8fd0\u884c`hostnamectl`\u547d\u4ee4\uff0c\u4f60\u53ef\u4ee5\u770b\u5230\u7cfb\u7edf\u7684\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c\u53f7\u3002<\/p>\n \u4e03\u3001\/etc\/os-release\u6587\u4ef6<\/b><\/p>\n \/etc\/os-release\u6587\u4ef6\u662f\u4e00\u4e2a\u5305\u542b\u4e86\u5173\u4e8e\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c\u548c\u53d1\u884c\u7248\u7684\u4fe1\u606f\u7684\u6587\u672c\u6587\u4ef6\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u67e5\u770b\u8be5\u6587\u4ef6\u5185\u5bb9\uff1a`cat \/etc\/os-release`\u3002<\/p>\n \u516b\u3001lsb_release -cs\u547d\u4ee4<\/b><\/p>\n lsb_release -cs\u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u51faLinux\u53d1\u884c\u7248\u7684\u4ee3\u53f7\u3002\u4e0d\u540c\u7684\u53d1\u884c\u7248\u6709\u4e0d\u540c\u7684\u4ee3\u53f7\uff0c\u901a\u8fc7\u8fd9\u4e2a\u547d\u4ee4\u4f60\u53ef\u4ee5\u4e86\u89e3\u5230\u8be6\u7ec6\u4fe1\u606f\u3002<\/p>\n \u4e5d\u3001lsb_release -a\u547d\u4ee4<\/b><\/p>\n lsb_release -a\u547d\u4ee4\u662f\u4e00\u4e2a\u7efc\u5408\u6027\u7684\u5de5\u5177\uff0c\u5b83\u4f1a\u663e\u793a\u51faLinux\u53d1\u884c\u7248\u7684\u6240\u6709\u76f8\u5173\u4fe1\u606f\uff0c\u5305\u62ec\u53d1\u884c\u7248\u540d\u79f0\u3001\u7248\u672c\u53f7\u3001\u4ee3\u53f7\u7b49\u3002<\/p>\n \u5341\u3001\u6839\u636e\u8f6f\u4ef6\u5305\u7ba1\u7406\u5668\u67e5\u627e<\/b><\/p>\n \u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u4e0d\u540c\u7684\u5305\u7ba1\u7406\u5668\u63d0\u4f9b\u4e86\u67e5\u627e\u7cfb\u7edf\u7248\u672c\u4fe1\u606f\u7684\u529f\u80fd\u3002\u4f8b\u5982linux deepin\uff0c\u5bf9\u4e8eDebian\u548cUbuntu\u7cfb\u7edf\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528apt-get\u6216aptitude\u6765\u67e5\u627e\uff1b\u5bf9\u4e8eCentOS\u548cFedora\u7cfb\u7edf\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528yum\u6216dnf\u6765\u67e5\u627e\u3002\u5177\u4f53\u4f7f\u7528\u65b9\u6cd5\u8bf7\u53c2\u8003\u76f8\u5e94\u5305\u7ba1\u7406\u5668\u7684\u6587\u6863\u3002<\/p>\n \u4ee5\u4e0a\u5c31\u662f\u51e0\u79cd\u5e38\u89c1\u4e14\u7b80\u4fbf\u7684\u65b9\u6cd5\u6765\u67e5\u627eLinux\u7cfb\u7edf\u7684\u7248\u672c\u4fe1\u606f\u3002\u65e0\u8bba\u4f60\u662f\u559c\u6b22\u547d\u4ee4\u884c\u8fd8\u662f\u56fe\u5f62\u754c\u9762\uff0c\u90fd\u80fd\u8f7b\u677e\u5730\u83b7\u53d6\u5230\u6240\u9700\u7684\u4fe1\u606f\u3002\u5e0c\u671b\u8fd9\u4e9b\u65b9\u6cd5\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff01<\/p>\n","protected":false},"excerpt":{"rendered":" \u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u6765\u67e5\u627e\u7cfb\u7edf\u7248\u672c\u4fe1\u606f\u3002uname\u547d\u4ee4\u662f\u4e00\u4e2a\u975e\u5e38\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u83b7\u53d6\u5404\u79cd\u7cfb\u7edf\u4fe1\u606f\uff0c\u5305\u62ec\u5185\u6838\u7248\u672c\u3002\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u4e0d\u540c\u7684\u5305\u7ba1\u7406\u5668\u63d0\u4f9b\u4e86\u67e5\u627e\u7cfb\u7edf\u7248\u672c\u4fe1\u606f\u7684\u529f\u80fd\u3002\u4ee5\u4e0a\u5c31\u662f\u51e0\u79cd\u5e38\u89c1\u4e14\u7b80\u4fbf\u7684\u65b9\u6cd5\u6765\u67e5\u627eLinux\u7cfb\u7edf\u7684\u7248\u672c\u4fe1\u606f\u3002<\/p>\n","protected":false},"author":1,"featured_media":286636,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-286635","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\/286635","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=286635"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/286635\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/286636"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=286635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=286635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=286635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}