How do I upgrade mongodb 1.8 to 2.2 on ubuntu?

Posted by Alex Waters on Server Fault See other posts from Server Fault or by Alex Waters
Published on 2012-11-28T18:19:15Z Indexed on 2012/11/28 23:05 UTC
Read the original article Hit count: 126

Filed under:
|

Following this guide: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ I ended up with mongodb 18 on my Ubuntu 10.04.

I've just read the 2.2 mongodb release notes on upgrading and it says to just replace the binary. Would that be /usr/lib/mongodb/mongod ?

It looks like the 2.2 tar has several files I might need to copy over: mongo, mongod, mongoexport, mongodump, mongofiles, mongoimport, mongorestore, mongos, xulwrapper

Can I just copy and paste all of those over to replace the old versions of those files?

© Server Fault or respective owner

Related posts about ubuntu

Related posts about mongodb