Install Mongo 3.2 on Ubuntu 15.10

Tags:

Answer: 1

10 hours ago

I want to install Mongo 3.2 on Ubuntu 15.10.

The official mongodb site gives steps up to 14.04.

On the other hand, using the normal ppa from Ubuntu uses the 2.6 version (which is kinda way too back).

Added by: Harvey Kris III

Answer: 2

31 hours ago

Thanks to @Zacharee1, I got 3.2 of Mongo installed on Ubuntu 15.10. Below are the steps taken from LiberianGeek (changed just the version to match 3.2)

Add Key

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10

Add Sources List

echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list

Update your sources

sudo apt-get update

Install mongodb-org

sudo apt-get install mongodb-org

Check if working

sudo systemctl status mongod

If not working

sudo reboot

If still not working

At the time of writing this, I had Mongo 3.2.1.

Working example. Mongo 3.2.1 on Ubuntu 15.10

Answer: 3

1 hours ago

Following the above steps, I got a public key is not available: NO_PUBKEY error

In case this happens to anyone else, I resolved it with:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv EA312927
Added by: Wilhelm Bernier

Answer: 4

12 hours ago

For Mongo v3.0 and before you should use this key:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10

https://docs.mongodb.org/v3.0/tutorial/install-mongodb-on-ubuntu/

For Mongo v3.2 the key has an update:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927

https://docs.mongodb.org/v3.2/tutorial/install-mongodb-on-ubuntu/

Added by: Joan Kerluke

Popular Search

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9