{"id":265419,"date":"2023-02-25T14:18:00","date_gmt":"2023-02-25T06:18:00","guid":{"rendered":"https:\/\/lrxjmw.cn\/zwlmlzkhjclb.html"},"modified":"2023-02-25T14:18:00","modified_gmt":"2023-02-25T06:18:00","slug":"zwlmlzkhjclb","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/zwlmlzkhjclb.html","title":{"rendered":"\u638c\u63e1Linux\u547d\u4ee4\uff0c\u67e5\u770b\u548c\u68c0\u67e5Linux\u7248\u672c\u4fe1\u606f\uff01"},"content":{"rendered":"

Linux<\/a>\u662f\u4e00\u4e2a\u514d\u8d39\u5f00\u6e90\u7684\u64cd\u4f5c\u7cfb\u7edf<\/a>\uff0c\u5b83\u53ef\u4ee5\u5728\u5404\u79cd\u8ba1\u7b97\u673a\u786c\u4ef6\u5e73\u53f0\u4e0a\u8fd0\u884clinux \u5220\u9664\u6587\u4ef6\uff0c\u5e76\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5b89\u5168\u3001\u53ef\u9760\u3001\u6613\u7528\u7684\u64cd\u4f5c\u73af\u5883\u3002Linux\u7cfb\u7edf\u62e5\u6709\u4f17\u591a\u7684\u7248\u672c\uff0c\u800c\u68c0\u67e5Linux\u7248\u672c\u4e5f\u662f\u4e00\u4ef6\u5e38\u89c1\u7684\u4e8b\u60c5\u3002\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Linux\u547d\u4ee4<\/a>\u6765\u67e5\u770b\u548c\u68c0\u67e5Linux\u7248\u672c\u4fe1\u606f\u3002<\/p>\n

\u9996\u5148\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528lsb_release\u547d\u4ee4\u6765\u68c0\u67e5\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684Linux\u7248\u672c\u3002\u4f8b\u5982\uff0c\u5982\u679c\u8981\u68c0\u67e5Ubuntu 14.04\u7684\u7248\u672c\uff0c\u53ef\u4ee5\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\uff1a`shell<\/a><\/p>\n

lsb_release -a`\u8be5\u547d\u4ee4\u5c06\u663e\u793aUbuntu\u7684\u7248\u672c\u4fe1\u606flinux\u4e0bsocket\u7f16\u7a0b\uff0c\u5305\u62ec\u53d1\u884c\u7248\u540d\u79f0\u3001\u53d1\u884c\u65e5\u671f\u3001\u53d1\u884c\u4ee3\u53f7\u3001\u7248\u672c\u53f7\u548c\u5185\u6838\u7248\u672c\u3002<\/p>\n

\u6b64\u5916linux\u547d\u4ee4\u67e5\u7248\u672c<\/strong>\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u4f7f\u7528cat\/etc\/issue\u547d\u4ee4\u6765\u83b7\u53d6Linux\u7cfb\u7edf\u7684\u7248\u672c\u4fe1\u606f\u3002\u4f8b\u5982\uff1a`shell<\/p>\n

cat \/etc\/issue `\u8be5\u547d\u4ee4\u5c06\u663e\u793a\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684Linux\u53d1\u884c\u7248\u540d\u79f0\uff0c\u4f8b\u5982Ubuntu 14.04\u6216Fedora 20\u3002<\/p>\n

\u6b64\u5916\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u4f7f\u7528uname -a\u547d\u4ee4\u6765\u83b7\u5f97\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684\u5185\u6838\u4fe1\u606f\u3002\u4f7f\u7528\u8be5\u547d\u4ee4\u5c06\u663e\u793a\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684\u5185\u6838\u540d\u79f0\u548c\u5185\u6838\u7248\u672c\u53f7\u3002\u4f8b\u5982\uff1a`shell<\/p>\n

uname -a`\u8be5\u547d\u4ee4\u5c06\u663e\u793a\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684\u5185\u6838\u540d\u79f0\u548c\u5185\u6838\u7248\u672c\u53f7\uff08\u4f8b\u5982Linux 3.13.0-45-generic\uff09\u3002<\/p>\n

\u6b64\u5916\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u4f7f\u7528\/proc\/version\u6587\u4ef6\u6765\u83b7\u5f97\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684\u5185\u6838\u4fe1\u606f\u3002\u4f8b\u5982\uff1a`shell <\/p>\n

cat \/proc\/version`\u8be5\u547d\u4ee4\u5c06\u663e\u793a\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684\u5185\u6838\u540d\u79f0\u548c\u5185\u6838\u7248\u672c\u53f7\u3002\u4f8b\u5982Linux 3.13.0-45-generic\u3002<\/p>\n

\u53e6\u5916\uff0c\u6211\u4eec\u4e5f\u53ef\u4ee5\u4f7f\u7528hostnamectl\u547d\u4ee4\u6765\u83b7\u5f97\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684Linux\u4e3b\u673a\u540d\u548cKernel version\u4fe1\u606f\u3002\u4f8b\u5982\uff1a`shell <\/p>\n

linux\u547d\u4ee4\u67e5\u7248\u672c_linux\u547d\u4ee4\u67e5\u7248\u672c_linux\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c\u67e5\u770b\u547d\u4ee4<\/p>\n

\u8fd9\u5c06\u663e\u793a\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684\u4e3b\u673a\u540d\u548c\u5185\u6838\u7248\u672c\u4fe1\u606f\u3002<\/p>\n

\u6b64\u5916\uff0c\u6211\u4eec\u4e5f\u53ef\u4ee5\u4f7f\u7528rpm -q kernel\u547d\u4ee4\u6765\u83b7\u5f97\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684\u5185\u6838\u7248\u672c\u4fe1\u606f\u3002\u4f8b\u5982\uff1a`shell <\/p>\n

\u8fd9\u5c06\u663e\u793a\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684\u5185\u6838\u7248\u672c\u4fe1\u606f\u3002<\/p>\n

\u6700\u540elinux\u547d\u4ee4\u67e5\u7248\u672c<\/strong>\uff0c\u6211\u4eec\u4e5f\u53ef\u4ee5\u4f7f\u7528uname -r\u547d\u4ee4\u6765\u83b7\u5f97\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684\u5185\u6838\u7248\u672c\u4fe1\u606f\u3002\u4f8b\u5982\uff1a`shell <\/p>\n

uname -r`<\/p>\n

\u8fd9\u5c06\u663e\u793a\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684\u5185\u6838\u7248\u672c\u4fe1\u606f\u3002<\/p>\n

\u901a\u8fc7\u4e0a\u9762\u6240\u5217\u51fa\u7684\u51e0\u4e2a\u5e38\u7528 Linux \u547d\u4ee4\u5c31\u80fd\u5feb\u901f\u65b9\u4fbf\u5730\u83b7\u5f97 Linux \u7cfb\u7edf\u6240\u5b89\u88c5\u7684\u5177\u4f53 Linux \u7248\u672c\u4fe1\u606f\u4e86\u3002\u7136\u800c\u5c31\u76ee\u524d\u800c\u8a00 Linux \u662f\u4e00\u4e2a\u591a\u5206\u4e4b\u4e00\u591a\u9762\u4f53,\u5b83\u4e0d\u65ad\u52a0\u5165\u65b0\u529f\u80fd,\u5347\u7ea7\u65b0\u7279\u6027,\u968f\u65f6\u95f4\u6d41\u901d,\u4e0d\u65ad\u4f18\u5316\u5176\u6838\u5fc3\u6027\u80fd,\u56e0\u800c\u8981\u60f3\u51c6\u5907\u597d\u6269\u5c55\u6027\u548c\u5347\u7ea7\u6027\u80fd,\u5c31\u8981\u5bf9 Linux \u7248\u672c\u5347\u964d\u60c5\u51b5\u4e86\u7136\u4e8e\u5fc3,\u8003\u5bdf\u5979\u6240\u5e26\u6765\u4f18\u52bf,\u5e76\u5229\u7528\u5979\u5e26\u6765\u4f18\u52bf\u5927\u5927\u5f3a\u5316\u81ea\u5df1\u5e94\u5bf9\u65b0\u7279\u6027\u5347\u964d\u60c5\u51b5\u65f6\u6240\u5177\u5907\u4e4b\u80fd\u529b,\u4e0d\u65ad\u53bb\u4f18\u5316 Linux \u7cfb\u7edf\u4e2d\u91c7\u7528\u4e4b\u5e94\u7528\u9700\u8981,\u53bb\u5b9e\u65bd\u4e00\u4e9b\u65b0\u7279\u6027\u5347\u964d\u60c5\u51b5\u65f6\u6240\u8981\u91c7\u7528\u4e4b\u5e94\u5bf9\u65b9\u6cd5,\u53bb\u5b9e\u65bd\u4e00\u4e9b\u91ca\u51fa\u4e4b\u65b0\u7279\u6027\u5347\u964d\u60c5\u51b5\u65f6,\u6240\u8981\u91c7\u7528\u4e4b\u5e94\u5bf9\u65b9\u6cd5,\u53bb\u5b9e\u65bd\u4e00\u4e9b\u91ca\u51fa\u4e4b\u65b0\u7279\u6027\u65f6\u6240\u8981\u91c7\u7528\u4e4b\u5e94\u5bf9\u65b9\u6cd5,\u53bb\u5b9e\u65bd\u4e00\u4e9b\u91ca\u51fa\u4e4b\u76f8\u5173\u7279\u6027\u5347\u964d\u60c5\u51b5\u65f6\u6240\u8981\u91c7\u7528\u4e4b\u5e94\u5bf9\u65b9\u6cd5,\u53bb\u5b9e\u65bd\u4e00\u4e9b\u91ca\u51fa\u4e4b\u76f8\u5173\u7279\u6027\u65f6\u6240\u8981\u91c7\u7528\u4e4b\u5e94\u5bf9\u65b9\u6cd5;\u56e0\u800c\u4f7f\u5f97 Linux \u7cfb\u7edf\u5373\u5177\u5907\u5f3a\u5927\u529f\u80fd\u4e5f\u5177\u5907\u4f18\u52bf\u6027\u80fd;\u5e76\u4e0d\u65ad\u5f15\u9886 Linux \u7cfb\u7edf\u5347\u964d\u60c5\u51b5\u65f6\u6240\u5177\u5907\u4e4b\u4f18\u52bf\u6027\u80fd!<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Linux\u547d\u4ee4\u6765\u67e5\u770b\u548c\u68c0\u67e5Linux\u7248\u672c\u4fe1\u606f\u3002\u9996\u5148\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528lsb_release\u547d\u4ee4\u6765\u68c0\u67e5\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684Linux\u7248\u672c\u3002\u6b64\u5916\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u4f7f\u7528cat\/etc\/issue\u547d\u4ee4\u6765\u83b7\u53d6Linux\u7cfb\u7edf\u7684\u7248\u672c\u4fe1\u606f\u3002kernel\u547d\u4ee4\u6765\u83b7\u5f97\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684\u5185\u6838\u7248\u672c\u4fe1\u606f\u3002-r\u547d\u4ee4\u6765\u83b7\u5f97\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684\u5185\u6838\u7248\u672c\u4fe1\u606f\u3002<\/p>\n","protected":false},"author":1,"featured_media":265420,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-265419","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\/265419","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=265419"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/265419\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/265420"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=265419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=265419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=265419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}