MongoDB installation from tar distribution

Follow the steps below for MongoDB installation using tar distribution: 1. Download the stable release of MongoDB from here. 2. Extract the distribution tar –xzvf mongodb-linux 3. Create a directory for mongo db in /opt. mkdir /opt/mongodb 4. Move the distribution files to mongodb directory mv mongolinux/* /opt/mongodb 5. Add […]