{"id":197,"date":"2023-07-01T09:06:56","date_gmt":"2023-07-01T01:06:56","guid":{"rendered":"https:\/\/127.0.0.1\/?p=197"},"modified":"2023-11-17T14:17:33","modified_gmt":"2023-11-17T06:17:33","slug":"%e6%9f%a5%e7%9c%8blinux%e5%bd%93%e5%89%8d%e7%9a%84%e7%b3%bb%e7%bb%9f%e4%bf%a1%e6%81%af%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/silky.cn\/?p=197","title":{"rendered":"\u67e5\u770bLinux\u5f53\u524d\u7684\u7cfb\u7edf\u4fe1\u606f\u65b9\u6cd5"},"content":{"rendered":"\r\n<p class=\"wp-block-paragraph\">\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u9700\u8981\u67e5\u770b\u5f53\u524dLinux\u7684\u7248\u672c\u4fe1\u606f\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u65b9\u6cd5\uff1a<\/p>\r\n\r\n\r\n\r\n<ul>\r\n<li>cat \/etc\/os-release<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">\u4f60\u53ef\u4ee5\u770b\u5230\u8fd4\u56de\u4ee5\u4e0b\u4fe1\u606f\uff1a<\/p>\r\n\r\n\r\n\r\n<ul>\r\n<li>NAME=&#8221;Red Hat Enterprise Linux&#8221;<\/li>\r\n<li>\r\n\r\n<\/li>\r\n<li>VERSION=&#8221;8.6 (Ootpa)&#8221;<\/li>\r\n<li>\r\n\r\n<\/li>\r\n<li>ID=&#8221;rhel&#8221;<\/li>\r\n<li>\r\n\r\n<\/li>\r\n<li>ID_LIKE=&#8221;fedora&#8221;<\/li>\r\n<li>\r\n\r\n<\/li>\r\n<li>VERSION_ID=&#8221;8.6&#8243;<\/li>\r\n<li>\r\n\r\n<\/li>\r\n<li>PLATFORM_ID=&#8221;platform:el8&#8243;<\/li>\r\n<li>\r\n\r\n<\/li>\r\n<li>PRETTY_NAME=&#8221;Red Hat Enterprise Linux 8.6 (Ootpa)&#8221;<\/li>\r\n<li>\r\n\r\n<\/li>\r\n<li>ANSI_COLOR=&#8221;0;31&#8243;<\/li>\r\n<li>\r\n\r\n<\/li>\r\n<li>CPE_NAME=&#8221;cpe:\/o:redhat:enterprise_linux:8::baseos&#8221;<\/li>\r\n<li>\r\n\r\n<\/li>\r\n<li>HOME_URL=&#8221;https:\/\/www.redhat.com\/&#8221;;<\/li>\r\n<li>\r\n\r\n<\/li>\r\n<li>DOCUMENTATION_URL=&#8221;https:\/\/access.redhat.com\/documentation\/red_hat_enterprise_linux\/8\/&#8221;;<\/li>\r\n<li>\r\n\r\n<\/li>\r\n<li>BUG_REPORT_URL=&#8221;https:\/\/bugzilla.redhat.com\/&#8221;;<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"\/wp-content\/uploads\/2023\/07\/2_202205171602296f4fd.jpeg\" alt=\"\" width=\"650\" height=\"247\" \/><\/figure>\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Debian Linux\u67e5\u770b\u7cfb\u7edf\u7248\u672c\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\r\n\r\n\r\n\r\n<ul>\r\n<li>lsb_release -a<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">\u8fd4\u56de\u4e0b\u56fe\u5185\u5bb9<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"\/wp-content\/uploads\/2023\/07\/2_202205271102158fb19.jpg\" alt=\"\" width=\"448\" height=\"114\" \/><\/figure>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">\u5982\u679cLinux\u662f RHEL 8 \u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u65b9\u6cd5\uff1a<\/p>\r\n\r\n\r\n\r\n<ul>\r\n<li>cat \/etc\/redhat-release<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">\u4f60\u53ef\u4ee5\u770b\u5230\u8fd4\u56de\u4ee5\u4e0b\u4fe1\u606f\uff1a<\/p>\r\n\r\n\r\n\r\n<ul>\r\n<li>[silky.cn@1-0-15-redhat~]$ cat \/etc\/redhat-release<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<ul>\r\n<li>Red Hat Enterprise Linux release 8.6 (Ootpa)<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">\u5982\u679c\u8981\u67e5\u770bCPU\u4fe1\u606f\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u65b9\u6cd5\uff1a<\/p>\r\n\r\n\r\n\r\n<ul>\r\n<li>#lscpu<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">\u5982\u679c\u8981\u67e5\u770b\u5185\u5b58\u4fe1\u606f\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u65b9\u6cd5\uff1a<\/p>\r\n\r\n\r\n\r\n<ul>\r\n<li>#free<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">\u5982\u679c\u8981\u67e5\u770b\u78c1\u76d8\u4fe1\u606f\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u65b9\u6cd5\uff1a<\/p>\r\n\r\n\r\n\r\n<ul>\r\n<li>#fdisk \u2013l<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">\u5982\u679c\u8981\u67e5\u770b\u7cfb\u7edf\u8d44\u6e90\u5b9e\u65f6\u4fe1\u606f\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u65b9\u6cd5\uff1a<\/p>\r\n\r\n\r\n\r\n<ul>\r\n<li>#top<\/li>\r\n<\/ul>\r\n","protected":false},"excerpt":{"rendered":"<p><span itemprop=\"description\">\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u9700\u8981\u67e5\u770b\u5f53\u524dLinux\u7684\u7248\u672c\u4fe1\u606f\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u2026 <a class=\"read-more-candy\" href=\"https:\/\/silky.cn\/?p=197\">\ud83c\udf6c \u56bc\u4e00\u56bc<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[55],"class_list":["post-197","post","type-post","status-publish","format-standard","hentry","category-essay","tag-debian"],"_links":{"self":[{"href":"https:\/\/silky.cn\/index.php?rest_route=\/wp\/v2\/posts\/197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/silky.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/silky.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/silky.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/silky.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=197"}],"version-history":[{"count":7,"href":"https:\/\/silky.cn\/index.php?rest_route=\/wp\/v2\/posts\/197\/revisions"}],"predecessor-version":[{"id":534,"href":"https:\/\/silky.cn\/index.php?rest_route=\/wp\/v2\/posts\/197\/revisions\/534"}],"wp:attachment":[{"href":"https:\/\/silky.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/silky.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/silky.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}