.deb packages for 64-bit versions
of the following distributions:
Percona Server for MongoDB should work on other DEB-based distributions, but it is tested only on platforms listed above.
The packages are available in the official Percona software repositories
and on the download page.
It is recommended to intall Percona Server for MongoDB from repositories using
|Contains Mongo tools for high-performance MongoDB fork from Percona.|
|Contains debug symbols for the server.|
Fetch the repository packages from Percona web:
$ wget https://repo.percona.com/apt/percona-release_0.1-4.$(lsb_release -sc)_all.deb
Install the downloaded package with dpkg by running the following command as root or with sudo:
$ sudo dpkg -i percona-release_0.1-4.$(lsb_release -sc)_all.deb
Once you install this package, the Percona repositories should be added.
You can check the repository configuration
Update the local cache:
$ sudo apt-get update
Install the server package:
$ sudo apt-get install percona-server-mongodb-34
Percona offers pre-release builds from the testing repo,
and early-stage development builds from the experimental repo.
To enable them, add either
experimental at the end
of the Percona repository definition in your repository file
For example, if you are running Debian 8 (“jessie”) and want to install the latest testing builds, the definitions should look like this:
deb http://repo.percona.com/apt jessie main testing deb-src http://repo.percona.com/apt jessie main testing
If you are running Ubuntu 14.04 LTS (Trusty Tahr) and want to install the latest experimental builds, the definitions should look like this:
deb http://repo.percona.com/apt trusty main experimental deb-src http://repo.percona.com/apt trusty main experimental
If you want to pin your packages to avoid upgrades,
create a new file
and add the following lines to it:
Package: * Pin: release o=Percona Development Team Pin-Priority: 1001
For more information about pinning, refer to the official Debian Wiki.
By default, Percona Server for MongoDB stores data files in
and configuration parameters in
Starting the service
Percona Server for MongoDB is started automatically after installation unless it encounters errors during the installation process. You can also manually start it using the folowing command:
$ sudo service mongod start
Confirming that service is running
Check the service status using the following command:
$ sudo service mongod status
Stopping the service
Stop the service using the following command:
$ sudo service mongod stop
Restarting the service
Restart the service using the following command:
$ sudo service mongod restart
Debian 8 (“jessie”) and Ubuntu 16.04 (Xenial Xerus)
come with systemd
as the default system and service manager.
You can invoke all the above commands with
Currently both are supported.
To uninstall Percona Server for MongoDB you’ll need to remove all the installed packages.
Removing packages with
will leave the configuration and data files.
Removing the packages with
will remove all the packages with configuration files and data.
Depending on your needs you can choose which command better suits you.
Stop the server:
$ sudo service mongod stop
Remove the packages.
If you want to leave configuration and data files:
$ sudo apt-get remove percona-server-mongodb*
If you want to delete configuration and data files as well as the packages:
$ sudo apt-get purge percona-server-mongodb*
For general inquiries, please send us your question and someone will contact you.