Skip to main content
This guide explains how to install MastermindCMS on a Linux server for production environments. The server installation gives you:
  • Full control over infrastructure
  • Better performance and scalability
  • Integration with reverse proxies, SSL, and monitoring

Prerequisites

Before you start, make sure you have:
  • A Linux server (RHEL/CentOS, Debian/Ubuntu)
  • Root or sudo access
  • A public domain or subdomain
  • Open ports 80 and 443
  • MongoDB installed directly on the server

Step 1: Setup Local YUM Repository

Now on your UnixOS client machines, add your local repos to the YUM configuration.

RHEL/CentOS

Copy and paste the configuration below in the file local-repos.repo (make changes where necessary).
Save the file and start using your local YUM mirrors. Next, run the following command to view your local repos in the list of available YUM repos, on the client machines.

Debian/Ubuntu

Import the public key into apt and add the repo to the sources.
Update the available package list.

Step 2: Install MSM2 Application

RHEL/CentOS

Run the following command to install the MSM2 application on your server.
Run MSM2 Application with command below:

Debian/Ubuntu

Run the following command to install the MSM2 application on your server.
Run MSM2 Application with command below: