Skip to content

Commit f9d28a4

Browse files
authored
Fix for RHEL
1 parent b137ec6 commit f9d28a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

centos-lamp.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
# Fixed some PowerTools installer (name has changed in repos).
2424
# Initial Let's Encrypt certbot (SSL) integration.
2525
# Tested on RockyLinux 8!
26+
# Tested on RHEL 8!
2627
# v 1.1 - 17.09.2020
2728
# Show summary.
2829
# Adminer is used as default database web administration panel.
@@ -116,7 +117,8 @@ sed --in-place=.bak 's/^SELINUX\=enforcing/SELINUX\=disabled/g' /etc/selinux/con
116117
echo "Add EPEL repo, enable PowerTools packages, installing chrony NTP client, curl, vim, vsftpd, wget, ImageMagick and lynx."
117118
dnf -y -d0 install --nogpgcheck https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
118119
dnf config-manager -q --enable PowerTools
119-
echo "If there is error above about PowerTools - don't worry!"
120+
subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
121+
echo "If there is error above about PowerTools or codeready - don't worry!"
120122
dnf config-manager -q --set-enabled powertools
121123
dnf -y -d0 install yum-utils chrony curl vim vsftpd lynx wget ImageMagick
122124
dnf -y -d0 update

0 commit comments

Comments
 (0)