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 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 | | 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,277: |
Line 1,280: |
| dnf module switch-to python36:3.6 -y | | dnf module switch-to python36:3.6 -y |
| dnf module install php:remi-8.3 | | dnf module install php:remi-8.3 |
− | dnf install smeserver-* --enablerepo=koji-sme11-os,epel,remi,remi-safe,of --exclude=smeserver-mariadb* --exclude=smeserver-horde | + | 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}} | | {{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. | | et voilà, you have a non functional SME 11 over Rocky 8 minimal. |
Line 1,285: |
Line 1,288: |
| dnf install e-smith-manager | | 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:''' |
| | | |
− | lget ride of Messup-Network-Manager NOW!
| + | Get rid of Network-Manager NOW! |
| systemctl stop NetworkManager | | systemctl stop NetworkManager |
| systemctl disable NetworkManager | | systemctl disable NetworkManager |
Line 1,306: |
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,320: |
Line 1,339: |
| signal-event bootstrap-console-save; | | signal-event bootstrap-console-save; |
| signal-event-reboot | | signal-event-reboot |
− | <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 |