{"id":115111,"date":"2026-10-11T07:41:04","date_gmt":"2026-10-10T23:41:04","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/115111.html"},"modified":"2026-10-11T07:41:04","modified_gmt":"2026-10-10T23:41:04","slug":"%e5%86%85%e7%bd%91%e6%9c%8d%e5%8a%a1%e5%99%a8-openclaw-%e9%83%a8%e7%bd%b2-webui-%e5%86%85%e7%bd%91%e7%9b%b4%e8%bf%9e-%e6%9c%ac%e5%9c%b0%e6%a8%a1%e5%9e%8b%e6%8e%a5%e5%85%a5-%e5%85%a8%e6%b5%81","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/115111.html","title":{"rendered":"\u5185\u7f51\u670d\u52a1\u5668 OpenClaw \u90e8\u7f72 + WebUI \u5185\u7f51\u76f4\u8fde + \u672c\u5730\u6a21\u578b\u63a5\u5165 \u5168\u6d41\u7a0b\u6559\u7a0b"},"content":{"rendered":"<p>\u6458\u8981&#xff1a;\u672c\u6587\u9762\u5411\u5185\u7f51 Ubuntu \u670d\u52a1\u5668&#xff0c;\u5b8c\u6574\u8bb2\u89e3 OpenClaw \u7684\u91cd\u88c5\u90e8\u7f72\u3001\u672c\u5730\u6a21\u578b\u63a5\u5165\u4e0e WebUI \u5185\u7f51\u76f4\u8fde\u5168\u6d41\u7a0b\u3002\u5185\u5bb9\u5305\u62ec&#xff1a;\u5907\u4efd\u65e7\u914d\u7f6e\u3001\u505c\u6b62\u670d\u52a1\u5e76\u91cd\u88c5\u3001\u624b\u5199 models.providers \u914d\u7f6e\u63a5\u5165\u672c\u5730\u6a21\u578b\u4ee3\u7406&#xff08;freellmapi\/auto&#xff09;\u3001\u4ee5 systemd \u7528\u6237\u670d\u52a1\u542f\u52a8 Gateway&#xff0c;\u4ee5\u53ca\u901a\u8fc7 Gateway \u539f\u751f TLS \u81ea\u7b7e\u8bc1\u4e66\u5b9e\u73b0\u5c40\u57df\u7f51\u5185\u5176\u4ed6\u7535\u8111\u76f4\u63a5\u8bbf\u95ee Control UI\u3002\u6587\u7ae0\u91cd\u70b9\u5256\u6790\u4e86\u4e24\u4e2a\u6700\u5bb9\u6613\u8e29\u7684\u5751\u2014\u2014\u81ea\u5b9a\u4e49 Provider \u7684 input\/cost \u5b57\u6bb5\u683c\u5f0f\u6821\u9a8c\u5931\u8d25&#xff0c;\u4ee5\u53ca\u65b0\u8bbe\u5907\u8bbf\u95ee Control UI \u65f6\u7684\u914d\u5bf9\u5ba1\u6279\u6d41\u7a0b&#xff0c;\u5e76\u7ed9\u51fa\u5e38\u89c1\u95ee\u9898\u6392\u67e5\u5bf9\u7167\u8868&#xff0c;\u5e2e\u52a9\u8bfb\u8005\u5c11\u8d70\u5f2f\u8def\u3001\u4e00\u6b65\u5230\u4f4d\u5b8c\u6210\u90e8\u7f72\u3002<\/p>\n<h3>1. \u65b9\u6848\u80cc\u666f\u4e0e\u67b6\u6784<\/h3>\n<p>\u76ee\u6807<\/p>\n<ul>\n<li>\u670d\u52a1\u5668\u4e0a\u5df2\u5b89\u88c5\u8fc7 OpenClaw&#xff0c;\u9700\u91cd\u88c5\u5230\u5e72\u51c0\u72b6\u6001\u3002<\/li>\n<li>\u63a5\u5165\u672c\u5730\u6a21\u578b\u4ee3\u7406&#xff08;\u672c\u6587\u793a\u4f8b\u4e3a freellmapi&#xff0c;\u76d1\u542c 127.0.0.1:31415&#xff0c;\u63d0\u4f9b OpenAI \u517c\u5bb9\u7684 \/v1 \u63a5\u53e3&#xff0c;\u5185\u542b 206 \u4e2a\u6a21\u578b&#xff0c;\u5176\u4e2d auto \u4e3a\u81ea\u52a8\u8def\u7531\u6a21\u578b&#xff09;\u3002<\/li>\n<li>\u5c40\u57df\u7f51\u5185\u5176\u4ed6\u7535\u8111&#xff08;Windows \u7b49&#xff09;\u80fd\u901a\u8fc7\u5185\u7f51 IP \u76f4\u63a5\u8bbf\u95ee WebUI&#xff08;Control UI&#xff09;&#xff0c;\u65e0\u9700 SSH \u96a7\u9053\u3002<\/li>\n<\/ul>\n<p>\u67b6\u6784\u56fe<\/p>\n<p>flowchart TD<br \/>\n    A[\u6d4f\u89c8\u5668: https:\/\/192.168.1.107:18789] &#8212; HTTPS TLS \u81ea\u7b7e\u8bc1\u4e66 &#8211;&gt; B[OpenClaw Gateway \u7aef\u53e3 18789 TLS \u7ec8\u6b62]<br \/>\n    B &#8212; http:\/\/127.0.0.1:31415\/v1 OpenAI \u517c\u5bb9 &#8211;&gt; C[\u672c\u5730\u6a21\u578b\u4ee3\u7406 freellmapi]<br \/>\n    C &#8212; \u4e0a\u6e38\u6a21\u578b\u670d\u52a1 &#8211;&gt; D[\u6a21\u578b\u63a8\u7406]<\/p>\n<p>\u5173\u952e\u7ed3\u8bba&#xff08;\u5148\u770b&#xff0c;\u5c11\u8d70\u5f2f\u8def&#xff09;<\/p>\n<li>OpenClaw \u7684 Control UI \u53ea\u5141\u8bb8\u5728\u201c\u5b89\u5168\u4e0a\u4e0b\u6587\u201d&#xff08;HTTPS \u6216 localhost&#xff09;\u4e0b\u5de5\u4f5c\u3002\u76f4\u63a5\u7528 http:\/\/\u5185\u7f51IP:18789 \u8bbf\u95ee\u4f1a\u62a5 control ui requires device identity (use HTTPS or localhost secure context)&#xff0c;\u4e14 token \u8ba4\u8bc1\u65e0\u6cd5\u66ff\u4ee3\u8be5\u9650\u5236\u3002\u5fc5\u987b\u5f00 HTTPS\u3002<\/li>\n<li>OpenClaw Gateway \u539f\u751f\u652f\u6301 TLS \u7ec8\u6b62&#xff08;gateway.tls&#xff09;&#xff0c;\u4e0d\u9700\u8981\u989d\u5916\u88c5 nginx\u3002<\/li>\n<li>\u65b0\u8bbe\u5907\u9996\u6b21\u8bbf\u95ee Control UI \u4f1a\u8fdb\u5165\u8bbe\u5907\u914d\u5bf9\u6d41\u7a0b&#xff0c;\u9700\u8981\u5728\u670d\u52a1\u5668\u7aef\u6279\u51c6&#xff08;openclaw devices approve&#xff09;&#xff0c;\u5426\u5219\u63d0\u793a pairing required: device is not approved yet\u3002<\/li>\n<li>\u81ea\u5b9a\u4e49\u6a21\u578b Provider \u7684 models[].input \/ models[].cost \u5b57\u6bb5\u683c\u5f0f\u8981\u6c42\u4e25\u683c&#xff0c;\u683c\u5f0f\u4e0d\u5bf9\u4f1a\u5bfc\u81f4\u914d\u7f6e\u6821\u9a8c\u5931\u8d25&#xff08;\u8be6\u89c1\u7b2c 5 \u8282&#xff09;\u3002<\/li>\n<h3>2. \u524d\u7f6e\u51c6\u5907<\/h3>\n<h4>2.1 \u670d\u52a1\u5668\u73af\u5883<\/h4>\n<p># \u67e5\u770b\u7cfb\u7edf\u7248\u672c<br \/>\ncat \/etc\/os-release<br \/>\nuname -a<br \/>\n\u786e\u8ba4 Node \/ npm&#xff08;\u672c\u6587\u4f7f\u7528 nvm \u5b89\u88c5\u7684 Node v24.19.0&#xff09;<br \/>\nnode -v<br \/>\nnpm -v<br \/>\n\u67e5\u770b openclaw \u662f\u5426\u5df2\u5168\u5c40\u5b89\u88c5\u53ca\u7248\u672c<br \/>\nwhich openclaw<br \/>\nopenclaw &#8211;version<\/p>\n<h4>2.2 \u786e\u8ba4\u672c\u5730\u6a21\u578b\u4ee3\u7406<\/h4>\n<p># \u786e\u8ba4\u672c\u5730\u6a21\u578b\u4ee3\u7406\u76d1\u542c<br \/>\nss -tlnp | grep 31415<br \/>\n\u67e5\u770b\u53ef\u7528\u6a21\u578b&#xff08;\u786e\u8ba4\u6709 auto \/ claude-sonnet-4-5 \u7b49&#xff09;<br \/>\ncurl -s http:\/\/127.0.0.1:31415\/v1\/models -H &#034;Authorization: Bearer &lt;your-api-key&gt;&#034; | head -c 2000<\/p>\n<h3>3. \u5907\u4efd\u65e7\u914d\u7f6e<\/h3>\n<p>\u91cd\u88c5\u524d\u52a1\u5fc5\u5907\u4efd ~\/.openclaw \u76ee\u5f55&#xff0c;\u907f\u514d\u4e22\u5931\u539f\u6709 gateway token\u3001\u8bbe\u5907\u3001workspace \u7b49&#xff1a;<\/p>\n<p>cp -r ~\/.openclaw ~\/.openclaw.bak.$(date &#043;%Y%m%d)<br \/>\ndu -sh ~\/.openclaw.bak.$(date &#043;%Y%m%d)<\/p>\n<p>\u5907\u4efd\u540e\u7528 cat ~\/.openclaw\/openclaw.json \u8bb0\u5f55\u539f\u6709\u5173\u952e\u914d\u7f6e&#xff08;gateway token\u3001\u7aef\u53e3\u7b49&#xff09;&#xff0c;\u4f5c\u4e3a\u91cd\u88c5\u540e\u5bf9\u6bd4\u57fa\u7ebf\u3002<\/p>\n<h3>4. \u505c\u6b62\u670d\u52a1\u5e76\u91cd\u88c5 OpenClaw<\/h3>\n<h4>4.1 \u67e5\u770b\u73b0\u6709 gateway \u670d\u52a1<\/h4>\n<p>OpenClaw \u5b89\u88c5\u4e3a systemd \u7528\u6237\u670d\u52a1\u65f6&#xff0c;\u670d\u52a1\u540d\u4e3a openclaw-gateway.service&#xff1a;<\/p>\n<p>export XDG_RUNTIME_DIR&#061;\/run\/user\/$(id -u)<br \/>\nsystemctl &#8211;user list-unit-files | grep -i openclaw<br \/>\nsystemctl &#8211;user status openclaw-gateway | head -8<br \/>\n\u786e\u8ba4\u662f\u5426\u5f00\u673a\u81ea\u542f&#xff08;Linger&#xff09;<br \/>\nloginctl show-user $USER | grep Linger<\/p>\n<h4>4.2 \u505c\u6b62\u670d\u52a1\u5e76\u5378\u8f7d\u65e7\u7248\u672c<\/h4>\n<p>export XDG_RUNTIME_DIR&#061;\/run\/user\/$(id -u)<br \/>\nsystemctl &#8211;user stop openclaw-gateway<br \/>\nsystemctl &#8211;user is-active openclaw-gateway   # \u5e94\u8f93\u51fa inactive<br \/>\n\u6e05\u7406\u53ef\u80fd\u6b8b\u7559\u7684\u524d\u53f0\u8fdb\u7a0b<br \/>\npkill -f &#034;openclaw&#034; 2&gt;\/dev\/null<br \/>\n\u5378\u8f7d\u65e7\u5168\u5c40\u5305&#xff08;\u9700\u52a0\u8f7d nvm \u73af\u5883&#xff09;<br \/>\nsource ~\/.nvm\/nvm.sh<br \/>\nnpm uninstall -g openclaw<\/p>\n<h4>4.3 \u5b89\u88c5\u6700\u65b0\u7248<\/h4>\n<p>source ~\/.nvm\/nvm.sh<br \/>\nnpm install -g openclaw&#064;latest<br \/>\nopenclaw &#8211;version   # \u786e\u8ba4\u7248\u672c<\/p>\n<p>\u82e5 npm \u63d0\u793a allow-scripts \u672a\u6267\u884c install \u811a\u672c&#xff0c;\u53ef\u6267\u884c\u4e00\u6b21 npm install -g &#8211;allow-scripts&#061;openclaw,&#064;google\/genai,protobufjs,tree-sitter-bash\u3002<\/p>\n<h3>5. \u914d\u7f6e\u672c\u5730\u6a21\u578b Provider&#xff08;\u63a5\u5165 auto&#xff09;<\/h3>\n<h4>5.1 \u4e3a\u4ec0\u4e48\u4e0d\u8d70\u4ea4\u4e92\u5f0f onboard<\/h4>\n<p>openclaw onboard \u4ea4\u4e92\u5f0f\u5411\u5bfc\u5728 SSH \u4f1a\u8bdd\u4e2d\u5bb9\u6613\u5361\u4f4f\u3002\u63a8\u8350\u76f4\u63a5\u624b\u5199 models.providers \u914d\u7f6e&#xff0c;\u4e00\u6b65\u5230\u4f4d\u3002<\/p>\n<h4>5.2 \u914d\u7f6e JSON \u6a21\u677f<\/h4>\n<p>\u5728 ~\/.openclaw\/openclaw.json \u4e2d\u52a0\u5165&#xff1a;<\/p>\n<p>{<br \/>\n  &#034;models&#034;: {<br \/>\n    &#034;providers&#034;: {<br \/>\n      &#034;freellmapi&#034;: {<br \/>\n        &#034;baseUrl&#034;: &#034;http:\/\/127.0.0.1:31415\/v1&#034;,<br \/>\n        &#034;apiKey&#034;: &#034;&lt;your-api-key&gt;&#034;,<br \/>\n        &#034;api&#034;: &#034;openai-completions&#034;,<br \/>\n        &#034;models&#034;: [<br \/>\n          {<br \/>\n            &#034;id&#034;: &#034;auto&#034;,<br \/>\n            &#034;name&#034;: &#034;Auto (router picks the best available model)&#034;,<br \/>\n            &#034;reasoning&#034;: false,<br \/>\n            &#034;contextWindow&#034;: 1048576,<br \/>\n            &#034;contextTokens&#034;: 1048576,<br \/>\n            &#034;maxTokens&#034;: 32768<br \/>\n          }<br \/>\n        ]<br \/>\n      }<br \/>\n    }<br \/>\n  },<br \/>\n  &#034;agents&#034;: {<br \/>\n    &#034;defaults&#034;: {<br \/>\n      &#034;model&#034;: {<br \/>\n        &#034;primary&#034;: &#034;freellmapi\/auto&#034;<br \/>\n      }<br \/>\n    }<br \/>\n  }<br \/>\n}<\/p>\n<p>\u5b57\u6bb5\u8bf4\u660e<\/p>\n<table>\n<tr>\u5b57\u6bb5\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>baseUrl<\/td>\n<td>\u672c\u5730\u6a21\u578b\u4ee3\u7406\u7684 OpenAI \u517c\u5bb9\u5730\u5740&#xff0c;\u672b\u5c3e\u8981\u5e26 \/v1<\/td>\n<\/tr>\n<tr>\n<td>apiKey<\/td>\n<td>\u672c\u5730\u4ee3\u7406\u7684 API key<\/td>\n<\/tr>\n<tr>\n<td>api<\/td>\n<td>\u56fa\u5b9a openai-completions&#xff1b;\u4ec5\u5f53\u540e\u7aef\u652f\u6301 \/v1\/responses \u65f6\u624d\u7528 openai-responses<\/td>\n<\/tr>\n<tr>\n<td>models[].id<\/td>\n<td>\u5728\u4ee3\u7406\u91cc\u771f\u5b9e\u5b58\u5728\u7684\u6a21\u578b ID&#xff08;\u5982 auto&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>contextWindow\/contextTokens\/maxTokens<\/td>\n<td>\u4e0a\u4e0b\u6587\u4e0e\u8f93\u51fa\u4e0a\u9650&#xff0c;\u6309\u4ee3\u7406\u5b9e\u9645\u80fd\u529b\u586b\u5199<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>5.3 \u6821\u9a8c\u4e0e\u8e29\u5751<\/h4>\n<p>\u7528\u5b98\u65b9 CLI \u6821\u9a8c\u914d\u7f6e&#xff1a;<\/p>\n<p>source ~\/.nvm\/nvm.sh<br \/>\nopenclaw config validate<br \/>\n# \u671f\u671b\u8f93\u51fa: Config valid: ~\/.openclaw\/openclaw.json<\/p>\n<p>\u5751 1&#xff1a;input \/ cost \u5b57\u6bb5\u683c\u5f0f<br \/>\n\u82e5\u5728 models[] \u91cc\u5199\u4e86 &#034;input&#034;: 0.0 \u6216 &#034;cost&#034;: 0.0&#xff0c;\u4f1a\u62a5 models.providers.xxx.models.0.input: Invalid input \u5bfc\u81f4\u6574\u4e2a\u914d\u7f6e\u5931\u6548\u3002<br \/>\n\u89e3\u6cd5&#xff1a;\u76f4\u63a5\u5220\u6389\u8fd9\u4e24\u4e2a\u5b57\u6bb5&#xff0c;\u4e0d\u8981\u7ed9\u7b80\u5355\u6570\u503c\u3002<\/p>\n<p>\u5751 2&#xff1a;\u4e0d\u80fd\u7528 config set \u5206\u6b65\u62fc Provider<br \/>\nopenclaw config set models.providers.xxx.baseUrl &#8230; \u4f1a\u505a\u589e\u91cf\u6821\u9a8c&#xff0c;\u56e0\u7f3a\u5c11 models \u5b57\u6bb5\u800c\u62a5 custom model providers must declare models\u3002\u81ea\u5b9a\u4e49 Provider \u5fc5\u987b\u4e00\u6b21\u6027\u5b8c\u6574\u5199\u5165 JSON\u3002<br \/>\n&#xff08;\u53ef\u4ee5\u5148\u7528 base64 \u4f20\u8f93\u811a\u672c\u6539 JSON&#xff0c;\u518d\u7528 config validate \u6821\u9a8c\u3002&#xff09;<\/p>\n<h3>6. \u914d\u7f6e\u5e76\u542f\u52a8 Gateway&#xff08;systemd \u7528\u6237\u670d\u52a1&#xff09;<\/h3>\n<h4>6.1 \u5b89\u88c5\/\u91cd\u5efa\u7cfb\u7edf\u670d\u52a1<\/h4>\n<p>export XDG_RUNTIME_DIR&#061;\/run\/user\/$(id -u)<br \/>\nsource ~\/.nvm\/nvm.sh<br \/>\nopenclaw gateway install &#8211;force   # \u751f\u6210\/\u8986\u76d6 systemd \u7528\u6237\u670d\u52a1<br \/>\nsystemctl &#8211;user daemon-reload<br \/>\nsystemctl &#8211;user enable &#8211;now openclaw-gateway<\/p>\n<h4>6.2 \u786e\u8ba4\u542f\u52a8<\/h4>\n<p>systemctl &#8211;user status openclaw-gateway | head -12<br \/>\n# Active: active (running)<br \/>\n# Main PID: &#8230;<br \/>\n\u67e5\u770b\u65e5\u5fd7&#xff0c;\u786e\u8ba4\u6a21\u578b\u5df2\u52a0\u8f7d<br \/>\njournalctl &#8211;user -u openclaw-gateway &#8211;no-pager -n 20 | grep -iE &#034;agent model|listening|ready&#034;<br \/>\n\u671f\u671b\u770b\u5230: agent model: freellmapi\/auto (thinking&#061;off, fast&#061;off)<\/p>\n<h4>6.3 \u9a8c\u8bc1\u6a21\u578b\u7aef\u5230\u7aef<\/h4>\n<p>curl -s -X POST http:\/\/127.0.0.1:31415\/v1\/chat\/completions \\\\<br \/>\n  -H &#034;Content-Type: application\/json&#034; \\\\<br \/>\n  -H &#034;Authorization: Bearer &lt;your-api-key&gt;&#034; \\\\<br \/>\n  -d &#039;{&#034;model&#034;:&#034;auto&#034;,&#034;messages&#034;:[{&#034;role&#034;:&#034;user&#034;,&#034;content&#034;:&#034;hi&#034;}],&#034;max_tokens&#034;:16}&#039;<\/p>\n<p>\u80fd\u770b\u5230\u8fd4\u56de&#xff08;\u542b _routed_via \u8868\u793a auto \u5b9e\u9645\u8def\u7531\u5230\u7684\u4e0a\u6e38\u6a21\u578b&#xff09;\u5373\u94fe\u8def OK\u3002<\/p>\n<h3>7. \u5185\u7f51 WebUI \u8bbf\u95ee&#xff1a;HTTPS \u76f4\u8fde\u65b9\u6848<\/h3>\n<h4>7.1 \u80cc\u666f&#xff1a;\u4e3a\u4ec0\u4e48\u4e0d\u80fd http:\/\/ \u5185\u7f51 IP \u76f4\u8fde<\/h4>\n<p>Control UI \u9700\u8981\u5b89\u5168\u4e0a\u4e0b\u6587\u624d\u80fd\u751f\u6210\u8bbe\u5907\u8eab\u4efd\u3002\u5c40\u57df\u7f51\u660e\u6587 HTTP&#xff08;http:\/\/192.168.1.107:18789&#xff09;\u4f1a\u88ab\u6d4f\u89c8\u5668\u5224\u5b9a\u4e3a\u975e\u5b89\u5168\u4e0a\u4e0b\u6587&#xff0c;\u62a5\u9519&#xff1a;<\/p>\n<p>control ui requires device identity (use HTTPS or localhost secure context)<\/p>\n<p>token \u8ba4\u8bc1\u4e0d\u80fd\u66ff\u4ee3\u8bbe\u5907\u8eab\u4efd&#xff0c;gateway.controlUi.allowInsecureAuth&#061;true \u4e5f\u53ea\u5728 localhost \u4e0b\u653e\u5bbd\u3002<\/p>\n<h4>7.2 \u65b9\u6848\u5bf9\u6bd4<\/h4>\n<table>\n<tr>\u65b9\u6848\u4f18\u70b9\u7f3a\u70b9<\/tr>\n<tbody>\n<tr>\n<td>SSH \u96a7\u9053&#xff08;ssh -L 18789:127.0.0.1:18789&#xff09;<\/td>\n<td>\u96f6\u6539\u52a8<\/td>\n<td>\u96a7\u9053\u8fdb\u7a0b\u6613\u65ad\u3001\u9700\u4fdd\u6d3b\u3001\u975e\u201c\u76f4\u63a5\u8bbf\u95ee\u201d<\/td>\n<\/tr>\n<tr>\n<td>Gateway \u539f\u751f TLS&#xff08;\u672c\u6587\u65b9\u6848&#xff09;<\/td>\n<td>\u5185\u7f51 IP \u76f4\u8fde\u3001\u65e0\u989d\u5916\u7ec4\u4ef6<\/td>\n<td>\u9700\u81ea\u7b7e\u8bc1\u4e66&#xff08;\u6d4f\u89c8\u5668\u4fe1\u4efb\u4e00\u6b21\u5373\u53ef&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>Tailscale Serve<\/td>\n<td>\u516c\u7f51\u53ef\u8bbf\u95ee\u3001\u8bc1\u4e66\u81ea\u52a8<\/td>\n<td>\u9700\u88c5 Tailscale \u5e76\u767b\u5f55<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u63a8\u8350 Gateway \u539f\u751f TLS&#xff0c;\u6700\u8d34\u5408\u201c\u5185\u7f51 IP \u76f4\u63a5\u8bbf\u95ee\u201d\u8bc9\u6c42\u3002<\/p>\n<h4>7.3 \u751f\u6210\u81ea\u7b7e\u540d\u8bc1\u4e66&#xff08;\u542b IP SAN&#xff09;<\/h4>\n<p>\u8bc1\u4e66\u5fc5\u987b\u5305\u542b\u670d\u52a1\u5668\u7684\u5185\u7f51 IP \u7684 SAN&#xff0c;\u5426\u5219\u6d4f\u89c8\u5668\u4f1a\u62a5\u201c\u8bc1\u4e66\u540d\u79f0\u4e0d\u5339\u914d\u201d\u3002<\/p>\n<p>mkdir -p ~\/.openclaw\/certs &amp;&amp; cd ~\/.openclaw\/certs<br \/>\nopenssl req -x509 -newkey rsa:2048 \\\\<br \/>\n  -keyout server.key -out server.crt \\\\<br \/>\n  -days 3650 -nodes \\\\<br \/>\n  -subj &#034;\/CN&#061;192.168.1.107&#034; \\\\<br \/>\n  -addext &#034;subjectAltName&#061;IP:192.168.1.107,DNS:localhost,DNS:&lt;your-hostname&gt;&#034;<br \/>\nchmod 600 server.key<br \/>\n\u9a8c\u8bc1 SAN<br \/>\nopenssl x509 -in server.crt -noout -ext subjectAltName<br \/>\n\u671f\u671b: IP Address:192.168.1.107, DNS:localhost, DNS:&lt;hostname&gt;<\/p>\n<h4>7.4 \u914d\u7f6e Gateway TLS<\/h4>\n<p>source ~\/.nvm\/nvm.sh<br \/>\nopenclaw config set gateway.tls.enabled true<br \/>\nopenclaw config set gateway.tls.certPath \/home\/&lt;user&gt;\/.openclaw\/certs\/server.crt<br \/>\nopenclaw config set gateway.tls.keyPath  \/home\/&lt;user&gt;\/.openclaw\/certs\/server.key<br \/>\nopenclaw config set gateway.controlUi.allowedOrigins &#039;[&#034;https:\/\/192.168.1.107:18789&#034;,&#034;http:\/\/localhost:18789&#034;,&#034;http:\/\/127.0.0.1:18789&#034;]&#039;<br \/>\nopenclaw config validate<\/p>\n<p>\u8bf4\u660e&#xff1a;gateway.tls \u652f\u6301 enabled \/ certPath \/ keyPath \/ caPath \/ autoGenerate\u3002\u751f\u4ea7\u5efa\u8bae\u7528\u6b63\u5f0f\u8bc1\u4e66&#xff1b;\u5185\u7f51\u81ea\u7b7e\u5373\u53ef\u3002<br \/>\nallowedOrigins \u9700\u8981\u628a\u5b9e\u9645\u8bbf\u95ee\u6765\u6e90\u7684 https:\/\/IP:\u7aef\u53e3 \u52a0\u8fdb\u53bb&#xff0c;\u5426\u5219\u6d4f\u89c8\u5668 CORS\/Origin \u6821\u9a8c\u4f1a\u62e6\u3002<\/p>\n<h4>7.5 \u91cd\u542f\u5e76\u9a8c\u8bc1<\/h4>\n<p>export XDG_RUNTIME_DIR&#061;\/run\/user\/$(id -u)<br \/>\nsystemctl &#8211;user restart openclaw-gateway<br \/>\nsleep 8<br \/>\nsystemctl &#8211;user is-active openclaw-gateway<br \/>\n\u670d\u52a1\u5668\u672c\u5730\u9a8c\u8bc1&#xff08;-k \u5ffd\u7565\u8bc1\u4e66\u6821\u9a8c&#xff09;<br \/>\ncurl -sk -o \/dev\/null -w &#034;%{http_code}\\\\n&#034; https:\/\/127.0.0.1:18789\/       # 200<br \/>\ncurl -sk -o \/dev\/null -w &#034;%{http_code}\\\\n&#034; https:\/\/192.168.1.107:18789\/    # 200<br \/>\n\u660e\u6587 http \u6b64\u65f6\u5e94\u5931\u6548&#xff08;000&#xff09;&#xff0c;\u8bf4\u660e\u5df2\u88ab TLS \u53d6\u4ee3<\/p>\n<h4>7.6 \u672c\u673a&#xff08;Windows&#xff09;\u5bfc\u5165\u8bc1\u4e66&#xff0c;\u6d88\u9664\u6d4f\u89c8\u5668\u8b66\u544a<\/h4>\n<p>\u628a server.crt \u62f7\u5230\u672c\u673a\u540e&#xff1a;<\/p>\n<p># \u5bfc\u5165\u5230\u5f53\u524d\u7528\u6237\u53d7\u4fe1\u4efb\u6839&#xff08;\u65e0\u9700\u7ba1\u7406\u5458&#xff09;<br \/>\nImport-Certificate -FilePath C:\\\\path\\\\to\\\\server.crt -CertStoreLocation Cert:\\\\CurrentUser\\\\Root<\/p>\n<p>\u4e4b\u540e\u6d4f\u89c8\u5668\u8bbf\u95ee https:\/\/192.168.1.107:18789 \u4e0d\u518d\u6709\u8bc1\u4e66\u8b66\u544a\u3002<\/p>\n<h3>8. \u8bbe\u5907\u914d\u5bf9\u5ba1\u6279&#xff08;\u6700\u5bb9\u6613\u8e29\u7684\u5751&#xff09;<\/h3>\n<h4>8.1 \u73b0\u8c61<\/h4>\n<p>HTTPS \u901a\u4e86\u3001token \u586b\u5bf9\u4e86&#xff0c;\u4ecd\u7136\u8fdb\u4e0d\u53bb&#xff0c;\u9875\u9762\/\u65e5\u5fd7\u63d0\u793a&#xff1a;<\/p>\n<p>pairing required: device is not approved yet (requestId: xxxx)<br \/>\nphase&#061;auth_validated<\/p>\n<p>\u542b\u4e49&#xff1a;token \u5df2\u9a8c\u8bc1\u901a\u8fc7&#xff0c;\u4f46\u5f53\u524d\u6d4f\u89c8\u5668\u8bbe\u5907\u5c1a\u672a\u83b7\u5f97\u914d\u5bf9\u6279\u51c6\u3002Control UI \u7684\u6d41\u7a0b\u662f&#xff1a;<\/p>\n<p>flowchart LR<br \/>\n    A[\u65b0\u8bbe\u5907 HTTPS \u9996\u6b21\u8fde\u63a5] &#8212; \u751f\u6210\u914d\u5bf9\u8bf7\u6c42 new pairing &#8211;&gt; B[\u670d\u52a1\u5668\u7aef\u6279\u51c6]<br \/>\n    B &#8212; \u8bbe\u5907\u8fdb\u5165\u5df2\u914d\u5bf9\u8868 &#8211;&gt; C[\u4e4b\u540e\u514d\u5ba1\u6279\u8fde\u63a5]<\/p>\n<h4>8.2 \u67e5\u770b\u5f85\u6279\u51c6\u8bbe\u5907<\/h4>\n<p>source ~\/.nvm\/nvm.sh<br \/>\nopenclaw devices list<\/p>\n<p>\u8f93\u51fa\u5206\u4e3a Pending&#xff08;\u5f85\u6279\u51c6&#xff09;\u4e0e Paired&#xff08;\u5df2\u914d\u5bf9&#xff09;&#xff1a;<\/p>\n<p>Pending (1)<br \/>\n\u2502 Request: 70e5fe9e-218d-4550-8016-eccc19da97e8<br \/>\n\u2502 Device : cea971d9&#8230;<br \/>\n\u2502 IP     : 192.168.1.108<br \/>\n\u2502 Status : new pairing<\/p>\n<h4>8.3 \u6279\u51c6\u8bbe\u5907<\/h4>\n<p>openclaw devices approve 70e5fe9e-218d-4550-8016-eccc19da97e8<br \/>\n# \u8f93\u51fa: Approved cea971d9&#8230; (70e5fe9e-&#8230;)<\/p>\n<p>\u518d openclaw devices list&#xff0c;\u8be5\u8bbe\u5907\u5e94\u8fdb\u5165 Paired \u5217\u8868\u3002<\/p>\n<h4>8.4 \u91cd\u8981\u6ce8\u610f\u70b9<\/h4>\n<p>\u914d\u5bf9\u8bf7\u6c42\u6709\u6709\u6548\u671f\u3002\u82e5\u6279\u51c6\u524d\u8bf7\u6c42\u5df2\u8fc7\u671f&#xff08;No pending device request matches &#8230;&#xff09;&#xff0c;\u9700\u8981\u8ba9\u6d4f\u89c8\u5668\u91cd\u65b0\u6253\u5f00\/\u5237\u65b0 Control UI \u9875\u9762\u751f\u6210\u65b0\u8bf7\u6c42&#xff0c;\u518d\u5728\u6709\u6548\u671f\u5185\u5c3d\u5feb\u6279\u51c6\u3002<br \/>\n\u76f8\u5173\u547d\u4ee4&#xff1a;openclaw devices approve|reject|list|remove|revoke|clear\u3002<\/p>\n<h3>9. \u9a8c\u8bc1\u4e0e\u65e5\u5e38\u4f7f\u7528<\/h3>\n<li>\u6d4f\u89c8\u5668\u6253\u5f00 https:\/\/192.168.1.107:18789\u3002<\/li>\n<li>\u8f93\u5165 gateway token&#xff08;\u6765\u81ea openclaw.json \u7684 gateway.auth.token&#xff09;\u767b\u5f55\u3002<\/li>\n<li>\u8fdb\u5165 Control UI \u540e&#xff0c;\u53ef\u5728 WebChat \u4e2d\u53d1\u6d88\u606f&#xff0c;\u9a8c\u8bc1 freellmapi\/auto \u6b63\u5e38\u63a8\u7406\u3002<\/li>\n<p>\u65e5\u5e38\u72b6\u6001\u68c0\u67e5<\/p>\n<p>openclaw gateway status<br \/>\nopenclaw doctor<br \/>\nopenclaw models list &#8211;provider freellmapi<br \/>\nsystemctl &#8211;user status openclaw-gateway<\/p>\n<h3>10. \u5e38\u89c1\u95ee\u9898\u6392\u67e5<\/h3>\n<table>\n<tr>\u73b0\u8c61\u539f\u56e0\u89e3\u51b3<\/tr>\n<tbody>\n<tr>\n<td>control ui requires device identity<\/td>\n<td>\u7528\u660e\u6587 HTTP \u8bbf\u95ee\u975e localhost<\/td>\n<td>\u6539\u8d70 HTTPS&#xff08;\u672c\u6587\u7b2c 7 \u8282&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>pairing required: device is not approved yet<\/td>\n<td>\u65b0\u8bbe\u5907\u672a\u6279\u51c6<\/td>\n<td>openclaw devices list &#043; approve&#xff08;\u7b2c 8 \u8282&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>models.0.input: Invalid input<\/td>\n<td>input\/cost \u5b57\u6bb5\u683c\u5f0f\u9519\u8bef<\/td>\n<td>\u5220\u9664\u8fd9\u4e24\u4e2a\u5b57\u6bb5\u540e\u91cd\u65b0 config validate<\/td>\n<\/tr>\n<tr>\n<td>custom model providers must declare models<\/td>\n<td>\u7528 config set \u5206\u6b65\u5199 Provider<\/td>\n<td>\u4e00\u6b21\u6027\u5b8c\u6574\u5199\u5165 JSON<\/td>\n<\/tr>\n<tr>\n<td>No pending device request matches<\/td>\n<td>\u914d\u5bf9\u8bf7\u6c42\u5df2\u8fc7\u671f<\/td>\n<td>\u6d4f\u89c8\u5668\u5237\u65b0\u9875\u9762\u91cd\u65b0\u751f\u6210&#xff0c;\u518d\u5c3d\u5feb\u6279\u51c6<\/td>\n<\/tr>\n<tr>\n<td>HTTP 000 \/ \u8fde\u4e0d\u4e0a<\/td>\n<td>gateway \u672a\u542f\u52a8\u6216\u7ed1\u5b9a\u9519\u8bef<\/td>\n<td>systemctl &#8211;user status &#043; journalctl &#8211;user -u openclaw-gateway \u770b\u65e5\u5fd7<\/td>\n<\/tr>\n<tr>\n<td>\u6d4f\u89c8\u5668\u8bc1\u4e66\u8b66\u544a<\/td>\n<td>\u672a\u4fe1\u4efb\u81ea\u7b7e\u8bc1\u4e66<\/td>\n<td>\u5c06 server.crt \u5bfc\u5165\u672c\u673a\u53d7\u4fe1\u4efb\u6839&#xff08;\u7b2c 7.6 \u8282&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>SSH \u96a7\u9053\u65b9\u6848\u6613\u65ad<\/td>\n<td>\u96a7\u9053\u8fdb\u7a0b\u88ab\u6e05\u7406<\/td>\n<td>\u6539\u7528\u672c\u6587 HTTPS \u76f4\u8fde\u65b9\u6848<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u9644&#xff1a;\u6700\u7ec8 openclaw.json \u5173\u952e\u7247\u6bb5&#xff08;\u4f9b\u5bf9\u7167&#xff09;<\/h3>\n<p>{<br \/>\n  &#034;gateway&#034;: {<br \/>\n    &#034;mode&#034;: &#034;local&#034;,<br \/>\n    &#034;auth&#034;: { &#034;mode&#034;: &#034;token&#034;, &#034;token&#034;: &#034;&lt;your-token&gt;&#034; },<br \/>\n    &#034;port&#034;: 18789,<br \/>\n    &#034;bind&#034;: &#034;lan&#034;,<br \/>\n    &#034;controlUi&#034;: { &#034;allowInsecureAuth&#034;: true, &#034;allowedOrigins&#034;: [<br \/>\n      &#034;https:\/\/192.168.1.107:18789&#034;,<br \/>\n      &#034;http:\/\/localhost:18789&#034;,<br \/>\n      &#034;http:\/\/127.0.0.1:18789&#034;<br \/>\n    ]},<br \/>\n    &#034;tls&#034;: {<br \/>\n      &#034;enabled&#034;: true,<br \/>\n      &#034;certPath&#034;: &#034;\/home\/&lt;user&gt;\/.openclaw\/certs\/server.crt&#034;,<br \/>\n      &#034;keyPath&#034;: &#034;\/home\/&lt;user&gt;\/.openclaw\/certs\/server.key&#034;<br \/>\n    }<br \/>\n  },<br \/>\n  &#034;models&#034;: { &#034;providers&#034;: { &#034;freellmapi&#034;: { \/* \u89c1\u7b2c 5 \u8282 *\/ } } },<br \/>\n  &#034;agents&#034;: { &#034;defaults&#034;: { &#034;model&#034;: { &#034;primary&#034;: &#034;freellmapi\/auto&#034; } } }<br \/>\n}<\/p>\n<p>&#xff08;\u5185\u5bb9\u7531AI\u751f\u6210&#xff0c;\u4ec5\u4f9b\u53c2\u8003&#xff09;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6458\u8981&#xff1a;\u672c\u6587\u9762\u5411\u5185\u7f51 Ubuntu \u670d\u52a1\u5668&#xff0c;\u5b8c\u6574\u8bb2\u89e3 OpenClaw \u7684\u91cd\u88c5\u90e8\u7f72\u3001\u672c\u5730\u6a21\u578b\u63a5\u5165\u4e0e WebUI \u5185\u7f51\u76f4\u8fde\u5168\u6d41\u7a0b\u3002\u5185\u5bb9\u5305\u62ec&#xff1a;\u5907\u4efd\u65e7\u914d\u7f6e\u3001\u505c\u6b62\u670d\u52a1\u5e76\u91cd\u88c5\u3001\u624b\u5199 models.providers \u914d\u7f6e\u63a5\u5165\u672c\u5730\u6a21\u578b\u4ee3\u7406&#xff08;freellmapi\/auto&#xff09;\u3001\u4ee5 systemd \u7528\u6237\u670d\u52a1\u542f\u52a8 Gateway&#xff0c;\u4ee5\u53ca\u901a\u8fc7 Gateway \u539f\u751f TLS \u81ea\u7b7e\u8bc1\u4e66\u5b9e\u73b0\u5c40\u57df\u7f51\u5185\u5176\u4ed6\u7535\u8111\u76f4\u63a5\u8bbf\u95ee Cont<\/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":[43,44],"topic":[],"class_list":["post-115111","post","type-post","status-publish","format-standard","hentry","category-server","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>\u5185\u7f51\u670d\u52a1\u5668 OpenClaw \u90e8\u7f72 + WebUI \u5185\u7f51\u76f4\u8fde + \u672c\u5730\u6a21\u578b\u63a5\u5165 \u5168\u6d41\u7a0b\u6559\u7a0b - \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\/115111.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5185\u7f51\u670d\u52a1\u5668 OpenClaw \u90e8\u7f72 + WebUI \u5185\u7f51\u76f4\u8fde + \u672c\u5730\u6a21\u578b\u63a5\u5165 \u5168\u6d41\u7a0b\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6458\u8981&#xff1a;\u672c\u6587\u9762\u5411\u5185\u7f51 Ubuntu \u670d\u52a1\u5668&#xff0c;\u5b8c\u6574\u8bb2\u89e3 OpenClaw \u7684\u91cd\u88c5\u90e8\u7f72\u3001\u672c\u5730\u6a21\u578b\u63a5\u5165\u4e0e WebUI \u5185\u7f51\u76f4\u8fde\u5168\u6d41\u7a0b\u3002\u5185\u5bb9\u5305\u62ec&#xff1a;\u5907\u4efd\u65e7\u914d\u7f6e\u3001\u505c\u6b62\u670d\u52a1\u5e76\u91cd\u88c5\u3001\u624b\u5199 models.providers \u914d\u7f6e\u63a5\u5165\u672c\u5730\u6a21\u578b\u4ee3\u7406&#xff08;freellmapi\/auto&#xff09;\u3001\u4ee5 systemd \u7528\u6237\u670d\u52a1\u542f\u52a8 Gateway&#xff0c;\u4ee5\u53ca\u901a\u8fc7 Gateway \u539f\u751f TLS \u81ea\u7b7e\u8bc1\u4e66\u5b9e\u73b0\u5c40\u57df\u7f51\u5185\u5176\u4ed6\u7535\u8111\u76f4\u63a5\u8bbf\u95ee Cont\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/115111.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-10T23:41:04+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=\"6 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/115111.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/115111.html\",\"name\":\"\u5185\u7f51\u670d\u52a1\u5668 OpenClaw \u90e8\u7f72 + WebUI \u5185\u7f51\u76f4\u8fde + \u672c\u5730\u6a21\u578b\u63a5\u5165 \u5168\u6d41\u7a0b\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-10T23:41:04+00:00\",\"dateModified\":\"2026-10-10T23:41:04+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/115111.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/115111.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/115111.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5185\u7f51\u670d\u52a1\u5668 OpenClaw \u90e8\u7f72 + WebUI \u5185\u7f51\u76f4\u8fde + \u672c\u5730\u6a21\u578b\u63a5\u5165 \u5168\u6d41\u7a0b\u6559\u7a0b\"}]},{\"@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":"\u5185\u7f51\u670d\u52a1\u5668 OpenClaw \u90e8\u7f72 + WebUI \u5185\u7f51\u76f4\u8fde + \u672c\u5730\u6a21\u578b\u63a5\u5165 \u5168\u6d41\u7a0b\u6559\u7a0b - \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\/115111.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5185\u7f51\u670d\u52a1\u5668 OpenClaw \u90e8\u7f72 + WebUI \u5185\u7f51\u76f4\u8fde + \u672c\u5730\u6a21\u578b\u63a5\u5165 \u5168\u6d41\u7a0b\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6458\u8981&#xff1a;\u672c\u6587\u9762\u5411\u5185\u7f51 Ubuntu \u670d\u52a1\u5668&#xff0c;\u5b8c\u6574\u8bb2\u89e3 OpenClaw \u7684\u91cd\u88c5\u90e8\u7f72\u3001\u672c\u5730\u6a21\u578b\u63a5\u5165\u4e0e WebUI \u5185\u7f51\u76f4\u8fde\u5168\u6d41\u7a0b\u3002\u5185\u5bb9\u5305\u62ec&#xff1a;\u5907\u4efd\u65e7\u914d\u7f6e\u3001\u505c\u6b62\u670d\u52a1\u5e76\u91cd\u88c5\u3001\u624b\u5199 models.providers \u914d\u7f6e\u63a5\u5165\u672c\u5730\u6a21\u578b\u4ee3\u7406&#xff08;freellmapi\/auto&#xff09;\u3001\u4ee5 systemd \u7528\u6237\u670d\u52a1\u542f\u52a8 Gateway&#xff0c;\u4ee5\u53ca\u901a\u8fc7 Gateway \u539f\u751f TLS \u81ea\u7b7e\u8bc1\u4e66\u5b9e\u73b0\u5c40\u57df\u7f51\u5185\u5176\u4ed6\u7535\u8111\u76f4\u63a5\u8bbf\u95ee Cont","og_url":"https:\/\/www.wsisp.com\/helps\/115111.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-10T23:41:04+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"6 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/115111.html","url":"https:\/\/www.wsisp.com\/helps\/115111.html","name":"\u5185\u7f51\u670d\u52a1\u5668 OpenClaw \u90e8\u7f72 + WebUI \u5185\u7f51\u76f4\u8fde + \u672c\u5730\u6a21\u578b\u63a5\u5165 \u5168\u6d41\u7a0b\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-10T23:41:04+00:00","dateModified":"2026-10-10T23:41:04+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/115111.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/115111.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/115111.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5185\u7f51\u670d\u52a1\u5668 OpenClaw \u90e8\u7f72 + WebUI \u5185\u7f51\u76f4\u8fde + \u672c\u5730\u6a21\u578b\u63a5\u5165 \u5168\u6d41\u7a0b\u6559\u7a0b"}]},{"@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\/115111","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=115111"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/115111\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=115111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=115111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=115111"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=115111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}