Code source wiki de Installer Mattermost dans Proxmox et autres serveurs
Afficher les derniers auteurs
| author | version | line-number | content |
|---|---|---|---|
| 1 | Installation de Mattermost – Fiche mémo | ||
| 2 | |||
| 3 | ## 1. Principe général | ||
| 4 | |||
| 5 | - Installation adaptée à un administrateur à l'aise avec Linux (ligne de commande, services, reverse proxy). ([Un serveur de communication décentralisé avec Mattermost](https://www.magentix.fr/blog/un-serveur-de-communication-decentralise-avec-mattermost.html) | [Comment installer Mattermost sur un Serveur Gandi Cloud](https://docs.gandi.net/fr/cloud/tutoriels/mattermost.html) | [Comment installer Mattermost sur Ubuntu](https://alexhost.com/fr/faq/how-to-install-mattermost-on-ubuntu/)) | ||
| 6 | - S'installe sur un serveur Linux (VM, LXC, bare‑metal, ou via conteneurs Docker). ([Comment installer Mattermost sur un Serveur Gandi Cloud](https://docs.gandi.net/fr/cloud/tutoriels/mattermost.html) | [Installer Mattermost avec Docker](https://technonagib.fr/installer-mattermost-docker/) | [Comment installer Mattermost sur Ubuntu](https://alexhost.com/fr/faq/how-to-install-mattermost-on-ubuntu/)) | ||
| 7 | |||
| 8 | ## 2. Type de serveur conseillé | ||
| 9 | |||
| 10 | - OS : Linux 64‑bits (Ubuntu/Debian recommandés). ([Comment installer Mattermost sur Ubuntu](https://alexhost.com/fr/faq/how-to-install-mattermost-on-ubuntu/) | [Comment installer Mattermost sur un Serveur Gandi Cloud](https://docs.gandi.net/fr/cloud/tutoriels/mattermost.html)) | ||
| 11 | - Plateformes possibles : | ||
| 12 | - VPS ou serveur dédié chez un hébergeur. ([Installer Mattermost sur AlwaysData](https://help.alwaysdata.com/fr/guides/mattermost/) | [Comment installer Mattermost sur un Serveur Gandi Cloud](https://docs.gandi.net/fr/cloud/tutoriels/mattermost.html)) | ||
| 13 | - Serveur auto‑hébergé (avec ouverture de ports + DNS). ([Un serveur de communication décentralisé avec Mattermost](https://www.magentix.fr/blog/un-serveur-de-communication-decentralise-avec-mattermost.html) | [Comment installer Mattermost sur un Serveur Gandi Cloud](https://docs.gandi.net/fr/cloud/tutoriels/mattermost.html)) | ||
| 14 | - Environnement virtualisé type Proxmox (VM ou LXC). ([Installer Mattermost dans Proxmox VE – Proxmox Helper Scripts](https://community-scripts.github.io/ProxmoxVE/scripts?id=mattermost) | [Installer Mattermost avec Docker](https://www.youtube.com/watch?v=JbfQvWVV_NE)) | ||
| 15 | |||
| 16 | ## 3. Composants logiciels nécessaires | ||
| 17 | |||
| 18 | - Système : distribution Linux serveur (Ubuntu 18.04+ ou équivalent). ([Comment installer Mattermost sur Ubuntu](https://alexhost.com/fr/faq/how-to-install-mattermost-on-ubuntu/) | [Comment installer Mattermost sur un Serveur Gandi Cloud](https://docs.gandi.net/fr/cloud/tutoriels/mattermost.html)) | ||
| 19 | - Base de données : PostgreSQL (recommandé) ou MySQL/MariaDB. ([Preparations – Mattermost Deployment Guide](https://docs.mattermost.com/deployment-guide/server/preparations.html) | [Comment installer Mattermost sur un Serveur Gandi Cloud](https://docs.gandi.net/fr/cloud/tutoriels/mattermost.html) | [Installer Mattermost sur AlwaysData](https://help.alwaysdata.com/fr/guides/mattermost/) | [Comment installer Mattermost sur Ubuntu](https://alexhost.com/fr/faq/how-to-install-mattermost-on-ubuntu/)) | ||
| 20 | - Serveur web / reverse proxy : Nginx ou Apache. ([Comment installer Mattermost sur un Serveur Gandi Cloud](https://docs.gandi.net/fr/cloud/tutoriels/mattermost.html) | [Preparations – Mattermost Deployment Guide](https://docs.mattermost.com/deployment-guide/server/preparations.html) | [Un serveur de communication décentralisé avec Mattermost](https://www.magentix.fr/blog/un-serveur-de-communication-decentralise-avec-mattermost.html) | [Comment installer Mattermost sur Ubuntu](https://alexhost.com/fr/faq/how-to-install-mattermost-on-ubuntu/)) | ||
| 21 | - Certificats TLS : Let's Encrypt via Certbot ou équivalent (pour HTTPS). ([Preparations – Mattermost Deployment Guide](https://docs.mattermost.com/deployment-guide/server/preparations.html) | [Comment installer Mattermost sur Ubuntu](https://alexhost.com/fr/faq/how-to-install-mattermost-on-ubuntu/) | [Comment installer Mattermost sur un Serveur Gandi Cloud](https://docs.gandi.net/fr/cloud/tutoriels/mattermost.html)) | ||
| 22 | - Service système : unit systemd ou équivalent pour lancer Mattermost au démarrage. ([Installer Mattermost sur AlwaysData](https://help.alwaysdata.com/fr/guides/mattermost/) | [Comment installer Mattermost sur Ubuntu](https://alexhost.com/fr/faq/how-to-install-mattermost-on-ubuntu/) | [Comment installer Mattermost sur un Serveur Gandi Cloud](https://docs.gandi.net/fr/cloud/tutoriels/mattermost.html) | [Preparations – Mattermost Deployment Guide](https://docs.mattermost.com/deployment-guide/server/preparations.html)) | ||
| 23 | |||
| 24 | ## 4. Grandes étapes d'installation « classique » (VM ou LXC) | ||
| 25 | |||
| 26 | 1. Mettre à jour le système et installer les paquets nécessaires (PostgreSQL/MySQL, Nginx/Apache, utilitaires). ([Comment installer Mattermost sur Ubuntu](https://alexhost.com/fr/faq/how-to-install-mattermost-on-ubuntu/) | [Comment installer Mattermost sur un Serveur Gandi Cloud](https://docs.gandi.net/fr/cloud/tutoriels/mattermost.html) | [Preparations – Mattermost Deployment Guide](https://docs.mattermost.com/deployment-guide/server/preparations.html)) | ||
| 27 | 2. Créer la base de données et l'utilisateur SQL dédiés à Mattermost. ([Comment installer Mattermost sur un Serveur Gandi Cloud](https://docs.gandi.net/fr/cloud/tutoriels/mattermost.html) | [Preparations – Mattermost Deployment Guide](https://docs.mattermost.com/deployment-guide/server/preparations.html) | [Installer Mattermost sur AlwaysData](https://help.alwaysdata.com/fr/guides/mattermost/) | [Comment installer Mattermost sur Ubuntu](https://alexhost.com/fr/faq/how-to-install-mattermost-on-ubuntu/)) | ||
| 28 | 3. Télécharger et décompresser l'archive Mattermost dans un répertoire (ex. `/opt/mattermost`). ([Un serveur de communication décentralisé avec Mattermost](https://www.magentix.fr/blog/un-serveur-de-communication-decentralise-avec-mattermost.html) | [Installer Mattermost sur AlwaysData](https://help.alwaysdata.com/fr/guides/mattermost/) | [Comment installer Mattermost sur Ubuntu](https://alexhost.com/fr/faq/how-to-install-mattermost-on-ubuntu/)) | ||
| 29 | 4. Configurer `config.json` (URL du site, connexion DB, ports, options de base). ([Un serveur de communication décentralisé avec Mattermost](https://www.magentix.fr/blog/un-serveur-de-communication-decentralise-avec-mattermost.html) | [Preparations – Mattermost Deployment Guide](https://docs.mattermost.com/deployment-guide/server/preparations.html) | [Installer Mattermost sur AlwaysData](https://help.alwaysdata.com/fr/guides/mattermost/) | [Comment installer Mattermost sur Ubuntu](https://alexhost.com/fr/faq/how-to-install-mattermost-on-ubuntu/)) | ||
| 30 | 5. Créer un utilisateur système dédié et une unit systemd pour le service Mattermost. ([Preparations – Mattermost Deployment Guide](https://docs.mattermost.com/deployment-guide/server/preparations.html) | [Installer Mattermost sur AlwaysData](https://help.alwaysdata.com/fr/guides/mattermost/) | [Comment installer Mattermost sur Ubuntu](https://alexhost.com/fr/faq/how-to-install-mattermost-on-ubuntu/) | [Comment installer Mattermost sur un Serveur Gandi Cloud](https://docs.gandi.net/fr/cloud/tutoriels/mattermost.html)) | ||
| 31 | 6. Configurer Nginx/Apache en reverse proxy vers Mattermost, activer HTTPS (Let's Encrypt). ([Installer Mattermost sur Ubuntu – AlexHost](https://alexhost.com/fr/faq/how-to-install-mattermost-on-ubuntu/) | [Un serveur de communication décentralisé avec Mattermost](https://www.magentix.fr/blog/un-serveur-de-communication-decentralise-avec-mattermost.html) | [Comment installer Mattermost sur un Serveur Gandi Cloud](https://docs.gandi.net/fr/cloud/tutoriels/mattermost.html) | [Preparations – Mattermost Deployment Guide](https://docs.mattermost.com/deployment-guide/server/preparations.html)) | ||
| 32 | |||
| 33 | ## 5. Utilisation dans Proxmox | ||
| 34 | |||
| 35 | - Options : | ||
| 36 | - VM Linux (Ubuntu/Debian) avec installation classique. ([Mattermost Deployment Guide](https://docs.mattermost.com/guides/deployment.html) | [Install Mattermost](https://mattermost.com/install/)) | ||
| 37 | - Conteneur LXC Linux avec installation classique. ([Installer Mattermost avec Docker – vidéo](https://www.youtube.com/watch?v=JbfQvWVV_NE) | [Installer Mattermost dans Proxmox VE – Proxmox Helper Scripts](https://community-scripts.github.io/ProxmoxVE/scripts?id=mattermost)) | ||
| 38 | - VM ou LXC « hôte Docker » sur lequel on déploie Mattermost via Docker. ([Installer Mattermost avec Docker – vidéo](https://www.youtube.com/watch?v=JbfQvWVV_NE) | [Installer Mattermost dans Proxmox VE – Proxmox Helper Scripts](https://community-scripts.github.io/ProxmoxVE/scripts?id=mattermost) | [Install Mattermost](https://mattermost.com/install/)) | ||
| 39 | - Il existe des scripts ou modèles LXC pour déployer Mattermost directement dans Proxmox (pré‑configuration automatisée). ([Installer Mattermost dans Proxmox VE – Proxmox Helper Scripts](https://community-scripts.github.io/ProxmoxVE/scripts?id=mattermost) | [Installer Mattermost avec Docker – vidéo](https://www.youtube.com/watch?v=JbfQvWVV_NE)) | ||
| 40 | |||
| 41 | ## 6. Déploiement avec Docker | ||
| 42 | |||
| 43 | - Images disponibles : | ||
| 44 | - Serveur Mattermost (image dédiée, souvent utilisée avec docker‑compose). ([Installer Mattermost avec Docker](https://technonagib.fr/installer-mattermost-docker/) | [Install Mattermost](https://mattermost.com/install/)) | ||
| 45 | - Base PostgreSQL (image officielle `postgres`). ([Preparations – Mattermost Deployment Guide](https://docs.mattermost.com/deployment-guide/server/preparations.html) | [Install Mattermost](https://mattermost.com/install/)) | ||
| 46 | - Reverse proxy Nginx (image officielle `nginx`) ou équivalents (Traefik, Nginx Proxy Manager). ([Installer Mattermost dans Proxmox VE – Proxmox Helper Scripts](https://community-scripts.github.io/ProxmoxVE/scripts?id=mattermost) | [Installer Mattermost avec Docker](https://technonagib.fr/installer-mattermost-docker/) | [Preparations – Mattermost Deployment Guide](https://docs.mattermost.com/deployment-guide/server/preparations.html)) | ||
| 47 | - Schéma typique `docker-compose` : | ||
| 48 | - Service `mattermost-app` (application). ([Installer Mattermost avec Docker](https://technonagib.fr/installer-mattermost-docker/) | [Install Mattermost](https://mattermost.com/install/)) | ||
| 49 | - Service `db` (PostgreSQL). ([Preparations – Mattermost Deployment Guide](https://docs.mattermost.com/deployment-guide/server/preparations.html) | [Install Mattermost](https://mattermost.com/install/)) | ||
| 50 | - Service `reverse-proxy` (Nginx/Traefik) exposé en 80/443. ([Preparations – Mattermost Deployment Guide](https://docs.mattermost.com/deployment-guide/server/preparations.html) | [Install Mattermost](https://mattermost.com/install/) | [Installer Mattermost dans Proxmox VE – Proxmox Helper Scripts](https://community-scripts.github.io/ProxmoxVE/scripts?id=mattermost) | [Installer Mattermost avec Docker](https://technonagib.fr/installer-mattermost-docker/)) | ||
| 51 | |||
| 52 | ## 7. Niveau de complexité | ||
| 53 | |||
| 54 | - Raisonnable pour un administrateur à l'aise avec : | ||
| 55 | - Gestion de services (systemd). ([Comment installer Mattermost sur Ubuntu](https://alexhost.com/fr/faq/how-to-install-mattermost-on-ubuntu/) | [Comment installer Mattermost sur un Serveur Gandi Cloud](https://docs.gandi.net/fr/cloud/tutoriels/mattermost.html) | [Preparations – Mattermost Deployment Guide](https://docs.mattermost.com/deployment-guide/server/preparations.html)) | ||
| 56 | - Configuration de base de données. ([Installer Mattermost sur AlwaysData](https://help.alwaysdata.com/fr/guides/mattermost/) | [Comment installer Mattermost sur un Serveur Gandi Cloud](https://docs.gandi.net/fr/cloud/tutoriels/mattermost.html) | [Comment installer Mattermost sur Ubuntu](https://alexhost.com/fr/faq/how-to-install-mattermost-on-ubuntu/) | [Preparations – Mattermost Deployment Guide](https://docs.mattermost.com/deployment-guide/server/preparations.html)) | ||
| 57 | - Reverse proxy et certificats TLS. ([Un serveur de communication décentralisé avec Mattermost](https://www.magentix.fr/blog/un-serveur-de-communication-decentralise-avec-mattermost.html) | [Comment installer Mattermost sur un Serveur Gandi Cloud](https://docs.gandi.net/fr/cloud/tutoriels/mattermost.html) | [Comment installer Mattermost sur Ubuntu](https://alexhost.com/fr/faq/how-to-install-mattermost-on-ubuntu/) | [Preparations – Mattermost Deployment Guide](https://docs.mattermost.com/deployment-guide/server/preparations.html)) | ||
| 58 | - Plus simple avec : | ||
| 59 | - Un tutoriel pas‑à‑pas adapté à la distribution. ([Comment installer Mattermost sur un Serveur Gandi Cloud](https://docs.gandi.net/fr/cloud/tutoriels/mattermost.html) | [Install Mattermost](https://mattermost.com/install/) | [Comment installer Mattermost sur Ubuntu](https://alexhost.com/fr/faq/how-to-install-mattermost-on-ubuntu/) | [Installer Mattermost avec Docker](https://technonagib.fr/installer-mattermost-docker/)) | ||
| 60 | - Des scripts ou conteneurs pré‑configurés (Proxmox helper scripts, stacks Docker). ([Installer Mattermost dans Proxmox VE – Proxmox Helper Scripts](https://community-scripts.github.io/ProxmoxVE/scripts?id=mattermost) | [Install Mattermost](https://mattermost.com/install/) | [Installer Mattermost avec Docker](https://technonagib.fr/installer-mattermost-docker/)) | ||
| 61 | --- | ||
| 62 | |||
| 63 | *⁂* |