====== Einstellungen für Apache mit SELinux ====== Nach Upgrade auf 16.0 und zur Ersteinrichtung von Apache mit SELinux ist Folgendes zu tun (als root): Erst einmal alles aufgeführt, was getan wurde, um Spiff wieder ans Netz zu bringen semanage port -a -t http_port_t -p tcp 3131 semanage port -a -t http_port_t -p tcp 8780 # für den HaRP-Proxy von nextcloud semanage port -a -t ssh_port_t -p tcp 22 # für ssh setsebool -P httpd_unified 1 ausearch -c 'httpd-prefork' --raw | audit2allow -M my-httpdprefork semodule -i my-httpdprefork.pp semanage fcontext -a -t httpd_sys_content_t "/home/tigerhome/public_html(/.*)?" restorecon -R /home/tigerhome/public_html semanage fcontext -a -t public_content_t '/home/tigerhome/public_html/nextcloud/index.php' restorecon -v '/home/tigerhome/public_html/nextcloud/index.php' semanage fcontext -a -t httpd_sys_content_t "/home/tigerhome/private_html(/.*)?" restorecon -R /home/tigerhome/private_html semanage fcontext -a -t public_content_t '/home/tigerhome/.susipasswd' restorecon -v '/home/tigerhome/.susipasswd' systemctl restart apache.service