Installing Percona Server for MongoDB from Binary Tarball

You can find links to the binary tarballs from the Percona Server for MongoDB download page.

  1. Fetch and extract the correct binary tarball. For example, if you are running Debian 8 (“jessie”):

    wget https://www.percona.com/redir/downloads/percona-server-mongodb-3.2/LATEST/binary/debian/jessie/x86_64/psmdb-3.2.6-1.0-r24-jessie-x86_64-bundle.tar
    tar xfz psmdb-3.2.6-1.0-r24-jessie-x86_64-bundle.tar
    
  2. Copy the extracted binaries to the target directory, for example:

    mkdir ~/psmdb
    cp -r -n psmdb-3.2.6-1.0-r24-jessie-x86_64-bundle/bin ~/psmdb/
    
  3. Add the location of the binaries to the PATH variable:

    export PATH ~/psmdb/bin:$PATH
    
  4. Create the default data directory:

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