Skip to content
logo
Percona Server for MongoDB 6.0
Install Percona Server for MongoDB from binary tarball
Initializing search
    percona/psmdb-docs
    percona/psmdb-docs
    • Home
    • Percona Server for MongoDB feature comparison
      • System requirements
      • Install Percona Server for MongoDB on Debian and Ubuntu
      • Install Percona Server for MongoDB on Red Hat Enterprise Linux and derivatives
      • Install Percona Server for MongoDB from binary tarball
        • Preconditions
        • Procedure
      • Run Percona Server for MongoDB in a Docker container
        • Percona Memory Engine
        • Hot Backup
        • $backupCursor and $backupCursorExtend aggregation stages
        • Authentication overview
        • Enable SCRAM authentication
        • Set up LDAP authentication with SASL
        • Set up x.509 authentication and LDAP authorization
        • Setting up Kerberos authentication
        • AWS IAM authentication
        • Setting up AWS IAM authentication
        • LDAP authorization
        • Set up LDAP authentication and authorization using NativeLDAP
        • Data at rest encryption
        • HashiCorp Vault integration
        • Using the Key Management Interoperability Protocol (KMIP)
        • Local key management using a keyfile
        • Migrate from key file encryption to HashiCorp Vault encryption
      • Auditing
      • Profiling rate limit
      • Log redaction
      • Additional text search algorithm - ngram
      • Tune parameters
        • Upgrade from 5.0 to 6.0
        • Upgrade Percona Server for MongoDB
      • Uninstall Percona Server for MongoDB
      • Release notes index
      • Percona Server for MongoDB 6.0.5-4 (2023-03-29)
      • Percona Server for MongoDB 6.0.4-3 (2023-01-30)
      • Percona Server for MongoDB 6.0.3-2 (2022-12-07)
      • Percona Server for MongoDB 6.0.2-1 (2022-10-31)
    • Glossary
    • Copyright and licensing information
    • Trademark policy

    • Preconditions
    • Procedure

    Install Percona Server for MongoDB from binary tarball¶

    You can find links to the binary tarballs under the Generic Linux menu item on the Percona website

    There are the following tarballs available:

    • percona-server-mongodb-<version>-x86_64.glibc2.17.tar.gz is the general tarball, compatible with any supported operating system except Ubuntu 22.04.

    • percona-server-mongodb-<version>-x86_64.glibc2.35.tar.gz is the tarball for Ubuntu 22.04.

    • percona-mongodb-mongosh-<version>-x86_64.tar.gz is the tarball for mongosh shell.

    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 Debian 10 (“buster”).

    1. Fetch and the binary tarballs:

      $ wget https://www.percona.com/downloads/percona-server-mongodb-6.0/percona-server-mongodb-6.0.2-1/binary/tarball/percona-server-mongodb-6.0.2-1-x86_64.glibc2.17.tar.gz\
      $ wget https://www.percona.com/downloads/percona-server-mongodb-6.0/percona-server-mongodb-6.0.2-1/binary/tarball/percona-mongodb-mongosh-1.6.0-x86_64.tar.gz
      
      2. Extract the tarballs

      $ tar -xf percona-server-mongodb-6.0.2-1-x86_64.glibc2.17.tar.gz
      $ tar -xf percona-mongodb-mongosh-1.6.0-x86_64.tar.gz
      
    2. Add the location of the binaries to the PATH variable:

      $ export PATH=~/percona-server-mongodb-6.0.2-1/bin/:~/percona-mongodb-mongosh-1.6.0/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.

    Contact Us

    For free technical help, visit the Percona Community Forum.

    To report bugs or submit feature requests, open a JIRA ticket.

    For paid support and managed or consulting services , contact Percona Sales.


    Last update: December 7, 2022
    Created: December 7, 2022
    Percona LLC and/or its affiliates, © 2023
    Made with Material for MkDocs

    Cookie consent

    We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better.