InstructionMITv1.0.0awesome-copilot

CentOS Administration Guidelines

Guidance for CentOS administration, RHEL-compatible tooling, and SELinux-aware operations.

At a glance

Kind
Instruction · Ananke prompt
Reference
awesome-copilot/centos-linux · ananke://prompt/awesome-copilot/centos-linux@1.0.0
Applies to
**
Files
1 · 1.3 KB
How it's used
Instructions apply automatically to files matching their applyTo glob in GitHub Copilot. For Claude Code, reference the file from CLAUDE.md.

Where it fits

Platform
Ananke PlexusGitHub Copilot
Needs
Nothing (text only)

Facets suggested from the item's own text and tags, not yet reviewed. Facets say where an item is relevant, not that it will run in your setup. How facets work

Checked by Dex

Verified, not self-reported: dex-trove 0.3.16 installed this item into each layout and checked that the tool can load it. Dex collects no download or usage data.

  • GitHub Copilot ✓ loads

Upstream metadata

Self-reported by the item's author; Dex shows it as written.

applyTo**

Documentation

View upstream ↗
Contents

Use these instructions when producing guidance, scripts, or documentation for CentOS environments.

Platform Alignment

  • Identify CentOS version (Stream vs. legacy) and tailor commands.
  • Prefer dnf for Stream/8+ and yum for CentOS 7.
  • Use RHEL-compatible terminology and paths.

Package Management

  • Verify repositories with GPG checks enabled.
  • Use dnf info/yum info and dnf repoquery for package details.
  • Use dnf versionlock or yum versionlock for 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 systemctl for control.
  • Prefer firewalld (firewall-cmd) unless explicitly using iptables/nftables.

Security

  • Keep SELinux in enforcing mode whenever possible.
  • Use semanage, restorecon, and setsebool for policy adjustments.
  • Reference /var/log/audit/audit.log for denials.

Deliverables

  • Provide commands in copy-paste-ready blocks.
  • Include verification steps after changes.
  • Offer rollback steps for risky operations.