redhat:other-redhat:nextcloud-server-redhat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
redhat:other-redhat:nextcloud-server-redhat [2020/08/30 12:06]
michael [SELinux und Firewalld Konfiguration]
redhat:other-redhat:nextcloud-server-redhat [2021/05/21 06:12] (current)
michael [Installation und Konfiguration Pakete]
Line 55: Line 55:
 # vim /etc/httpd/conf.d/nextcloud.conf # vim /etc/httpd/conf.d/nextcloud.conf
 </code> <sxh bash; first-line: 1> </code> <sxh bash; first-line: 1>
-ServerName cloud.blackgate.org +Listen 7030
-ServerTokens Prod +
-ServerSignature Off+
  
-SetEnvIf X-Forwarded-Proto "^https$" HTTPS=on+<VirtualHost *:7030> 
 +    ServerAdmin michu@michu-it.com 
 +    ServerName cloud.michu-it.com
  
-#Redirect 301 /.well-known/carddav https://cloud.blackgate.org/remote.php/dav +    TimeOut 300 
-#Redirect 301 /.well-known/caldav https://cloud.blackgate.org/remote.php/dav+    ProxyTimeOut 300
  
-<Directory "/var/www/html/nextcloud"> +    SetEnvIf X-Forwarded-Proto "^https$HTTPS=on 
-     Options +FollowSymlinks +    ServerSignature Off
-     AllowOverride All+
  
-     <IfModule mod_dav.c> +    ErrorLog "/var/log/httpd/nextcloud-error_log" 
-         Dav off +    CustomLog "/var/log/httpd/nextcloud-access_log" combined
-     </IfModule>+
  
-     SetEnv HOME /var/www/html/nextcloud +    DocumentRoot "/var/www/html/nextcloud"
-     SetEnv HTTP_HOME /var/www/html/nextcloud+
  
-     Require all granted +    <Directory "/var/www/html/nextcloud"> 
-</Directory>+        DirectoryIndex index.html index.php 
 +        Options SymLinksifOwnerMatch 
 +        AllowOverride All 
 +       <IfModule mod_dav.c> 
 +            Dav off 
 +       </IfModule> 
 +        SetEnv HOME /var/www/html/nextcloud 
 +        SetEnv HTTP_HOME /var/www/html/nextcloud
  
-<IfModule reqtimeout_module> +        Require all granted 
-    RequestReadTimeout body=0 +    </Directory>
-</IfModule> +
-Header set X-Content-Type-Options: "nosniff" +
-Header set X-Frame-Options: "sameorigin"+
  
-#------------------------------------------------------------------------------ +    <IfModule reqtimeout_module
-#                   phpMyAdmin VirtualHost Configuration +        RequestReadTimeout body=0 
-#------------------------------------------------------------------------------ +    </IfModule>
-Listen 81 +
-<VirtualHost *:81+
-     ServerName cloud.blackgate.org +
-     ServerAdmin webmaster@localhost +
-     DocumentRoot /var/www/html/php_my_admin+
  
-     <Directory "/var/www/html/php_my_admin"> +    Header set X-Content-Type-Options: "nosniff
-             Options -Indexes +FollowSymLinks +    Header set X-Frame-Options: "sameorigin" 
-             AllowOverride None +    Header always set Content-Security-Policy "connect-src 'self' analytics.michu-it.com:443"
-             Require ip 192.168.+
-             Require ip 127.0.0.1 +
-             Require ip ::1 +
-     </Directory>+
  
 </VirtualHost> </VirtualHost>
Line 311: Line 303:
 # setsebool -P httpd_can_sendmail on           ->   Um Emails aus Nextcloud heraus senden zu können! # setsebool -P httpd_can_sendmail on           ->   Um Emails aus Nextcloud heraus senden zu können!
 # 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 on             ->   Für neue Collabora_Onlin version+# setsebool -P httpd_use_fusefs on             ->   aktivieren! Für neue Collabora_Onlin version und anderes...
  
 </code> </code>
Line 447: Line 439:
 ''**Install Caching Deps:**'' ''**Install Caching Deps:**''
  
-<code># yum install redis php-pecl-redis5 php-pecl-apcu -y+<code># yum install redis php-pecl-redis5 php-pecl-apcu php-phpiredis -y
  
 # sed -i "s/port 6379/port 0/" /etc/redis.conf # sed -i "s/port 6379/port 0/" /etc/redis.conf
  • redhat/other-redhat/nextcloud-server-redhat.1598789197.txt.gz
  • Last modified: 2020/08/30 12:06
  • by michael