Archive for November, 2016

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:// –recv 7F0CEB10 echo "deb 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  

Aproximatelly from a month + my server was down All data and websites were unavailabe , I'm tried to recover the data but just closed the bussiness and shutted down the servers.. Nice… Very nice rule #1 – Always keep recent backup