Skip to content

Conversation

@gvde
Copy link

@gvde gvde commented Aug 23, 2025

The install script currently only works for RHEL 8 and 9, not for compatible derivates like Alma/Rocky/Oracle Linux.

This update generalizes the script top handle the family as "el8" or "el9".

It doesn't automatically update the system, if updates are pending. Instead it asks the user to do that. Automatically updating the system may have side effects and may require a system reboot, which does not happen automatically. Thus better let the user do it.

EL 9.6 includes the php module for 8.3, EL 8.10 includes mariadb 10.11 and php 8.2.

Instead of manually setting up the epel repository from fixed fedora urls, use the epel-release package included in the distro to set up epel.

Enable the crb repository for the derivates.

Don't start firewalld, if it is not running/active. Some systems do not have firewalld (e.g. it's not included in the cloud images, because the cloud infrastructure does firewalling).

Remove the redundant chcon run. It doesn't make sense to set the directory first to httpd_sys_content_t and then to httpd_sys_rw_content_t. Just set it to httpd_sys_rw_content_t. Nothing is written in between.

@gvde gvde marked this pull request as ready for review October 21, 2025 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant