exe.dev
目標:exe.dev VM上でOpenClaw Gatewayを実行し、ラップトップからhttps://<vm-name>.exe.xyz経由でアクセスできるようにします。
このページはexe.devのデフォルトexeuntuイメージを前提としています。別のディストリビューションを選択した場合は、パッケージを適宜マッピングしてください。
初心者向けクイックパス
- https://exe.new/openclaw
- 必要に応じて認証キー/トークンを入力
- VMの横にある「Agent」をクリックして待つ...
- ???
- 完了
必要なもの
- exe.devアカウント
- ssh exe.devで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 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を作成
デバイスから:
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.bot/install.sh | bash
4) OpenClawをポート8000にプロキシするようnginxをセットアップ
/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サポート
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
# 標準プロキシヘッダー
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;
# 長時間接続のタイムアウト設定
proxy_read_timeout 86400s;
proxy_send_timeout 86400s;
}
}
5) OpenClawにアクセスして権限を付与
https://<vm-name>.exe.xyz/?token=YOUR-TOKEN-FROM-TERMINALにアクセスします。デバイスを承認するにはopenclaw devices listとopenclaw device approveを使用します。迷った場合は、ブラウザからShelleyを使用してください!
リモートアクセス
リモートアクセスはexe.devの認証によって処理されます。デフォルトでは、ポート8000からのHTTPトラフィックはメール認証付きでhttps://<vm-name>.exe.xyzに転送されます。
更新
npm i -g openclaw@latest
openclaw doctor
openclaw gateway restart
openclaw health
ガイド:更新