การตั้งค่าเริ่มต้น
SSH ไปยังเซิร์ฟเวอร์ของคุณ:
ssh root@<SERVER_IP>
รันการออนบอร์ดดิ้งและติดตั้ง daemon:
openclaw onboard --install-daemon
การเข้าถึงระยะไกลที่ปลอดภัย
จากเครื่องท้องถิ่นของคุณ ให้สร้างอุโมงค์ SSH ไปยังเซิร์ฟเวอร์:
ssh -L 18789:localhost:18789 root@<SERVER_IP>
จากนั้นเปิดเบราว์เซอร์ของคุณแล้วไปที่: http://localhost:18789
วิ่ง openclaw dashboard บนเซิร์ฟเวอร์เพื่อรับ URL และโทเค็นที่ถูกต้อง
ไฟล์และไดเรกทอรีที่สำคัญ
- ไดเร็กทอรีการกำหนดค่า:
/root/.openclaw/ - ไฟล์การกำหนดค่าหลัก:
/root/.openclaw/openclaw.json - ไดเร็กทอรีพื้นที่ทำงาน:
/root/.openclaw/workspace/
คำสั่งที่มีประโยชน์ที่สุด
สถานะและสุขภาพ:
openclaw status # Show channel health and recent session recipients
openclaw health # Fetch gateway health
openclaw doctor # Health checks + quick fixes
ส่วนต่อประสานกับผู้ใช้:
openclaw dashboard # Open browser-based control UI (token required)
openclaw tui # Open terminal UI connected to Gateway
บันทึก:
openclaw logs --follow # Tail gateway logs
openclaw logs --level debug # Debug-level logs
เกตเวย์ / โหนด:
openclaw gateway restart # Restart gateway
openclaw nodes list # List paired node hosts
การกำหนดค่า:
openclaw configure # Interactive setup wizard
openclaw config edit # Edit config manually
ปลั๊กอิน:
openclaw plugins list # List installed plugins
openclaw plugins update --all # Update all plugins
หน่วยความจำและเซสชัน:
openclaw memory summary # Summarize memory usage
openclaw sessions list # List stored conversation sessions
ความปลอดภัย:
openclaw security audit # Run local config & security checks