{"id":43566,"date":"2025-06-13T07:36:10","date_gmt":"2025-06-12T23:36:10","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/43566.html"},"modified":"2025-06-13T07:36:10","modified_gmt":"2025-06-12T23:36:10","slug":"%e5%ae%89%e8%a3%85-linux-%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%90%8e%e8%a6%81%e5%81%9a%e7%9a%84-12-%e4%bb%b6%e4%ba%8b","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/43566.html","title":{"rendered":"\u5b89\u88c5 Linux \u670d\u52a1\u5668\u540e\u8981\u505a\u7684 12 \u4ef6\u4e8b"},"content":{"rendered":"<p id=\"main-toc\">\u76ee\u5f55<\/p>\n<p id=\"1.%E7%A1%AE%E4%BF%9D%E8%AE%BE%E7%BD%AE%E4%BA%86%E4%B8%80%E4%B8%AA%E9%9D%9Eroot%E7%94%A8%E6%88%B7-toc\" style=\"margin-left:120px\">1.\u786e\u4fdd\u8bbe\u7f6e\u4e86\u4e00\u4e2a\u975eroot\u7528\u6237<\/p>\n<p id=\"2.%E7%A1%AE%E4%BF%9D%E9%9D%9E%20root%20%E7%94%A8%E6%88%B7%E5%85%B7%E6%9C%89%20sudo%20%E6%9D%83%E9%99%90-toc\" style=\"margin-left:120px\">2.\u786e\u4fdd\u975e root \u7528\u6237\u5177\u6709 sudo \u6743\u9650<\/p>\n<p id=\"3.%E5%90%AF%E7%94%A8%E5%9F%BA%E4%BA%8E%E5%AF%86%E9%92%A5%E7%9A%84%20SSH%20%E8%BA%AB%E4%BB%BD%E9%AA%8C%E8%AF%81-toc\" style=\"margin-left:120px\">3.\u542f\u7528\u57fa\u4e8e\u5bc6\u94a5\u7684 SSH \u8eab\u4efd\u9a8c\u8bc1<\/p>\n<p id=\"4.%E7%A1%AE%E4%BF%9D%E5%85%81%E8%AE%B8%20SSH%20%E9%80%9A%E8%BF%87%20ufw%20%E9%98%B2%E7%81%AB%E5%A2%99-toc\" style=\"margin-left:120px\">4.\u786e\u4fdd\u5141\u8bb8 SSH \u901a\u8fc7 ufw \u9632\u706b\u5899<\/p>\n<p id=\"5.%E5%90%AF%E7%94%A8%E9%98%B2%E7%81%AB%E5%A2%99%EF%BC%88%E4%BB%85%E5%9C%A8%E5%85%81%E8%AE%B8%20SSH%20%E5%90%8E%EF%BC%89-toc\" style=\"margin-left:120px\">5.\u542f\u7528\u9632\u706b\u5899\uff08\u4ec5\u5728\u5141\u8bb8 SSH \u540e\uff09<\/p>\n<p id=\"6.%E8%AE%BE%E7%BD%AESSH%E4%B8%8D%E6%98%BE%E7%A4%BAbanner%E4%BF%A1%E6%81%AF-toc\" style=\"margin-left:120px\">6.\u8bbe\u7f6eSSH\u4e0d\u663e\u793abanner\u4fe1\u606f<\/p>\n<p id=\"7.%E7%A6%81%E7%94%A8%E6%89%80%E6%9C%89%20SSH%20%E8%BD%AC%E5%8F%91-toc\" style=\"margin-left:120px\">7.\u7981\u7528\u6240\u6709 SSH \u8f6c\u53d1<\/p>\n<p id=\"8.%E7%A6%81%E7%94%A8%20root%20%E9%80%9A%E8%BF%87%20SSH%20%E7%99%BB%E5%BD%95-toc\" style=\"margin-left:120px\">8.\u7981\u7528 root \u901a\u8fc7 SSH \u767b\u5f55<\/p>\n<p id=\"9.%E7%A6%81%E7%94%A8%E5%9F%BA%E4%BA%8E%E5%AF%86%E7%A0%81%E7%9A%84%20SSH%20%E8%BA%AB%E4%BB%BD%E9%AA%8C%E8%AF%81-toc\" style=\"margin-left:120px\">9.\u7981\u7528\u57fa\u4e8e\u5bc6\u7801\u7684 SSH \u8eab\u4efd\u9a8c\u8bc1<\/p>\n<p id=\"10.%E5%BF%BD%E7%95%A5rhosts-toc\" style=\"margin-left:120px\">10.\u5ffd\u7565rhosts<\/p>\n<p id=\"11.%E5%AE%89%E8%A3%85%E5%B9%B6%E9%85%8D%E7%BD%AEfail2ban%E4%BB%A5%E4%BF%9D%E6%8A%A4SSH-toc\" style=\"margin-left:120px\">11.\u5b89\u88c5\u5e76\u914d\u7f6efail2ban\u4ee5\u4fdd\u62a4SSH<\/p>\n<p id=\"12.%E9%85%8D%E7%BD%AE%E8%87%AA%E5%8A%A8%E5%AE%89%E5%85%A8%E6%9B%B4%E6%96%B0%EF%BC%88%E9%80%82%E7%94%A8%E4%BA%8E%20Red%20Hat%20%E5%92%8C%20CentOS%EF%BC%89-toc\" style=\"margin-left:120px\">12.\u914d\u7f6e\u81ea\u52a8\u5b89\u5168\u66f4\u65b0\uff08\u9002\u7528\u4e8e Red Hat \u548c CentOS\uff09<\/p>\n<hr id=\"hr-toc\">\n<p>\u5b89\u88c5&nbsp;Linux&nbsp;\u670d\u52a1\u5668\u540e\uff0c\u5fc5\u987b\u505a\u4e00\u4e9b\u914d\u7f6e\u4ee5\u786e\u4fdd\u4ee5\u786e\u4fdd\u60a8\u7684&nbsp;Linux&nbsp;\u670d\u52a1\u5668\u7684\u5b89\u5168\u6027\uff0c\u76ee\u524d\u6700\u6d41\u884c\u7684\u4e24\u4e2a&nbsp;Linux&nbsp;\u670d\u52a1\u5668\u53d1\u884c\u7248\uff1aUbuntu&nbsp;\u548c&nbsp;CentOS\/Red Hat\u3002\u4e0b\u9762\u4ee5\u5b83\u4eec\u4e3a\u4f8b\uff0c\u8bf4\u660e\u670d\u52a1\u5668\u5b89\u88c5\u7cfb\u7edf\u540e\u5e94\u8be5\u8fdb\u884c\u7684\u52a0\u56fa\u64cd\u4f5c\u3002<\/p>\n<h5 id=\"1.%E7%A1%AE%E4%BF%9D%E8%AE%BE%E7%BD%AE%E4%BA%86%E4%B8%80%E4%B8%AA%E9%9D%9Eroot%E7%94%A8%E6%88%B7\">1.\u786e\u4fdd\u8bbe\u7f6e\u4e86\u4e00\u4e2a\u975eroot\u7528\u6237<\/h5>\n<p>root \u7528\u6237\u662f\u4e07\u80fd\u7684\uff0c\u4f46\u5e76\u4e0d\u603b\u662f\u9700\u8981 root \u6743\u9650\u3002<\/p>\n<p>root \u4e5f\u662f\u51e0\u4e4e\u6240\u6709Linux\u7cfb\u7edf\u4e0a\u7684\u6709\u6548\u7528\u6237\u540d\uff0c\u8fd9\u610f\u5473\u7740\u5982\u679c\u542f\u7528\u4e86\u8fdc\u7a0b\u8eab\u4efd\u8ba4\u8bc1\uff0c\u5219\u653b\u51fb\u8005\u7684\u4e00\u534a\u5de5\u4f5c\u5c31\u5df2\u7ecf\u5b8c\u6210\u4e86\uff0c\u5373\u83b7\u53d6\u6709\u6548\u7528\u6237\u540d\u3002<\/p>\n<p>\u6b64\u5916\uff0c\u5982\u679c\u653b\u51fb\u8005\u80fd\u591f\u4ee5root\u8eab\u4efd\u767b\u5f55\uff0c\u4ed6\u4eec\u5c31\u4e0d\u9700\u8981\u8fdb\u4e00\u6b65\u7684\u6743\u9650\u6765\u5728\u7cfb\u7edf\u4e0a\u6267\u884c\u4efb\u4f55\u64cd\u4f5c\u3002<\/p>\n<p>\u51fa\u4e8e\u8fd9\u4e9b\u539f\u56e0\uff0c\u6700\u597d\u4ee5\u975e root \u7528\u6237\u8eab\u4efd\u767b\u5f55\uff0c\u5e76\u7981\u7528 root \u7528\u6237\u901a\u8fc7 SSH \u8fdb\u884c\u8fdc\u7a0b\u767b\u5f55\u3002<\/p>\n<p># \u5177\u4f53\u64cd\u4f5c\uff1a<\/p>\n<p>\u4ee5root\u7528\u6237\u767b\u5f55\u7cfb\u7edf\uff0c\u5206\u522b\u4ee5useradd &lt;username&gt;\u548cpasswd &lt;username&gt;\u547d\u4ee4\u6dfb\u52a0\u7528\u6237\u5e76\u8bbe\u7f6e\u5bc6\u7801\uff1a<\/p>\n<p>[root@DBKF9HIS ~]# useradd imoonrong<br \/>\n[root@DBKF9HIS ~]# passwd imoonrong<br \/>\n\u66f4\u6539\u7528\u6237 imoonrong \u7684\u5bc6\u7801 \u3002<br \/>\n\u65b0\u7684 \u5bc6\u7801\uff1a<br \/>\n\u91cd\u65b0\u8f93\u5165\u65b0\u7684 \u5bc6\u7801\uff1a<br \/>\npasswd\uff1a\u6240\u6709\u7684\u8eab\u4efd\u9a8c\u8bc1\u4ee4\u724c\u5df2\u7ecf\u6210\u529f\u66f4\u65b0\u3002<br \/>\n[root@DBKF9HIS ~]#&nbsp;<\/p>\n<h5 id=\"2.%E7%A1%AE%E4%BF%9D%E9%9D%9E%20root%20%E7%94%A8%E6%88%B7%E5%85%B7%E6%9C%89%20sudo%20%E6%9D%83%E9%99%90\">2.\u786e\u4fdd\u975e root \u7528\u6237\u5177\u6709 sudo \u6743\u9650<\/h5>\n<p>\u5728&nbsp;CentOS&nbsp;\u548c&nbsp;Red Hat&nbsp;\u4e0a\uff0c\u4ee5 root \u8eab\u4efd\u767b\u5f55\uff0c\u4f7f\u7528&nbsp;usermod&nbsp;\u547d\u4ee4\u5c06\u7528\u6237\u6dfb\u52a0\u5230 wheel \u7ec4\uff08wheel \u7ec4\u662f\u7528\u4e8e\u6388\u4e88\u7528\u6237&nbsp;sudo&nbsp;\u6743\u9650\u7684\u6807\u51c6\u7ec4\uff09\uff1a<\/p>\n<p>usermod -aG wheel &lt;username&gt;<\/p>\n<p>Ubuntu&nbsp;\u4f7f\u7528 sudo \u7ec4\u6765\u7ba1\u7406 sudo \u7528\u6237\uff1a<\/p>\n<p>usermod -aG sudo &lt;username&gt;<\/p>\n<p>\u6bd4\u5982\uff0c\u5728CentOS7.9\u4e0b\u5c06\u4e0a\u9762\u521b\u5efa\u7684 imoonrong \u7528\u6237\u6dfb\u52a0\u5230 wheel \u7ec4\uff1a<\/p>\n<p>[root@DBKF9HIS ~]# usermod -aG wheel imoonrong<\/p>\n<p># \u6dfb\u52a0\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u67e5\u770b\u7528\u6237\u5c5e\u6027<\/p>\n<p>[root@DBKF9HIS ~]# id imoonrong<br \/>\nuid=1003(imoonrong) gid=1003(imoonrong) \u7ec4=1003(imoonrong),10(wheel)<br \/>\n[root@DBKF9HIS ~]#&nbsp;<\/p>\n<h5 id=\"3.%E5%90%AF%E7%94%A8%E5%9F%BA%E4%BA%8E%E5%AF%86%E9%92%A5%E7%9A%84%20SSH%20%E8%BA%AB%E4%BB%BD%E9%AA%8C%E8%AF%81\">3.\u542f\u7528\u57fa\u4e8e\u5bc6\u94a5\u7684 SSH \u8eab\u4efd\u9a8c\u8bc1<\/h5>\n<p>\u5bc6\u7801\u88ab\u7834\u89e3\u3001\u66b4\u529b\u7834\u89e3\u6216\u6cc4\u9732\u662f\u653b\u51fb\u8005\u83b7\u53d6\u7cfb\u7edf\u8bbf\u95ee\u6743\u9650\u7684\u975e\u5e38\u5e38\u89c1\u7684\u65b9\u5f0f\u3002<\/p>\n<p>\u542f\u7528\u57fa\u4e8e\u5bc6\u94a5\u7684SSH\u8ba4\u8bc1\u975e\u5e38\u91cd\u8981\uff0c\u8fd9\u6837\u5728\u7981\u7528\u57fa\u4e8e\u5bc6\u7801\u7684\u8ba4\u8bc1\u65f6\uff0c\u5b83\u4ecd\u7136\u53ef\u4ee5\u6b63\u5e38\u5de5\u4f5c\u3002<\/p>\n<p>\u5982\u679c\u6709\u4eba\u5728\u542f\u7528\u4e86\u57fa\u4e8e\u5bc6\u94a5\u8ba4\u8bc1\u5e76\u7981\u7528\u4e86\u57fa\u4e8e\u5bc6\u7801\u8ba4\u8bc1\u7684SSH\u8fdc\u7a0b\u8bbf\u95ee\u7cfb\u7edf\u4e0a\u83b7\u53d6\u4e86\u670d\u52a1\u5668\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\uff0c\u90a3\u4e48\u8fd9\u4e9b\u88ab\u76d7\u7684\u5bc6\u7801\u5c06\u65e0\u6cd5\u518d\u8ba9\u4ed6\u4eec\u8bbf\u95ee\u8be5\u670d\u52a1\u5668\u3002<\/p>\n<p>\u901a\u8fc7\u542f\u7528\u57fa\u4e8e\u5bc6\u94a5\u7684\u8ba4\u8bc1\uff0c\u53ef\u4ee5\u5927\u5927\u964d\u4f4eSSH\u88ab\u5229\u7528\u7684\u98ce\u9669&amp;#x<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb832\u6b21\uff0c\u70b9\u8d5e16\u6b21\uff0c\u6536\u85cf16\u6b21\u3002\u5b89\u88c5Linux\u670d\u52a1\u5668\u540e\uff0c\u5fc5\u987b\u505a\u4e00\u4e9b\u914d\u7f6e\u4ee5\u786e\u4fdd\u4ee5\u786e\u4fdd\u60a8\u7684Linux\u670d\u52a1\u5668\u7684\u5b89\u5168\u6027\uff0c\u76ee\u524d\u6700\u6d41\u884c\u7684\u4e24\u4e2aLinuxUbuntu\u548c\u3002\u4e0b\u9762\u4ee5\u5b83\u4eec\u4e3a\u4f8b\uff0c\u8bf4\u660e\u670d\u52a1\u5668\u5b89\u88c5\u7cfb\u7edf\u540e\u5e94\u8be5\u8fdb\u884c\u7684\u52a0\u56fa\u64cd\u4f5c\u3002root \u7528\u6237\u662f\u4e07\u80fd\u7684\uff0c\u4f46\u5e76\u4e0d\u603b\u662f\u9700\u8981 root \u6743\u9650\u3002root \u4e5f\u662f\u51e0\u4e4e\u6240\u6709Linux\u7cfb\u7edf\u4e0a\u7684\u6709\u6548\u7528\u6237\u540d\uff0c\u8fd9\u610f\u5473\u7740\u5982\u679c\u542f\u7528\u4e86\u8fdc\u7a0b\u8eab\u4efd\u8ba4\u8bc1\uff0c\u5219\u653b\u51fb\u8005\u7684\u4e00\u534a\u5de5\u4f5c\u5c31\u5df2\u7ecf\u5b8c\u6210\u4e86\uff0c\u5373\u83b7\u53d6\u6709\u6548\u7528\u6237\u540d\u3002\u6b64\u5916\uff0c\u5982\u679c\u653b\u51fb\u8005\u80fd\u591f\u4ee5root\u8eab\u4efd\u767b\u5f55\uff0c\u4ed6\u4eec\u5c31\u4e0d\u9700\u8981\u8fdb\u4e00\u6b65\u7684\u6743\u9650\u6765\u5728\u7cfb\u7edf\u4e0a\u6267\u884c\u4efb\u4f55\u64cd\u4f5c\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,43,44],"topic":[],"class_list":["post-43566","post","type-post","status-publish","format-standard","hentry","category-server","tag-linux","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5b89\u88c5 Linux \u670d\u52a1\u5668\u540e\u8981\u505a\u7684 12 \u4ef6\u4e8b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\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.wsisp.com\/helps\/43566.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5b89\u88c5 Linux \u670d\u52a1\u5668\u540e\u8981\u505a\u7684 12 \u4ef6\u4e8b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb832\u6b21\uff0c\u70b9\u8d5e16\u6b21\uff0c\u6536\u85cf16\u6b21\u3002\u5b89\u88c5Linux\u670d\u52a1\u5668\u540e\uff0c\u5fc5\u987b\u505a\u4e00\u4e9b\u914d\u7f6e\u4ee5\u786e\u4fdd\u4ee5\u786e\u4fdd\u60a8\u7684Linux\u670d\u52a1\u5668\u7684\u5b89\u5168\u6027\uff0c\u76ee\u524d\u6700\u6d41\u884c\u7684\u4e24\u4e2aLinuxUbuntu\u548c\u3002\u4e0b\u9762\u4ee5\u5b83\u4eec\u4e3a\u4f8b\uff0c\u8bf4\u660e\u670d\u52a1\u5668\u5b89\u88c5\u7cfb\u7edf\u540e\u5e94\u8be5\u8fdb\u884c\u7684\u52a0\u56fa\u64cd\u4f5c\u3002root \u7528\u6237\u662f\u4e07\u80fd\u7684\uff0c\u4f46\u5e76\u4e0d\u603b\u662f\u9700\u8981 root \u6743\u9650\u3002root \u4e5f\u662f\u51e0\u4e4e\u6240\u6709Linux\u7cfb\u7edf\u4e0a\u7684\u6709\u6548\u7528\u6237\u540d\uff0c\u8fd9\u610f\u5473\u7740\u5982\u679c\u542f\u7528\u4e86\u8fdc\u7a0b\u8eab\u4efd\u8ba4\u8bc1\uff0c\u5219\u653b\u51fb\u8005\u7684\u4e00\u534a\u5de5\u4f5c\u5c31\u5df2\u7ecf\u5b8c\u6210\u4e86\uff0c\u5373\u83b7\u53d6\u6709\u6548\u7528\u6237\u540d\u3002\u6b64\u5916\uff0c\u5982\u679c\u653b\u51fb\u8005\u80fd\u591f\u4ee5root\u8eab\u4efd\u767b\u5f55\uff0c\u4ed6\u4eec\u5c31\u4e0d\u9700\u8981\u8fdb\u4e00\u6b65\u7684\u6743\u9650\u6765\u5728\u7cfb\u7edf\u4e0a\u6267\u884c\u4efb\u4f55\u64cd\u4f5c\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/43566.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-12T23:36:10+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/43566.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/43566.html\",\"name\":\"\u5b89\u88c5 Linux \u670d\u52a1\u5668\u540e\u8981\u505a\u7684 12 \u4ef6\u4e8b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-06-12T23:36:10+00:00\",\"dateModified\":\"2025-06-12T23:36:10+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/43566.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/43566.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/43566.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5b89\u88c5 Linux \u670d\u52a1\u5668\u540e\u8981\u505a\u7684 12 \u4ef6\u4e8b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5b89\u88c5 Linux \u670d\u52a1\u5668\u540e\u8981\u505a\u7684 12 \u4ef6\u4e8b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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.wsisp.com\/helps\/43566.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5b89\u88c5 Linux \u670d\u52a1\u5668\u540e\u8981\u505a\u7684 12 \u4ef6\u4e8b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb832\u6b21\uff0c\u70b9\u8d5e16\u6b21\uff0c\u6536\u85cf16\u6b21\u3002\u5b89\u88c5Linux\u670d\u52a1\u5668\u540e\uff0c\u5fc5\u987b\u505a\u4e00\u4e9b\u914d\u7f6e\u4ee5\u786e\u4fdd\u4ee5\u786e\u4fdd\u60a8\u7684Linux\u670d\u52a1\u5668\u7684\u5b89\u5168\u6027\uff0c\u76ee\u524d\u6700\u6d41\u884c\u7684\u4e24\u4e2aLinuxUbuntu\u548c\u3002\u4e0b\u9762\u4ee5\u5b83\u4eec\u4e3a\u4f8b\uff0c\u8bf4\u660e\u670d\u52a1\u5668\u5b89\u88c5\u7cfb\u7edf\u540e\u5e94\u8be5\u8fdb\u884c\u7684\u52a0\u56fa\u64cd\u4f5c\u3002root \u7528\u6237\u662f\u4e07\u80fd\u7684\uff0c\u4f46\u5e76\u4e0d\u603b\u662f\u9700\u8981 root \u6743\u9650\u3002root \u4e5f\u662f\u51e0\u4e4e\u6240\u6709Linux\u7cfb\u7edf\u4e0a\u7684\u6709\u6548\u7528\u6237\u540d\uff0c\u8fd9\u610f\u5473\u7740\u5982\u679c\u542f\u7528\u4e86\u8fdc\u7a0b\u8eab\u4efd\u8ba4\u8bc1\uff0c\u5219\u653b\u51fb\u8005\u7684\u4e00\u534a\u5de5\u4f5c\u5c31\u5df2\u7ecf\u5b8c\u6210\u4e86\uff0c\u5373\u83b7\u53d6\u6709\u6548\u7528\u6237\u540d\u3002\u6b64\u5916\uff0c\u5982\u679c\u653b\u51fb\u8005\u80fd\u591f\u4ee5root\u8eab\u4efd\u767b\u5f55\uff0c\u4ed6\u4eec\u5c31\u4e0d\u9700\u8981\u8fdb\u4e00\u6b65\u7684\u6743\u9650\u6765\u5728\u7cfb\u7edf\u4e0a\u6267\u884c\u4efb\u4f55\u64cd\u4f5c\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/43566.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-06-12T23:36:10+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/43566.html","url":"https:\/\/www.wsisp.com\/helps\/43566.html","name":"\u5b89\u88c5 Linux \u670d\u52a1\u5668\u540e\u8981\u505a\u7684 12 \u4ef6\u4e8b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-06-12T23:36:10+00:00","dateModified":"2025-06-12T23:36:10+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/43566.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/43566.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/43566.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5b89\u88c5 Linux \u670d\u52a1\u5668\u540e\u8981\u505a\u7684 12 \u4ef6\u4e8b"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/43566","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=43566"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/43566\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=43566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=43566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=43566"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=43566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}