Line 1,194: |
Line 1,194: |
| ==Bare install test== | | ==Bare install test== |
| {{Warning box|WIP inspired from [[Sme10BuildQueue#Bare install test]]}} | | {{Warning box|WIP inspired from [[Sme10BuildQueue#Bare install test]]}} |
− | install minimal iso for rocky 8 https://download.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.9-x86_64-minimal.iso
| |
| | | |
− | configure network access during installation with option to restore. Configure only root user.
| + | Install minimal iso for rocky 8 |
| | | |
− | install EPEL8 repo.
| + | https://download.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8-latest-x86_64-minimal.iso |
| + | |
| + | Configure network access during installation with option to restore. Configure only root user. |
| + | |
| + | Install EPEL8 repo. |
| dnf install epel-release | | dnf install epel-release |
− | install remi 8 repos
| + | Install remi 8 repos |
| dnf install <nowiki>https://rpms.remirepo.net/enterprise/remi-release-8.rpm</nowiki> | | dnf install <nowiki>https://rpms.remirepo.net/enterprise/remi-release-8.rpm</nowiki> |
| | | |
− | update, and install those package, as the might get handy (nb iptraf is now iptraf-ng)
| + | Update, and install those package, as the might get handy (nb iptraf is now iptraf-ng) |
| dnf update -y | | dnf update -y |
− | dnf install mc htop iftop iptraf screen wget vim | + | dnf install mc htop iftop iptraf screen wget vim ppp traceroute setserial traceroute cyrus-sasl-md5 cyrus-sasl device-mapper-multipath dhcp-client fetchmail ftp iscsi-initiator-utils lm_sensors minicom mt-st sysfsutils tcpdump telnet wodim |
| | | |
− | * disable SELinux | + | * Disable SELinux |
| | | |
| SELinux is enabled by default. We want to disable it for there are a few services (e.g. httpd) that get blocked by SELinux. To check the status of SELinux you can enter the command: | | SELinux is enabled by default. We want to disable it for there are a few services (e.g. httpd) that get blocked by SELinux. To check the status of SELinux you can enter the command: |
Line 1,232: |
Line 1,235: |
| [smedev] | | [smedev] |
| enabled=0 | | enabled=0 |
− | MirrorList=<nowiki>http://mirrorlist.contribs.org/mirrorlist/smedev-11</nowiki> | + | MirrorList=http://mirrorlist.contribs.org/mirrorlist/smedev-11 |
| name=SME Server - dev | | name=SME Server - dev |
| gpgcheck=1 | | gpgcheck=1 |
Line 1,238: |
Line 1,241: |
| [smetest] | | [smetest] |
| enabled=0 | | enabled=0 |
− | MirrorList=<nowiki>http://mirrorlist.contribs.org/mirrorlist/smetest-11</nowiki> | + | MirrorList=http://mirrorlist.contribs.org/mirrorlist/smetest-11 |
| name=SME Server - dev | | name=SME Server - dev |
| gpgcheck=1 | | gpgcheck=1 |
Line 1,244: |
Line 1,247: |
| [smeos] | | [smeos] |
| enabled=0 | | enabled=0 |
− | MirrorList=<nowiki>http://mirrorlist.contribs.org/mirrorlist/smeos-11</nowiki> | + | MirrorList=http://mirrorlist.contribs.org/mirrorlist/smeos-11 |
| name=SME Server - dev | | name=SME Server - dev |
| gpgcheck=1 | | gpgcheck=1 |
Line 1,250: |
Line 1,253: |
| [smeupdates] | | [smeupdates] |
| enabled=0 | | enabled=0 |
− | MirrorList=<nowiki>http://mirrorlist.contribs.org/mirrorlist/smeupdates-11</nowiki> | + | MirrorList=http://mirrorlist.contribs.org/mirrorlist/smeupdates-11 |
| name=SME Server - dev | | name=SME Server - dev |
| gpgcheck=1 | | gpgcheck=1 |
Line 1,258: |
Line 1,261: |
| enabled=1 | | enabled=1 |
| name=sme11-os | | name=sme11-os |
− | baseurl=<nowiki>http://koji.koozali.org/kojifiles/repos/dist-sme11-os/latest/x86_64/</nowiki> | + | baseurl=http://koji.koozali.org/kojifiles/repos/dist-sme11-build<nowiki/>/latest/x86_64/ |
− | gpgcheck=0
| |
− | enablegroups=1
| |
− |
| |
− | [koji-sme11-test]
| |
− | enabled=1
| |
− | name=sme11-test
| |
− | baseurl=<nowiki>http://koji.koozali.org/kojifiles/repos/dist-sme11-testing/latest/x86_64/</nowiki>
| |
− | gpgcheck=0
| |
− | enablegroups=1
| |
− |
| |
− | [koji-sme11-contribs-test]
| |
− | enabled=1
| |
− | name=smecontribs11-test
| |
− | baseurl=<nowiki>http://koji.koozali.org/kojifiles/repos/dist-sme11-contribs-testing/latest/x86_64/</nowiki>
| |
| gpgcheck=0 | | gpgcheck=0 |
| enablegroups=1 | | enablegroups=1 |
Line 1,282: |
Line 1,271: |
| | | |
| install openfusion 8 | | install openfusion 8 |
− | dnf install <nowiki>http://repo.openfusion.net/centos8-x86_64/openfusion-release-0.8-2<nowiki/>.of.el8.noarch.rpm | + | dnf install http://repo.openfusion.net/centos8-x86_64/openfusion-release-0.8-2<nowiki/>.of.el8.noarch.rpm |
| then | | then |
| dnf --enablerepo=* clean all | | dnf --enablerepo=* clean all |
| | | |
| try installing SME11 packages, you might need to enable some repo using --enablerepo=smedev,epel,elrepo ... e.g. | | try installing SME11 packages, you might need to enable some repo using --enablerepo=smedev,epel,elrepo ... e.g. |
− | dnf module disable php:remi-8.2 -y | + | dnf module switch-to php:remi-8.3 -y |
− | dnf module enable php:remi-8.1 -y | + | dnf module switch-to mariadb:10.5 -y |
− | dnf module enable mariadb:10.5 -y
| + | dnf module switch-to python36:3.6 -y |
− | dnf module enable python36:3.6 -y | + | dnf module install php:remi-8.3 |
− | dnf module install php:remi-8.1 | + | dnf install e-smith-manager smeserver-* --enablerepo=koji-sme11-os,epel,remi,remi-safe,of --exclude=smeserver-mariadb* --exclude=smeserver-horde |
− | dnf install smeserver-* --enablerepo=koji-sme11,epel,remi,remi-safe,of --exclude=smeserver-mariadb* | + | {{Warning box|we will drop horde support, so we have no limitation in keeping php 8.1 which is obsolete, I suggest to go with 8.3 EOL 23 Nov 2026}} |
− | a temp fix before smeserver-base-11.0.0-4.el8.sme
| + | et voilà, you have a non functional SME 11 over Rocky 8 minimal. |
− | dnf install network-scripts rsyslog
| + | |
| + | Also remember that the legacy server manager (SM1) is not installed by the above, so, perhaps: |
| | | |
− | et voilà, you have a non functional SME 11 over Rocky 8 minimal.
| + | dnf install e-smith-manager |
| | | |
− | <nowiki>##</nowiki> this needs safer to be done directly on tty, not via ssh: | + | If you then find you get an SM1 login but the login just celars the fields and does not login, then you can fix this with:<syntaxhighlight lang="shell"> |
| + | expand-template /etc/e-smith/web/common//cgi-bin/AuthTKT.cfg |
| + | </syntaxhighlight>'''<nowiki>##</nowiki> This is safer to be done directly on tty, not via ssh:''' |
| | | |
− | latter it will be good to also deactivate networkManager, to leave network service doing the job, but you also need to configure e-smith db for the server first.
| + | Get rid of Network-Manager NOW! |
| systemctl stop NetworkManager | | systemctl stop NetworkManager |
| systemctl disable NetworkManager | | systemctl disable NetworkManager |
Line 1,306: |
Line 1,298: |
| systemctl disable NetworkManager-wait-online.service | | systemctl disable NetworkManager-wait-online.service |
| systemctl start networking | | systemctl start networking |
| + | dnf remove NetworkManager* --noautoremove |
| then you could try, (you might have no network form there), unlink this to avoid root password locking | | then you could try, (you might have no network form there), unlink this to avoid root password locking |
| | | |
Line 1,318: |
Line 1,311: |
| then try to configure using console | | then try to configure using console |
| /sbin/e-smith/console | | /sbin/e-smith/console |
| + | To get better information from Server Manager 2 (this replaces the barfing dinosaur):<syntaxhighlight lang="shell"> |
| + | mkdir -p /etc/e-smith/templates-custom/usr/share/smanager/conf/srvmngr.conf/ |
| + | cat <<EOF > /etc/e-smith/templates-custom/usr/share/smanager/conf/srvmngr.conf/30Other |
| + | modules_dir => 'lib/SrvMngr/Controller', |
| + | webapp => 'smanager', |
| + | mode => 'development', |
| + | debug => 1, |
| + | \} |
| + | EOF |
| + | expand-template /usr/share/smanager/conf/srvmngr.conf |
| + | signal-event smanager-refresh |
| + | </syntaxhighlight> |
| + | |
| + | |
| then to be sure to get sshd back | | then to be sure to get sshd back |
| /sbin/e-smith/db configuration setprop sshd status enabled PermitRootLogin yes access public | | /sbin/e-smith/db configuration setprop sshd status enabled PermitRootLogin yes access public |
Line 1,326: |
Line 1,333: |
| /sbin/e-smith/signal-event remoteaccess-update | | /sbin/e-smith/signal-event remoteaccess-update |
| then you can | | then you can |
− | /sbin/e-smith/signal-event post-upgrade; /sbin/e-smith/signal-event reboot; | + | signal-event post-upgrade; |
− | | + | signal-event reboot; |
| or maybe | | or maybe |
| | | |
− | /sbin/e-smith/signal-event bootstrap-console-save; /sbin/e-smith/signal event-reboot | + | signal-event bootstrap-console-save; |
− | | + | signal-event-reboot |
− | After reboot you should no longer require the full path /sbin/e-smith/signal-event
| + | '''<nowiki>##</nowiki> end of the part better on tty than on sshd''' |
− | | |
− | <nowiki>##</nowiki> end of the part better on tty than on sshd | |
| | | |
| you can also tidy a little | | you can also tidy a little |
Line 1,340: |
Line 1,345: |
| | | |
| | | |
− | you might need to disable sme* repos from there as they are still yet to be created on mirrors. so to help you follow updates you should do
| |
| | | |
| + | you might need avoid using sme* repo except for koji builsdsystem one as long as they are not populated to do so: |
| + | |
| + | <syntaxhighlight lang="shell"> |
| + | mkdir -p /etc/e-smith/templates-custom/etc/dnf/dnf.conf/ |
| + | echo "#rem custom"> /etc/e-smith/templates-custom/etc/dnf/dnf.conf/20main_reposdir |
| + | expand-template /etc/dnf/dnf.conf |
| + | </syntaxhighlight>also you might want to plan ahead and put the koji repo for when you will have deleted the custom template. |
| vim /etc/yum.smerepos.d/koji.repo | | vim /etc/yum.smerepos.d/koji.repo |
| and paste: | | and paste: |
Line 1,347: |
Line 1,358: |
| enabled=1 | | enabled=1 |
| name=sme11-os | | name=sme11-os |
− | baseurl=<nowiki>http://koji.koozali.org/kojifiles/repos/dist-sme11-os/latest/x86_64/</nowiki> | + | baseurl=http://koji.koozali.org/kojifiles/repos/dist-sme11-build<nowiki/>/latest/x86_64/ |
− | gpgcheck=0
| |
− | enablegroups=1
| |
− |
| |
− | [koji-sme11-test]
| |
− | enabled=1
| |
− | name=sme11-test
| |
− | baseurl=<nowiki>http://koji.koozali.org/kojifiles/repos/dist-sme11-test/latest/x86_64/</nowiki>
| |
− | gpgcheck=0
| |
− | enablegroups=1
| |
− |
| |
− | [koji-sme11-contribs-test]
| |
− | enabled=1
| |
− | name=smecontribs11-test
| |
− | baseurl=<nowiki>http://koji.koozali.org/kojifiles/repos/dist-sme11-contribs-buildlatest/x86_64/<nowiki/>
| |
| gpgcheck=0 | | gpgcheck=0 |
| enablegroups=1 | | enablegroups=1 |
| | | |
| | | |
− | from there if you are lucky something went up and you can try to test, report as bug, or event create a patch | + | |
| + | |
| + | |
| + | |
| + | from there if you are lucky it worked and you can try to test , report as bug or even create a patch |
| | | |
| == Notes == | | == Notes == |