0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
mongodb/README

79 lines
1.6 KiB
Plaintext
Raw Normal View History

2009-10-22 16:45:50 +02:00
MongoDB README
2008-07-22 15:54:25 +02:00
DOCUMENTATION
2009-10-22 16:45:50 +02:00
http://www.mongodb.org/
2008-07-22 15:54:25 +02:00
2009-03-19 18:29:27 +01:00
COMPONENTS
2008-07-22 15:54:25 +02:00
2009-10-22 16:45:50 +02:00
mongod - The database process.
mongos - Sharding controller.
mongo - The database shell (uses interactive javascript).
2008-07-22 15:54:25 +02:00
BUILDING
2009-05-27 15:21:22 +02:00
For detail information about building, please see:
2009-05-27 15:21:22 +02:00
http://www.mongodb.org/display/DOCS/Building
If you want to build everything (mongod, mongo, tools, etc):
$ scons .
If you only want to build the database:
$ scons
2008-07-22 15:54:25 +02:00
2009-05-27 15:21:22 +02:00
To install
2009-05-27 15:21:22 +02:00
$ scons --prefix=/opt/mongo install
2009-10-22 16:45:50 +02:00
Please note that prebuilt binaries are available on mongodb.org and may be the easier way to get started.
2008-07-22 15:54:25 +02:00
RUNNING
2009-10-22 16:45:50 +02:00
./mongod
runs the database. Use
./mongod --help
to see command line options.
2008-07-22 15:54:25 +02:00
2008-07-22 15:56:45 +02:00
COMPILER VERSIONS
2009-10-22 16:45:50 +02:00
Mongo has been tested with GCC 4.x and Visual Studio 2008. Older versions
of GCC may not be happy.
2008-07-22 15:56:45 +02:00
2008-07-22 15:54:25 +02:00
NOTES
2009-10-22 16:45:50 +02:00
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.
WINDOWS
2009-01-09 18:33:47 +01:00
2009-10-22 16:45:50 +02:00
See also http://www.mongodb.org/display/DOCS/Building+for+Windows
2009-01-09 18:33:47 +01:00
2009-10-22 16:45:50 +02:00
Build requirements:
- vc++ express or visual studio
- python 2.5 (for scons - 2.6 might be needed for some regression tests)
- scons
- boost 1.35 (or higher)
- windows sdk - tested with v6.0 v6.0a
2009-03-19 18:29:27 +01:00
2009-10-22 16:45:50 +02:00
Or download a prebuilt binary for Windows at www.mongodb.org.
2009-01-09 18:33:47 +01:00
2009-10-22 16:45:50 +02:00
UBUNTU
2009-01-13 15:15:47 +01:00
2009-10-22 16:45:50 +02:00
scons libboost-dev libpcre++-dev xulrunner-1.9.1-dev
2009-01-13 15:15:47 +01:00
2009-10-22 16:45:50 +02:00
FreeBSD
2009-10-22 16:45:50 +02:00
Install the following ports:
2009-10-22 16:45:50 +02:00
- devel/boost
- devel/libexecinfo
- devel/pcre
- lang/spidermonkey