Friday, 24 June 2016

robomongo installation

Installing Robomongo on windows (intial setup)

MongoDB is the leading NoSQL database. In this tutorial I will explain step by step how to install MongoDB and Robomongo (cross-platform MongoDB management tool).
  • To download MongoDB open the official web site:http://www.mongodb.org/downloads
  • Select version and download it
  • Run the downloaded file
  • Now you have MongoDB installed. You can open the folder (in my case this is C:\Program Files\MongoDB 2.6 Standard)
  • Notice that there is a ‘bin’ folder here.
There are two main files inside:
  • mongod.exe – this is the database server
  • mongo.exe – this is the database client shell
Both are command line programs and each expects to be run in its own command line session.
  • Ok, the last thing that we should do before we start the server is to create the databases path. For example you can create an empty folder on D:\ and name it “MongoDB” (D:\MongoDB). Your databases will be stored here.
  • Open the command prompt (cmd): Start -> type “cmd” in the search field
  • cd C:\Program Files\MongoDB 2.6 Standard\binAnd click “Enter”
  • mongod.exeand then "Enter"
  • mongod --dbpath=D:\MongoDB (We need to specify the databases path. I created "MongoDB" folder on D:\. If you created it somewhere else, set your path after --dbpath=)then "Enter"
  • Open new cmd (Start -> type cmd in the search field)
  • Type: cd C:\Program Files\MongoDB 2.6 Standard\bin
  • Then mongo.exe and press "Enter"
  • Download Robomongo: http://robomongo.org/
  • Install it and run it
  • Create a connection:
    Then select “Connect”
  • Now yo

No comments:

Post a Comment