Motyar

Freelance Web Developer

Mar 4, 2016

Upgrade MongoDB to Latest Version on Linux

Here is quick process :-

Check your current version, using

mongo --version
Download latest version from website:-
 Copy the URL to download, in my case it was https://fastdl.mongodb.org/linux/mongodb-linux-i686-3.2.3.tgz 

>wget https://fastdl.mongodb.org/linux/mongodb-linux-i686-3.2.3.tgz
>tar -xvzf mongodb-linux-i686-3.2.3.tgz
>cp mongodb-linux-i686-3.2.3/bin/* /usr/bin/

Check if it worked:-
>mongo --version

Labels: , , ,


By :