Skip to content

[CHORE]: Add Rocky Linux setup script variant #2193

@jonpspri

Description

@jonpspri

Summary

The existing scripts/ubuntu-contextforge-setup-script.sh supports Ubuntu (and possibly Debian derivative) operating systems. We need a new variant script to support Rocky Linux 10.0 (and potentially other RHEL-compatible distributions).

Tasks

  • Create scripts/rocky-contextforge-setup-script.sh based on the Ubuntu variant
  • Adapt package installation to use dnf instead of apt
  • Update Docker installation steps for Rocky/RHEL (use Docker CE repo for RHEL-based systems)
  • Adjust OS detection to check for Rocky Linux and RHEL-compatible distros
  • Update firewall configuration if needed (firewalld vs ufw)
  • Test on Rocky Linux 10.0
  • Consider testing on other RHEL derivatives (AlmaLinux, CentOS Stream)

Reference

The Ubuntu script is located at: scripts/ubuntu-contextforge-setup-script.sh

Key differences to account for:

  • Package manager: dnf vs apt
  • Service management: both use systemctl (no change needed)
  • Docker repo setup differs for RHEL-based systems
  • SELinux considerations (if applicable)
  • Different package names (e.g., gnupg2 vs gnupg)

Metadata

Metadata

Assignees

Labels

COULDP3: Nice-to-have features with minimal impact if left out; included if time permitschoreLinting, formatting, dependency hygiene, or project maintenance choresdevopsDevOps activities (containers, automation, deployment, makefiles, etc)

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions