Installing Percona Server for MongoDB from Binary Tarball

You can find the link to the binary tarball under the Generic Linux menu item on the Percona Server for MongoDB download page.

  1. Fetch and extract the correct binary tarball for your operating system. For example, if you are running Debian 10 (“buster”):

    tar -xf percona-server-mongodb-3.6.19-7.0-buster-x86_64.tar.gz
  2. Add the location of the binaries to the PATH variable:

    export PATH=~/percona-server-mongodb-3.6.19-7.0/bin/:$PATH
  1. Create the default data directory:

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