exe.dev
exe.dev
Section titled “exe.dev”目標:在 exe.dev VM 上執行 OpenClaw Gateway,可透過以下方式從您的筆記型電腦存取:https://<vm-name>.exe.xyz
本頁面假設使用 exe.dev 預設的 exeuntu 映像檔。如果您選擇了不同的發行版,請相應地對應套件。
初學者快速路徑
Section titled “初學者快速路徑”- https://exe.new/openclaw
- 視需要填入您的驗證金鑰/權杖
- 點擊您 VM 旁邊的「Agent」並等待 Shelley 完成佈建
- 開啟
https://<vm-name>.exe.xyz/並貼上您的 gateway 權杖以進行驗證 - 使用
openclaw devices approve <requestId>批准任何待處理的裝置配對請求
- exe.dev 帳戶
ssh exe.dev存取 exe.dev 虛擬機的權限(選用)
使用 Shelley 自動安裝
Section titled “使用 Shelley 自動安裝”Shelley 是 exe.dev 的代理程式,可以使用我們的提示立即安裝 OpenClaw。使用的提示如下:
Set up OpenClaw (https://docs.openclaw.ai/install) on this VM. Use the non-interactive and accept-risk flags for openclaw onboarding. Add the supplied auth or token as needed. Configure nginx to forward from the default port 18789 to the root location on the default enabled site config, making sure to enable Websocket support. Pairing is done by "openclaw devices list" and "openclaw devices approve <request id>". Make sure the dashboard shows that OpenClaw's health is OK. exe.dev handles forwarding from port 8000 to port 80/443 and HTTPS for us, so the final "reachable" should be <vm-name>.exe.xyz, without port specification.1) 建立 VM
Section titled “1) 建立 VM”從您的裝置:
ssh exe.dev new然後連線:
ssh <vm-name>.exe.xyz提示:讓此 VM 保持 有狀態。OpenClaw 將狀態儲存在 ~/.openclaw/ 和 ~/.openclaw/workspace/ 下。
2) 安裝先決條件(在 VM 上)
Section titled “2) 安裝先決條件(在 VM 上)”sudo apt-get updatesudo apt-get install -y git curl jq ca-certificates openssl3) 安裝 OpenClaw
Section titled “3) 安裝 OpenClaw”執行 OpenClaw 安裝腳本:
curl -fsSL https://openclaw.ai/install.sh | bash4) 設定 nginx 將 OpenClaw 代理至連接埠 8000
Section titled “4) 設定 nginx 將 OpenClaw 代理至連接埠 8000”使用以下內容編輯 /etc/nginx/sites-enabled/default
server { listen 80 default_server; listen [::]:80 default_server; listen 8000; listen [::]:8000;
server_name _;
location / { proxy_pass http://127.0.0.1:18789; proxy_http_version 1.1;
# WebSocket support proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade";
# Standard proxy headers proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme;
# Timeout settings for long-lived connections proxy_read_timeout 86400s; proxy_send_timeout 86400s; }}5) 存取 OpenClaw 並授予權限
Section titled “5) 存取 OpenClaw 並授予權限”存取 https://<vm-name>.exe.xyz/(請參閱入門流程中的 Control UI 輸出)。如果提示進行驗證,請貼上 VM 上 gateway.auth.token 中的權杖(使用 openclaw config get gateway.auth.token 檢索,或使用 openclaw doctor --generate-gateway-token 產生)。使用 openclaw devices list 和 openclaw devices approve <requestId> 批准裝置。如果不確定,請從瀏覽器使用 Shelley!
遠端存取由 exe.dev 的驗證處理。預設情況下,來自連接埠 8000 的 HTTP 流量會透過電子郵件驗證轉發到 https://<vm-name>.exe.xyz。
npm i -g openclaw@latestopenclaw doctoropenclaw gateway restartopenclaw health指南:更新