🛠️ Server Ops / 服务器运维
Full-stack server operations guide. Configure, deploy, and troubleshoot Linux servers from scratch. 全栈服务器运维指南。从零开始配置、部署、排查 Linux 服务器。
What I Can Do / 能做什么
| Service / 服务 | Description / 说明 | Value / 含金量 |
|---|---|---|
| 🚀 Initial Setup / 环境初始化 | New server setup: SSH, firewall, basic tools / 新服务器到手配置 | High |
| 🌐 Web Deploy / 网站部署 | Nginx/Caddy + SSL + domain / 反向代理+证书+域名 | High |
| 🐳 Docker Management / Docker 管理 | Install, Compose, container monitoring / 安装编排监控 | High |
| 🔒 Security Hardening / 安全加固 | SSH, fail2ban, firewall, audit / 防火墙+入侵检测 | High |
| 📊 Monitoring / 监控搭建 | Netdata, Uptime Kuma, health checks / 监控告警 | Medium |
| 🗄️ Database / 数据库管理 | MySQL/PostgreSQL install, backup, optimize / 安装备份优化 | High |
| 🔄 Migration / 迁移服务 | Move sites/databases between servers / 跨服务器迁移 | High |
| ☁️ Proxy / 代理配置 | v2ray reverse proxy setup / 翻墙代理配置 | Medium |
Quick Start / 快速上手
5-Minute Server Check / 新服务器5分钟检查
# Check system / 检查系统信息
cat /etc/os-release && uname -a && free -h && df -h
# Update system / 更新系统
apt update && apt upgrade -y
# Create user / 创建普通用户
adduser deploy && usermod -aG sudo deploy
# Install basics / 安装基础工具
apt install -y curl wget git vim htop ufw fail2ban
One-Click Docker / 一行装Docker
curl -fsSL https://get.docker.com | sh
usermod -aG docker $USER
Security First / 安全第一
| Priority / 优先级 | Action / 措施 | Time / 耗时 |
|---|---|---|
| ⭐ Basic | Change SSH port, disable password, enable firewall / 改端口禁密码开防火墙 | 10min |
| ⭐⭐ Standard | + fail2ban, auto-updates, audit logs / 入侵检测自动更新 | 30min |
| ⭐⭐⭐ Hardened | + rootkit scanner, AIDE, Docker security / 根工具扫描完整性检查 | 1h |
Common Pitfalls / 常见坑
- Port conflict / 端口冲突 →
lsof -i :PORTorss -tlnp | grep PORT - SSL cert issue / 证书问题 → Certbot needs port 80/443 open
- nginx config error → Always run
nginx -tbefore reload - Docker can't reach host → Use
host.docker.internalor172.17.0.1 - Process dies after SSH disconnect → Use systemd, pm2, or tmux/screen
Debug Checklist / 排查清单
- Is the process running?
systemctl statusordocker ps - Is it listening?
ss -tlnp | grep PORT - Can you reach locally?
curl localhost:PORT - Firewall blocking? Check
ufw statusor cloud security groups - Proxy misconfigured? Check nginx logs:
/var/log/nginx/error.log - DNS correct?
dig domain.comornslookup
Paid Actions / 付费服务 💰
Available via openclaw-paid-actions (USDC / Solana):
| Action / 服务 | Price / 价格 | Description / 说明 |
|---|---|---|
| Server Setup / 服务器初始化 | $5 USDC | Initialize a new server from scratch |
| Website Deploy / 网站部署 | $10 USDC | Nginx + SSL + domain setup |
| Security Audit / 安全审计 | $3 USDC | Security check + fix recommendations |
📞 Contact / 联系方式
QQ: 3292957
Email: snowdu@gmail.com
QR Code for WeChat / QQ: see
assets/qr-contact.pngin this skill package 微信/QQ 二维码见本技能包assets/qr-contact.png文件
For paid services, contact me directly / 需要付费服务请直接联系
