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