exe.dev
Cel: OpenClaw Gateway działający na maszynie wirtualnej exe.dev, dostępny z laptopa pod adresem: https://<vm-name>.exe.xyz
Ta strona zakłada domyślny obraz exe.dev exeuntu. Jeśli wybrałeś inną dystrybucję, dostosuj pakiety odpowiednio.
Szybka ścieżka dla początkujących
- https://exe.new/openclaw
- Wypełnij swój klucz auth/token w razie potrzeby
- Kliknij „Agent” obok swojej maszyny wirtualnej i poczekaj…
- ???
- Profit
Czego potrzebujesz
- Konto exe.dev
- Dostęp
ssh exe.devdo maszyn wirtualnych exe.dev (opcjonalnie)
Automatyczna instalacja z Shelley
Shelley, agent exe.dev, może zainstalować OpenClaw natychmiast za pomocą naszego promptu. Używany prompt wygląda tak:
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.
Instalacja ręczna
1) Utwórz maszynę wirtualną
Ze swojego urządzenia:
ssh exe.dev new
Następnie połącz się:
ssh <vm-name>.exe.xyz
Wskazówka: utrzymuj tę maszynę jako stanową. OpenClaw przechowuje stan w ~/.openclaw/ i ~/.openclaw/workspace/.
2) Zainstaluj wymagania wstępne (na maszynie wirtualnej)
sudo apt-get update
sudo apt-get install -y git curl jq ca-certificates openssl
3) Zainstaluj OpenClaw
Uruchom skrypt instalacyjny OpenClaw:
curl -fsSL https://openclaw.ai/install.sh | bash
4) Skonfiguruj nginx do proxy OpenClaw na port 8000
Edytuj /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) Uzyskaj dostęp do OpenClaw i nadaj uprawnienia
Wejdź na https://<vm-name>.exe.xyz/ (zobacz wynik Control UI z onboardingu). Jeśli pojawi się prośba o autoryzację, wklej
token z gateway.auth.token na maszynie wirtualnej (pobierz za pomocą openclaw config get gateway.auth.token lub wygeneruj
nowy przez openclaw doctor --generate-gateway-token). Zatwierdź urządzenia za pomocą openclaw devices list i
openclaw devices approve <requestId>. W razie wątpliwości użyj Shelley z przeglądarki!
Zdalny dostęp
Zdalny dostęp jest obsługiwany przez uwierzytelnianie exe.dev. Domyślnie
ruch HTTP z portu 8000 jest przekierowywany na https://<vm-name>.exe.xyz
z uwierzytelnianiem przez email.
Aktualizacja
npm i -g openclaw@latest
openclaw doctor
openclaw gateway restart
openclaw health
Instrukcja: Aktualizacja