We just had a very nice overview talk on MongoDB, so I wanted to give it a shot, especially its Python interface Mongoengine and installed it on my notebook. Turns out installing is just as easy as the docu said. Unzip the package from Mongo's download page into the directory of your choice, create a cfg file with two entries,
dbpath pointing to the directory where Mongo will place its DB files and logpath pointing to the log file.
Then install it as a service in a shell with administrator rights:
D:\>d:\packages\mongodb-win32-x86_64-2008plus-2.2.3\bin\mongod.exe --config c:\U
sers\me\mongodb.cfg --install
all output going to: D:\logs\mongo.log
D:\>net start MongoDB
The Mongo DB service was started successfully.
D:\>
The installation can be immediately tested with mongo.exe:
C:\Users\usd22492>d:\packages\mongodb-win32-x86_64-2008plus-2.2.3\bin\mongo.exe
MongoDB shell version: 2.2.3
connecting to: test
Welcome to the MongoDB shell.
For interactive help, type "help".
For more comprehensive documentation, see
http://docs.mongodb.org/
Questions? Try the support group
http://groups.google.com/group/mongodb-user
>
Now on to the even simpler installation of MongoEngine (provided Python and pip are already onboard):
> pip install -U mongoengine
Just like the docu says.
'via Blog this'
No comments:
Post a Comment