Production install of Mattermost on Ubuntu 22.04 or 24.04 and Debian 12 from the signed APT repository: PostgreSQL first, the GPG key change, sizing for about 1,000 users, ports, and the glibc floor from v12.
Installing Mattermost on RHEL 9 and compatible distributions from the release tarball: systemd setup, SELinux contexts, firewalld rules and fapolicyd allow rules that RHEL deployments need.
Deploying Mattermost with Docker Compose for evaluation and small sites: the database, app and optional NGINX containers, Linux-only production support, and why Mattermost points HA deployments to Kubernetes.
Putting NGINX in front of Mattermost for TLS termination, HTTP to HTTPS redirects, WebSocket traffic, load balancing and request logs that capture file uploads and downloads the server does not log.
Choosing where Mattermost terminates TLS: on a proxy for larger installs or on the server itself for fewer than 200 users, Let's Encrypt versus your own certificate, and binding to port 443.
Creating the Mattermost database and user on PostgreSQL 15 or later, the UTF-8 collation, schema ownership grants for PostgreSQL 15, and self-managed versus Amazon RDS or Azure Database for PostgreSQL.
Deciding where Mattermost stores attachments before go-live: S3-compatible object storage, NFS shares for sites that cannot use S3, local disk for small single servers, and the performance trade-offs between them.
Storing Mattermost uploads in an Azure Storage account from v11.9: shared key versus Entra ID default credential authentication, managed identities on Azure, and what moving from another backend requires.
Firewall planning for Mattermost: inbound 80, 443 and 8065, cluster gossip on 8074, metrics on 8067, outbound database, LDAP, S3, SMTP and push traffic, and routing outbound HTTP through a proxy.
Moving Mattermost settings from config.json into the database so every cluster node shares one configuration: benefits for HA and read-only containers, SAML certificate distribution, and the migration steps.
Setting Mattermost options through MM_ environment variables for containers, systemd and Helm: naming rules, JSON plugin settings, precedence over config.json and the System Console lock it creates.