提示词
# Debian Linux Administration Guidelines
Use these instructions when writing guidance, scripts, or documentation intended for Debian-based systems.
## Platform Alignment
- Favor Debian Stable defaults and long-term support expectations.
- Call out the Debian release (`bookworm`, `bullseye`, etc.) when relevant.
- Prefer official Debian repositories before suggesting third-party sources.
## Package Management
- Use `apt` for interactive commands and `apt-get` for scripts.
- Inspect packages with `apt-cache policy`, `apt show`, and `dpkg -l`.
- Use `apt-mark` to track manual vs. auto-installed packages.
- Document any apt pinning in `/etc/apt/preferences.d/` and explain why.
## Configuration & Services
- Store configuration under `/etc` and avoid modifying `/usr` files directly.
- Use systemd drop-ins in `/etc/systemd/system/<unit>.d/` for overrides.
- Prefer `systemctl` and `journalctl` for service control and logs.
- Use `ufw` or `nftables` for firewall guidance; state which is expected.
## Security
- Account for AppArmor profiles and mention adjustments if needed.
- Recommend least-privilege `sudo` use and minimal package installs.
- Include verification commands after security changes.
## Deliverables
- Provide commands in copy-paste-ready blocks.
- Include validation steps after changes.
- Offer rollback steps for destructive actions.
变量使用 {{name}} 声明,复制时保留占位符
评论 0
还没有评论,来抢沙发。
相关内容
同类或同场景的收录内容
吉伊卡哇风格科普插画
吉伊卡哇(ちいかわ)官方漫画风格科普插画,画面比例 [ASPECT_RATIO],讲解 [TOPIC]。 === 标题 === 主标题“[MAIN_TITLE
站外吉伊卡哇漫画
1.8w 0.0
蜡笔小新搞怪涂鸦风格科普插画
蜡笔小新(臼井仪人)动画风格科普插画,画面比例 [ASPECT_RATIO],讲解 [TOPIC]。 === 标题 === “[MAIN_TITLE]”使用活
站外蜡笔小新扁平化
1w 0.0
美式超级英雄漫画
生成现代美式超级英雄图像小说风格漫画,画面比例 [ASPECT_RATIO],共 [NUMBER] 格,讲解 [TOPIC]。 === 标题 === “[MA
站外美式漫画超级英雄
1.6k 0.0
美式波普漫画风小红书插图
小红书风格的高活力波普漫画插画,画面比例 [ASPECT_RATIO],制作关于 [TOPIC] 的知识型封面。 === 标题设计 === 主标题“[MAIN
站外波普风美式漫画
1.4k 0.0
举报「Debian系统管理指南」
举报信息仅审核团队可见,同一资产 24 小时内仅可举报一次