Skip to content

Install Percona Server for MongoDB Pro

This document provides guidelines how to install Percona Server for MongoDB Pro from Percona repositories and from binary tarballs. Learn more about Percona Server for MongoDB Pro.

If you already run Percona Server for MongoDB and wish to upgrade to Percona Server for MongoDB Pro, see the upgrade guide.

Get the access token to the Pro repository

As a Percona Customer, you have the access to the ServiceNow portal. To request the access token, do the following:

  1. In ServiceNow, click My Account and select Entitlements.
  2. Select your entitlement.
  3. If you are entitled for Pro builds, you will see the Token Management widget. Click the Get Percona Builds Token button.

    If you don’t see the widget, contact Percona Support.

  4. Click Request Token button in the Request a Percona Pro Builds Token dialog window.

  5. A token will be generated for you. You will also see the Customer ID. Copy both the Customer ID and the token as you will use them to configure the Pro repository and install the software.

Install from Percona repository

  1. Configure the repository. Create the /etc/apt/sources.list.d/psmdb-pro.list configuration file with the following contents:

    deb[TOKENID]-[TOKEN]/psmdb-70-pro/apt/ OPERATING_SYSTEM main
  2. Update the local cache

    $ sudo apt update
  3. Install Percona Server for MongoDB Pro packages

    $ sudo apt install -y percona-server-mongodb-pro
  4. Start the server

    $ sudo systemctl start mongod
  1. Configure the repository. Create the /etc/yum.repos.d/psmdb-pro.repo configuration file with the following contents:

    gpgkey =
  2. Install Percona Server for MongoDB Pro packages

    $ sudo yum install -y percona-server-mongodb-pro
  3. Start the server

    $ sudo systemctl start mongod

Install from binary tarballs

Binary tarballs are available for the following operating systems:

Starting with version 7.0.7-4:

  • Ubuntu 22.04 (Jammy Jellyfish)
  • Red Hat Enterprise Linux 9
  • Debian 12 (bookworm)

Starting with version 7.0.8-5

  • Red Hat Enterprise Linux 8


The following packages are required for the installation.

  • libcurl4

  • libsasl2-modules

  • libsasl2-modules-gssapi-mit

  • libcurl

  • cyrus-sasl-gssapi

  • cyrus-sasl-plain


The steps below describe the installation on Ubuntu 22.04.

  1. Download the tarballs from the pro repository

    $ wget\
    $ wget
    2. Extract the tarballs

    $ tar -xf percona-server-mongodb-7.0.8-5-x86_64.jammy.tar.gz
    $ tar -xf percona-mongodb-mongosh-2.1.5-x86_64.tar.gz
  2. Add the location of the binaries to the PATH variable:

    $ export PATH=~/percona-server-mongodb-pro-7.0.8-5-x86_64.jammy/bin/:~/percona-mongodb-mongosh-2.1.5/bin/:$PATH
  3. Create the default data directory:

    $ mkdir -p /data/db
  4. Make sure that you have read and write permissions for the data directory and run mongod.

Next steps

Connect to MongoDB

Get expert help

If you need assistance, visit the community forum for comprehensive and free database knowledge, or contact our Percona Database Experts for professional support and services.