MongoDB 1.Mac下安装MongoDB 使用brew安装MongoDB, brew install mongodb ==> 启动MongoDB服务, brew services start mongodb 2.在Mac下使用MongoDB