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」,然後等待…
- ???
- 完成
- 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 device 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/?token=YOUR-TOKEN-FROM-TERMINAL(請參閱入門時的 Control UI 輸出)。使用 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指南:更新