{"id":188,"date":"2026-03-21T22:47:21","date_gmt":"2026-03-21T14:47:21","guid":{"rendered":"https:\/\/pa.yingzhi8.cn\/index.php\/2026\/03\/21\/platforms-linux\/"},"modified":"2026-03-21T23:08:51","modified_gmt":"2026-03-21T15:08:51","slug":"platforms-linux","status":"publish","type":"post","link":"https:\/\/pa.yingzhi8.cn\/index.php\/2026\/03\/21\/platforms-linux\/","title":{"rendered":"Linux \u5e94\u7528"},"content":{"rendered":"<h1>Linux \u5e94\u7528<\/h1>\n<p>Gateway \u7f51\u5173\u5728 Linux \u4e0a\u5f97\u5230\u5b8c\u5168\u652f\u6301\u3002<strong>Node \u662f\u63a8\u8350\u7684\u8fd0\u884c\u65f6<\/strong>\u3002<br \/>\n\u4e0d\u5efa\u8bae\u5c06 Bun \u7528\u4e8e Gateway \u7f51\u5173\uff08\u5b58\u5728 WhatsApp\/Telegram bug\uff09\u3002<\/p>\n<p>\u539f\u751f Linux \u914d\u5957\u5e94\u7528\u5df2\u5728\u89c4\u5212\u4e2d\u3002\u5982\u679c\u4f60\u60f3\u5e2e\u52a9\u6784\u5efa\u4e00\u4e2a\uff0c\u6b22\u8fce\u8d21\u732e\u3002<\/p>\n<h2>\u9762\u5411\u521d\u5b66\u8005\u7684\u5feb\u901f\u8def\u5f84\uff08VPS\uff09<\/h2>\n<ol>\n<li>\u5b89\u88c5 Node 24\uff08\u63a8\u8350\uff1bNode 22 LTS\uff0c\u76ee\u524d <code>22.16+<\/code>\uff0c\u4e3a\u4e86\u517c\u5bb9\u6027\u4ecd\u7136\u53ef\u7528\uff09<\/li>\n<li><code>npm i -g openclaw@latest<\/code><\/li>\n<li><code>openclaw onboard --install-daemon<\/code><\/li>\n<li>\u5728\u4f60\u7684\u7b14\u8bb0\u672c\u7535\u8111\u4e0a\u8fd0\u884c\uff1a<code>ssh -N -L 18789:127.0.0.1:18789 &lt;user&gt;@&lt;host&gt;<\/code><\/li>\n<li>\u6253\u5f00 <code>http:\/\/127.0.0.1:18789\/<\/code> \u5e76\u7c98\u8d34\u4f60\u7684\u4ee4\u724c<\/li>\n<\/ol>\n<p>\u5206\u6b65 VPS \u6307\u5357\uff1a<a href=\"\/install\/exe-dev\">exe.dev<\/a><\/p>\n<h2>\u5b89\u88c5<\/h2>\n<ul>\n<li><a href=\"\/start\/getting-started\">\u5165\u95e8\u6307\u5357<\/a><\/li>\n<li><a href=\"\/install\/updating\">\u5b89\u88c5\u4e0e\u66f4\u65b0<\/a><\/li>\n<li>\u53ef\u9009\u6d41\u7a0b\uff1a<a href=\"\/install\/bun\">Bun\uff08\u5b9e\u9a8c\u6027\uff09<\/a>\u3001<a href=\"\/install\/nix\">Nix<\/a>\u3001<a href=\"\/install\/docker\">Docker<\/a><\/li>\n<\/ul>\n<h2>Gateway \u7f51\u5173<\/h2>\n<ul>\n<li><a href=\"\/gateway\">Gateway \u7f51\u5173\u8fd0\u884c\u624b\u518c<\/a><\/li>\n<li><a href=\"\/gateway\/configuration\">\u914d\u7f6e<\/a><\/li>\n<\/ul>\n<h2>Gateway \u7f51\u5173\u670d\u52a1\u5b89\u88c5\uff08CLI\uff09<\/h2>\n<p>\u4f7f\u7528\u4ee5\u4e0b\u4efb\u4e00\u65b9\u5f0f\uff1a<\/p>\n<pre><code>openclaw onboard --install-daemon\n<\/code><\/pre>\n<p>\u6216\u8005\uff1a<\/p>\n<pre><code>openclaw gateway install\n<\/code><\/pre>\n<p>\u6216\u8005\uff1a<\/p>\n<pre><code>openclaw configure\n<\/code><\/pre>\n<p>\u51fa\u73b0\u63d0\u793a\u65f6\uff0c\u9009\u62e9 <strong>Gateway \u670d\u52a1<\/strong>\u3002<\/p>\n<p>\u4fee\u590d\/\u8fc1\u79fb\uff1a<\/p>\n<pre><code>openclaw doctor\n<\/code><\/pre>\n<h2>\u7cfb\u7edf\u63a7\u5236\uff08systemd \u7528\u6237\u5355\u5143\uff09<\/h2>\n<p>OpenClaw \u9ed8\u8ba4\u5b89\u88c5 systemd <strong>\u7528\u6237<\/strong>\u670d\u52a1\u3002\u5bf9\u4e8e\u5171\u4eab\u6216\u59cb\u7ec8\u5728\u7ebf\u7684\u670d\u52a1\u5668\uff0c\u8bf7\u4f7f\u7528 <strong>\u7cfb\u7edf<\/strong> \u670d\u52a1\u3002\u5b8c\u6574\u7684\u5355\u5143\u793a\u4f8b\u548c\u6307\u5bfc<br \/>\n\u8bf7\u53c2\u89c1 <a href=\"\/gateway\">Gateway \u7f51\u5173\u8fd0\u884c\u624b\u518c<\/a>\u3002<\/p>\n<p>\u6700\u5c0f\u8bbe\u7f6e\uff1a<\/p>\n<p>\u521b\u5efa <code>~\/.config\/systemd\/user\/openclaw-gateway[-&lt;profile&gt;].service<\/code>\uff1a<\/p>\n<pre><code>[Unit]\nDescription=OpenClaw Gateway (profile: &lt;profile&gt;, v&lt;version&gt;)\nAfter=network-online.target\nWants=network-online.target\n\n[Service]\nExecStart=\/usr\/local\/bin\/openclaw gateway --port 18789\nRestart=always\nRestartSec=5\n\n[Install]\nWantedBy=default.target\n<\/code><\/pre>\n<p>\u542f\u7528\u5b83\uff1a<\/p>\n<pre><code>systemctl --user enable --now openclaw-gateway[-&lt;profile&gt;].service\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Linux \u5e94\u7528 Gateway \u7f51\u5173\u5728 Linux \u4e0a\u5f97\u5230\u5b8c\u5168\u652f\u6301\u3002Node \u662f\u63a8\u8350\u7684\u8fd0\u884c\u65f6\u3002 \u4e0d\u5efa\u8bae\u5c06 B [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-188","post","type-post","status-publish","format-standard","hentry","category-docs"],"_links":{"self":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/comments?post=188"}],"version-history":[{"count":1,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/188\/revisions"}],"predecessor-version":[{"id":483,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/188\/revisions\/483"}],"wp:attachment":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/media?parent=188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/categories?post=188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/tags?post=188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}