{"id":45006,"date":"2024-10-06T19:46:44","date_gmt":"2024-10-06T11:46:44","guid":{"rendered":"https:\/\/server.hk\/cnblog\/45006\/"},"modified":"2024-10-06T19:46:44","modified_gmt":"2024-10-06T11:46:44","slug":"red-hat-enterprise-linux-7-%e5%92%8c-centos-7-%e7%8d%b2%e5%be%97%e9%87%8d%e8%a6%81%e7%9a%84%e5%85%a7%e6%a0%b8%e5%ae%89%e5%85%a8%e6%9b%b4%e6%96%b0","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/45006\/","title":{"rendered":"Red Hat Enterprise Linux 7 \u548c CentOS 7 \u7372\u5f97\u91cd\u8981\u7684\u5167\u6838\u5b89\u5168\u66f4\u65b0"},"content":{"rendered":"<h1 id=\"red-hat-enterprise-linux-7-%e5%92%8c-centos-7-%e7%8d%b2%e5%be%97%e9%87%8d%e8%a6%81%e7%9a%84%e5%85%a7%e6%a0%b8%e5%ae%89%e5%85%a8%e6%9b%b4%e6%96%b0-snUbrycOHI\">Red Hat Enterprise Linux 7 \u548c CentOS 7 \u7372\u5f97\u91cd\u8981\u7684\u5167\u6838\u5b89\u5168\u66f4\u65b0<\/h1>\n<p>\u5728\u7576\u4eca\u7684\u6578\u4f4d\u6642\u4ee3\uff0c\u64cd\u4f5c\u7cfb\u7d71\u7684\u5b89\u5168\u6027\u5c0d\u65bc\u4f01\u696d\u548c\u500b\u4eba\u7528\u6236\u4f86\u8aaa\u81f3\u95dc\u91cd\u8981\u3002Red Hat Enterprise Linux (RHEL) 7 \u548c CentOS 7 \u662f\u5169\u500b\u5ee3\u6cdb\u4f7f\u7528\u7684 Linux \u767c\u884c\u7248\uff0c\u6700\u8fd1\u90fd\u7372\u5f97\u4e86\u91cd\u8981\u7684\u5167\u6838\u5b89\u5168\u66f4\u65b0\u3002\u9019\u4e9b\u66f4\u65b0\u4e0d\u50c5\u4fee\u5fa9\u4e86\u5df2\u77e5\u7684\u5b89\u5168\u6f0f\u6d1e\uff0c\u9084\u589e\u5f37\u4e86\u7cfb\u7d71\u7684\u6574\u9ad4\u7a69\u5b9a\u6027\u548c\u6027\u80fd\u3002<\/p>\n<h2 id=\"%e5%85%a7%e6%a0%b8%e5%ae%89%e5%85%a8%e6%9b%b4%e6%96%b0%e7%9a%84%e9%87%8d%e8%a6%81%e6%80%a7-snUbrycOHI\">\u5167\u6838\u5b89\u5168\u66f4\u65b0\u7684\u91cd\u8981\u6027<\/h2>\n<p>\u5167\u6838\u662f\u64cd\u4f5c\u7cfb\u7d71\u7684\u6838\u5fc3\u7d44\u4ef6\uff0c\u8ca0\u8cac\u7ba1\u7406\u786c\u9ad4\u8cc7\u6e90\u548c\u63d0\u4f9b\u57fa\u672c\u670d\u52d9\u3002\u4efb\u4f55\u5167\u6838\u7684\u5b89\u5168\u6f0f\u6d1e\u90fd\u53ef\u80fd\u5c0e\u81f4\u7cfb\u7d71\u53d7\u5230\u653b\u64ca\uff0c\u9032\u800c\u5f71\u97ff\u6578\u64da\u7684\u5b89\u5168\u6027\u548c\u7cfb\u7d71\u7684\u53ef\u7528\u6027\u3002\u56e0\u6b64\uff0c\u53ca\u6642\u66f4\u65b0\u5167\u6838\u662f\u78ba\u4fdd\u7cfb\u7d71\u5b89\u5168\u7684\u95dc\u9375\u6b65\u9a5f\u3002<\/p>\n<h2 id=\"%e6%9c%80%e8%bf%91%e7%9a%84%e5%ae%89%e5%85%a8%e6%9b%b4%e6%96%b0%e6%a6%82%e8%bf%b0-snUbrycOHI\">\u6700\u8fd1\u7684\u5b89\u5168\u66f4\u65b0\u6982\u8ff0<\/h2>\n<p>\u6839\u64da Red Hat \u548c CentOS \u7684\u5b98\u65b9\u516c\u544a\uff0c\u6700\u8fd1\u7684\u5167\u6838\u5b89\u5168\u66f4\u65b0\u4e3b\u8981\u91dd\u5c0d\u4ee5\u4e0b\u5e7e\u500b\u65b9\u9762\uff1a<\/p>\n<ul>\n<li><strong>\u6f0f\u6d1e\u4fee\u5fa9\uff1a<\/strong>\u9019\u4e9b\u66f4\u65b0\u4fee\u5fa9\u4e86\u591a\u500b\u9ad8\u5371\u6f0f\u6d1e\uff0c\u5305\u62ec\u53ef\u80fd\u5c0e\u81f4\u7279\u6b0a\u63d0\u5347\u548c\u62d2\u7d55\u670d\u52d9\u653b\u64ca\u7684\u554f\u984c\u3002<\/li>\n<li><strong>\u6027\u80fd\u6539\u9032\uff1a<\/strong>\u9664\u4e86\u5b89\u5168\u6027\uff0c\u9019\u4e9b\u66f4\u65b0\u9084\u91dd\u5c0d\u7cfb\u7d71\u6027\u80fd\u9032\u884c\u4e86\u512a\u5316\uff0c\u7279\u5225\u662f\u5728\u591a\u6838\u8655\u7406\u5668\u74b0\u5883\u4e0b\u7684\u8868\u73fe\u3002<\/li>\n<li><strong>\u517c\u5bb9\u6027\u589e\u5f37\uff1a<\/strong>\u66f4\u65b0\u9084\u589e\u5f37\u4e86\u8207\u65b0\u786c\u9ad4\u548c\u8edf\u9ad4\u7684\u517c\u5bb9\u6027\uff0c\u78ba\u4fdd\u7528\u6236\u80fd\u5920\u5145\u5206\u5229\u7528\u6700\u65b0\u6280\u8853\u3002<\/li>\n<\/ul>\n<h2 id=\"%e5%85%b7%e9%ab%94%e6%bc%8f%e6%b4%9e%e5%88%86%e6%9e%90-snUbrycOHI\">\u5177\u9ad4\u6f0f\u6d1e\u5206\u6790<\/h2>\n<p>\u5728\u6700\u8fd1\u7684\u66f4\u65b0\u4e2d\uff0c\u5e7e\u500b\u95dc\u9375\u6f0f\u6d1e\u88ab\u7279\u5225\u63d0\u53ca\uff1a<\/p>\n<ul>\n<li><strong>CVE-2023-XXXX\uff1a<\/strong>\u9019\u662f\u4e00\u500b\u7279\u6b0a\u63d0\u5347\u6f0f\u6d1e\uff0c\u653b\u64ca\u8005\u53ef\u4ee5\u5229\u7528\u6b64\u6f0f\u6d1e\u5728\u7cfb\u7d71\u4e0a\u57f7\u884c\u4efb\u610f\u4ee3\u78bc\u3002\u66f4\u65b0\u5f8c\uff0c\u8a72\u6f0f\u6d1e\u5df2\u88ab\u4fee\u5fa9\uff0c\u5efa\u8b70\u6240\u6709\u7528\u6236\u7acb\u5373\u66f4\u65b0\u3002<\/li>\n<li><strong>CVE-2023-YYYY\uff1a<\/strong>\u6b64\u6f0f\u6d1e\u53ef\u80fd\u5c0e\u81f4\u62d2\u7d55\u670d\u52d9\u653b\u64ca\uff0c\u5f71\u97ff\u7cfb\u7d71\u7684\u53ef\u7528\u6027\u3002\u901a\u904e\u66f4\u65b0\u5167\u6838\uff0c\u8a72\u554f\u984c\u5df2\u5f97\u5230\u89e3\u6c7a\u3002<\/li>\n<\/ul>\n<h2 id=\"%e5%a6%82%e4%bd%95%e9%80%b2%e8%a1%8c%e6%9b%b4%e6%96%b0-snUbrycOHI\">\u5982\u4f55\u9032\u884c\u66f4\u65b0<\/h2>\n<p>\u5c0d\u65bc RHEL 7 \u548c CentOS 7 \u7528\u6236\uff0c\u9032\u884c\u5167\u6838\u66f4\u65b0\u7684\u6b65\u9a5f\u76f8\u5c0d\u7c21\u55ae\u3002\u7528\u6236\u53ef\u4ee5\u901a\u904e\u4ee5\u4e0b\u547d\u4ee4\u4f86\u6aa2\u67e5\u548c\u5b89\u88dd\u6700\u65b0\u7684\u5167\u6838\u66f4\u65b0\uff1a<\/p>\n<pre><code>sudo yum update kernel<\/code><\/pre>\n<p>\u5728\u66f4\u65b0\u5b8c\u6210\u5f8c\uff0c\u5efa\u8b70\u7528\u6236\u91cd\u555f\u7cfb\u7d71\u4ee5\u4f7f\u66f4\u6539\u751f\u6548\u3002\u7528\u6236\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u4f86\u91cd\u555f\u7cfb\u7d71\uff1a<\/p>\n<pre><code>sudo reboot<\/code><\/pre>\n<h2 id=\"%e7%b5%90%e8%ab%96-snUbrycOHI\">\u7d50\u8ad6<\/h2>\n<p>Red Hat Enterprise Linux 7 \u548c CentOS 7 \u7684\u5167\u6838\u5b89\u5168\u66f4\u65b0\u662f\u78ba\u4fdd\u7cfb\u7d71\u5b89\u5168\u548c\u7a69\u5b9a\u7684\u91cd\u8981\u63aa\u65bd\u3002\u7528\u6236\u61c9\u5b9a\u671f\u6aa2\u67e5\u66f4\u65b0\uff0c\u4e26\u53ca\u6642\u5b89\u88dd\uff0c\u4ee5\u9632\u6b62\u6f5b\u5728\u7684\u5b89\u5168\u5a01\u8105\u3002\u96a8\u8457\u6280\u8853\u7684\u767c\u5c55\uff0c\u4fdd\u6301\u7cfb\u7d71\u7684\u6700\u65b0\u72c0\u614b\u5c07\u6709\u52a9\u65bc\u63d0\u9ad8\u6574\u9ad4\u7684\u5b89\u5168\u6027\u548c\u6027\u80fd\u3002<\/p>\n<p>\u5982\u9700\u4e86\u89e3\u66f4\u591a\u6709\u95dc <a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a> \u548c\u5176\u4ed6\u4f3a\u670d\u5668\u89e3\u6c7a\u65b9\u6848\u7684\u4fe1\u606f\uff0c\u8acb\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Red Hat Enterprise Linux 7 \u548c CentOS 7 \u7372\u5f97\u95dc\u9375\u5167\u6838\u5b89\u5168\u66f4\u65b0\uff0c\u63d0\u5347\u7cfb\u7d71\u7a69\u5b9a\u6027\u8207\u5b89\u5168\u6027\uff0c\u78ba\u4fdd\u7528\u6236\u6578\u64da\u4fdd\u8b77\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4924],"tags":[],"class_list":["post-45006","post","type-post","status-publish","format-standard","hentry","category-setup-tutorials"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/45006","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=45006"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/45006\/revisions"}],"predecessor-version":[{"id":45007,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/45006\/revisions\/45007"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=45006"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=45006"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=45006"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}