Giáo trình tự học miễn phí · Dịch vụ hỗ trợ theo nhu cầu.
2. Cài đặt OpenClaw Server trên Local & Cloud VPS (Docker & Systemd Service)
Triển khai OpenClaw Server chạy ngầm 24/7 trên máy tính cá nhân hoặc máy chủ Ubuntu VPS bằng Docker Compose và cấu hình Nginx Reverse Proxy an toàn.
# docker-compose.yml - CỤM DỊCH VỤ OPENCLAW SERVER CHUẨN PRODUCTION
version: '3.8'
services:
openclaw-core:
image: openclaw/openclaw:2026.8.2
container_name: openclaw_server
restart: unless-stopped
ports:
- '127.0.0.1:8181:8181'
environment:
- OPENCLAW_HOST=0.0.0.0
- OPENCLAW_PORT=8181
- OPENCLAW_SECRET_KEY=AITG_SuperSecretToken2026
- DATABASE_PATH=/data/openclaw.db
- WORKSPACE_DIR=/data/workspace
volumes:
- ./data:/data
- ./workspace:/data/workspace
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:8181/api/health']
interval: 30s
timeout: 10s
retries: 3
🚀 Khởi Chạy & Kiểm Tra Trạng Thái Server
Sau khi lưu file docker-compose.yml, chạy lệnh:
docker compose up -d
curl http://localhost:8181/api/healthKết quả trả về JSON {"status": "healthy", "version": "2026.8.2"} chứng minh OpenClaw Server đã sẵn sàng nhận lệnh.
Thực hành và tự đánh giá
Tạo thư mục openclaw/ trên máy tính hoặc VPS của bạn, khởi chạy container và dùng trình duyệt truy cập vào http://localhost:8181 để xem màn hình quản trị ban đầu.
AI Tinh Gọn hỗ trợ khảo sát hiện trạng, kèm 1-1 on-premise bảo mật dữ liệu, setup hạ tầng riêng và xuất hóa đơn VAT hợp pháp cho doanh nghiệp.
Tiến độ tự học lưu trên trình duyệt này. Chỉ đánh dấu khi đã kiểm tra sản phẩm thực hành.