Home  >  Article  >  Database  >  Mongodb一之快速上手部署

Mongodb一之快速上手部署

WBOY
WBOYOriginal
2016-06-07 16:11:001056browse

Mongodb之快速上手部署 一.下载mongdb,mongoVUE 我这里下载的是windows zip包 二.解压后 重命名为mongodb 三.在mongodb目录中创建 data,log,repair文件 四:建start.bat,repar.bat Start.bat代码如下: mongod --dbpath=F:\mongodb\data --port 27017 --

Mongodb之快速上手部署

一.下载mongdb,mongoVUE

我这里下载的是windows zip包

\

二.解压后

重命名为mongodb

\

三.在mongodb目录中创建 data,log,repair文件

\

四:建start.bat,repar.bat

\

Start.bat代码如下:

mongod --dbpath=F:\mongodb\data --port 27017 --logpath=F:\mongodb\logs\mongodb.log

备注:--dbpath指定数据存储路径与端口号,--logpath指定日志存储路径

Repair.bat代码如下:喎?http://www.2cto.com/kf/ware/vc/" target="_blank" class="keylink">vcD4KPHA+bW9uZ29kIC0tcmVwYWlyIC0tZGJwYXRoIEY6XG1vbmdvZGJcZGF0YSAtLXJlcGFpcnBhdGggRjpcbW9uZ29kYlxyZXBhaXJcPC9wPgo8cD4gPC9wPgo8cD6xuNeio7rWuLao0N64tMHZyrHOxLz+tOa0osK3vrajrLWxbW9uZ29kYtLizeLNy7P2o6zO3reo1f2zo8b0tq/KsaOsteO799DeuLShozwvcD4KPHA+IDwvcD4KPHA+zuWjrrXju/cgc3RhcnQuYmF0xvS2rzwvcD4KPHA+IDxpbWcgc3JjPQ=="http://www.2cto.com/uploadfile/Collfiles/20141130/20141130095714149.png" alt="\">

六:打开mongoVUE.exe

\\

部署成功。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn