Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
redhat:other-redhat:nextcloud-server-redhat [2020/06/06 14:23] – [Installation und Konfiguration Pakete] michael | redhat:other-redhat:nextcloud-server-redhat [2021/05/21 08:12] (current) – [Installation und Konfiguration Pakete] michael | ||
---|---|---|---|
Line 23: | Line 23: | ||
# yum module reset php | # yum module reset php | ||
- | # yum module install php:remi-7.3 | + | # dnf module install php:remi-7.4 |
</ | </ | ||
Line 34: | Line 34: | ||
==== Installation der Package-dependencies ==== | ==== Installation der Package-dependencies ==== | ||
< | < | ||
- | # yum install httpd mariadb-server redis php-pecl-redis5 php-pecl-imagick php-intl php-common php-pecl-apcu php-fpm php-cli php-devel php-gd php-mysqlnd php-pear php-xml php-mbstring php-json php-pecl-apcu php-pecl-apcu-devel php-pecl-imagick-devel php-intl php-opcache php-zip php-process | + | # yum install httpd mariadb-server redis php-pecl-redis5 php-pecl-imagick php-intl php-common php-pecl-apcu php-fpm php-cli php-devel php-gd php-mysqlnd php-pear php-xml php-mbstring php-json php-pecl-apcu php-pecl-apcu-devel php-pecl-imagick-devel php-intl php-opcache php-zip |
</ | </ | ||
Line 55: | Line 55: | ||
# vim / | # vim / | ||
</ | </ | ||
- | ServerName cloud.blackgate.org | + | Listen 7030 |
- | ServerTokens Prod | + | |
- | ServerSignature Off | + | |
- | SetEnvIf X-Forwarded-Proto " | + | < |
+ | ServerAdmin michu@michu-it.com | ||
+ | ServerName cloud.michu-it.com | ||
- | #Redirect 301 / | + | TimeOut 300 |
- | #Redirect 301 / | + | |
- | < | + | SetEnvIf X-Forwarded-Proto |
- | Options +FollowSymlinks | + | |
- | | + | |
- | < | + | |
- | Dav off | + | CustomLog "/ |
- | | + | |
- | | + | |
- | | + | |
- | | + | < |
- | </Directory> | + | |
+ | Options SymLinksifOwnerMatch | ||
+ | AllowOverride All | ||
+ | < | ||
+ | Dav off | ||
+ | </IfModule> | ||
+ | SetEnv HOME / | ||
+ | SetEnv HTTP_HOME / | ||
- | < | + | Require all granted |
- | | + | </Directory> |
- | </IfModule> | + | |
- | Header set X-Content-Type-Options: | + | |
- | Header set X-Frame-Options: | + | |
- | # | + | |
- | # | + | |
- | # | + | </IfModule> |
- | Listen 81 | + | |
- | <VirtualHost *:81> | + | |
- | ServerName cloud.blackgate.org | + | |
- | ServerAdmin webmaster@localhost | + | |
- | | + | |
- | < | + | Header set X-Content-Type-Options: |
- | Options | + | |
- | | + | |
- | Require ip 192.168.1 | + | |
- | | + | |
- | | + | |
- | </ | + | |
</ | </ | ||
Line 119: | Line 111: | ||
< | < | ||
- | # php73 --ini |grep Loaded | + | # / |
</ | </ | ||
+ | |||
<sxh bash; gutter: false;> | <sxh bash; gutter: false;> | ||
- | Loaded Configuration File: / | + | Loaded Configuration File => / |
</ | </ | ||
Line 134: | Line 127: | ||
# sed -i " | # sed -i " | ||
# sed -i " | # sed -i " | ||
+ | |||
+ | # sed -i " | ||
+ | # sed -i " | ||
+ | # sed -i " | ||
+ | |||
+ | # sed -i " | ||
+ | # sed -i " | ||
+ | # sed -i " | ||
+ | # sed -i " | ||
# sed -i " | # sed -i " | ||
Line 301: | Line 303: | ||
# setsebool -P httpd_can_sendmail on | # setsebool -P httpd_can_sendmail on | ||
# setsebool -P httpd_can_network_connect on -> Wird gebraucht, dass CURL in PHP funktioniert!! | # setsebool -P httpd_can_network_connect on -> Wird gebraucht, dass CURL in PHP funktioniert!! | ||
- | # setsebool -P domain_can_mmap_files 1 | + | # setsebool -P domain_can_mmap_files 1 -> Für neue Collabora_Onlin version |
- | # setsebool -P httpd_use_fusefs | + | # setsebool -P httpd_use_fusefs |
</ | </ | ||
Line 337: | Line 339: | ||
< | < | ||
- | # systemctl enable | + | # systemctl enable php-fpm.service --now |
# systemctl enable httpd --now | # systemctl enable httpd --now | ||
- | # systemctl status httpd php73-php-fpm | + | # systemctl status httpd php-fpm |
</ | </ | ||
</ | </ | ||
Line 436: | Line 438: | ||
<WRAP center round important 100%> | <WRAP center round important 100%> | ||
'' | '' | ||
- | < | + | |
+ | < | ||
# sed -i " | # sed -i " | ||
Line 470: | Line 473: | ||
# | | | | | | # | | | | | | ||
# * * * * * user-name | # * * * * * user-name | ||
- | */5 * * * * apache | + | */5 * * * * apache |
</ | </ | ||
</ | </ | ||
Line 535: | Line 538: | ||
Type=simple | Type=simple | ||
TimeoutStartSec=30s | TimeoutStartSec=30s | ||
- | ExecStartPre=-/ | + | ExecStartPre=-/ |
ExecStart=/ | ExecStart=/ | ||
Line 655: | Line 658: | ||
Type=simple | Type=simple | ||
TimeoutStartSec=30s | TimeoutStartSec=30s | ||
- | ExecStartPre=-/ | + | ExecStartPre=-/ |
ExecStart=/ | ExecStart=/ |