Line 98: |
Line 98: |
| | | |
| php-pear-HTTP-Request-1.4.4-16.el8.remi.noarch.rpm | | php-pear-HTTP-Request-1.4.4-16.el8.remi.noarch.rpm |
− | |-
| |
− | |smeserver-horde
| |
− | |wv
| |
− | |
| |
− | |
| |
− | |
| |
| |- | | |- |
| |smeserver-ldap | | |smeserver-ldap |
Line 979: |
Line 973: |
| |cvs smeserver | | |cvs smeserver |
| |- | | |- |
− | |perl(Mojolicious::Plugin::I18N) >= 1.6 | + | |[https://src.koozali.org/smeserver/perl-Mojolicious-Plugin-I18N perl(Mojolicious::Plugin::I18N)] >= 1.6 |
− | | | + | |trevorb |
− | | | + | |builds ok |
− | |cvs smeserver | + | |https://koji.koozali.org/koji/buildinfo?buildID=264 |
| + | |- |
| + | |[https://src.koozali.org/smeserver/perl-Mojolicious-Plugin-RenderFile perl(Mojolicious::Plugin::RenderFile)] >= 0.12 |
| + | |trevorb |
| + | |builds ok |
| + | |https://koji.koozali.org/koji/buildinfo?buildID=263 |
| + | |- |
| + | |[https://src.koozali.org/smeserver/perl-Crypt-Password perl(Crypt::Password)] |
| + | |trevorb |
| + | |builds ok |
| + | | https://koji.koozali.org/koji/buildinfo?buildID=262 |
| + | |- |
| + | |[https://src.koozali.org/smeserver/perl-Tie-Array-CSV perl(Tie::Array::CSV)] |
| + | |trevorb |
| + | |builds ok |
| + | | https://koji.koozali.org/koji/buildinfo?buildID=261 |
| + | |- |
| + | |[https://src.koozali.org/smeserver/perl-File-MMagic perl-File-MMagic] |
| + | |trevorb |
| + | |builds ok |
| + | |https://koji.koozali.org/koji/buildinfo?buildID=259 |
| |- | | |- |
− | |perl(Mojolicious::Plugin::RenderFile) >= 0.12 | + | |[https://src.koozali.org/smeserver/php-pear-Crypt-Blowfish php-pear-Crypt-Blowfish] |
− | | | + | |jpp |
− | | | + | |builds ok |
− | |https://dl.fedoraproject.org/pub/epel/7/SRPMS/Packages/p/perl-Mojolicious-Plugin-RenderFile-0.12-3.el7.src.rpm | + | |https://koji.koozali.org/koji/buildinfo?buildID=271 |
| |- | | |- |
− | |perl-File-MMagic | + | |[https://src.koozali.org/smeserver/php-pear-File-CSV php-pear-File-CSV] |
− | | | + | |jpp |
− | | | + | |builds ok |
− | |https://dl.rockylinux.org/pub/rocky/8/Devel/source/tree/Packages/p/perl-File-MMagic-1.30-16.el8.src.rpm | + | |https://koji.koozali.org/koji/buildinfo?buildID=272 |
| |- | | |- |
− | |php-pear-Crypt-Blowfish | + | |[https://src.koozali.org/smeserver/php-pear-File-Util php-pear-File-Util] |
− | | | + | |jpp |
− | | | + | |builds ok |
− | |https://dl.fedoraproject.org/pub/epel/7/SRPMS/Packages/p/php-pear-Crypt-Blowfish-1.1.0-0.10.rc2.el7.src.rpm | + | |https://koji.koozali.org/koji/buildinfo?buildID=273 |
| |- | | |- |
− | |php-pear-File-CSV | + | |[https://src.koozali.org/smeserver/php-pear-MDB2 php-pear-MDB2] |
− | | | + | |jpp |
− | | | + | |builds ok |
− | |https://dl.fedoraproject.org/pub/epel/7/SRPMS/Packages/p/php-pear-File-CSV-1.0.0-6.el7.src.rpm | + | |https://koji.koozali.org/koji/buildinfo?buildID=274 |
| |- | | |- |
− | |php-pear-File-Util | + | |[https://src.koozali.org/smeserver/php-pear-Net-URL2 php-pear-Net-URL2] |
− | | | + | |jpp |
− | | | + | |builds ok |
− | |https://dl.fedoraproject.org/pub/epel/7/SRPMS/Packages/p/php-pear-File-Util-1.0.0-6.el7.src.rpm | + | |https://koji.koozali.org/koji/buildinfo?buildID=275 |
| |- | | |- |
− | |php-pear-MDB2 | + | |[https://src.koozali.org/smeserver/php-pear-XML-RPC2 php-pear-XML-RPC2] |
− | | | + | |jpp |
− | | | + | |builds ok |
− | |https://dl.fedoraproject.org/pub/epel/7/SRPMS/Packages/p/php-pear-MDB2-2.5.0-0.9.b5.el7.src.rpm | + | |https://koji.koozali.org/koji/buildinfo?buildID=276 |
| |- | | |- |
− | |php-pear-Net-URL2 | + | |[https://src.koozali.org/smeserver/ntpsec ntpsec] |
− | | | + | |jpp |
− | | | + | |builds ok |
− | |https://packages.fedoraproject.org/pkgs/php-pear-Net-URL2/php-pear-Net-URL2/epel-7.html | + | |https://koji.koozali.org/koji/buildinfo?buildID=258 |
| |- | | |- |
− | |php-pear-XML-RPC2 | + | |[https://src.koozali.org/smeserver/pwauth pwauth] |
| + | |jpp |
| | | | | |
− | | | + | |'''epel pwauth-2.3.10-25.el9.x86_64.rpm''' |
− | |https://dl.fedoraproject.org/pub/epel/7/SRPMS/Packages/p/php-pear-XML-RPC2-1.1.2-1.el7.src.rpm
| + | but need a patch see https://bugs.koozali.org/show_bug.cgi?id=9442#c2 https://bugs.koozali.org/show_bug.cgi?id=9429#c3 |
| |} | | |} |
| | | |
Line 1,105: |
Line 1,120: |
| |X | | |X |
| |'''Rocky Linux BaseOS ppp-2.4.7-26.el8_1.x86_64.rpm''' | | |'''Rocky Linux BaseOS ppp-2.4.7-26.el8_1.x86_64.rpm''' |
− | |-
| |
− | |[https://src.koozali.org/smeserver/pwauth pwauth]
| |
− | |
| |
− | |X
| |
− | |'''epel pwauth-2.3.10-25.el9.x86_64.rpm'''
| |
− | but might need a patch
| |
| |} | | |} |
| | | |
Line 1,185: |
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,245: |
Line 1,257: |
| gpgcheck=1 | | gpgcheck=1 |
| enablegroups=1 | | enablegroups=1 |
− | [koji-sme11] | + | |
| + | [koji-sme11-os] |
| enabled=1 | | enabled=1 |
− | name=koji-sme11 | + | name=sme11-os |
− | baseurl=<nowiki>http://koji.koozali.org/kojifiles/repos/dist-sme11-os-build/latest/x86_64/</nowiki> | + | baseurl=http://koji.koozali.org/kojifiles/repos/dist-sme11-build<nowiki/>/latest/x86_64/ |
| gpgcheck=0 | | gpgcheck=0 |
| enablegroups=1 | | enablegroups=1 |
| | | |
− | install SME10 key
| + | install SME10 key |
| wget <nowiki>http://mirror.koozali.org/releases/10/smeos/x86_64/RPM-GPG-KEY-koozali</nowiki> | | wget <nowiki>http://mirror.koozali.org/releases/10/smeos/x86_64/RPM-GPG-KEY-koozali</nowiki> |
| rpm --import RPM-GPG-KEY-koozali | | rpm --import RPM-GPG-KEY-koozali |
Line 1,263: |
Line 1,276: |
| | | |
| 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 enable mariadb:10.5 -y | + | dnf module switch-to php:remi-8.3 -y |
− | dnf module enable php:remi-8.2 -y | + | dnf module switch-to mariadb:10.5 -y |
− | dnf module enable python36:3.6 -y | + | dnf module switch-to python36:3.6 -y |
− | dnf module install php:remi-8.2 | + | dnf module install php:remi-8.3 |
− | dnf install smeserver-* --enablerepo=koji-sme11,epel,remi,remi-safe,of --excludes=smeserver-mariadb* | + | dnf install e-smith-manager smeserver-* --enablerepo=koji-sme11-os,epel,remi,remi-safe,of --exclude=smeserver-mariadb* --exclude=smeserver-horde |
| + | {{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}} |
| + | et voilà, you have a non functional SME 11 over Rocky 8 minimal. |
| + | |
| + | Also remember that the legacy server manager (SM1) is not installed by the above, so, perhaps: |
| + | |
| + | dnf install e-smith-manager |
| + | |
| + | 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:''' |
| + | |
| + | Get rid of Network-Manager NOW! |
| + | systemctl stop NetworkManager |
| + | systemctl disable NetworkManager |
| + | systemctl stop NetworkManager-wait-online.service |
| + | systemctl disable NetworkManager-wait-online.service |
| + | 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 |
| + | |
| + | unlink /etc/e-smith/events/post-install/S10init-passwords |
| + | /sbin/e-smith/signal-event post-install |
| + | if you want to avoid the reboot and configure loop for the moment you can do |
| + | passwd admin |
| + | /usr/bin/systemctl restart rsyslog |
| + | /sbin/e-smith/db accounts setprop admin PasswordSet yes |
| + | /sbin/e-smith/db configuration set PasswordSet yes |
| + | /sbin/e-smith/db configuration setprop bootstrap-console Restore disabled |
| + | then try to configure using 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 |
| + | /sbin/e-smith/db configuration setprop sshd status enabled PermitRootLogin yes access public |
| + | # add PasswordAuthentication yes to enable password login |
| + | /sbin/e-smith/expand-template /etc/ssh/ssh_config |
| + | /sbin/e-smith/expand-template /etc/ssh/sshd_config |
| + | /usr/bin/systemctl restart sshd.service |
| + | /sbin/e-smith/signal-event remoteaccess-update |
| + | then you can |
| + | signal-event post-upgrade; |
| + | signal-event reboot; |
| + | or maybe |
| + | |
| + | signal-event bootstrap-console-save; |
| + | signal-event-reboot |
| + | '''<nowiki>##</nowiki> end of the part better on tty than on sshd''' |
| + | |
| + | you can also tidy a little |
| + | dnf remove NetworkManager* --noautoremove |
| + | |
| + | |
| + | |
| + | 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 |
| + | and paste: |
| + | [koji-sme11-os] |
| + | enabled=1 |
| + | name=sme11-os |
| + | baseurl=http://koji.koozali.org/kojifiles/repos/dist-sme11-build<nowiki/>/latest/x86_64/ |
| + | gpgcheck=0 |
| + | enablegroups=1 |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | from there if you are lucky it worked and you can try to test , report as bug or even create a patch |
| | | |
| == Notes == | | == Notes == |
Line 1,283: |
Line 1,383: |
| | | |
| https://wiki.horde.org/Doc/Dev/H6/Installation?version=10 | | https://wiki.horde.org/Doc/Dev/H6/Installation?version=10 |
| + | |
| + | == References == |
| + | |
| + | * https://dnf.readthedocs.io/en/latest/modularity.htm |
| + | * https://docs.fedoraproject.org/en-US/modularity/using-modules/ |
| + | * https://dnf.readthedocs.io/en/latest/cli_vs_yum.html |
| + | * https://man7.org/linux/man-pages/man5/dnf.conf.5.html |
| + | * https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/considerations_in_adopting_rhel_8/software-management_considerations-in-adopting-rhel-8 |
| + | * https://fedoraproject.org/wiki/Features/YumMetalinks |
| + | * https://www.tecmint.com/reset-forgotten-root-password-in-rocky-linux-almalinux/ |
| + | * |
| + | |
| [[Category:SME11-Development]] | | [[Category:SME11-Development]] |