Dopamine AI Prompt Library
Open search
Menu
Submitted by
matt_devops18 prompts

CentOS Administration Guidelines

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

Added Nov 26, 2026

Prompt

centos-administration-guidelines.mdMarkdown · 34 lines · about 300 tokens
# 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 `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.

About this prompt

Content type
Code
Industries
Software Development
Models
GitHub Copilot
Languages
English
Length
34 lines, about 300 tokens
Added
Nov 26, 2026
License
MIT (Copyright GitHub, Inc.)
Request takedown
matt_devops18 prompts
Profile

More from matt_devops

View all

Project Documenter

Generates professional MS Word project documentation with draw.io architecture diagrams and embedded PNG images. Automatically discovers any project's technology stack, architecture, and code structure. Produces Markdown, draw.io diagrams, PNG exports, and .docx output.

Atlassian Requirements to Jira

Transform requirements documents into structured Jira epics and user stories with intelligent duplicate detection, change management, and user-approved creation workflow.

SQL Development

Guidelines for generating SQL statements and stored procedures