win7-32bit 下安裝mongoDB

來源:互聯網
上載者:User

step1:

download from http://www.mongodb.org/downloads

step2:

解壓下載檔案到磁碟某個位置,複製其bin路徑如:H:\DevelopmentTools\mongodb2.4.6\bin

並在系統內容變數中添

step3:

在H:\DevelopmentTools\mongodb2.4.6 目錄下建立一個設定檔:mongod.cfg

兩個屬性:

logpath=H:\DevelopmentTools\mongodb2.4.6\log\mongo.log

dbpath=H:\DevelopmentTools\mongodb2.4.6\data

setp4:

右鍵以管理員身份運行cmd 佈建服務

mongod --config H:\DevelopmentTools\mongodb2.4.6\mongod.cfg --install

setp5: 啟動服務

net start MongoDB

步驟參考來自:

http://docs.mongodb.org/manual/installation/



本文出自 “welcone!” 部落格,請務必保留此出處http://welcone.blog.51cto.com/5430968/1303164

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.