mongodb 学习笔记1-mac 安装

1 mac 安装
brew install mongodb
查看安装的文件 brew list mongodb

2 新建数据dir
sudo mkdir -p /data/db

3 启动
server: sudo mongod
client shell: sudo mongo

4 pymongo
http://superuser.com/questions/121407/python-easy-install-confused-on-mac-os-x
easy_install -U setuptools
python -m easy_install pymongo

你可能感兴趣的:(mongodb,python,OS,brew)