Home > Database > Mysql Tutorial > body text

Mongodb一之快速上手部署

WBOY
Release: 2016-06-07 16:11:00
Original
1020 people have browsed it

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

\\

部署成功。

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!