Install Pro packages of Percona Server for MongoDB¶
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.
Before you start¶
Request the access to the pro repository from Percona Support. You will receive the client ID and the access token.
Install from Percona repository¶
-
Configure the repository. Create the
/etc/apt/sources.list.d/psmdb-pro.list
configuration file with the following contents:/etc/apt/sources.list.d/psmdb-pro.listdeb http://repo.percona.com/private/[CLIENTID]-[TOKEN]/psmdb-60-pro/apt/ OPERATING_SYSTEM main
-
Update the local cache
$ sudo apt update
-
Install Percona Server for MongoDB Pro packages
$ sudo apt install -y percona-server-mongodb-pro
-
Start the server
$ sudo systemctl start mongod
-
Configure the repository. Create the
/etc/yum.repos.d/psmdb-pro.repo
configuration file with the following contents:/etc/yum.repos.d/psmdb-pro.repo[psmdb-6.0-pro] name=PSMDB_6.0_PRO baseurl=http://repo.percona.com/private/[CLIENTID]-[TOKEN]/psmdb-60-pro/yum/main/$releasever/RPMS/x86_64 enabled=1 gpgkey = https://repo.percona.com/yum/PERCONA-PACKAGING-KEY
-
Install Percona Server for MongoDB Pro packages
$ sudo yum install -y percona-server-mongodb-pro
-
Start the server
$ sudo systemctl start mongod
Install from binary tarballs¶
Binary tarballs are available for the following operating systems:
Starting with version 6.0.13-10:
- Ubuntu 22.04 (Jammy Jellyfish)
- Red Hat Enterprise Linux 9
Starting with 6.0.14-11:
- Red Hat Enterprise Linux 8
Preconditions¶
The following packages are required for the installation.
-
libcurl4
-
libsasl2-modules
-
libsasl2-modules-gssapi-mit
-
libcurl
-
cyrus-sasl-gssapi
-
cyrus-sasl-plain
Procedure¶
The steps below describe the installation on Ubuntu 22.04.
-
Download the tarballs from the pro repository
2. Extract the tarballs$ wget https://repo.percona.com/private/ID-TOKEN/psmdb-60-pro/tarballs/percona-server-mongodb-pro-6.0.14-11-x86_64.jammy.tar.gz\ $ wget https://repo.percona.com/private/ID-TOKEN/psmdb-60-pro/tarballs/percona-mongodb-mongosh-2.1.5-x86_64.tar.gz
$ tar -xf percona-server-mongodb-6.0.14-11-x86_64.jammy.tar.gz $ tar -xf percona-mongodb-mongosh-2.1.5-x86_64.tar.gz
-
Add the location of the binaries to the
PATH
variable:$ export PATH=~/percona-server-mongodb-pro-6.0.14-11-x86_64.jammy/bin/:~/percona-mongodb-mongosh-2.1.5/bin/:$PATH
-
Create the default data directory:
$ mkdir -p /data/db
-
Make sure that you have read and write permissions for the data directory and run
mongod
.
Next steps¶
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.