Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige Überarbeitung | |||
| ssl_fuer_apache2 [2026/06/06 10:40] – wikiwriter | ssl_fuer_apache2 [2026/06/06 10:42] (aktuell) – wikiwriter | ||
|---|---|---|---|
| Zeile 84: | Zeile 84: | ||
| Siehe auch: [http:// | Siehe auch: [http:// | ||
| - | ====== Parkplatz für SELinux ====== | ||
| - | |||
| - | Nach Upgrade auf 16.0 und zur Ersteinrichtung von Apache mit SELinux ist Folgendes zu tun: | ||
| - | |||
| - | Erst einmal alles aufgeführt, | ||
| - | |||
| - | * semanage port -a -t http_port_t -p tcp 3131 | ||
| - | * setsebool -P httpd_unified 1 | ||
| - | * | ||
| - | * sudo semanage fcontext -a -t httpd_sys_content_t "/ | ||
| - | * sudo restorecon -R / | ||
| - | * semanage fcontext -a -t public_content_t '/ | ||
| - | * restorecon -v '/ | ||
| - | * ausearch -c ' | ||
| - | * semodule -i my-httpdprefork.pp | ||
| - | * sudo semanage fcontext -a -t httpd_sys_content_t "/ | ||
| - | * sudo restorecon -R / | ||
| - | * semanage fcontext -a -t public_content_t '/ | ||
| - | * restorecon -v '/ | ||
| - | * systemctl restart apache.service | ||