* Thu Sep 25 2025 Jean-Philippe Pialasse <jpp@koozali.org> 8.11.1-1.sme

- first release for Rocky 8 SME 11
This commit is contained in:
2025-09-25 17:06:27 -04:00
parent 1548998d1c
commit d996e75cf4

View File

@@ -8,7 +8,10 @@ echo "disabling and removing SELinux"
sed -i -e 's/rhgb quiet/selinux=0/g' /boot/grub2/grub.cfg
sed -i -e 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
setenforce 0
dnf remove selinux-policy-targeted -y 1>/dev/null
dnf remove selinux-policy-targeted setroubleshoot-server -y 1>/dev/null
echo "copy of current network config in root/rocky2sme-prenetwork"
ip address > /root/rocky2sme-prenetwork ; ip route >>/root/rocky2sme-prenetwork
echo "##########################################################################"
echo "setting dnf repo for SME Server"
@@ -36,11 +39,23 @@ rm /etc/yum.repos.d/Rocky*.repo -rf
echo "##########################################################################"
echo "dnf set modules:"
dnf module switch-to php:remi-8.4 -y
dnf module switch-to mariadb:10.5 -y
dnf module switch-to python36:3.6 -y
dnf module enable redis:remi-7.2 -y
dnf module enable httpd:2.4 -y
dnf module switch-to -y php:remi-8.4
#dnf module switch-to -y imariadb:10.5
dnf module disable mariadb
dnf module switch-to -y python36:3.6
dnf module enable -y redis:remi-7.2
dnf module enable -y httpd:2.4
dnf module enable -y perl:5.26
dnf module enable -y perl-DBD-MySQL:4.046
dnf module enable -y perl-DBD-SQLite:1.58
dnf module enable -y perl-DBI:1.641
dnf module enable -y perl-IO-Socket-SSL:2.066
dnf module enable -y perl-libwww-perl:6.34
dnf module enable -y squid:4
dnf module enable -y container-tools:rhel8
dnf module enable -y nginx:1.14
dnf module enable -y freeradius:3.0
echo "##########################################################################"
echo "dnf install, installing SME Server ... this may take a while:"
@@ -149,3 +164,9 @@ echo "##########################################################################
echo "you just have to issue a '/sbin/e-smith/signal-event reboot'; or simply 'reboot' and enjoy your SME"
echo "But before that, are you sure you have added a working SSH key to ~/.ssh/authorized_keys ?"
echo "##########################################################################"
# some fixup to have a minimal working system
/usr/bin/systemctl restart network wan tinydns dnscache dnscache.forwarder dhcpd
/usr/bin/systemctl restart httpd-e-smith smanager
# fix radiusd not starting
/sbin/e-smith/ignal-event smeserver-radiusd-update