Chapter 1. Installing and Starting the Server
In this chapter, we will cover the following recipes:
- Installing single node MongoDB
- Starting a single node instance using the command-line options
- Installing single node MongoDB with options from the config file
- Connecting to a single node in the Mongo shell with JavaScript
- Connecting to a single node from a Java client
- Connecting to a single node from a Python client
- Starting multiple instances as part of a replica set
- Connecting to the replica set in the shell to query and insert data
- Connecting to the replica set to query and insert data from a Java client
- Connecting to the replica set to query and insert data using a Python client
- Starting a simple sharded environment of two shards
- Connecting to a shard in ...
Get MongoDB Cookbook - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.