Monday, 16 February 2015

                            {Mongo Db : Get It UPPPP and Running}

Hi ,
Lets start making a good backend software engineer (Not me ).
Basic misconception about software organizations i.e software developer means
A person who could code frontend pages  Its like saying A car is as good as its interface and  usability .... not the engine . Always remember every application is  data driven . Hence the optimized the data structure and architecture better the performance .

First step to a good configuration is good installation with all the right parameters.

I will get into details but first have a bite of Mongo Lets start with it

Download the latest mongo release from Mongodb.org(dont download src download binary ) .
It will be compressed hence please :) un compress it
Yeah good Job  50% of work is done
Now change directory to the mongodb uncompressed directory
and the you will see bin folder and a readme file
 Please Read readme file  "Thats why its there "

you will  find the basic information in it . It is not a wastage some body has devoted time Please READ IT
It will give info as follows

COMPONENTS

  bin/mongod - The database process.
  bin/mongos - Sharding controller.
  bin/mongo  - The database shell (uses interactive javascript).

UTILITIES

  bin/mongodump         - MongoDB dump tool - for backups, snapshots, etc..
  bin/mongorestore      - MongoDB restore a dump
  bin/mongoexport       - Export a single collection to test (JSON, CSV)
  bin/mongoimport       - Import from JSON or CSV
  bin/mongofiles        - Utility for putting and getting files from MongoDB GridFS
  bin/mongostat         - Show performance statistics

RUNNING

  For command line options invoke:

    $ ./mongod --help

  To run a single server database:

    $ mkdir /data/db
    $ ./mongod
    $
    $ # The mongo javascript shell connects to localhost and test database by default:
    $ ./mongo 
    > help

DRIVERS

  Client drivers for most programming languages are available at mongodb.org.  Use the
  shell ("mongo") for administrative tasks.

DOCUMENTATION

  http://www.mongodb.org/

MAIL LISTS AND IRC

  http://dochub.mongodb.org/core/community
 

  For Starting Mongodb change directory to bin

and    To run a single server database:

    $ mkdir /data/db
    $ ./mongod
    $
    $ # The mongo javascript shell connects to localhost and test database by default:
    $ ./mongo 
    > help

and ABRA KA DABRA Magic spell and MOngo is UPPPP ANd Runing

Thats all for Now we will dig deep with all the parameters nad scenarios in installation IN My Future Blogs

 


 

No comments:

Post a Comment