node-nodejs - 用npm安装mongodb然后就可以启动mongodb服务吗
迷茫
迷茫 2017-05-02 09:17:55
0
3
707

用npm安装mongodb然后就可以启动mongodb服务吗

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(3)
我想大声告诉你

mongod --dbpath "D:webmongodbdata"
Change the path

巴扎黑

Yes, mongodb has very few running configurations. All running configurations can be completed directly through command line parameters or configured through configuration files.

小葫芦

Nope, You should install Mongodb.msi from official website first. Then Install it. so you can use mongo no matter from shell or node.js.

Install Mongodb via NPM just install the driver that Mongo Need, so you can use Node.js to control it.

This is the mongodb guide for beginner.
http://mongodb.github.io/node...

I hope this will helps you.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template