Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
centos:web_c7:mattermost [28.09.2016 16:13. ] – [Developer] django | centos:web_c7:mattermost [22.07.2019 14:47. ] (aktuell) – [Links] django | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== Mattermost mit MariaDB und Apache unter CentOS 7.x installieren und betreiben ====== | + | ====== Mattermost |
{{: | {{: | ||
Zeile 83: | Zeile 83: | ||
# cd / | # cd / | ||
- | Anschliessend holen wir uns das aktuelle **tar.bz2**-Archiv auf unseren Server. | + | Anschliessend holen wir uns das aktuelle **tar.bz2**-Archiv |
- | # wget https:// | + | # wget https:// |
===== Entpacken des Programmarchivs ===== | ===== Entpacken des Programmarchivs ===== | ||
Nun entpacken wir das heruntergeladene **tar.gz**-Archiv an Ort und Stelle. | Nun entpacken wir das heruntergeladene **tar.gz**-Archiv an Ort und Stelle. | ||
- | # tar -xvzf mattermost-team-3.4.0-linux-amd64.tar.gz -C /opt/ | + | # tar -xvzf / |
===== storage directory anlegen ===== | ===== storage directory anlegen ===== | ||
Zeile 113: | Zeile 112: | ||
" | " | ||
" | " | ||
+ | " | ||
" | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
" | " | ||
- | "SegmentDeveloperKey": | + | "GoroutineHealthThreshold": |
" | " | ||
" | " | ||
Zeile 124: | Zeile 132: | ||
" | " | ||
" | " | ||
+ | " | ||
+ | " | ||
" | " | ||
" | " | ||
" | " | ||
" | " | ||
+ | " | ||
" | " | ||
+ | " | ||
+ | " | ||
" | " | ||
" | " | ||
Zeile 138: | Zeile 151: | ||
" | " | ||
" | " | ||
- | " | + | |
+ | | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
}, | }, | ||
" | " | ||
Zeile 147: | Zeile 170: | ||
" | " | ||
" | " | ||
- | " | ||
" | " | ||
" | " | ||
Zeile 155: | Zeile 177: | ||
" | " | ||
" | " | ||
- | " | + | |
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
}, | }, | ||
" | " | ||
" | " | ||
- | " | + | " |
" | " | ||
- | " | + | |
- | " | + | |
+ | " | ||
" | " | ||
- | " | + | " |
+ | " | ||
}, | }, | ||
" | " | ||
" | " | ||
- | " | + | " |
" | " | ||
" | " | ||
Zeile 184: | Zeile 226: | ||
}, | }, | ||
" | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
" | " | ||
" | " | ||
Zeile 189: | Zeile 234: | ||
" | " | ||
" | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
" | " | ||
" | " | ||
" | " | ||
" | " | ||
- | " | + | " |
- | " | + | " |
- | "AmazonS3BucketEndpoint": "", | + | "AmazonS3SSL": |
- | "AmazonS3LocationConstraint": false, | + | |
- | "AmazonS3LowercaseBucket": false | + | "AmazonS3SSE": false, |
+ | "AmazonS3Trace": false | ||
}, | }, | ||
" | " | ||
Zeile 214: | Zeile 254: | ||
" | " | ||
" | " | ||
+ | " | ||
" | " | ||
" | " | ||
Zeile 220: | Zeile 261: | ||
" | " | ||
" | " | ||
- | " | ||
" | " | ||
" | " | ||
Zeile 226: | Zeile 266: | ||
" | " | ||
" | " | ||
- | " | + | " |
+ | " | ||
+ | " | ||
}, | }, | ||
" | " | ||
- | "EnableRateLimiter": | + | "Enable": |
" | " | ||
+ | " | ||
" | " | ||
" | " | ||
Zeile 246: | Zeile 289: | ||
" | " | ||
" | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
}, | }, | ||
" | " | ||
Zeile 289: | Zeile 345: | ||
" | " | ||
" | " | ||
+ | " | ||
" | " | ||
" | " | ||
Zeile 307: | Zeile 364: | ||
" | " | ||
" | " | ||
- | " | + | " |
- | " | + | " |
" | " | ||
" | " | ||
Zeile 321: | Zeile 378: | ||
" | " | ||
" | " | ||
+ | " | ||
" | " | ||
}, | }, | ||
Zeile 330: | Zeile 388: | ||
" | " | ||
" | " | ||
- | "InterNodeListenAddress": ": | + | "ClusterName": |
- | "InterNodeUrls": | + | " |
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | "Plugins": | ||
} | } | ||
- | } | + | }</ |
- | </ | + | |
===== erster Test/ | ===== erster Test/ | ||
Nun können wir den **Mattermost-Daemon** das erste mal starten und so testen, ob die Konfiguration der Datenbankanbindung auch entsprechend geklappt hat. Den manuellen Start des Daemon erfolgt über den Aufruf des vorcompilierten Programms // | Nun können wir den **Mattermost-Daemon** das erste mal starten und so testen, ob die Konfiguration der Datenbankanbindung auch entsprechend geklappt hat. Den manuellen Start des Daemon erfolgt über den Aufruf des vorcompilierten Programms // | ||
- | # / | + | # |
+ | |||
+ | # sudo -u mattermost ./platform | ||
In der Konsole erfolgt direkt die Status-Ausgabe und Informationen bei ggf. auftretenden Fehlern. | In der Konsole erfolgt direkt die Status-Ausgabe und Informationen bei ggf. auftretenden Fehlern. | ||
- | < | + | < |
- | [2016/09/25 22:13:42 CEST] [INFO] Current version is 3.4.0 (3.4.0/Wed Sep 14 13:19:13 UTC 2016/57f25fa59c71821cc38fd220b133aa6a40815e12/none) | + | [2017/10/05 20:21:37 CEST] [INFO] Current version is 4.2.0 (4.2.0/Wed Sep 13 22:25:30 UTC 2017/a5ce36d0882ae1b4b409a7b68233bf89591a5f95/38697f6cf2a9183e410e88acd13191390711d38f) |
- | [2016/09/25 22:13:42 CEST] [INFO] Enterprise Enabled: | + | [2017/10/05 20:21:37 CEST] [INFO] Enterprise Enabled: |
- | [2016/09/25 22:13:42 CEST] [INFO] Current working directory is / | + | [2017/10/05 20:21:37 CEST] [INFO] Current working directory is / |
- | [2016/09/25 22:13:42 CEST] [INFO] Loaded config file from / | + | [2017/10/05 20:21:37 CEST] [INFO] Loaded config file from / |
- | [2016/09/25 22:13:42 CEST] [INFO] | + | [2017/10/05 20:21:37 CEST] [INFO] |
- | [2016/09/25 22:13:42 CEST] [INFO] | + | [2017/10/05 20:21:37 CEST] [INFO] |
- | [2016/09/25 22:13:42 CEST] [INFO] Pinging | + | [2017/10/05 20:21:37 CEST] [INFO] Pinging |
- | [2016/09/25 22:13:43 CEST] [INFO] The database schema has been set to version | + | [2017/10/05 20:21:37 CEST] [INFO] The database schema has been set to version 4.2.0 |
- | [2016/09/25 22:13:44 CEST] [CRIT] Failed to create index Error 1214: The used table type doesn' | + | [2017/10/05 20:21:37 CEST] [CRIT] Failed to create index Error 1214: The used table type doesn' |
</ | </ | ||
- | Im vorliegenden Fall ist der Programmstart mit der Fehlermeldung **Failed to create index Error 1214: The used table type doesn' | + | Im vorliegenden Fall ist der Programmstart mit der Fehlermeldung **Failed to create index Error 1214: The used table type doesn' |
# mysql -h localhost -u root -p | # mysql -h localhost -u root -p | ||
Zeile 383: | 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 472: | Zeile 591: | ||
Nun können wir erneut Testen, ob nun der Daemon startet. | Nun können wir erneut Testen, ob nun der Daemon startet. | ||
- | # | + | # |
- | < | + | < |
- | [2016/09/25 23:01:50 CEST] [INFO] Current version is 3.4.0 (3.4.0/Wed Sep 14 13:19:13 UTC 2016/57f25fa59c71821cc38fd220b133aa6a40815e12/none) | + | [2017/10/05 20:40:46 CEST] [INFO] Current version is 4.2.0 (4.2.0/Wed Sep 13 22:25:30 UTC 2017/a5ce36d0882ae1b4b409a7b68233bf89591a5f95/38697f6cf2a9183e410e88acd13191390711d38f) |
- | [2016/09/25 23:01:50 CEST] [INFO] Enterprise Enabled: | + | [2017/10/05 20:40:46 CEST] [INFO] Enterprise Enabled: |
- | [2016/09/25 23:01:50 CEST] [INFO] Current working directory is / | + | [2017/10/05 20:40:46 CEST] [INFO] Current working directory is / |
- | [2016/09/25 23:01:50 CEST] [INFO] Loaded config file from / | + | [2017/10/05 20:40:46 CEST] [INFO] Loaded config file from / |
- | [2016/09/25 23:01:50 CEST] [INFO] | + | [2017/10/05 20:40:46 CEST] [INFO] |
- | [2016/09/25 23:01:50 CEST] [INFO] | + | [2017/10/05 20:40:46 CEST] [INFO] |
- | [2016/09/25 23:01:50 CEST] [INFO] Pinging | + | [2017/10/05 20:40:46 CEST] [INFO] Pinging |
- | [2016/09/25 23:01:51 CEST] [DEBG] Deleting any unused pre-release features | + | [2017/10/05 20:40:46 CEST] [INFO] Initializing |
- | [2016/09/25 23:01:51 CEST] [DEBG] Initializing | + | [2017/10/05 20:40:46 CEST] [INFO] API version 3 is scheduled for deprecation. Please see https://api.mattermost.com for details. |
- | [2016/09/25 23:01:51 CEST] [DEBG] Initializing team api routes | + | [2017/10/05 20:40:46 CEST] [INFO] Initializing |
- | [2016/09/25 23:01:51 CEST] [DEBG] Initializing channel api routes | + | [2017/10/05 20:40:46 CEST] [INFO] Initializing |
- | [2016/09/25 23:01:51 CEST] [DEBG] Initializing post api routes | + | [2017/10/05 20:40:46 CEST] [INFO] Starting 8 websocket hubs |
- | [2016/09/25 23:01:51 CEST] [DEBG] Initializing | + | [2017/10/05 20:40:46 CEST] [INFO] License key from https:// |
- | [2016/09/25 23:01:51 CEST] [DEBG] Initializing file api routes | + | [2017/10/05 20:40:46 CEST] [INFO] Starting Server... |
- | [2016/09/25 23:01:51 CEST] [DEBG] Initializing | + | [2017/10/05 20:40:46 CEST] [INFO] Server is listening on :8065 |
- | [2016/09/25 23:01:51 CEST] [DEBG] Initializing admin api routes | + | [2017/10/05 20:40:46 CEST] [INFO] |
- | [2016/09/25 23:01:51 CEST] [DEBG] Initializing general api routes | + | [2017/10/05 20:40:46 CEST] [INFO] Starting schedulers</ |
- | [2016/09/25 23:01:51 CEST] [DEBG] Initializing oauth api routes | + | |
- | [2016/09/25 23:01:51 CEST] [DEBG] Initializing webhook api routes | + | |
- | [2016/09/25 23:01:51 CEST] [DEBG] Initializing preference api routes | + | |
- | [2016/09/25 23:01:51 CEST] [DEBG] Initializing license api routes | + | |
- | [2016/09/25 23:01:51 CEST] [DEBG] Initializing emoji api routes | + | |
- | [2016/09/25 23:01:51 CEST] [DEBG] Initializing status api routes | + | |
- | [2016/09/25 23:01:51 CEST] [DEBG] Parsing server templates at /opt/mattermost/templates/ | + | |
- | [2016/09/25 23:01:51 CEST] [DEBG] Initializing web routes | + | |
- | [2016/09/25 23:01:51 CEST] [DEBG] Using client directory at / | + | |
- | [2016/09/25 23:01:51 CEST] [INFO] Starting Server... | + | |
- | [2016/09/25 23:01:51 CEST] [INFO] Server is listening on :8065 | + | |
- | [2016/09/25 23:01:51 CEST] [INFO] | + | |
- | [2016/09/25 23:01:51 CEST] [DEBG] Checking for security update from Mattermost</ | + | |
Der Daemon ist nun __ohne__ Fehlermeldung gestartet und wir überprüfen nun, ob der Port **8085** vom Daemon geöffnet wurde. | Der Daemon ist nun __ohne__ Fehlermeldung gestartet und wir überprüfen nun, ob der Port **8085** vom Daemon geöffnet wurde. | ||
Zeile 517: | Zeile 623: | ||
tcp6 | tcp6 | ||
tcp6 | tcp6 | ||
- | tcp6 | + | tcp6 |
udp 0 0 0.0.0.0: | udp 0 0 0.0.0.0: | ||
udp 0 0 0.0.0.0: | udp 0 0 0.0.0.0: | ||
Zeile 528: | Zeile 634: | ||
<file bash / | <file bash / | ||
Description=Mattermost | Description=Mattermost | ||
- | After=syslog.target network.target | + | After=syslog.target network.target |
[Service] | [Service] | ||
Zeile 548: | Zeile 654: | ||
# systemctl daemon-reload | # systemctl daemon-reload | ||
- | Abschließend | + | Abschliessend |
# systemctl start mattermost.service | # systemctl start mattermost.service | ||
# cat / | # cat / | ||
- | < | + | < |
- | [2016/09/25 23:24:36 CEST] [INFO] Current version is 3.4.0 (3.4.0/Wed Sep 14 13:19:13 UTC 2016/57f25fa59c71821cc38fd220b133aa6a40815e12/none) | + | [2017/10/05 20:47:59 CEST] [INFO] Current version is 4.2.0 (4.2.0/Wed Sep 13 22:25:30 UTC 2017/a5ce36d0882ae1b4b409a7b68233bf89591a5f95/38697f6cf2a9183e410e88acd13191390711d38f) |
- | [2016/09/25 23:24:36 CEST] [INFO] Enterprise Enabled: | + | [2017/10/05 20:47:59 CEST] [INFO] Enterprise Enabled: |
- | [2016/09/25 23:24:36 CEST] [INFO] Current working directory is / | + | [2017/10/05 20:47:59 CEST] [INFO] Current working directory is / |
- | [2016/09/25 23:24:36 CEST] [INFO] Loaded config file from / | + | [2017/10/05 20:47:59 CEST] [INFO] Loaded config file from / |
- | [2016/09/25 23:24:36 CEST] [INFO] Server is initializing... | + | [2017/10/05 20:47:59 CEST] [INFO] Able to write files to local storage. |
- | [2016/09/25 23:24:36 CEST] [INFO] Pinging | + | [2017/10/05 20: |
- | [2016/09/25 23:24:36 CEST] [INFO] | + | [2017/10/05 20:47:59 CEST] [INFO] Pinging |
- | [2016/09/25 23:24:36 CEST] [INFO] Starting Server... | + | [2017/10/05 20:47:59 CEST] [INFO] |
- | [2016/09/25 23:24:36 CEST] [INFO] Server is listening on :8065 | + | [2017/10/05 20:47:59 CEST] [INFO] API version 3 is scheduled for deprecation. Please see https:// |
- | [2016/09/25 23:24:36 CEST] [INFO] | + | [2017/10/05 20:47:59 CEST] [INFO] Initializing plugin: ldapextras |
+ | [2017/10/05 20:47:59 CEST] [INFO] Initializing plugin: jira | ||
+ | [2017/10/05 20:47:59 CEST] [INFO] Starting 8 websocket hubs | ||
+ | [2017/10/05 20:47:59 CEST] [INFO] License key from https:// | ||
+ | [2017/10/05 20:47:59 CEST] [INFO] Starting Server... | ||
+ | [2017/10/05 20:47:59 CEST] [INFO] Server is listening on :8065 | ||
+ | [2017/10/05 20:47:59 CEST] [INFO] | ||
+ | [2017/10/05 20:47:59 CEST] [INFO] Starting schedulers</ | ||
Den erfolgreichen Start sehen wir, da z.B. der Server den port **8065** geöffnet hat. Natürlich können wir auch den Status mit folgendem Aufruf überprüfen. | Den erfolgreichen Start sehen wir, da z.B. der Server den port **8065** geöffnet hat. Natürlich können wir auch den Status mit folgendem Aufruf überprüfen. | ||
Zeile 570: | Zeile 683: | ||
<font style=" | <font style=" | ||
| | ||
- | | + | |
- | Main PID: 7609 (platform) | + | Main PID: 10485 (platform) |
| | ||
- | | + | |
- | Sep 25 23:24:36 vml000097.dmz.nausch.org platform[7609]: [2016/09/25 23:24:36 CEST] [DEBG] Initializing | + | Oct 05 20:47:59 vml000107.dmz.nausch.org platform[10485]: [2017/10/05 20:47:59 CEST] [INFO] Initializing |
- | Sep 25 23:24:36 vml000097.dmz.nausch.org platform[7609]: [2016/09/25 23:24:36 CEST] [DEBG] Initializing license | + | Oct 05 20:47:59 vml000107.dmz.nausch.org platform[10485]: [2017/10/05 20:47:59 CEST] [INFO] API version 3 is scheduled for deprecation. Please see https://api.matte... details. |
- | Sep 25 23:24:36 vml000097.dmz.nausch.org platform[7609]: [2016/09/25 23:24:36 CEST] [DEBG] Initializing | + | Oct 05 20:47:59 vml000107.dmz.nausch.org platform[10485]: [2017/10/05 20:47:59 CEST] [INFO] Initializing |
- | Sep 25 23:24:36 vml000097.dmz.nausch.org platform[7609]: [2016/09/25 23:24:36 CEST] [DEBG] Initializing | + | Oct 05 20:47:59 vml000107.dmz.nausch.org platform[10485]: [2017/10/05 20:47:59 CEST] [INFO] Initializing |
- | Sep 25 23:24:36 vml000097.dmz.nausch.org platform[7609]: [2016/09/25 23:24:36 CEST] [DEBG] Parsing server templates at / | + | Oct 05 20:47:59 vml000107.dmz.nausch.org platform[10485]: [2017/10/05 20:47:59 CEST] [INFO] Starting 8 websocket hubs |
- | Sep 25 23:24:36 vml000097.dmz.nausch.org platform[7609]: [2016/09/25 23:24:36 CEST] [DEBG] Initializing web routes | + | Oct 05 20:47:59 vml000107.dmz.nausch.org platform[10485]: [2017/10/05 20:47:59 CEST] [INFO] License key from https:// |
- | Sep 25 23:24:36 vml000097.dmz.nausch.org platform[7609]: [2016/09/25 23:24:36 CEST] [DEBG] Using client directory at / | + | Oct 05 20:47:59 vml000107.dmz.nausch.org platform[10485]: [2017/10/05 20:47:59 CEST] [INFO] Starting Server... |
- | Sep 25 23:24:36 vml000097.dmz.nausch.org platform[7609]: [2016/09/25 23:24:36 CEST] [INFO] | + | Oct 05 20:47:59 vml000107.dmz.nausch.org platform[10485]: [2017/10/05 20:47:59 CEST] [INFO] Server |
- | Sep 25 23:24:36 vml000097.dmz.nausch.org platform[7609]: [2016/09/25 23:24:36 CEST] [INFO] | + | Oct 05 20:47:59 vml000107.dmz.nausch.org platform[10485]: [2017/10/05 20:47:59 CEST] [INFO] |
- | Sep 25 23:24:36 vml000097.dmz.nausch.org platform[7609]: [2016/09/25 23:24:36 CEST] [INFO] | + | Oct 05 20:47:59 vml000107.dmz.nausch.org platform[10485]: [2017/10/05 20:47:59 CEST] [INFO] |
- | </ | + | |
</ | </ | ||
Zeile 601: | 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 617: | Zeile 729: | ||
ErrorLog | ErrorLog | ||
</ | </ | ||
- | < | + | < |
ServerAdmin webmaster@nausch.org | ServerAdmin webmaster@nausch.org | ||
ServerName mattermost.nausch.org | ServerName mattermost.nausch.org | ||
Zeile 623: | 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 630: | 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 889: | Zeile 1008: | ||
Bei der Seite // | Bei der Seite // | ||
- | {{ : | + | {{ : |
Abschließend starten wir nun den Mattermost-Daemon einmal durch. | Abschließend starten wir nun den Mattermost-Daemon einmal durch. | ||
# systemctl restart mattermost.service | # systemctl restart mattermost.service | ||
- | ===== Anlegen des ersten | + | ==== Anlegen des ersten |
+ | Zu guter Letzt legen wir uns nun unser erstes Team an. Dazu tragen wir bei der Option **Team Name** den gewünschten Namen ein. | ||
+ | Anschliessend klicken wir auf die Schaltfläche **[ Next > ]** um auf die nächste Seite zu gelangen. | ||
- | ===== Anmelden als User ===== | + | {{ : |
+ | Nun müssen wir nur noch die Team URL definieren. Der Einfachheit halber verwenden wir dort den zuvor ausgewählten Team Namen. | ||
+ | Mit einen Klick auf die Schaltfläche **[ Finish ]** beenden wir unsere Konfigurationsaufgaben. | ||
- | ==== Notification eMail ==== | + | {{ : |
- | + | ||
- | + | ||
- | + | ||
- | {{ : | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | + | ||
- | FIXME | + | |
+ | ===== Anmelden als User ===== | ||
- | Update Advanced > Rate Limiting settings: | + | Nachdem unsere |
- | Set Vary By Remote Address to false | + | |
- | Set Vary By HTTP Header to X-Real-IP | + | |
- | Restart the Mattermost | + | |
- | sudo restart mattermost | + | |
- | FIXME | + | {{ : |
+ | ====== Links ====== | ||
+ | * **[[centos: | ||
+ | * **[[wiki: | ||
+ | * **[[http:// | ||