exe.dev
目標:exe.dev VM 上で OpenClaw Gateway を実行し、ラップトップから https://<vm-name>.exe.xyz 経由でアクセスできるようにすること。
このページでは exe.dev のデフォルト exeuntu イメージを前提としています。別のディストリビューションを選択した場合は、パッケージ名を読み替えてください。
初心者向けクイックパス
- https://exe.new/openclaw
- 必要に応じて認証キー/トークンを入力
- VM の横にある「Agent」をクリックして待機
- ???
- 完成
必要なもの
- exe.dev アカウント
- exe.dev 仮想マシンへの
ssh exe.devアクセス(任意)
Shelley による自動インストール
exe.dev のエージェント Shelley を使えば、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 の作成
デバイスから:
ssh exe.dev new
接続:
ssh <vm-name>.exe.xyz
この VM はステートフルにしてください。OpenClaw は ~/.openclaw/ と ~/.openclaw/workspace/ に状態を保存します。
2) 前提条件のインストール(VM 上)
sudo apt-get update
sudo apt-get install -y git curl jq ca-certificates openssl
3) OpenClaw のインストール
OpenClaw のインストールスクリプトを実行:
curl -fsSL https://openclaw.ai/install.sh | bash
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 へのアクセスと権限付与
https://<vm-name>.exe.xyz/ にアクセスしてください(オンボーディング時にコントロール 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@latest
openclaw doctor
openclaw gateway restart
openclaw health
ガイド:アップデート