{"id":218,"date":"2026-04-16T12:48:18","date_gmt":"2026-04-16T12:48:18","guid":{"rendered":"https:\/\/imakun.cn\/wordpress\/?p=218"},"modified":"2026-04-16T12:48:19","modified_gmt":"2026-04-16T12:48:19","slug":"%e6%9f%a5%e7%9c%8b%e5%bd%93%e5%89%8d%e7%b3%bb%e7%bb%9f%e7%9a%84linux%e7%89%88%e6%9c%ac","status":"publish","type":"post","link":"https:\/\/imakun.cn\/wordpress\/?p=218","title":{"rendered":"\u67e5\u770b\u5f53\u524d\u7cfb\u7edf\u7684linux\u7248\u672c"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">lsb_release -a<\/h2>\n\n\n\n<p>\u8fd9\u662f\u6700\u76f4\u63a5\u3001\u6700\u5e38\u7528\u7684\u547d\u4ee4\uff0c\u53ef\u4ee5\u663e\u793a\u53d1\u884c\u7248ID\u3001\u63cf\u8ff0\u3001\u7248\u672c\u53f7\u548c\u4ee3\u53f7\u7b49\u8be6\u7ec6\u4fe1\u606f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>root@eve-ng:\/home# lsb_release -a\nNo LSB modules are available.\nDistributor ID: Ubuntu\nDescription:    Ubuntu 22.04.4 LTS\nRelease:        22.04\nCodename:       jammy<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">cat \/etc\/os-release<\/h2>\n\n\n\n<p>\u8fd9\u4e2a\u547d\u4ee4\u901a\u8fc7\u8bfb\u53d6\u4e00\u4e2a\u6807\u51c6\u7684\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6\u6765\u663e\u793a\u7248\u672c\u4fe1\u606f\uff0c\u9002\u7528\u4e8e\u51e0\u4e4e\u6240\u6709\u73b0\u4ee3 Linux \u53d1\u884c\u7248\uff0c\u975e\u5e38\u53ef\u9760\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>root@eve-ng:\/home# cat \/etc\/os-release\nPRETTY_NAME=\"Ubuntu 22.04.4 LTS\"\nNAME=\"Ubuntu\"\nVERSION_ID=\"22.04\"\nVERSION=\"22.04.4 LTS (Jammy Jellyfish)\"\nVERSION_CODENAME=jammy\nID=ubuntu\nID_LIKE=debian\nHOME_URL=\"https:\/\/www.ubuntu.com\/\"\nSUPPORT_URL=\"https:\/\/help.ubuntu.com\/\"\nBUG_REPORT_URL=\"https:\/\/bugs.launchpad.net\/ubuntu\/\"\nPRIVACY_POLICY_URL=\"https:\/\/www.ubuntu.com\/legal\/terms-and-policies\/privacy-policy\"\nUBUNTU_CODENAME=jammy<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">hostnamectl<\/h2>\n\n\n\n<p>\u8fd9\u4e2a\u547d\u4ee4\u4e3b\u8981\u7528\u4e8e\u7ba1\u7406\u4e3b\u673a\u540d\uff0c\u4f46\u4e5f\u4f1a\u663e\u793a\u64cd\u4f5c\u7cfb\u7edf\u548c\u5185\u6838\u4fe1\u606f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>root@eve-ng:\/home# hostnamectl<br>Static hostname: eve-ng<br>Icon name: computer-desktop<br>Chassis: desktop<br>Machine ID: 8811a8a3f5a84ec88b860a0db90c1221<br>Boot ID: 4e2a629b93b24166bbd0f80ca55aac25<br>Operating System: Ubuntu 22.04.4 LTS<br>Kernel: Linux 6.7.5-eveng-6-ksm+<br>Architecture: x86-64<br>Hardware Vendor: baytrail<br>Hardware Model: baytrail<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong><code>uname -a<\/code><\/strong>\u00a0\u547d\u4ee4<\/h2>\n\n\n\n<p>\u67e5\u770b\u7684\u662f\u00a0<strong>Linux \u5185\u6838\uff08Kernel\uff09<\/strong>\u00a0\u7684\u7248\u672c\uff0c\u800c\u4e0d\u662f Ubuntu \u53d1\u884c\u7248\u7684\u7248\u672c\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>root@eve-ng:\/home# uname -r\n6.7.5-eveng-6-ksm+<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>lsb_release -a \u8fd9\u662f\u6700\u76f4\u63a5\u3001\u6700\u5e38\u7528\u7684\u547d\u4ee4\uff0c\u53ef\u4ee5\u663e\u793a\u53d1\u884c\u7248ID\u3001\u63cf\u8ff0\u3001\u7248\u672c\u53f7\u548c\u4ee3\u53f7\u7b49\u8be6\u7ec6\u4fe1\u606f\u3002 cat \/etc\/os-release \u8fd9\u4e2a\u547d\u4ee4\u901a\u8fc7\u8bfb\u53d6\u4e00\u4e2a\u6807\u51c6\u7684\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6\u6765\u663e\u793a\u7248\u672c\u4fe1\u606f\uff0c\u9002\u7528\u4e8e\u51e0\u4e4e\u6240\u6709\u73b0\u4ee3 Linux \u53d1\u884c\u7248\uff0c\u975e\u5e38\u53ef\u9760\u3002 hostnamectl \u8fd9\u4e2a\u547d\u4ee4\u4e3b\u8981\u7528\u4e8e\u7ba1\u7406\u4e3b\u673a\u540d\uff0c\u4f46\u4e5f\u4f1a\u663e\u793a\u64cd\u4f5c\u7cfb\u7edf\u548c\u5185\u6838\u4fe1\u606f\u3002 uname -a\u00a0\u547d\u4ee4 \u67e5\u770b\u7684\u662f\u00a0Linux \u5185\u6838\uff08Kernel\uff09\u00a0\u7684\u7248\u672c\uff0c\u800c\u4e0d\u662f Ubuntu \u53d1\u884c\u7248\u7684\u7248\u672c\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-218","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/imakun.cn\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/218","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/imakun.cn\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/imakun.cn\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/imakun.cn\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/imakun.cn\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=218"}],"version-history":[{"count":1,"href":"https:\/\/imakun.cn\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/218\/revisions"}],"predecessor-version":[{"id":219,"href":"https:\/\/imakun.cn\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/218\/revisions\/219"}],"wp:attachment":[{"href":"https:\/\/imakun.cn\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/imakun.cn\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=218"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/imakun.cn\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}