Install
Easy installing by homebrew
brew install mongodb
Make directory for mongodb
sudo mkdir -p /data/db
and have to give permission to /data/db
sudo chown $USER /data/db
Basic setting
Activate mongod
mongod
And access mongodb shell by mongo
command
'backend' 카테고리의 다른 글
centos에서 uwsgi 설치 오류 해결 (the gcc failed with exit status 1) (0) | 2019.03.12 |
---|---|
serverless 사용해보기 (0) | 2019.02.15 |
TIL 문제풀이 (0) | 2018.06.05 |
Install redis on mac osX (0) | 2018.04.14 |
nosql: basic usage of OrientDB (0) | 2018.04.10 |