Forum archive
Update MongoDB & Add admin user
Hi,
Is there any way to update the MongoDB version on TKL MongoDB version 14.0? Ned to have version 3.0 on MongoDB, not 2.4.10 as it's now.
And how do I add a new root admin user from the ssh command prompt for MongoDB?
IMO the next preferred path would be to add a backported version but unfortunately that is not currently an option. "Experimental" in the only Debian repo that has a version of MongoDB that is v3.x. And IMO that is not a good path to take. Once that makes it's way into testing then there may be an option of a backport; but for now the only way to go would be to install it yourself from upstream.
Having said all that I just did a quick google and it appears that upstream provide their own MongoDB Debian repo. The docs look pretty good - have a look here. Also I found another link that relates to Debian Jessie explicitly (might be helpful as additional info).
I suggest that you document as you go and post back here then we may even be able to develop a helper script/package to make it easier for other who want to do the same thing. Also if you get stuck at all please feel free to ask. I'll try to help where I can.