Skip to main content

Posts

Showing posts from April, 2014

Install Mongodb using binaries in linux

Mongodb is open source, no sql database which widely use in modern applications. You can go through official mongodb site for more details. First we need to download the suitable(32-bit or 64-bit) tgz file through this link Then put that tgz file where you need (Note :- I put that file in 'installs' directory in Home directory) Extract the tar file Then we can see there is only one directory which called 'bin' inside the extracted mongodb directory. Now we need to create additional four directories which called conf , data , pid and logs . Then we need to add a mongodb configuration file to conf directory which called mongo_default.conf Here is my file. You have to set paths in the file according to your configurations.  If the configuration file is configured correctly, now you can start mongo server explicitly and access mongo database. First we need to go the the mongodb bin directory. Start mongo server with