exe.dev

목표: exe.dev VM에서 실행되는 OpenClaw Gateway를 노트북에서 https://<vm-name>.exe.xyz로 접근

이 페이지는 exe.dev의 기본 exeuntu 이미지를 가정합니다. 다른 배포판을 선택한 경우, 그에 맞게 패키지를 매핑하세요.

초보자 빠른 경로

  1. https://exe.new/openclaw
  2. 필요에 따라 auth key/token을 입력
  3. VM 옆의 "Agent"를 클릭하고 기다리세요...
  4. ???
  5. 완료

필요한 것

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

Shelley를 사용한 자동 설치

exe.dev의 agent인 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을 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.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 listopenclaw device approve로 기기를 승인합니다. 확실하지 않을 때는 브라우저에서 Shelley를 사용하세요!

원격 접근

원격 접근은 exe.dev의 인증으로 처리됩니다. 기본적으로, 포트 8000의 HTTP 트래픽은 이메일 인증과 함께 https://<vm-name>.exe.xyz로 전달됩니다.

업데이트

npm i -g openclaw@latest
openclaw doctor
openclaw gateway restart
openclaw health

가이드: 업데이트