RockMongo is a MongoDB administration tool which is used to manage server, databases, collections, documents, indexes, and many more. It offers a very user-friendly way for reading, writing, and creating documents and is similar to PHPMyAdmin tool for PHP and MySQL.
Latest version of RockMongo can be downloaded from here: http://rockmongo.com/downloads
After the download is complete, package can be unzipped in the server root folder and then you can rename the extracted folder to rockmongo. Open any web browser to access index.php page from the folder rockmongo and enter admin/admin as username/password respectively.
Let’s look at some basic operations which can be performed with RockMongo.
Click on Databases tab to create a new database and then click Create New Database. In the next screen, enter name of the new database and click on Create. You can see that a new database is getting added in the left panel.
Click on that database from the left panel to create a new collection inside a database. Click on the New Collection link on top and provide required name of the collection. Don’t worry about the other fields of Is Capped, Size and Max. Click on Create. A new collection will be created and will be visible in the left panel.
Click on the collection to create a new document in which you want to add documents. When you click on a collection, you will see all the documents within that collection listed there. Click on the Insert link at the top to create a new document and enter the document's data either in JSON or array format and click on Save.
To import/export data of any collection, click on that collection and then click on Export/Import link on the top panel. Follow the instructions to export data in a zip format and then import the same zip file to import back data.
MongoDB Related Interview Questions
|Python Interview Questions||C & Data Structures Interview Questions|
|Hadoop Interview Questions||Node.js Interview Questions|
|Scala Interview Questions||Socket Programming Interview Questions|
|HBase Interview Questions||Solaris Administrator Interview Questions|
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.