{"id":34,"date":"2026-03-14T15:30:09","date_gmt":"2026-03-14T07:30:09","guid":{"rendered":"https:\/\/www.7ho.cn\/?p=34"},"modified":"2026-04-23T15:00:56","modified_gmt":"2026-04-23T07:00:56","slug":"%e5%ae%89%e8%a3%85%e9%be%99%ef%bc%88openclaw%ef%bc%89%e8%99%be%e7%ac%94%e8%ae%b0","status":"publish","type":"post","link":"https:\/\/www.7ho.cn\/?p=34","title":{"rendered":"\u5b89\u88c5\u9f99\uff08openclaw\uff09\u867e\u7b14\u8bb0"},"content":{"rendered":"\n<p>\u4f60\u53ef\u4ee5\u76f4\u63a5\u628a\u8fd9\u6bb5\u5185\u5bb9\u6536\u85cf\u6216\u4fdd\u5b58\u5230\u4f60\u7684\u7b14\u8bb0\u91cc\uff0c\u4e0b\u6b21\u6362\u670d\u52a1\u5668\u6216\u91cd\u88c5\u7cfb\u7edf\uff0c\u76f4\u63a5\u6309\u987a\u5e8f\u590d\u5236\u7c98\u8d34\uff0c\u51e0\u5206\u949f\u5c31\u80fd\u65e0\u8111\u901a\u5173\uff01<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udce6 \u4e00\u30011Panel v2.0 \u4e00\u952e\u5b89\u88c5\u795e\u5668<\/h3>\n\n\n\n<p>\u8fd9\u4e2a\u547d\u4ee4\u4f1a\u81ea\u52a8\u62c9\u53d6\u6700\u65b0\u7248\u7684 1Panel \u9762\u677f\uff0c\u4e0d\u5f71\u54cd\u4efb\u4f55\u73b0\u6709\u73af\u5883\uff0c\u662f\u6781\u5176\u4f18\u96c5\u7684\u53ef\u89c6\u5316\u7ba1\u7406\u5de5\u5177\u3002<\/p>\n\n\n\n<p>Bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Ubuntu \u4e00\u952e\u5b89\u88c5 1Panel \u6700\u65b0\u7248\nbash -c \"$(curl -sSL https:\/\/resource.fit2cloud.com\/1panel\/package\/v2\/quick_start.sh)\"\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd13 \u4e8c\u3001Ubuntu \u89e3\u9501 Root \u6700\u9ad8\u6743\u9650\uff08\u4e00\u952e\u7834\u9632\uff09<\/h3>\n\n\n\n<p>Ubuntu \u9ed8\u8ba4\u9501\u6b7b\u4e86 Root \u8fdc\u7a0b\u767b\u5f55\uff0c\u8fd9\u5957\u7ec4\u5408\u62f3\u80fd\u5f3a\u884c\u710a\u5f00\u6700\u9ad8\u6743\u9650\u7684\u5927\u95e8\uff0c\u8ba9\u4f60\u5f7b\u5e95\u544a\u522b\u7e41\u7410\u7684 <code>sudo<\/code>\u3002<\/p>\n\n\n\n<p><strong>1. \u9996\u5148\uff0c\u7ed9 root \u8d26\u53f7\u8bbe\u7f6e\u4e00\u4e2a\u5bc6\u7801\uff1a<\/strong><\/p>\n\n\n\n<p>Bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo passwd root\n<\/code><\/pre>\n\n\n\n<p><em>(\u8f93\u5165\u65f6\u5c4f\u5e55\u4e0d\u4f1a\u663e\u793a\u4efb\u4f55\u5b57\u7b26\uff0c\u76f2\u6253\u4e24\u904d\u5bc6\u7801\u5e76\u56de\u8f66\u5373\u53ef)<\/em><\/p>\n\n\n\n<p><strong>2. \u5f3a\u884c\u4fee\u6539\u5e95\u5c42\u5b89\u5168\u914d\u7f6e\uff08\u76f4\u63a5\u6574\u6bb5\u590d\u5236\u56de\u8f66\uff09\uff1a<\/strong><\/p>\n\n\n\n<p>Bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u5141\u8bb8 Root \u767b\u5f55\nsudo sed -i 's\/^#*PermitRootLogin.*\/PermitRootLogin yes\/' \/etc\/ssh\/sshd_config\n# \u5141\u8bb8\u5bc6\u7801\u8ba4\u8bc1\nsudo sed -i 's\/^#*PasswordAuthentication.*\/PasswordAuthentication yes\/' \/etc\/ssh\/sshd_config\n# \u6e05\u7406\u4e91\u5382\u5546\u7684\u6076\u5fc3\u8986\u76d6\u914d\u7f6e\uff08\u9632\u5751\u5fc5\u5907\uff09\nsudo sed -i 's\/^#*PasswordAuthentication.*\/PasswordAuthentication yes\/' \/etc\/ssh\/sshd_config.d\/*.conf 2&gt;\/dev\/null\n# \u91cd\u542f SSH \u670d\u52a1\u8ba9\u6240\u6709\u914d\u7f6e\u77ac\u95f4\u751f\u6548\nsudo systemctl restart ssh\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83e\udd9e \u4e09\u3001OpenClaw (\u9f99\u867e) \u6838\u5fc3\u7ba1\u7406\u547d\u4ee4<\/h3>\n\n\n\n<p>\u4f5c\u4e3a\u9f99\u867e\u7684\u201c\u9a6f\u517d\u5e08\u201d\uff0c\u8fd9\u51e0\u4e2a\u547d\u4ee4\u662f\u4f60\u65e5\u5e38\u6253\u4ea4\u9053\u6700\u591a\u7684\u3002<\/p>\n\n\n\n<p>Bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u542f\u52a8\u9f99\u867e\u7f51\u5173\uff08\u8ba9 AI \u6b63\u5f0f\u63a5\u5ba2\uff09\nopenclaw gateway\n\n# \u547c\u51fa\u4ea4\u4e92\u5f0f\u914d\u7f6e\u5411\u5bfc\uff08\u6362\u6a21\u578b\u3001\u6362 API Key \u5fc5\u5907\uff09\nopenclaw configure\n\n# \u7cbe\u51c6\u4fee\u6539\u67d0\u4e00\u9879\u914d\u7f6e\uff08\u4ee5\u98de\u4e66\u957f\u8fde\u63a5\u4e3a\u4f8b\uff09\nopenclaw config set channels.feishu.mode \"websocket\"\n\n# \u5f3a\u884c\u5b89\u88c5\u7b2c\u4e09\u65b9\u63d2\u4ef6\uff08\u4ee5\u4f01\u4e1a\u5fae\u4fe1\/\u98de\u4e66\u4e3a\u4f8b\uff09\nopenclaw plugins install openclaw-wecom\n\n# \u6fc0\u6d3b\u5df2\u5b89\u88c5\u7684\u63d2\u4ef6\uff08\u88c5\u5b8c\u5fc5\u987b\u6572\u9192\u5b83\uff09\nopenclaw config set plugins.entries.openclaw-wecom.enabled true\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udee0\ufe0f \u56db\u3001\u6781\u9650\u6392\u9519\u4e0e\u7cfb\u7edf\u62a2\u6551\u547d\u4ee4<\/h3>\n\n\n\n<p>\u5f53\u6211\u4eec\u9047\u5230\u7f51\u7edc\u8d85\u65f6\u3001\u6b7b\u673a\u6216\u8005\u9700\u8981\u6df1\u5165\u5e95\u5c42\u770b\u4ee3\u7801\u65f6\uff0c\u8fd9\u51e0\u4e2a\u547d\u4ee4\u80fd\u6551\u547d\u3002<\/p>\n\n\n\n<p><strong>1. \u66b4\u529b\u6e05\u7406 npm \u7f13\u5b58<\/strong> <em>(\u5f53\u5b89\u88c5\u63d2\u4ef6\u5361\u6b7b\u8d85\u8fc7 2 \u5206\u949f\u62a5\u9519 120000ms \u65f6\uff0c\u7528\u5b83\u6e05\u7a7a\u5783\u573e\u788e\u7247)<\/em><\/p>\n\n\n\n<p>Bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>npm cache clean --force\n<\/code><\/pre>\n\n\n\n<p><strong>2. \u65e0\u89c6\u9650\u5236\uff0c\u5f3a\u884c\u5b89\u88c5\u63d2\u4ef6\uff08\u7ed5\u8fc7\u9f99\u867e\u81ea\u5e26\u7684\u8d85\u65f6\u9650\u5236\uff09<\/strong><\/p>\n\n\n\n<p>Bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/root\/.openclaw\/extensions\nnpm install &lt;\u63d2\u4ef6\u540d\u5b57&gt; --no-audit --no-fund\n<\/code><\/pre>\n\n\n\n<p><strong>3. \u67e5\u770b\u9690\u85cf\u7684 JSON \u914d\u7f6e\u6587\u4ef6<\/strong> <em>(\u5e38\u7528\u4e8e\u68c0\u67e5\u4f60\u7684 API Key \u6216 Token \u5230\u5e95\u6709\u6ca1\u6709\u6210\u529f\u5199\u8fdb\u7cfb\u7edf)<\/em><\/p>\n\n\n\n<p>Bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cat \/root\/.openclaw\/openclaw.json\n<\/code><\/pre>\n\n\n\n<p><strong>4. \u547d\u4ee4\u884c\u6587\u672c\u7f16\u8f91\u5668\uff08\u6781\u5ba2\u7684\u624b\u672f\u5200\uff09<\/strong> <em>(\u5982\u679c\u4e0d\u7528 1Panel \u7684\u7f51\u9875\u7f16\u8f91\uff0c\u5c31\u7528\u8fd9\u4e2a\u5728\u7ec8\u7aef\u91cc\u76f4\u63a5\u6539\u6587\u4ef6)<\/em><\/p>\n\n\n\n<p>Bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/root\/.openclaw\/openclaw.json\n<\/code><\/pre>\n\n\n\n<p><em>(\u7f16\u8f91\u5b8c\u6309 <code>Ctrl+O<\/code> \u56de\u8f66\u4fdd\u5b58\uff0c\u6309 <code>Ctrl+X<\/code> \u9000\u51fa)<\/em><\/p>\n\n\n\n<p><strong>5. \u8fdc\u7a0b\u8fde\u63a5\u670d\u52a1\u5668\uff08\u5728\u4f60\u81ea\u5df1\u7535\u8111\u7684 CMD \u6216 PowerShell \u91cc\u6572\uff09<\/strong><\/p>\n\n\n\n<p>Bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ssh root@\u4f60\u7684\u670d\u52a1\u5668IP\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u6709\u4e86\u8fd9\u4efd\u6b66\u529f\u79d8\u7c4d\uff0c\u4ee5\u540e\u4e0d\u7ba1\u9762\u5bf9\u4ec0\u4e48\u6837\u7684 Linux \u670d\u52a1\u5668\uff0c\u4f60\u90fd\u80fd\u4ee5\u6700\u5feb\u901f\u5ea6\u628a\u5b83\u53d8\u6210\u4f60\u7684\u4e13\u5c5e AI \u5821\u5792\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f60\u53ef\u4ee5\u76f4\u63a5\u628a\u8fd9\u6bb5\u5185\u5bb9\u6536\u85cf\u6216\u4fdd\u5b58\u5230\u4f60\u7684\u7b14\u8bb0\u91cc\uff0c\u4e0b\u6b21\u6362\u670d\u52a1\u5668\u6216\u91cd\u88c5\u7cfb\u7edf\uff0c\u76f4\u63a5\u6309\u987a\u5e8f\u590d\u5236\u7c98\u8d34\uff0c\u51e0\u5206\u949f\u5c31\u80fd\u65e0\u8111\u901a\u5173\uff01 \ud83d\udce6 \u4e00\u30011Panel v2.0 \u4e00\u952e\u5b89\u88c5\u795e\u5668 \u8fd9\u4e2a\u547d\u4ee4\u4f1a\u81ea\u52a8\u62c9\u53d6\u6700\u65b0\u7248\u7684 1Panel \u9762\u677f\uff0c\u4e0d\u5f71\u54cd\u4efb\u4f55\u73b0\u6709\u73af\u5883\uff0c\u662f\u6781\u5176\u4f18\u96c5\u7684\u53ef\u89c6&#8230;<\/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":[],"topic":[],"class_list":["post-34","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.7ho.cn\/index.php?rest_route=\/wp\/v2\/posts\/34","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.7ho.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.7ho.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.7ho.cn\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.7ho.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=34"}],"version-history":[{"count":1,"href":"https:\/\/www.7ho.cn\/index.php?rest_route=\/wp\/v2\/posts\/34\/revisions"}],"predecessor-version":[{"id":35,"href":"https:\/\/www.7ho.cn\/index.php?rest_route=\/wp\/v2\/posts\/34\/revisions\/35"}],"wp:attachment":[{"href":"https:\/\/www.7ho.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=34"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.7ho.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=34"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.7ho.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=34"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.7ho.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftopic&post=34"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}