exe.dev

목표: exe.dev VM에서 OpenClaw 게이트웨이를 실행하고 노트북에서 https://<vm-name>.exe.xyz로 접속합니다.

이 페이지는 exe.dev의 기본 exeuntu 이미지를 기준으로 합니다. 다른 배포판을 선택했다면 패키지를 적절히 매핑하세요.

초보자 빠른 경로

  1. https://exe.new/openclaw
  2. 필요에 따라 인증 키/토큰을 입력합니다
  3. VM 옆의 “Agent”를 클릭하고 기다립니다…
  4. ???
  5. 완성

필요한 것

  • exe.dev 계정
  • exe.dev 가상 머신에 대한 ssh exe.dev 접근 (선택사항)

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 생성

로컬 기기에서:

ssh exe.dev new

이후 접속합니다:

ssh <vm-name>.exe.xyz

팁: 이 VM을 **상태 보존(stateful)**으로 유지하세요. 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) 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 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/에 접속합니다(온보딩에서 출력된 Control UI 참고). 인증을 요구하면 VM의 gateway.auth.token 토큰을 붙여넣습니다(openclaw config get gateway.auth.token으로 확인하거나, openclaw doctor --generate-gateway-token으로 생성). openclaw devices listopenclaw 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

가이드: 업데이트