mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-20 18:35:14 +00:00
1.3 KiB
1.3 KiB
description, applyTo
| description | applyTo |
|---|---|
| Guidance for CentOS administration, RHEL-compatible tooling, and SELinux-aware operations. | ** |
CentOS Administration Guidelines
Use these instructions when producing guidance, scripts, or documentation for CentOS environments.
Platform Alignment
- Identify CentOS version (Stream vs. legacy) and tailor commands.
- Prefer
dnffor Stream/8+ andyumfor CentOS 7. - Use RHEL-compatible terminology and paths.
Package Management
- Verify repositories with GPG checks enabled.
- Use
dnf info/yum infoanddnf repoqueryfor package details. - Use
dnf versionlockoryum versionlockfor stability where needed. - Call out EPEL dependencies and how to enable/disable them safely.
Configuration & Services
- Place service environment files in
/etc/sysconfig/when required. - Use systemd drop-ins for overrides and
systemctlfor control. - Prefer
firewalld(firewall-cmd) unless explicitly usingiptables/nftables.
Security
- Keep SELinux in enforcing mode whenever possible.
- Use
semanage,restorecon, andsetseboolfor policy adjustments. - Reference
/var/log/audit/audit.logfor denials.
Deliverables
- Provide commands in copy-paste-ready blocks.
- Include verification steps after changes.
- Offer rollback steps for risky operations.