Last active
February 3, 2016 17:57
-
-
Save joellobo/d745e542917a0614648d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
curl -O https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.0.6.tgz | |
tar -zxvf mongodb-linux-x86_64-3.0.6.tgz | |
cd mongodb-linux-x86_64-3.0.6/bin | |
sudo ./mongod --dbpath /home/joellobo/Dev/database/mongodb/3.0.0/db | |
./mongo | |
http://askubuntu.com/questions/617097/mongodb-2-6-does-not-start-on-ubuntu-15-04 | |
----------------------- | |
Livro da Casa do Codigo | |
----------------------- | |
sudo -i | |
(nao funcionou) | |
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 | |
echo 'deb http://downloads-distro.mongodb.org/repo/ ubuntu-upstart dist 10gen' | tee /etc/apt/sources.list.d/mongodb.list | |
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen | |
(funcionou) https://candidosalesg.wordpress.com/2012/11/07/ruby-rvm-rails-mongodb-ubuntu-12-10/ | |
apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 | |
sh -c "echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' >> /etc/apt/sources.list" | |
apt-get update | |
apt-get install mongodb-org |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment