dev/mongoDB

mongoDB 설치

아디봉 2020. 6. 4. 00:38

https://www.mongodb.com/download-center/community

 

Download Center: Community Server

Download MongoDB Community Server, the most popular non-relational database built to address the needs of modern applications.

www.mongodb.com

 

* macOS

homebrew 이용해서 간편하게 설치가능 

 

설치명령어 

$brew update

$brew install mongodb

$bred services mongodb

 

 

* windows

mongoDB 공식사이트에서 인스톨러를 내려받음 

설치도중 complate or Custom 선택하는 부분에서 complate 선택 

나머지는 기본으로 설치 

 

* 리눅스

https://docs.mongodb.com/manual/administration/install-on-linux/

 

Install MongoDB Community Edition on Linux — MongoDB Manual

 

docs.mongodb.com

 

* 작동확인 

window 의 경우 

1) mongo db 확인명령어

2) cd C:\programe Files\mongoDB\server\4.0\