aliyun-operations

阿里云服务器运维操作。包括ECS实例管理、安全组配置、服务部署、日志查看。适用于服务器管理、端口开放、应用部署等任务。

16 stars

Best use case

aliyun-operations is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

阿里云服务器运维操作。包括ECS实例管理、安全组配置、服务部署、日志查看。适用于服务器管理、端口开放、应用部署等任务。

Teams using aliyun-operations should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/aliyun-operations/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/backend/aliyun-operations/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/aliyun-operations/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How aliyun-operations Compares

Feature / Agentaliyun-operationsStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

阿里云服务器运维操作。包括ECS实例管理、安全组配置、服务部署、日志查看。适用于服务器管理、端口开放、应用部署等任务。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 阿里云运维操作 Skill

## 凭证配置

使用环境变量(参见 CREDENTIAL-MANAGEMENT.md):

| 配置项 | 环境变量 |
|--------|----------|
| **AccessKey ID** | `${ALIBABA_ACCESSKEY_ID}` |
| **AccessKey Secret** | `${ALIBABA_SECRET_KEY}` |
| **Region** | `cn-shanghai` |

## 服务器信息

| 项目 | 值 |
|------|-----|
| **ECS 公网 IP** | `139.196.165.140` |
| **SSH 用户** | `root` |
| **宝塔面板** | `https://139.196.165.140:16435/a96c4c2e` |

## 服务端口

| 服务 | 端口 | 路径 |
|------|------|------|
| Cretas 后端 | 10010 | `/www/wwwroot/cretas/` |
| MallCenter 后端 | 7500 | `/www/wwwroot/mall-admin/` |
| Python AI | 8085 | `/www/wwwroot/cretas/ai-service/` |
| MySQL | 3306 | - |
| Redis | 6379 | - |

## 常用运维命令

| 操作 | 命令 |
|------|------|
| SSH 连接 | `ssh root@139.196.165.140` |
| 查看进程 | `ssh root@139.196.165.140 "ps aux \| grep java"` |
| 查看端口 | `ssh root@139.196.165.140 "netstat -tlnp \| grep 10010"` |
| Cretas 日志 | `ssh root@139.196.165.140 "tail -100 /www/wwwroot/cretas/cretas-backend.log"` |
| MallCenter 日志 | `ssh root@139.196.165.140 "tail -100 /www/wwwroot/mall-admin/mall-admin.log"` |

## 部署操作

### Cretas 后端 (端口 10010)

```bash
cd /Users/jietaoxie/my-prototype-logistics/backend-java
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home mvn clean package -DskipTests
scp target/cretas-backend-system-1.0.0.jar root@139.196.165.140:/www/wwwroot/cretas/
ssh root@139.196.165.140 "bash /www/wwwroot/cretas/restart.sh"
curl -s http://139.196.165.140:10010/api/mobile/health
```

### Python AI 服务 (端口 8085)

```bash
cd /Users/jietaoxie/my-prototype-logistics/backend-java/backend-ai-chat
rsync -avz --exclude 'venv' --exclude '__pycache__' scripts/ root@139.196.165.140:/www/wwwroot/cretas/ai-service/
ssh root@139.196.165.140 "cd /www/wwwroot/cretas/ai-service && bash restart-ai.sh"
curl -s http://139.196.165.140:8085/health
```

### MallCenter 后端 (端口 7500)

```bash
cd /Users/jietaoxie/my-prototype-logistics/MallCenter/mall_admin_center
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home mvn clean package -DskipTests -pl logistics-admin -am
scp logistics-admin/target/logistics-admin.jar root@139.196.165.140:/www/wwwroot/mall-admin/
ssh root@139.196.165.140 "bash /www/wwwroot/mall-admin/restart.sh"
```

## 阿里云 CLI

```bash
# 查看安全组
aliyun ecs DescribeSecurityGroups --RegionId cn-shanghai

# 开放端口
aliyun ecs AuthorizeSecurityGroup --RegionId cn-shanghai \
  --SecurityGroupId <sg-id> --IpProtocol tcp --PortRange 8083/8083 --SourceCidrIp 0.0.0.0/0
```

## 健康检查

```bash
curl -s http://139.196.165.140:10010/api/mobile/health   # Cretas
curl -s http://139.196.165.140:7500/actuator/health      # MallCenter
curl -s http://139.196.165.140:8085/health               # AI Service
```

Related Skills

u01482-constraint-compilation-for-healthcare-operations

16
from diegosouzapw/awesome-omni-skill

Operate the "Constraint Compilation for healthcare operations" capability in production for healthcare operations workflows. Use when mission execution explicitly requires this capability and outcomes must be reproducible, policy-gated, and handoff-ready.

Operations & Growth Expert

16
from diegosouzapw/awesome-omni-skill

专注于内容创作(文案、运营稿件)、运营数据分析、以及营销活动策划与设置。帮助项目实现从“可用”到“好用”及“增长”的闭环。

async-operations

16
from diegosouzapw/awesome-omni-skill

Specifies the preferred syntax for asynchronous operations using async/await and onMount for component initialization. This results in cleaner and more readable asynchronous code.

search-operations

16
from diegosouzapw/awesome-omni-skill

Search GitHub - find code, issues, users, and repositories across GitHub using gh CLI

aliyun-cli

16
from diegosouzapw/awesome-omni-skill

阿里云 CLI 操作

Sales Operations Automation

16
from diegosouzapw/awesome-omni-skill

* **Depends on**: None * **Compatible with**: None * **Conflicts with**: None * **Related Skills**: None # Sales Operations Automation

ai-assisted-operations

16
from diegosouzapw/awesome-omni-skill

AI-powered issue operations via gh-models. TRIGGERS - issue summarization, auto-labeling, issue insights.

bgo

10
from diegosouzapw/awesome-omni-skill

Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.

Coding & Development

accessibility-ux-audit

16
from diegosouzapw/awesome-omni-skill

Audit and enhance accessibility and UX across all pages and components.

accessibility-testing

16
from diegosouzapw/awesome-omni-skill

WCAG 2.2 compliance testing, screen reader validation, and inclusive design verification. Use when ensuring legal compliance (ADA, Section 508), testing for disabilities, or building accessible applications for 1 billion disabled users globally.

accessibility-rules

16
from diegosouzapw/awesome-omni-skill

Concise accessibility checklist and practices for components in the repository. Use when implementing UI to ensure keyboard, screen reader, and focus semantics.

accessibility-planning

16
from diegosouzapw/awesome-omni-skill

Plan accessibility compliance - WCAG 2.2, Section 508, EN 301 549, inclusive design principles, audit planning, and remediation strategies.