Created
September 13, 2015 11:34
-
-
Save hpherzog/edec024375773286c7e9 to your computer and use it in GitHub Desktop.
Install mongodb version 3.0.x on debian jessie
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 | |
echo "deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.0 main" | tee /etc/apt/sources.list.d/mongodb-org-3.0.list | |
apt-get update | |
apt-get install -y mongodb-org |
Works fine, just need to be root for the echo command. Sudo didn't like it.
Does not work for me :(
Using a debian 8 32 bit VM, can install mongo 2.4, but not 3.0, I still get
E: Unable to locate package mongodb-org
I am logged in the VM as root
... and it worked on a Debian 8 64 bit VM.
Guess the package is just not available for 32 bit architectures
it work on debian 8.2 jessie, 64 bit VM, thanks.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
oh.it does not work.
E: Unable to locate package mongodb-org