summaryrefslogtreecommitdiff
path: root/README
blob: 3b166d1880072e762711de725463676dee4533c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
MongoDB README

DOCUMENTATION

  http://www.mongodb.org/

COMPONENTS

  mongod - The database process.
  mongos - Sharding controller.
  mongo  - The database shell (uses interactive javascript).

BUILDING
      
  see docs/building.md

RUNNING

  To see command line options invoke:

    $ ./mongod --help

  To run a single server database:

    $ mkdir /data/db
    $ ./mongod
    $
    $ # mongo shell connects to localhost and test database by default:
    $ ./mongo 
    > help

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.

LICENSING

  Most MongoDB source files are made available under the terms of the
  GNU Affero General Public License (AGPL).  See individual files for
  details.

  As an exception, the files in the debian/ directory, the rpm/
  directory, and all subdirectories thereof are made available under
  the terms of the Apache License, version 2.0.