From 8f19a057553bed79f4e228f2d760745abe6662a5 Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 22 Jul 2023 12:53:07 +0800 Subject: [PATCH] Update rhel.sh --- scripts/install/rhel.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install/rhel.sh b/scripts/install/rhel.sh index 9f7c388a4..d5e88133b 100644 --- a/scripts/install/rhel.sh +++ b/scripts/install/rhel.sh @@ -31,6 +31,9 @@ fi echo "install remi source" if [ "$VERSION_ID" == "9" ];then + # dnf upgrade --refresh -y + dnf config-manager --set-enabled crb + echo "install remi start" if [ ! -f /etc/yum.repos.d/remi.repo ];then rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-9.rpm