{"id":1166,"date":"2024-06-05T20:31:00","date_gmt":"2024-06-05T12:31:00","guid":{"rendered":"https:\/\/cn.raksmart.com\/blog\/host\/4087.html"},"modified":"2024-06-05T20:31:00","modified_gmt":"2024-06-05T12:31:00","slug":"whm%e9%85%8d%e7%bd%ae%e5%ae%89%e5%85%a8%e7%ad%96%e7%95%a5","status":"publish","type":"post","link":"https:\/\/cn.raksmart.com\/blog\/knowledge\/jszc\/1166.html","title":{"rendered":"WHM\u914d\u7f6e\u5b89\u5168\u7b56\u7565"},"content":{"rendered":"<div class=\"entry-content e-content\" itemprop=\"description articleBody\">\n<p>\u4f17\u6240\u5468\u77e5\uff0cWHM\u9762\u677f\u548cCpanel\u9762\u677f\u6709\u6240\u4e0d\u540c\uff0c\u4eca\u5929Raksmart<strong><a href=\"https:\/\/cn.raksmart.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u7f8e\u56fd\u670d\u52a1\u5668<\/a><\/strong>\u7ed9\u5927\u5bb6\u8bb2\u4e00\u4e0bWHM\u5982\u4f55\u914d\u7f6e\u5b89\u5168\u7b56\u7565<\/p>\n<p class=\"has-vivid-red-color has-text-color\"><strong>\u9996\u5148\uff1a\u914d\u7f6e\u5b89\u5168\u7b56\u7565\u754c\u9762\u5141\u8bb8\u60a8\u914d\u7f6e\u5b89\u5168\u7b56\u7565\u8bbe\u7f6e\u548c\u5b89\u5168\u7b56\u7565\u6269\u5c55<\/strong><\/p>\n<p>\u5f53\u60a8\u5c1d\u8bd5\u4ece\u672a\u7ecf\u9a8c\u8bc1\u7684IP\u5730\u5740\u767b\u5f55\u5e76\u6210\u529f\u56de\u7b54\u60a8\u7684\u5b89\u5168\u6027\u95ee\u9898\u65f6\uff0c\u7cfb\u7edf\u4f1a\u81ea\u52a8\u5c06IP\u5730\u5740\u6dfb\u52a0\u5230\u7ecf\u8fc7\u9a8c\u8bc1\u7684IP\u5730\u5740\u5217\u8868\u4e2d\u3002<\/p>\n<p>\u5982\u679c\u60a8\u914d\u7f6e\u81ea\u5df1\u7684\u5b89\u5168\u6027\u95ee\u9898\uff0c\u5219\u7cfb\u7edf\u4f1a\u81ea\u52a8\u5c06\u60a8\u7684IP\u5730\u5740\u6dfb\u52a0\u5230\u7ecf\u8fc7\u9a8c\u8bc1\u7684IP\u5730\u5740\u5217\u8868\u4e2d\u3002<\/p>\n<p><strong>\u5b89\u5168\u653f\u7b56\u9879\u76ee<\/strong><\/p>\n<p>\u9009\u62e9\u4ee5\u4e0b\u590d\u9009\u6846\u4ee5\u5e2e\u52a9\u4fdd\u62a4<strong>\u670d\u52a1\u5668<\/strong>\u5b89\u5168\uff1a<\/p>\n<p>\u5c06\u767b\u5f55\u540d\u9650\u5236\u4e3a\u7ecf\u8fc7\u9a8c\u8bc1\u7684IP\u5730\u5740-\u6b64\u8bbe\u7f6e\u786e\u5b9a\u5f53\u7528\u6237\u4ece\u672a\u7ecf\u9a8c\u8bc1\u7684IP\u5730\u5740\u767b\u5f55\u5176cPanel\uff0cWebmail\u548cWHM\u5e10\u6237\u65f6\uff0c\u662f\u5426\u8981\u6c42\u7528\u6237\u56de\u7b54\u5b89\u5168\u95ee\u9898\u3002\u63a8\u8350\u9605\u8bfb\uff1a<a href=\"https:\/\/cn.raksmart.com\/blog\/knowledge\/jszc\/1153.html\" target=\"_blank\" rel=\"noreferrer noopener\">WHM\u9762\u677f\u5982\u4f55\u521b\u5efa\u8d26\u6237<\/a><\/p>\n<p>\u7528\u6237\u6210\u529f\u56de\u7b54\u6240\u9700\u7684\u5b89\u5168\u6027\u95ee\u9898\u540e\uff0c\u7cfb\u7edf\u4f1a\u81ea\u52a8\u5c06\u7528\u6237\u7684\u5f53\u524dIP\u5730\u5740\u6dfb\u52a0\u5230\u7ecf\u8fc7\u9a8c\u8bc1\u7684IP\u5730\u5740\u5217\u8868\u4e2d\u3002<\/p>\n<p>Raksmart<strong>\u7f8e\u56fd\u670d\u52a1\u5668<\/strong>WHM\u7528\u6237\u53ef\u4ee5\u5728WHM\u7684\u201c\u5b89\u5168\u95ee\u9898\u201d\u754c\u9762\uff08WHM &gt;&gt;\u4e3b\u9875&gt;&gt;\u5b89\u5168\u4e2d\u5fc3&gt;&gt;\u5b89\u5168\u95ee\u9898\uff09\u4e2d\u6dfb\u52a0\u7ecf\u8fc7\u9a8c\u8bc1\u7684IP\u5730\u5740\u5e76\u914d\u7f6e\u5b89\u5168\u95ee\u9898\u3002<\/p>\n<p>\u542f\u7528\u6b64\u8bbe\u7f6e\u540e\uff0cRaksmart<strong>\u7f8e\u56fd\u670d\u52a1\u5668<\/strong>cPanel\u7528\u6237\u53ef\u4ee5\u5728cPanel\u7684\u201c\u5b89\u5168\u7b56\u7565\u201d\u754c\u9762\uff08cPanel &gt;&gt;\u4e3b\u9875&gt;&gt;\u5b89\u5168&gt;&gt;\u5b89\u5168\u7b56\u7565\uff09\u4e2d\u6dfb\u52a0\u7ecf\u8fc7\u9a8c\u8bc1\u7684IP\u5730\u5740\u5e76\u914d\u7f6e\u5b89\u5168\u95ee\u9898\u3002<\/p>\n<p>\u4e24\u56e0\u7d20\u8eab\u4efd\u9a8c\u8bc1\uff1aGoogle Authenticator-\u6b64\u8bbe\u7f6e\u786e\u5b9a\u662f\u5426\u8981\u6c42Raksmart<strong>\u7f8e\u56fd\u670d\u52a1\u5668<\/strong>\u7528\u6237\u53e6\u5916\u8f93\u5165\u667a\u80fd\u624b\u673a\u4e0a\u57fa\u4e8e\u65f6\u95f4\u7684\u4e00\u6b21\u6027\u5bc6\u7801\uff08TOTP\uff09\u5e94\u7528\u7a0b\u5e8f\u751f\u6210\u7684\u5b89\u5168\u4ee3\u7801\u3002<\/p>\n<p class=\"has-vivid-red-color has-text-color\"><strong>\u6ce8\u610f\uff1a<\/strong><\/p>\n<p>\u8981\u914d\u7f6e\u4e24\u56e0\u7d20\u8eab\u4efd\u9a8c\u8bc1\u8bbe\u7f6e\uff0c\u8bf7\u4f7f\u7528WHM\u7684\u4e24\u56e0\u7d20\u8eab\u4efd\u9a8c\u8bc1\u754c\u9762\uff08WHM &gt;&gt;\u4e3b\u9875&gt;&gt;\u5b89\u5168\u4e2d\u5fc3&gt;&gt;\u4e24\u56e0\u7d20\u8eab\u4efd\u9a8c\u8bc1\uff09\u3002<\/p>\n<p>\u5bc6\u7801\u5f3a\u5ea6-\u6b64\u8bbe\u7f6e\u4e3acPanel\uff0cWebmail\u548cWHM\u7528\u6237\u5f3a\u5236\u8bbe\u7f6e\u6700\u4f4e\u5bc6\u7801\u5f3a\u5ea6\u3002<\/p>\n<p class=\"has-vivid-red-color has-text-color\"><strong>\u6ce8\u610f\uff1a<\/strong><\/p>\n<p>\u8981\u4fee\u6539\u6700\u5c0f\u5bc6\u7801\u5f3a\u5ea6\uff0c\u8bf7\u4f7f\u7528WHM\u7684\u5bc6\u7801\u5f3a\u5ea6\u914d\u7f6e\u754c\u9762\uff08WHM &gt;&gt;\u4e3b\u9875&gt;&gt;\u5b89\u5168\u4e2d\u5fc3&gt;&gt;\u5bc6\u7801\u5f3a\u5ea6\u914d\u7f6e\uff09\u3002<\/p>\n<p>\u5bc6\u7801\u4f7f\u7528\u671f\u9650-\u6b64\u8bbe\u7f6e\u5141\u8bb8Raksmart<strong>\u7f8e\u56fd\u670d\u52a1\u5668<\/strong>\u6307\u5b9a\u5141\u8bb8cPanel\uff0cWebmail\u548cWHM\u7528\u6237\u4f7f\u7528\u76f8\u540c\u5bc6\u7801\u7684\u5929\u6570\u3002\u9009\u62e9\u6b64\u590d\u9009\u6846\u540e\uff0c\u5c06\u51fa\u73b0\u201c\u6700\u957f\u5bc6\u7801\u4f7f\u7528\u671f\u9650\uff08\u5929\uff09\u201d\u6587\u672c\u6846\u3002\u8f93\u5165\u5141\u8bb8\u7528\u6237\u4f7f\u7528\u76f8\u540c\u5bc6\u7801\u7684\u6700\u5927\u5929\u6570\u3002\u76f8\u5173\u5185\u5bb9\u8bf7\u9605\u8bfb\uff1a<a href=\"https:\/\/cn.raksmart.com\/blog\/knowledge\/1002.html\" target=\"_blank\" rel=\"noreferrer noopener\">CPANEL\u4e0eWHM\u7684\u533a\u522b<\/a><\/p>\n<p class=\"has-vivid-red-color has-text-color\"><strong>\u5b89\u5168\u7b56\u7565\u6269\u5c55<\/strong><\/p>\n<p>\u8be5\u5b89\u5168\u7b56\u7565\u6269\u5c55\u8bbe\u7f6e\u5e94\u7528\u5b89\u5168\u7b56\u7565\uff0c\u4ee5\u5357\u56fdAPI\u8bf7\u6c42\u548cDNS\u96c6\u7fa4\u8bf7\u6c42\u3002<\/p>\n<p class=\"has-vivid-red-color has-text-color\"><strong>\u8b66\u544a\uff1a<\/strong><\/p>\n<p>\u4e3a\u8fdc\u7a0bAPI\u548cDNS\u7fa4\u96c6\u8bf7\u6c42\u542f\u7528\u201c\u5b89\u5168\u7b56\u7565\u6269\u5c55\u201d\u8bbe\u7f6e\u65f6\uff0c\u5c06\u5f88\u96be\u8bca\u65ad\u95ee\u9898\u3002Raksmart<strong>\u7f8e\u56fd\u670d\u52a1\u5668<\/strong>\u5efa\u8bae\u60a8\u4e0d\u8981\u4e0d\u542f\u7528\u8fd9\u4e9b\u6269\u5c55\uff0c\u9664\u975e\u4f60\u5b8c\u5168\u4e86\u89e3\u4f60\u7684\u8fdc\u7a0bAPI\u7684\u4f7f\u7528\u548cDNS\u96c6\u7fa4\u914d\u7f6e\u3002<\/p>\n<p>\u5982\u679c\u542f\u7528\u4e24\u56e0\u7d20\u8eab\u4efd\u9a8c\u8bc1\uff0cRaksmart<strong>\u7f8e\u56fd\u670d\u52a1\u5668<\/strong>\u5f3a\u70c8\u5efa\u8bae\u60a8\u4e0d\u8981\u542f\u7528\u8fd9\u4e9b\u8bbe\u7f6e\u3002<\/p>\n<p>\u542f\u7528\u4ee5\u4e0b\u8bbe\u7f6e\u53ef\u5e2e\u52a9\u4fdd\u62a4\u670d\u52a1\u5668\u5b89\u5168\uff1a<\/p>\n<p>API\u8bf7\u6c42-\u9009\u4e2d\u6b64\u590d\u9009\u6846\u53ef\u5c06\u5b89\u5168\u7b56\u7565\u9879\u8bbe\u7f6e\u5e94\u7528\u4e8eWHM API\u8bf7\u6c42\u3002\u5982\u679c\u542f\u7528\u6b64\u8bbe\u7f6e\uff0c\u5219\u60a8\u8bbe\u7f6e\u7684\u7b56\u7565\u5c06\u5e94\u7528\u4e8e\u5c1d\u8bd5\u8c03\u7528WHM API\u51fd\u6570\u7684\u4efb\u4f55\u7528\u6237\u3002<\/p>\n<p>DNS\u7fa4\u96c6\u8bf7\u6c42-\u9009\u4e2d\u6b64\u590d\u9009\u6846\u53ef\u5c06\u5b89\u5168\u7b56\u7565\u9879\u8bbe\u7f6e\u5e94\u7528\u4e8eDNS\u7fa4\u96c6\u8bf7\u6c42\u3002\u5982\u679c\u542f\u7528\u6b64\u8bbe\u7f6e\uff0c\u5219\u8bbe\u7f6e\u7684\u7b56\u7565\u5c06\u5e94\u7528\u4e8e\u5c1d\u8bd5\u53d1\u51faDNS\u7fa4\u96c6\u8bf7\u6c42\u7684\u4efb\u4f55\u7528\u6237\u3002<\/p>\n<p class=\"has-vivid-red-color has-text-color\"><strong>\u901a\u8fc7SSH\u7981\u7528\u5b89\u5168\u95ee\u9898<\/strong><\/p>\n<p>\u8981\u901a\u8fc7\u547d\u4ee4\u884c\u7981\u7528\u5b89\u5168\u6027\u95ee\u9898\uff0c\u8bf7\u6267\u884c\u4ee5\u4e0b\u6b65\u9aa4\uff1a<\/p>\n<p>\u4f7f\u7528SSH\u4ee5root\u7528\u6237\u8eab\u4efd\u767b\u5f55\u5230\u670d\u52a1\u5668\u3002<\/p>\n<p>\/var\/cpanel\/cpanel.config\u5728\u9996\u9009\u7684\u6587\u672c\u7f16\u8f91\u5668\u4e2d\u6253\u5f00\u6587\u4ef6\u3002<\/p>\n<p>\u5c06SecurityPolicy::SourceIPCheck\u8bbe\u7f6e\u7684\u503c\u66f4\u6539\u4e3a0\u3002<\/p>\n<p>\u4fdd\u5b58\u5e76\u9000\u51fa\u6587\u4ef6\u3002<\/p>\n<p>\u8fd0\u884c\/scripts\/restartsrv cpanel\u547d\u4ee4\u4ee5\u91cd\u65b0\u542f\u52a8cPanel\uff06WHM\u3002\u66f4\u591a\u5185\u5bb9\u8bf7\u9605\u8bfb\uff1a<a href=\"https:\/\/cn.raksmart.com\/blog\/knowledge\/736.html\" target=\"_blank\" rel=\"noreferrer noopener\">\u4ec0\u4e48\u662f\uff1aCPANEL<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f17\u6240\u5468\u77e5\uff0cWHM\u9762\u677f\u548cCpanel\u9762\u677f\u6709\u6240\u4e0d\u540c\uff0c\u4eca\u5929Raksmart\u7f8e\u56fd\u670d\u52a1\u5668\u7ed9\u5927\u5bb6\u8bb2\u4e00\u4e0bWHM\u5982\u4f55\u2026 <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[975],"class_list":["post-1166","post","type-post","status-publish","format-standard","hentry","category-jszc","tag-whm"],"_links":{"self":[{"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/posts\/1166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/comments?post=1166"}],"version-history":[{"count":0,"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/posts\/1166\/revisions"}],"wp:attachment":[{"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/media?parent=1166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/categories?post=1166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/tags?post=1166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}