mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-20 10:25:13 +00:00
1.5 KiB
1.5 KiB
description, applyTo
| description | applyTo |
|---|---|
| Guidance for Debian-based Linux administration, apt workflows, and Debian policy conventions. | ** |
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
aptfor interactive commands andapt-getfor scripts. - Inspect packages with
apt-cache policy,apt show, anddpkg -l. - Use
apt-markto track manual vs. auto-installed packages. - Document any apt pinning in
/etc/apt/preferences.d/and explain why.
Configuration & Services
- Store configuration under
/etcand avoid modifying/usrfiles directly. - Use systemd drop-ins in
/etc/systemd/system/<unit>.d/for overrides. - Prefer
systemctlandjournalctlfor service control and logs. - Use
ufwornftablesfor firewall guidance; state which is expected.
Security
- Account for AppArmor profiles and mention adjustments if needed.
- Recommend least-privilege
sudouse 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.