Mongo install ubuntu 12.04

Posted: 8th November 2016 by admin in all
Tags: , ,

Fast , not clustered mongo installation (QA pupposes mainly)

#!/bin/bash
 sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
 echo "deb http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.0 multiverse" |     sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
 sudo apt-get update
 sudo apt-get install -y mongodb-org

 

*