การตั้งค่าเริ่มต้น
เชื่อมต่อ SSH เข้าสู่เซิร์ฟเวอร์:
ssh root@<SERVER_IP>
รัน onboarding และติดตั้ง daemon:
openclaw onboard --install-daemon
การเข้าถึงระยะไกลแบบปลอดภัย
จากเครื่องของคุณ สร้าง SSH tunnel เพื่อเชื่อมต่อไปยังเซิร์ฟเวอร์:
ssh -L 18789:localhost:18789 root@<SERVER_IP>
จากนั้นเปิดเบราว์เซอร์แล้วไปที่: http://localhost:18789
เรียกใช้ openclaw dashboard บนเซิร์ฟเวอร์ เพื่อดู URL และ token ที่ถูกต้อง
ไฟล์และไดเรกทอรีสำคัญ
- ไดเรกทอรี่การตั้งค่า:
/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