Installing Percona Server for MongoDB from Binary Tarball¶
You can find links to the binary tarballs from the Percona Server for MongoDB download page.
Fetch and extract the correct binary tarball. For example, if you are running Debian 8 (“jessie”):
$ wget https://www.percona.com/downloads/percona-server-for-mongodb/percona-server-for-mongodb-3.0.5/binary/debian/jessie/x86_64/percona-server-mongodb-3.0.5-rel0.7rc-r42b00da-jessie-x86_64-bundle.tar $ tar xfz percona-server-mongodb-3.0.5-rel0.7rc-r42b00da-jessie-x86_64-bundle.tar
Copy the extracted binaries to the target directory:
$ mkdir psmdb $ cp -r -n percona-server-mongodb-3.0.5-rel0.7rc-r42b00da-jessie-x86_64-bundle/ psmdb
Add the location of the binaries to the
PATH
variable:$ export PATH ~/psmdb/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
.Note
By default, Percona Server for MongoDB starts with the MMAPv1 storage engine (standard engine in MongoDB). If you want to run with PerconaFT, specify the
--storageEngine=PerconaFT
option on the command line when runningmongod
, or set thestorage.engine
option in the configuration file. For more information, see Switching Storage Engines.
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 professional services, contact Percona Sales.