{"id":28912,"date":"2023-01-31T03:46:12","date_gmt":"2023-03-22T21:15:40","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/centos8%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%bb%ba%e8%ae%be%ef%bc%88%e5%ae%89%e8%a3%85%ef%bc%89-2\/"},"modified":"2025-08-12T10:45:12","modified_gmt":"2025-08-12T02:45:12","slug":"centos8%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%bb%ba%e8%ae%be%ef%bc%88%e5%ae%89%e8%a3%85%ef%bc%89-2","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/centos8%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%bb%ba%e8%ae%be%ef%bc%88%e5%ae%89%e8%a3%85%ef%bc%89-2\/","title":{"rendered":"CentOS8\u670d\u52a1\u5668\u5efa\u8bbe\uff08\u5b89\u88c5\uff09"},"content":{"rendered":"<h2>\u9996\u5148\u6211\u4ee5\u524d\u5199\u8fc7\u5173\u4e8e\u5728\u304a\u540d\u524d.com VPS\u4e0a\u5b89\u88c5CentOS7\u7b49\u670d\u52a1\u5668\u642d\u5efa\u7684\u6587\u7ae0\uff0c\u4f46\u662f\u7531\u4e8e2019\u5e749\u6708\u53d1\u5e03\u4e86CentOS8(1905)\uff0c\u6240\u4ee5\u6211\u60f3\u91cd\u65b0\u5229\u7528CentOS8\u8fdb\u884c\u670d\u52a1\u5668\u642d\u5efa\u3002<\/p>\n<p>\u8bf7\u53c2\u9605\u4e0b\u9762\u7684\u6587\u7ae0\uff0c\u4e86\u89e3\u5728CentOS7\u4e0a\u8fdb\u884c\u670d\u52a1\u5668\u642d\u5efa\u7684\u6b65\u9aa4\u3002<\/p>\n<p>(2020.5 Update)<br \/>\n2020\u5e741\u6708\u4efd\u5df2\u53d1\u5e03CentOS8.1(1911)\u3002<br \/>\n\u5982\u679c\u5df2\u7ecf\u5b89\u88c5\u4e86CentOS8(1905)\uff0c\u53ef\u4ee5\u901a\u8fc7dnf update\u547d\u4ee4\u8fdb\u884c\u5347\u7ea7\u3002<br \/>\n\u53ef\u4ee5\u4f7f\u7528 &#8216;cat \/etc\/system-release&#8217; \u547d\u4ee4\u6765\u786e\u8ba4\u5b89\u88c5\u7684\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c\u3002<br \/>\n\u53ef\u4ee5\u4f7f\u7528 &#8216;cat \/proc\/version&#8217; \u547d\u4ee4\u6765\u786e\u8ba4\u5b89\u88c5\u7684\u5185\u6838\u7248\u672c\u3002<br \/>\nCentOS8.1\u7684\u5185\u6838\u7248\u672c\u662fLinux 4.18\u3002<\/p>\n<h3>\u8fc7\u53bb\u7684\u6587\u7ae0<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">CentOS 7 \u3067\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\uff08\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7de8\uff09<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">CentOS 7 \u3067\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\uff08\u8ad6\u7406\u30dc\u30ea\u30e5\u30fc\u30e0\u30de\u30a6\u30f3\u30c8\u7de8\uff09<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">CentOS 7 \u3067\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\uff08\u30e6\u30fc\u30b6\u30fc\u4f5c\u6210\uff5eSSH\u958b\u901a\u7de8\uff09<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">CentOS 7 \u3067\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\uff08\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u7de8\uff09<\/ul>\n<h2>\u4e0eCentOS7\u7684\u5dee\u5f02\u4ece\u7f51\u7edc\u6587\u7ae0\u7b49\u4e2d\u627e\u51fa\u5dee\u5f02\uff0c\u603b\u4f53\u5370\u8c61\u662f\u53d8\u5316\u70b9\u8f83\u5c11\u3002<br \/>\n\u5927\u81f4\u770b\u6765\uff0c\u53ef\u80fd\u5b58\u5728\u4ee5\u4e0b\u53d8\u5316\u70b9\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u5411\u4e0a\u3057\u305f\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u304c yum \u304b\u3089 dnf \u306b\u5909\u66f4\u3055\u308c\u305f\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30d5\u30a1\u30a4\u30e4\u30fc\u30a6\u30a9\u30fc\u30eb\u6a5f\u80fd\u304c iptables \u304b\u3089 nftables \u306b\u5909\u66f4\u3055\u308c\u305f\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u6642\u523b\u540c\u671f\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u304c chrony \u306b\u4e00\u672c\u5316\u3055\u308c\u305f\u3002<\/ul>\n<p>\u7531\u4e8e CentOS7 \u4f7f\u7528 firewalld \u6765\u5b9e\u73b0\u9632\u706b\u5899\u529f\u80fd\uff0c\u6240\u4ee5\u6211\u4eec\u7ee7\u7eed\u4f7f\u7528\u5b83\u5c31\u53ef\u4ee5\u4e86\u3002<br \/>\n\u8003\u8651\u5230\u5305\u7ba1\u7406\u65b9\u9762\u7684\u597d\u5904\uff0c\u6211\u6253\u7b97\u501f\u6b64\u673a\u4f1a\u5f00\u59cb\u4f7f\u7528 dnf\u3002<\/p>\n<h2>\u4e0b\u8f7d CentOS8\u53ef\u4ee5\u4ece\u4ee5\u4e0b\u7f51\u5740\u4e0b\u8f7d\uff1a<br \/>\nhttps:\/\/www.centos.org\/download\/<br \/>\n\u8bf7\u4e0b\u8f7d CentOS Linux DVD ISO\u3002<br \/>\n\u6839\u636e\u5224\u65ad\uff0cCentOS Stream DVD ISO\u4f3c\u4e4e\u66f4\u9002\u7528\u4e8e\u5f00\u53d1\u4eba\u5458\uff0c\u5bf9\u4e8e\u7b80\u5355\u7684\u670d\u52a1\u5668\u6784\u5efa\u7528\u9014\u53ef\u80fd\u4e0d\u592a\u5408\u9002\u3002<\/p>\n<h2>\u5b89\u88c5\u670d\u52a1\u5668\u672c\u6b21\u4e5f\u5c06\u5b89\u88c5\u5728\u304a\u540d\u524d.com VPS\u4e0a\u3002<br \/>\nVPS\u8ba1\u5212\u662f2GB\u5185\u5b58\u8ba1\u5212\u3002<br \/>\n\u5982\u679c\u53ea\u662f\u8bd5\u7528\u7684\u8bdd\uff0c\u4e5f\u53ef\u4ee5\u8003\u8651\u4f7f\u7528HyperV\u6216Virtual Box\u7b49\u865a\u62df\u673a\u8f6f\u4ef6\u3002<\/p>\n<h2>\u5b89\u88c5\u5c06\u4e0b\u8f7d\u7684 CentOS8 ISO\u6620\u50cf\u63d2\u5165\u670d\u52a1\u5668\uff0c\u5e76\u542f\u52a8\u670d\u52a1\u5668\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657c24a0d0c9c81e0f5c8a68\/15-0.png\" alt=\"image.png\" \/>\u9009\u62e9\u5b89\u88c5 CentOS Linux 8.0.1905\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657c24a0d0c9c81e0f5c8a68\/17-0.png\" alt=\"image.png\" \/>\u8bf7\u5728\u8bed\u8a00\u9009\u62e9\u9875\u9762\u4e2d\u9009\u62e9\u65e5\u672c\u8bed\u3002<br \/>\n\u70b9\u51fb\u201c\u7ee7\u7eed\u201d\u6309\u94ae\uff0c\u7136\u540e\u8fdb\u884c\u4e0b\u4e00\u6b65\u64cd\u4f5c\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657c24a0d0c9c81e0f5c8a68\/19-0.png\" alt=\"image.png\" \/>\u5c06\u663e\u793a\u5b89\u88c5\u6982\u8981\u753b\u9762\u3002\u5b89\u88c5\u76ee\u6807\u9879\u5e26\u6709\u4e00\u4e2a\u611f\u53f9\u53f7\u6807\u8bb0\uff0c\u9700\u8981\u8fdb\u884c\u8bbe\u7f6e\u3002\u70b9\u51fb\u5b89\u88c5\u76ee\u6807\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657c24a0d0c9c81e0f5c8a68\/21-0.png\" alt=\"image.png\" \/>\u5b89\u88c5\u5c4f\u5e55\u5c06\u663e\u793a\u3002\u5728\u793a\u4f8b\u4e2d\uff0c\u5df2\u7ecf\u4e3a200GiB\u7684\u5b58\u50a8\u521b\u5efa\u4e86\u4e00\u4e2a20GiB\u7684\u5206\u533a\uff0c\u56e0\u6b64\u9700\u8981\u5220\u9664\u8fd920GiB\u7684\u7a7a\u95f4\uff0c\u5e76\u5c06\u5176\u8bbe\u7f6e\u4e3a\u53ef\u7528\u4e8e200GiB\u7684\u5168\u90e8\u7a7a\u95f4\u3002<\/p>\n<p>\u5c4f\u5e55\u5e95\u90e8\u6709\u4e00\u4e2a\u201c\u5b58\u50a8\u8bbe\u7f6e\u201d\u7684\u9009\u9879\u3002\u8bf7\u5c06\u201c\u6dfb\u52a0\u53ef\u7528\u7a7a\u95f4\u201d\u590d\u9009\u6846\u8bbe\u7f6e\u4e3a\u6253\u5f00\u72b6\u6001\uff0c\u7136\u540e\u6309\u4e0b\u5de6\u4e0a\u89d2\u7684\u201c\u5b8c\u6210\u201d\u6309\u94ae\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657c24a0d0c9c81e0f5c8a68\/23-0.png\" alt=\"image.png\" \/>\u4f1a\u5f39\u51fa\u78c1\u76d8\u533a\u57df\u91cd\u65b0\u5229\u7528\u5bf9\u8bdd\u6846\u3002\u8bf7\u70b9\u51fb\u53f3\u4e0b\u65b9\u7684\u201c\u5168\u90e8\u5220\u9664\u201d\u6309\u94ae\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657c24a0d0c9c81e0f5c8a68\/25-0.png\" alt=\"image.png\" \/>\u786e\u8ba4\u6240\u6709\u5217\u8868\u90e8\u5206\u7684\u64cd\u4f5c\u9879\u76ee\u90fd\u88ab\u6807\u8bb0\u4e3a &#8220;\u5220\u9664&#8221;\uff0c\u7136\u540e\u6309\u4e0b\u53f3\u4e0b\u89d2\u7684 &#8220;\u518d\u5229\u7528&#8221; \u6309\u94ae\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657c24a0d0c9c81e0f5c8a68\/27-0.png\" alt=\"image.png\" \/>\u8fd4\u56de\u5230\u5b89\u88c5\u6982\u89c8\u754c\u9762\u3002\u60a8\u53ef\u4ee5\u7ee7\u7eed\u5b89\u88c5\uff0c\u4f46\u7531\u4e8e\u5e0c\u671b\u5728\u670d\u52a1\u5668\u4e0a\u4f7f\u7528\uff0c\u8bf7\u6309\u4e0b\u8f6f\u4ef6\u9009\u62e9\u6309\u94ae\u4ee5\u66f4\u6539\u57fa\u7840\u73af\u5883\u3002\u9ed8\u8ba4\u9009\u9879\u662f\u670d\u52a1\u5668\uff08\u5e26\u56fe\u5f62\u754c\u9762\uff09\uff0c\u6240\u4ee5\u6211\u4eec\u8981\u66f4\u6539\u4e3a\u4e0d\u4f7f\u7528\u56fe\u5f62\u754c\u9762\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657c24a0d0c9c81e0f5c8a68\/29-0.png\" alt=\"image.png\" \/>\u4ece\u670d\u52a1\u5668\uff08\u4f7f\u7528GUI\uff09\u5230\u670d\u52a1\u5668\u8fdb\u884c\u66f4\u6539\uff0c\u5e76\u70b9\u51fb\u5b8c\u6210\u3002<br \/>\n\u6240\u9009\u62e9\u7684\u73af\u5883\u63d2\u4ef6\u680f\u53ef\u4ee5\u4fdd\u6301\u4e0d\u53d8\uff0c\u4e0d\u9700\u8981\u6539\u52a8\u3002\uff08\u4e4b\u540e\u518d\u5b89\u88c5\u6240\u9700\u7684\u5185\u5bb9\u3002\uff09<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657c24a0d0c9c81e0f5c8a68\/31-0.png\" alt=\"image.png\" \/>\u5b89\u88c5\u76ee\u6807\u7684\u8bbe\u7f6e\u5df2\u7ecf\u5b8c\u6210\u3002<br \/>\n\u95ee\u9898\u5df2\u7ecf\u89e3\u51b3\uff0c\u6240\u4ee5\u8bf7\u70b9\u51fb\u53f3\u4e0b\u65b9\u7684\u201c\u5f00\u59cb\u5b89\u88c5\u201d\u6309\u94ae\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657c24a0d0c9c81e0f5c8a68\/33-0.png\" alt=\"image.png\" \/>\u76ee\u524d\u6b63\u986f\u793a\u8a2d\u5b9a\u756b\u9762\uff0c\u4f46\u80cc\u666f\u6b63\u5728\u9032\u884c\u5b89\u88dd\u7a0b\u5e8f\u3002<br \/>\n\u4f5c\u70ba\u7528\u6236\u8a2d\u5b9a\uff0c\u60a8\u9700\u8981\u8a2d\u7f6e root \u5bc6\u78bc\u3002\u8acb\u9ede\u9078 root \u5bc6\u78bc\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657c24a0d0c9c81e0f5c8a68\/35-0.png\" alt=\"image.png\" \/>\u663e\u793a\u6839\u5bc6\u7801\u9875\u9762\u3002\u8f93\u5165\u6839\u5bc6\u7801\u3002\u663e\u793a\u5bc6\u7801\u5f3a\u5ea6\uff0c\u5c3d\u91cf\u9009\u62e9\u88ab\u8ba4\u5b9a\u4e3a\u5f3a\u5927\u7684\u5b57\u7b26\u7ec4\u5408\u3002\u786e\u8ba4\u8f93\u5165\uff0c\u5982\u679c\u6ca1\u6709\u9519\u8bef\u663e\u793a\uff0c\u5219\u8868\u793aOK\u3002\u70b9\u51fb\u5b8c\u6210\u6309\u94ae\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657c24a0d0c9c81e0f5c8a68\/37-0.png\" alt=\"image.png\" \/>\u6211\u5df2\u7ecf\u8fd4\u56de\u5230\u8bbe\u7f6e\u754c\u9762\u3002\u5728\u8fd9\u91cc\u6211\u4eec\u4e0d\u4f1a\u521b\u5efa\u666e\u901a\u7528\u6237\u3002\u73b0\u5728\u8bf7\u7b49\u5f85\u540e\u53f0\u5b89\u88c5\u5b8c\u6210\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657c24a0d0c9c81e0f5c8a68\/39-0.png\" alt=\"image.png\" \/>\u5b89\u88c5\u8fc7\u7a0b\u5df2\u5b8c\u6210\u3002\u53f3\u4e0b\u89d2\u4f1a\u663e\u793a\u91cd\u65b0\u542f\u52a8\u6309\u94ae\uff0c\u8bf7\u70b9\u51fb\u3002<br \/>\n\u5728\u91cd\u65b0\u542f\u52a8\u65f6\uff0c\u9700\u8981\u62d4\u6389\u63d2\u5165\u670d\u52a1\u5668\u7684CentOS8 ISO\u56fe\u50cf\uff0c\u4f46\u5728\u8fdb\u884c\u672c\u6b21\u4f5c\u4e1a\u7684 \u304a\u540d\u524d.com VPS \u4e0a\uff0c\u5728\u8fdb\u884c\u91cd\u542f\u4e4b\u524d\u5148\u53d6\u51fa\u56fe\u50cf\uff0c\u5c4f\u5e55\u4f1a\u5361\u4f4f\u3002\uff08\u6211\u731c\u60f3\u5728\u7c7b\u4f3c\u7684\u865a\u62df\u673a\u73af\u5883\u4e2d\uff0c\u5982 HyperV\u4e5f\u4f1a\u51fa\u73b0\u7c7b\u4f3c\u7684\u60c5\u51b5\u3002\uff09\u624b\u52a8\u91cd\u65b0\u542f\u52a8\u540e\u95ee\u9898\u5f97\u4ee5\u89e3\u51b3\uff0c\u6240\u4ee5\u6211\u8ba4\u4e3a\u5b89\u88c5\u5de5\u4f5c\u672c\u8eab\u6ca1\u95ee\u9898\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657c24a0d0c9c81e0f5c8a68\/41-0.png\" alt=\"image.png\" \/>\u5982\u679c\u5728\u63a7\u5236\u53f0\u754c\u9762\u4e0a\u542f\u52a8\u5e76\u663e\u793a\u767b\u5f55\u547d\u4ee4\u63d0\u793a\u7b26\uff0c\u5219\u8868\u793a\u5b89\u88c5\u5df2\u5b8c\u6210\u3002\u4e0eCentOS 7\u76f8\u6bd4\uff0c\u5b89\u88c5\u8fc7\u7a0b\u672c\u8eab\u6ca1\u6709\u592a\u5927\u7684\u5dee\u5f02\uff0c\u6240\u4ee5\u4e0d\u4f1a\u9047\u5230\u592a\u591a\u95ee\u9898\u3002<\/p>\n<p>\u4ee5\u540e\uff0c\u6211\u6253\u7b97\u8fdb\u884c\u8be6\u7ec6\u7684\u8bbe\u7f6e\u7b49\u5de5\u4f5c\u3002<\/p>\n<h2>\u4e32\u884c\u63a7\u5236\u53f0\u7684\u8bbe\u7f6e\u3002<br \/>\n\u76ee\u524d\u8fdb\u884c\u64cd\u4f5c\u7684\u662f \u304a\u540d\u524d.com\u7684VPS\uff0c\u63a7\u5236\u9762\u677f\u4e0a\u914d\u5907\u4e86\u63a7\u5236\u53f0\u754c\u9762\uff0c\u4f7f\u5f97\u53ef\u4ee5\u901a\u8fc7\u6d4f\u89c8\u5668\u5bf9\u670d\u52a1\u5668\u8fdb\u884c\u7ef4\u62a4\u3002<br \/>\n\u7136\u800c\uff0c\u5728\u6d4f\u89c8\u5668\u7684\u63a7\u5236\u53f0\u754c\u9762\u4e2d\u65e0\u6cd5\u8fdb\u884c\u5b57\u7b26\u4e32\u7684\u590d\u5236\u548c\u7c98\u8d34\u7b49\u64cd\u4f5c\uff0c\u8fd9\u6837\u7ee7\u7eed\u64cd\u4f5c\u7a0d\u663e\u4e0d\u4fbf\u3002<br \/>\n\u4e3a\u4e86\u907f\u514d\u8fd9\u79cd\u60c5\u51b5\uff0c\u304a\u540d\u524d.com\u7684VPS\u914d\u5907\u4e86\u7528\u4e8e\u4e32\u884c\u63a7\u5236\u53f0\u8fde\u63a5\u7684\u529f\u80fd\u3002<br \/>\n\u4f46\u662f\uff0c\u5982\u679c\u5b89\u88c5\u4e86\u9664\u304a\u540d\u524d.com\u63d0\u4f9b\u7684\u6807\u51c6\u64cd\u4f5c\u7cfb\u7edf\u4ee5\u5916\u7684\u7cfb\u7edf\uff0c\u5219\u65e0\u6cd5\u76f4\u63a5\u8fdb\u884c\u4e32\u884c\u63a7\u5236\u53f0\u8fde\u63a5\u3002<br \/>\n\u56e0\u6b64\uff0c\u9996\u5148\u9700\u8981\u8fdb\u884c\u4e32\u884c\u63a7\u5236\u53f0\u8fde\u63a5\u7684\u8bbe\u7f6e\u3002<\/p>\n<p>\u73b0\u5728\u5f00\u59cb\u4f7f\u7528root\u7528\u6237\u767b\u5f55\u3002<br \/>\n\u6211\u4eec\u5c06\u66f4\u6539\/etc\/default\/grub\u6587\u4ef6\u3002\u8bf7\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u5148\u8fdb\u884c\u5907\u4efd\uff0c\u7136\u540e\u518d\u8fdb\u884c\u64cd\u4f5c\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@localhost ~]# cp \/etc\/default\/grub \/etc\/default\/grub.org\r\n[root@localhost ~]# vi \/etc\/default\/grub\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code><span class=\"n\">GRUB_TIMEOUT<\/span>=<span class=\"m\">5<\/span>\r\n<span class=\"n\">GRUB_DISTRIBUTOR<\/span>=<span class=\"s2\">\"$(sed 's, release .*$,,g' \/etc\/system-release)\"<\/span>\r\n<span class=\"n\">GRUB_DEFAULT<\/span>=<span class=\"n\">saved<\/span>\r\n<span class=\"n\">GRUB_DISABLE_SUBMENU<\/span>=<span class=\"n\">true<\/span>\r\n<span class=\"n\">GRUB_TERMINAL_OUTPUT<\/span>=<span class=\"s2\">\"console\"<\/span>\r\n<span class=\"n\">GRUB_CMDLINE_LINUX<\/span>=<span class=\"s2\">\"crashkernel=auto rd.lvm.lv=centos\/root rd.lvm.lv=centos\/swap rhgb quiet\"<\/span>\r\n<span class=\"n\">GRUB_DISABLE_RECOVERY<\/span>=<span class=\"s2\">\"true\"<\/span>\r\n<span class=\"n\">GRUB_ENABLE_BLSCFG<\/span>=<span class=\"n\">true<\/span>\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code><span class=\"n\">GRUB_TIMEOUT<\/span>=<span class=\"m\">5<\/span>\r\n<span class=\"n\">GRUB_DISTRIBUTOR<\/span>=<span class=\"s2\">\"$(sed 's, release .*$,,g' \/etc\/system-release)\"<\/span>\r\n<span class=\"n\">GRUB_DEFAULT<\/span>=<span class=\"n\">saved<\/span>\r\n<span class=\"n\">GRUB_DISABLE_SUBMENU<\/span>=<span class=\"n\">true<\/span>\r\n<span class=\"n\">GRUB_CMDLINE_LINUX<\/span>=<span class=\"s2\">\"crashkernel=auto rd.lvm.lv=centos\/root rd.lvm.lv=centos\/swap rhgb quiet console=tty0 console=ttyS0,115200\"<\/span>\r\n<span class=\"n\">GRUB_DISABLE_RECOVERY<\/span>=<span class=\"s2\">\"true\"<\/span>\r\n<span class=\"n\">GRUB_ENABLE_BLSCFG<\/span>=<span class=\"n\">true<\/span>\r\n<span class=\"n\">GRUB_TERMINAL<\/span>=<span class=\"s2\">\"console serial\"<\/span>\r\n<span class=\"n\">GRUB_SERIAL_COMMAND<\/span>=<span class=\"s2\">\"serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1\"<\/span>\r\n<\/code><\/pre>\n<p>\uff082020.5\u00a0\u8ffd\u8a18\uff09<br \/>\n\u5728\u5f00\u5934\u63d0\u5230\u4e86 CentOS8.1(1911) \u7684\u95ee\u9898\uff0c\u4f46\u5728\u6211\u6267\u884c dnf update \u540e\uff0c\u5f53\u5c1d\u8bd5\u4f7f\u7528\u4e32\u884c\u63a7\u5236\u53f0\u8fde\u63a5\u65f6\uff0c\u53ea\u663e\u793a&#8221;read-only&#8221;\uff0c\u5bfc\u81f4\u65e0\u6cd5\u8fde\u63a5\u4e32\u884c\u63a7\u5236\u53f0\u3002<br \/>\n\u4e8e\u662f\u6211\u91cd\u65b0\u68c0\u67e5\u4e86\u4e0a\u8ff0\u8bbe\u7f6e\uff0c\u5e76\u5220\u9664\u4e86&#8221;GRUB_TERMINAL_OUTPUT=&#8221;serial console&#8221;&#8221;\u7684\u5b9a\u4e49\u3002<br \/>\n\u56e0\u4e3a\u8bbe\u7f6e\u503c\u4f1a\u88ab&#8221;GRUB_TERMINAL=&#8221;console serial&#8221;&#8221;\u8986\u76d6\uff0c\u6211\u8ba4\u4e3a\u8fd9\u662f\u4e0d\u5fc5\u8981\u7684\u3002<br \/>\n\u867d\u7136\u901a\u8fc7\u8fd9\u79cd\u89e3\u51b3\u65b9\u6848\u60c5\u51b5\u5f97\u4ee5\u6062\u590d\uff0c\u4f46\u771f\u6b63\u7684\u539f\u56e0\u5c1a\u4e0d\u786e\u5b9a\u3002\u3002\u3002<\/p>\n<p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5e94\u7528\u914d\u7f6e\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@localhost ~]# \/usr\/sbin\/grub2-mkconfig -o \/boot\/grub2\/grub.cfg\r\n<\/code><\/pre>\n<p>\u53ea\u8981\u6ca1\u6709\u9519\u8bef\uff0c\u5c31\u53ef\u4ee5\u4e86\u3002<br \/>\n\u4e32\u884c\u63a7\u5236\u53f0\u7684\u8bbe\u7f6e\u672c\u8eab\u5c31\u53ef\u4ee5\uff0c\u53ea\u8981\u91cd\u65b0\u542f\u52a8\uff0c\u5c31\u4f1a\u751f\u6548\uff0c\u4f46\u662f\u5c4f\u5e55\u5927\u5c0f\u4f1a\u53d8\u4e3a\u9ed8\u8ba4\u768424&#215;80\uff0c\u6240\u4ee5\u4e8b\u5148\u8981\u66f4\u6539\u8bbe\u7f6e\u3002<br \/>\n\u4e32\u884c\u63a7\u5236\u53f0\u8fde\u63a5\u53ea\u80fd\u7531root\u8fdb\u884c\uff0c\u6240\u4ee5\u6211\u4eec\u5047\u8bbe\u66f4\u6539root\u7684.bash_profile\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@localhost ~]# vi \/root\/.bash_profile\r\n<\/code><\/pre>\n<p>\u8bf7\u5728\u6700\u540e\u4e00\u884c\u6dfb\u52a0\u4ee5\u4e0b\u4e00\u884c\u3002<br \/>\n\u53ea\u9700\u8981\u8bbe\u7f6e\u884c\u6570(rows)\u548c\u5b57\u7b26\u6570(columns)\uff0c\u6839\u636e\u9700\u8981\u8fdb\u884c\u76f8\u5e94\u66f4\u6539\u5373\u53ef\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"n\">stty<\/span> <span class=\"n\">rows<\/span> <span class=\"m\">40<\/span> <span class=\"n\">columns<\/span> <span class=\"m\">130<\/span>\r\n<\/code><\/pre>\n<p>\u6211\u5b8c\u6210\u4e86\u8bbe\u7f6e\u3002<br \/>\n\u8fdb\u884c\u91cd\u542f\u3002<\/p>\n<p>\u5728\u91cd\u542f\u5b8c\u6210\u540e\uff0c\u60a8\u5c06\u80fd\u591f\u901a\u8fc7\u4e32\u53e3\u63a7\u5236\u53f0\u8fde\u63a5\u3002<br \/>\n\u5bf9\u4e8e\u304a\u540d\u524d.com VPS\u7528\u6237\u6765\u8bf4\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528SSH\u5ba2\u6237\u7aef\u901a\u8fc7SSH\u8fdb\u884c\u4e32\u53e3\u63a7\u5236\u53f0\u8fde\u63a5\u3002<br \/>\n\u5728\u51fa\u73b0\u7531\u4e8e\u7f51\u7edc\u8bbe\u7f6e\u9519\u8bef\u7b49\u5bfc\u81f4\u65e0\u6cd5\u76f4\u63a5\u901a\u8fc7SSH\u8fde\u63a5\u670d\u52a1\u5668\u7684\u60c5\u51b5\u4e0b\uff0c\u4e32\u53e3\u63a7\u5236\u53f0\u8fde\u63a5\u5c06\u6210\u4e3a\u8fde\u63a5\u670d\u52a1\u5668\u7684\u53ef\u884c\u65b9\u5f0f\u3002<br \/>\n\u5728\u666e\u901a\u7528\u6237\u8bbe\u7f6e\u548cSSH\u8fde\u63a5\u8bbe\u7f6e\u5b8c\u6210\u4e4b\u524d\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u4e32\u53e3\u63a7\u5236\u53f0\u8fde\u63a5\u8fdb\u884c\u64cd\u4f5c\u3002<\/p>\n<h2>\u7981\u7528SELinux\u4e2a\u4eba\u8ba4\u4e3a\uff0c\u4e0e\u5176\u88ab\u5377\u5165\u7e41\u7410\u7684\u8bbe\u7f6e\u4e2d\uff0c\u8fd8\u4e0d\u5982\u679c\u65ad\u5730\u7981\u7528SELinux\u3002\u867d\u7136\u53ef\u80fd\u6709\u8d5e\u6210\u548c\u53cd\u5bf9\u7684\u58f0\u97f3\uff0c\u4f46\u6211\u8ba4\u4e3a\u7981\u7528\u5b83\u66f4\u597d\u3002<\/p>\n<p>\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u6765\u786e\u8ba4\u5f53\u524d\u72b6\u6001\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@localhost ~]# getenforce\r\nEnforcing\r\n<\/code><\/pre>\n<p>\u7531\u4e8e\u6b63\u5728\u6267\u884c\u5f3a\u5236\u7b56\u7565\uff0c\u56e0\u6b64 SELinux \u5df2\u542f\u7528\u3002<\/p>\n<p>\u66f4\u6539 SELinux \u7684\u914d\u7f6e\u6587\u4ef6 \/etc\/selinux\/config\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@localhost ~]# vi \/etc\/selinux\/config\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code><span class=\"c\"># This file controls the state of SELinux on the system.\r\n# SELINUX= can take one of these three values:\r\n#     enforcing - SELinux security policy is enforced.\r\n#     permissive - SELinux prints warnings instead of enforcing.\r\n#     disabled - No SELinux policy is loaded.\r\n<\/span><span class=\"n\">SELINUX<\/span>=<span class=\"n\">enforcing<\/span>\r\n<span class=\"c\"># SELINUXTYPE= can take one of these three values:\r\n#     targeted - Targeted processes are protected,\r\n#     minimum - Modification of targeted policy. Only selected processes are protected.\r\n#     mls - Multi Level Security protection.\r\n<\/span><span class=\"n\">SELINUXTYPE<\/span>=<span class=\"n\">targeted<\/span>\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code><span class=\"c\"># This file controls the state of SELinux on the system.\r\n# SELINUX= can take one of these three values:\r\n#     enforcing - SELinux security policy is enforced.\r\n#     permissive - SELinux prints warnings instead of enforcing.\r\n#     disabled - No SELinux policy is loaded.\r\n<\/span><span class=\"n\">SELINUX<\/span>=<span class=\"n\">disabled<\/span>\r\n<span class=\"c\"># SELINUXTYPE= can take one of these three values:\r\n#     targeted - Targeted processes are protected,\r\n#     minimum - Modification of targeted policy. Only selected processes are protected.\r\n#     mls - Multi Level Security protection.\r\n<\/span><span class=\"n\">SELINUXTYPE<\/span>=<span class=\"n\">targeted<\/span>\r\n<\/code><\/pre>\n<p>\u5b8c\u6210\u4fee\u6539\u4e4b\u540e\uff0c\u91cd\u65b0\u542f\u52a8\u7cfb\u7edf\u3002<br \/>\n\u91cd\u65b0\u542f\u52a8\u540e\uff0c\u767b\u5f55\u5e76\u4f7f\u7528 getenforce \u547d\u4ee4\u8fdb\u884c\u786e\u8ba4\uff0c\u7ed3\u679c\u5982\u4e0b\u6240\u793a\uff1a\u5df2\u7981\u7528\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@localhost ~]# getenforce\r\nDisabled\r\n<\/code><\/pre>\n<h2>\u4e00\u65e6\u5230\u8fbe\u8fd9\u4e2a\u5730\u65b9\u6211\u60f3\u5728 CentOS 8 \u7684\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u5728\u8fd9\u91cc\u5148\u544a\u4e00\u6bb5\u843d\u3002<br \/>\n\u63a5\u4e0b\u6765\uff0c\u6211\u60f3\u8981\u5f00\u901a\u7f51\u7edc\u3002<\/p>\n<h2>\u76f8\u5173\u6587\u7ae0<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">CentOS8 \u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\uff08\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff09\u3000\u2190\u4eca\u56de\u306e\u8a18\u4e8b<\/ul>\n<\/li>\n<\/ul>\n<p>CentOS8 \u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\uff08\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u958b\u901a\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u66f4\u65b0\uff09<br \/>\nCentOS8 \u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\uff08Open LDAP \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff09\u3000\u2190\u4e88\u5b9a<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9996\u5148\u6211\u4ee5\u524d\u5199\u8fc7\u5173\u4e8e\u5728\u304a\u540d\u524d.com VPS\u4e0a\u5b89\u88c5CentOS7\u7b49\u670d\u52a1\u5668\u642d\u5efa\u7684\u6587\u7ae0\uff0c\u4f46\u662f\u7531\u4e8e2019\u5e749\u6708\u53d1\u5e03\u4e86 [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227],"class_list":["post-28912","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-227"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>CentOS8\u670d\u52a1\u5668\u5efa\u8bbe\uff08\u5b89\u88c5\uff09 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8eCentOS8\u670d\u52a1\u5668\u5efa\u8bbe\uff08\u5b89\u88c5\uff09\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/centos8\u670d\u52a1\u5668\u5efa\u8bbe\uff08\u5b89\u88c5\uff09-2\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CentOS8\u670d\u52a1\u5668\u5efa\u8bbe\uff08\u5b89\u88c5\uff09\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8eCentOS8\u670d\u52a1\u5668\u5efa\u8bbe\uff08\u5b89\u88c5\uff09\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/centos8\u670d\u52a1\u5668\u5efa\u8bbe\uff08\u5b89\u88c5\uff09-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-22T21:15:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-12T02:45:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657c24a0d0c9c81e0f5c8a68\/15-0.png\" \/>\n<meta name=\"author\" content=\"\u9038, \u79d1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u9038, \u79d1\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/centos8%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%bb%ba%e8%ae%be%ef%bc%88%e5%ae%89%e8%a3%85%ef%bc%89-2\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/centos8%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%bb%ba%e8%ae%be%ef%bc%88%e5%ae%89%e8%a3%85%ef%bc%89-2\/\",\"name\":\"CentOS8\u670d\u52a1\u5668\u5efa\u8bbe\uff08\u5b89\u88c5\uff09 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-03-22T21:15:40+00:00\",\"dateModified\":\"2025-08-12T02:45:12+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487\"},\"description\":\"\u5173\u4e8eCentOS8\u670d\u52a1\u5668\u5efa\u8bbe\uff08\u5b89\u88c5\uff09\u7684\u6280\u672f\u6587\u7ae0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/centos8%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%bb%ba%e8%ae%be%ef%bc%88%e5%ae%89%e8%a3%85%ef%bc%89-2\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/centos8%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%bb%ba%e8%ae%be%ef%bc%88%e5%ae%89%e8%a3%85%ef%bc%89-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/centos8%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%bb%ba%e8%ae%be%ef%bc%88%e5%ae%89%e8%a3%85%ef%bc%89-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CentOS8\u670d\u52a1\u5668\u5efa\u8bbe\uff08\u5b89\u88c5\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487\",\"name\":\"\u9038, \u79d1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g\",\"caption\":\"\u9038, \u79d1\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keyi\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/centos8%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%bb%ba%e8%ae%be%ef%bc%88%e5%ae%89%e8%a3%85%ef%bc%89-2\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"CentOS8\u670d\u52a1\u5668\u5efa\u8bbe\uff08\u5b89\u88c5\uff09 - Blog - Silicon Cloud","description":"\u5173\u4e8eCentOS8\u670d\u52a1\u5668\u5efa\u8bbe\uff08\u5b89\u88c5\uff09\u7684\u6280\u672f\u6587\u7ae0","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/centos8\u670d\u52a1\u5668\u5efa\u8bbe\uff08\u5b89\u88c5\uff09-2\/","og_locale":"zh_CN","og_type":"article","og_title":"CentOS8\u670d\u52a1\u5668\u5efa\u8bbe\uff08\u5b89\u88c5\uff09","og_description":"\u5173\u4e8eCentOS8\u670d\u52a1\u5668\u5efa\u8bbe\uff08\u5b89\u88c5\uff09\u7684\u6280\u672f\u6587\u7ae0","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/centos8\u670d\u52a1\u5668\u5efa\u8bbe\uff08\u5b89\u88c5\uff09-2\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-03-22T21:15:40+00:00","article_modified_time":"2025-08-12T02:45:12+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657c24a0d0c9c81e0f5c8a68\/15-0.png"}],"author":"\u9038, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u9038, \u79d1","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/centos8%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%bb%ba%e8%ae%be%ef%bc%88%e5%ae%89%e8%a3%85%ef%bc%89-2\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/centos8%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%bb%ba%e8%ae%be%ef%bc%88%e5%ae%89%e8%a3%85%ef%bc%89-2\/","name":"CentOS8\u670d\u52a1\u5668\u5efa\u8bbe\uff08\u5b89\u88c5\uff09 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-03-22T21:15:40+00:00","dateModified":"2025-08-12T02:45:12+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487"},"description":"\u5173\u4e8eCentOS8\u670d\u52a1\u5668\u5efa\u8bbe\uff08\u5b89\u88c5\uff09\u7684\u6280\u672f\u6587\u7ae0","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/centos8%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%bb%ba%e8%ae%be%ef%bc%88%e5%ae%89%e8%a3%85%ef%bc%89-2\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/centos8%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%bb%ba%e8%ae%be%ef%bc%88%e5%ae%89%e8%a3%85%ef%bc%89-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/centos8%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%bb%ba%e8%ae%be%ef%bc%88%e5%ae%89%e8%a3%85%ef%bc%89-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"CentOS8\u670d\u52a1\u5668\u5efa\u8bbe\uff08\u5b89\u88c5\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487","name":"\u9038, \u79d1","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g","caption":"\u9038, \u79d1"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keyi\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/centos8%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%bb%ba%e8%ae%be%ef%bc%88%e5%ae%89%e8%a3%85%ef%bc%89-2\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28912","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=28912"}],"version-history":[{"count":3,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28912\/revisions"}],"predecessor-version":[{"id":111405,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28912\/revisions\/111405"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=28912"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=28912"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=28912"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}