2010-05-02 01:40:57 +02:00
|
|
|
MongoDB README
|
|
|
|
|
|
|
|
DOCUMENTATION
|
|
|
|
|
|
|
|
http://www.mongodb.org/
|
|
|
|
|
|
|
|
COMPONENTS
|
|
|
|
|
|
|
|
mongod - The database process.
|
|
|
|
mongos - Sharding controller.
|
|
|
|
mongo - The database shell (uses interactive javascript).
|
|
|
|
|
|
|
|
BUILDING
|
|
|
|
|
2010-06-17 16:38:09 +02:00
|
|
|
See docs/building.md, also www.mongodb.org search for "Building".
|
2010-05-02 01:40:57 +02:00
|
|
|
|
|
|
|
RUNNING
|
|
|
|
|
2010-06-17 16:38:09 +02:00
|
|
|
For command line options invoke:
|
2010-05-02 01:40:57 +02:00
|
|
|
|
2010-05-02 03:36:33 +02:00
|
|
|
$ ./mongod --help
|
2010-05-02 01:40:57 +02:00
|
|
|
|
2010-05-02 03:36:33 +02:00
|
|
|
To run a single server database:
|
2010-05-02 01:40:57 +02:00
|
|
|
|
2010-05-02 03:36:33 +02:00
|
|
|
$ mkdir /data/db
|
|
|
|
$ ./mongod
|
|
|
|
$
|
2010-06-17 16:38:09 +02:00
|
|
|
$ # The mongo javascript shell connects to localhost and test database by default:
|
2010-05-02 03:36:33 +02:00
|
|
|
$ ./mongo
|
|
|
|
> help
|
2010-05-02 01:40:57 +02:00
|
|
|
|
2010-06-17 16:38:09 +02:00
|
|
|
DRIVERS
|
|
|
|
|
|
|
|
Client drivers for most programming languages are available at mongodb.org.
|
|
|
|
|
2010-05-02 01:40:57 +02:00
|
|
|
NOTES
|
|
|
|
|
|
|
|
Mongo uses memory mapped files. If built as a 32 bit executable, you will
|
|
|
|
not be able to work with large (multi-gigabyte) databases. However, 32 bit
|
|
|
|
builds work fine with small development databases.
|
|
|
|
|
2010-06-17 16:38:09 +02:00
|
|
|
LICENSE
|
2010-05-02 01:40:57 +02:00
|
|
|
|
|
|
|
Most MongoDB source files are made available under the terms of the
|
|
|
|
GNU Affero General Public License (AGPL). See individual files for
|
|
|
|
details.
|
|
|
|
|
2010-06-17 16:38:09 +02:00
|
|
|
As an exception, the files in the client/, debian/, rpm/,
|
|
|
|
utils/mongoutils, and all subdirectories thereof are made available under
|
2010-05-02 01:40:57 +02:00
|
|
|
the terms of the Apache License, version 2.0.
|
2010-06-17 16:38:09 +02:00
|
|
|
|