본문 바로가기

programming/db, web, node.js

[mongoDB v7] 1. server 설치, config, 실행

윈도우 11 64bit 에서 mondoDB server 설치

 

# 서버 설치 경로
  https://www.mongodb.com/try/download/community

 

Try MongoDB Community Edition

Try MongoDB Community Edition on premise non-relational database including the Community Server and Community Kubernetes Operator for your next big project!

www.mongodb.com

 

  mongodb v7.0.16 

# config 중 오류 ?
 "The domain, user name and/or password are incorrect. Remember to use "." for the domain if the account is on the local machine.

 Run service as Network Service user로 설치해야 함.



# 설치된 위치
C:\Program Files\MongoDB\Server\7.0\bin\

 

# daemon 실행 방법
  윈도우11에서 기본 C: 드라이브가 dbpath면 실행 안됨.
  아래와 같이 다른 드라이브 지정할 것
  "C:\Program Files\MongoDB\Server\7.0\bin\mongod" --dbpath "D:\data\db"

 


# shell은 따로 설치해줘야 함.
   https://www.mongodb.com/try/download/shell

 

Try MongoDB Tools - Download Free Here

Free download for MongoDB tools to do more with your database. MongoDB Shell, Compass, CLI for Cloud, BI Connector and other database tools available.

www.mongodb.com

 

 

# shell 실행 방법

C:\Program Files\MongoDB\mongosh-2.4.0-win32-x64\bin\mongosh.exe