Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung Nächste ÜberarbeitungBeide Seiten der Revision | ||
centos:web_c7:mattermost [05.10.2017 18:49. ] – [Erstellen eines Systemd Init Daemon] django | centos:web_c7:mattermost [05.10.2017 21:14. ] – Mattermost v4 mit MariaDB und Apache unter CentOS 7.x installieren und betreiben django | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== Mattermost mit MariaDB und Apache unter CentOS 7.x installieren und betreiben ====== | + | ====== Mattermost |
{{: | {{: | ||
Zeile 489: | Zeile 489: | ||
Records: 0 Duplicates: 0 Warnings: 0 | Records: 0 Duplicates: 0 Warnings: 0 | ||
- | MariaDB [mattermost_db]> | + | MariaDB [mattermost_db]> |
Query OK, 0 rows affected (0.05 sec) | Query OK, 0 rows affected (0.05 sec) | ||
Records: 0 Duplicates: 0 Warnings: 0 | Records: 0 Duplicates: 0 Warnings: 0 | ||
- | MariaDB [mattermost_db]> | + | MariaDB [mattermost_db]> |
Query OK, 0 rows affected (0.05 sec) | Query OK, 0 rows affected (0.05 sec) | ||
Records: 0 Duplicates: 0 Warnings: 0 | Records: 0 Duplicates: 0 Warnings: 0 | ||
- | MariaDB [mattermost_db]> | + | MariaDB [mattermost_db]> |
Query OK, 0 rows affected (0.02 sec) | Query OK, 0 rows affected (0.02 sec) | ||
Records: 0 Duplicates: 0 Warnings: 0 | Records: 0 Duplicates: 0 Warnings: 0 | ||
- | MariaDB [mattermost_db]> | + | MariaDB [mattermost_db]> |
Query OK, 0 rows affected (0.04 sec) | Query OK, 0 rows affected (0.04 sec) | ||
Records: 0 Duplicates: 0 Warnings: 0 | Records: 0 Duplicates: 0 Warnings: 0 | ||
- | MariaDB [mattermost_db]> | + | MariaDB [mattermost_db]> |
Query OK, 0 rows affected (0.04 sec) | Query OK, 0 rows affected (0.04 sec) | ||
Records: 0 Duplicates: 0 Warnings: 0 | Records: 0 Duplicates: 0 Warnings: 0 | ||
- | MariaDB [mattermost_db]> | + | MariaDB [mattermost_db]> |
Query OK, 0 rows affected (0.02 sec) | Query OK, 0 rows affected (0.02 sec) | ||
Records: 0 Duplicates: 0 Warnings: 0 | Records: 0 Duplicates: 0 Warnings: 0 | ||
- | MariaDB [mattermost_db]> | + | MariaDB [mattermost_db]> |
Query OK, 0 rows affected (0.03 sec) | Query OK, 0 rows affected (0.03 sec) | ||
Records: 0 Duplicates: 0 Warnings: 0 | Records: 0 Duplicates: 0 Warnings: 0 | ||
- | MariaDB [mattermost_db]> | + | MariaDB [mattermost_db]> |
Query OK, 0 rows affected (0.03 sec) | Query OK, 0 rows affected (0.03 sec) | ||
Records: 0 Duplicates: 0 Warnings: 0 | Records: 0 Duplicates: 0 Warnings: 0 | ||
- | MariaDB [mattermost_db]> | + | MariaDB [mattermost_db]> |
Query OK, 0 rows affected (0.03 sec) | Query OK, 0 rows affected (0.03 sec) | ||
Records: 0 Duplicates: 0 Warnings: 0 | Records: 0 Duplicates: 0 Warnings: 0 | ||
- | MariaDB [mattermost_db]> | + | MariaDB [mattermost_db]> |
Query OK, 0 rows affected (0.03 sec) | Query OK, 0 rows affected (0.03 sec) | ||
Records: 0 Duplicates: 0 Warnings: 0 | Records: 0 Duplicates: 0 Warnings: 0 | ||
- | MariaDB [mattermost_db]> | + | MariaDB [mattermost_db]> |
Query OK, 0 rows affected (0.03 sec) | Query OK, 0 rows affected (0.03 sec) | ||
Records: 0 Duplicates: 0 Warnings: 0 | Records: 0 Duplicates: 0 Warnings: 0 | ||
- | MariaDB [mattermost_db]> | + | MariaDB [mattermost_db]> |
+ | Query OK, 0 rows affected (0.03 sec) | ||
+ | Records: 0 Duplicates: 0 Warnings: 0 | ||
+ | |||
+ | MariaDB [mattermost_db]> | ||
Query OK, 0 rows affected (0.05 sec) | Query OK, 0 rows affected (0.05 sec) | ||
Records: 0 Duplicates: 0 Warnings: 0 | Records: 0 Duplicates: 0 Warnings: 0 | ||
- | MariaDB [mattermost_db]> | + | |
+ | MariaDB [mattermost_db]> | ||
Query OK, 0 rows affected (0.05 sec) | Query OK, 0 rows affected (0.05 sec) | ||
Records: 0 Duplicates: 0 Warnings: 0 | Records: 0 Duplicates: 0 Warnings: 0 | ||
- | MariaDB [mattermost_db]> | + | MariaDB [mattermost_db]> |
- | Query OK, 0 rows affected (0.07 sec) | + | Query OK, 0 rows affected (0.63 sec) |
Records: 0 Duplicates: 0 Warnings: 0 | Records: 0 Duplicates: 0 Warnings: 0 | ||
- | MariaDB [mattermost_db]> | + | MariaDB [mattermost_db]> |
Query OK, 0 rows affected (0.63 sec) | Query OK, 0 rows affected (0.63 sec) | ||
Records: 0 Duplicates: 0 Warnings: 0 | Records: 0 Duplicates: 0 Warnings: 0 | ||
- | MariaDB [mattermost_db]> | + | MariaDB [mattermost_db]> |
Query OK, 0 rows affected (0.07 sec) | Query OK, 0 rows affected (0.07 sec) | ||
Records: 0 Duplicates: 0 Warnings: 0 | Records: 0 Duplicates: 0 Warnings: 0 | ||
- | MariaDB [mattermost_db]> | + | MariaDB [mattermost_db]> |
Query OK, 0 rows affected (0.35 sec) | Query OK, 0 rows affected (0.35 sec) | ||
Records: 0 Duplicates: 0 Warnings: 0 | Records: 0 Duplicates: 0 Warnings: 0 | ||
- | MariaDB [mattermost_db]> | + | MariaDB [mattermost_db]> |
Query OK, 3 rows affected (0.06 sec) | Query OK, 3 rows affected (0.06 sec) | ||
Records: 3 Duplicates: 0 Warnings: 0 | Records: 3 Duplicates: 0 Warnings: 0 | ||
- | MariaDB [mattermost_db]> | + | MariaDB [mattermost_db]> |
Query OK, 0 rows affected (0.18 sec) | Query OK, 0 rows affected (0.18 sec) | ||
Records: 0 Duplicates: 0 Warnings: 0 | Records: 0 Duplicates: 0 Warnings: 0 | ||
- | MariaDB [mattermost_db]> | + | MariaDB [mattermost_db]> |
+ | Query OK, 0 rows affected (0.03 sec) | ||
+ | Records: 0 Duplicates: 0 Warnings: 0 | ||
+ | |||
+ | MariaDB [mattermost_db]> | ||
+ | Query OK, 0 rows affected (0.03 sec) | ||
+ | Records: 0 Duplicates: 0 Warnings: 0 | ||
+ | |||
+ | MariaDB [mattermost_db]> | ||
Query OK, 0 rows affected (0.03 sec) | Query OK, 0 rows affected (0.03 sec) | ||
Records: 0 Duplicates: 0 Warnings: 0 | Records: 0 Duplicates: 0 Warnings: 0 | ||
- | MariaDB [mattermost_db]> | + | MariaDB [mattermost_db]> |
Query OK, 0 rows affected (0.03 sec) | Query OK, 0 rows affected (0.03 sec) | ||
Records: 0 Duplicates: 0 Warnings: 0 | Records: 0 Duplicates: 0 Warnings: 0 | ||
Zeile 700: | Zeile 713: | ||
<file apache / | <file apache / | ||
- | # Django : 2016-09-26 | + | # Django : 2017-10-05 |
# vHost mattermost.nausch.org | # vHost mattermost.nausch.org | ||
# | # | ||
- | < | + | < |
ServerAdmin webmaster@nausch.org | ServerAdmin webmaster@nausch.org | ||
ServerName mattermost.nausch.org | ServerName mattermost.nausch.org | ||
Zeile 716: | Zeile 729: | ||
ErrorLog | ErrorLog | ||
</ | </ | ||
- | < | + | < |
ServerAdmin webmaster@nausch.org | ServerAdmin webmaster@nausch.org | ||
ServerName mattermost.nausch.org | ServerName mattermost.nausch.org | ||
Zeile 722: | Zeile 735: | ||
# Welcher Inhalt soll angezeigt bzw. auf welchen Server sollen die HTTP-Requests weitergeleitet werden? | # Welcher Inhalt soll angezeigt bzw. auf welchen Server sollen die HTTP-Requests weitergeleitet werden? | ||
- | RewriteEngine | + | |
- | RewriteCond %{REQUEST_URI} ^/api/v1/websocket [NC,OR] | + | |
+ | </ | ||
+ | |||
+ | | ||
+ | RewriteCond %{REQUEST_URI} ^/api/v[0-9]+/ | ||
RewriteCond %{HTTP: | RewriteCond %{HTTP: | ||
RewriteCond %{HTTP: | RewriteCond %{HTTP: | ||
Zeile 729: | Zeile 746: | ||
RewriteCond %{DOCUMENT_ROOT}/ | RewriteCond %{DOCUMENT_ROOT}/ | ||
RewriteRule .* http:// | RewriteRule .* http:// | ||
- | RequestHeader set X-Forwarded-Proto " | + | |
- | < | + | < |
- | Require all granted | + | |
- | ProxyPassReverse | + | ProxyPass ws:// |
- | ProxyPassReverseCookieDomain 127.0.0.1 mattermost nausch.org | + | ProxyPassReverse |
+ | | ||
</ | </ | ||
- | | + | |
- | Require all granted | + | |
- | ProxyPassReverse http:// | + | |
- | ProxyPassReverseCookieDomain 127.0.0.1 mattermost.nausch.org | + | ProxyPass http:// |
+ | ProxyPassReverse http:// | ||
+ | | ||
</ | </ | ||
Zeile 1017: | Zeile 1037: | ||
* **[[http:// | * **[[http:// | ||
+ | ~~AUTOTWEET: | ||
~~DISCUSSION~~ | ~~DISCUSSION~~ |