nathansteelqoder avatar

Openclaw Complete Deployment Guide

This is a comprehensive deployment guide for running OpenClaw on Alibaba Cloud, with full instructions for connecting it to Feishu, DingTalk, QQ, and Discord. It walks through everything from spinning up an ECS instance to configuring Alibaba's Bailian AI models as the backend, complete with security group rules, authentication tokens, and the ACP protocol setup for agent orchestration. The guide is refreshingly paranoid about security, opening with warnings not to run this on your personal machine since it has filesystem and command execution permissions. If you're deploying OpenClaw in a Chinese enterprise environment or need to wire it into DingTalk's DEAP connector system, this is extremely detailed. The architecture diagrams and configuration snippets are actually helpful.

skills.sh installs
358
last updated
Aug 21, 2026

Install

$ npx -y skills add nathansteelqoder/openclaw-config-qoder-integration --skill openclaw-complete-deployment-guide --agent claude-code

Installs into .claude/skills of the current project.

Files

在阿里云上部署 OpenClaw 完整指南

覆盖阿里云百炼模型配置、飞书 / 钉钉(传统机器人 + DEAP 高级方案)/ QQ / Discord 全平台接入、Qoder CLI 集成,以及高级配置与运维。


⚠️ 安全警告

在开始之前,请务必阅读以下注意事项:

  1. 切勿在个人主力电脑上部署 OpenClaw——它具有高文件系统和命令执行权限
  2. 务必使用云服务器(如阿里云 ECS)进行部署,与本地环境隔离
  3. 保护好你的 API 密钥——使用环境变量或安全保险箱,不要硬编码在代码中
  4. 使用强随机令牌限制 Gateway 访问,避免使用简单密码
  5. 定期轮换凭证——特别是钉钉/飞书/QQ 等平台的应用密钥

使用场景

  • 在阿里云 ECS 服务器上从零部署 OpenClaw AI 助手
  • 通过钉钉(Stream 机器人或 DEAP 高级方案)与 AI 对话
  • 通过飞书、QQ 或 Discord 接入 OpenClaw
  • 配置阿里云百炼 Coding Plan 作为 AI 推理后端
  • 将 Qoder CLI 注册为 ACP Agent,实现钉钉/飞书中的代码开发

示例

# 安装 OpenClaw
curl -fsSL https://clawd.bot/install.sh | bash

# 启动 Gateway
openclaw gateway --port 18789 --verbose

# 交互式配置模型和渠道
openclaw onboard

# 查看所有渠道状态
openclaw channel list

# 查看实时日志
tail -f /tmp/openclaw-gateway.log

注意事项

  • 切勿在本地主力电脑部署,务必使用云服务器(如阿里云 ECS)
  • 钉钉应用必须完成「版本发布」流程,仅保存配置不生效
  • 钉钉 Client Secret、百炼 API Key、QQ 机器人密钥均只显示一次,需立即保存
  • 飞书集成需选择「WebSocket 长连接」模式,不要使用 HTTP 回调
  • 钉钉 DEAP 方案需在同一服务器运行 Connector,确保 18789 端口本地可访问
  • 建议为 Gateway 配置随机强令牌认证(openssl rand -hex 24)

概述

本指南将带你完成一套完整的 OpenClaw 云端部署,实现通过多种 IM 平台与 AI 助手对话,并可选接入 Qoder CLI 进行代码开发。

整体架构:

Sponsors

Details

Repository
github.com/nathansteelqoder/openclaw-config-qoder-integration
Categories
Documentation, CLI & Terminal
First seen
Jun 3, 2026
1mike-coulbourn avatarai-writing-detectionmike-coulbourn/claude-vibesComprehensive AI writing detection patterns and methodology. Provides vocabulary lists, structural patterns, model-specific fingerprints, and false positive pre354skills.sh installs
2cloudwego avatareino-guidecloudwego/eino-extEino framework overview, concepts, and navigation. Use when a user asks general questions about Eino, needs help getting started, wants to understand the archit353skills.sh installs
3wix avatarwds-docswix/skillsWix Design System component reference. Use when building UI with @wix/design-system, choosing components, or checking props and examples. Triggers on "what comp329skills.sh installs
4agricidaniel avatarwiki-retrieveagricidaniel/claude-obsidianHybrid retrieval primitive for the Compound Vault. Replaces the v1.6 static hot→index→drill read order with contextual-prefix + BM25 + cosine-rerank, modeled on323skills.sh installs
5agricidaniel avatarwiki-modeagricidaniel/claude-obsidianMethodology modes for the Compound Vault. Lets the vault declare an organizational style (LYT / PARA / Zettelkasten / Generic) that wiki-ingest, save, and autor321skills.sh installs
6agricidaniel avatarwiki-cliagricidaniel/claude-obsidianDefault vault-mutation transport for claude-obsidian v1.7+. Wraps the Obsidian CLI (Obsidian 1.12+) as the preferred way to read, write, search, and modify vaul317skills.sh installs