Comments on How to Install and Configure MongoDB on Ubuntu 14.04

MongoDB is a NoSQL database that offers a high performance, high availability, and automatic scaling enterprise database. Data is stored in a "document" structure in JSON format (in MongoDB called BSON). MongoDB was first introduced in 2009 and is currently developed by the company MongoDB Inc. This tutorials shows the installation and configuration of MongoDB on Ubuntu 14.04.

5 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: ralphie

I followed your procedure above but except the 

 `Uncomment the line #auth = true by removing the # character, then save and exit.`

since I cannot find this line  "#auth = true"

but i have this error after i try to connect 

MongoDB shell version: 3.0.7

connecting to: test

2015-11-24T01:02:17.177+0800 W NETWORK  Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused

2015-11-24T01:02:17.179+0800 E QUERY    Error: couldn't connect to server 127.0.0.1:27017 (127.0.0.1), connection attempt failed

    at connect (src/mongo/shell/mongo.js:179:14)

    at (connect):1:6 at src/mongo/shell/mongo.js:179

exception: connect failed

 

By: mongonoob

Starting a shell, attempting to connect to a non-running database (connection refused) Starting the database, seeing 0 connections in the logs Stopping the database (Ctrl-C or similar), starting a shell, fails to connect again because database has been shut down Starting the database, seeing 0 connections in logs repeat

http://stackoverflow.com/questions/26612648/mongodb-failed-to-connect-to-127-0-0-127017-reason-errno61-connection-refu

By: Amit Gunjal

Thank you very very much!

By: sam

Hi,

I installed clients tools on the application server and tried to connec to database mongodb on another server and I have all time connection refused and when I saw the mongodb errorlog there is no error. I think I am missing something. Could you provide me with the rigth mongo syntax to connect

thanks

By: Kherfani Nabil

If you got an error The following packages cannot be authenticated! while installing on ubuntu 14.04 just try this :