|
Installation and Configuration
General considerations
How do you test the installation?
.
- Open another command prompt
- Run the command to start MongoDB
- Use the default database: use mydb
- Save a test document: db.test.save({a:1})
- Find the test document: db.test.find()
What if MongoDB does not start?
.
- Make sure you have added "dbpath" and "logpath" parameters to the MongoDB config file
- Make sure the "dbpath" and "logpath" directories have been created
- Make sure that MongoDB has permissions to read from
and write to the log and database path directories - Did you install the right version?
What about security?
.
- Authentication is disabled by default
- Review the security videos to learn how to enable authentication
|
|