반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- useState
- useEffect
- useRef
- Hook 함수
- bottom tabs
- reactnative
- 리액트네이티브
- rembg
- 포트폴리오 사이트
- MonGo
- react native
- 갤럭시 스킨
- 리액트 쿼리
- tabBarStyle
- 에뮬레이터 스킨
- 이미지 배경 지우기
- Stack
- redux/toolkit
- oh-my-zsh
- gitpages
- bottom tabBar
- useMemo
- useCallback
- nodejs
- Drawer
- mongoDB
- iTerm2
- ReactQuery
- listeners
- react
Archives
- Today
- Total
프론트엔드 개발자의 개발 놀이터
MacOS MongoDB 설치 및 설정 본문
반응형
https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-os-x/
Install MongoDB Community Edition on macOS — MongoDB Manual
Docs Home → MongoDB Manual MongoDB AtlasMongoDB Atlas is a hosted MongoDB service option in the cloud which requires no installation overhead and offers a free tier to get started.Use this tutorial to install MongoDB 7.0 Community Edition on macOS using
www.mongodb.com
Homebrew Tap 등록
brew tap mongodb/brew
MongoDB 설치
brew install mongodb-community
MongoDB 버전 확인
mongo -version
MongoDB 데이터 저장소 생성
sudo mkdir -p /Users/$(whoami)/data/db
MongoDB 서비스 실행
brew services start mongodb-community
MongoDB 서비스 종료
brew services stop mongodb-community
MongoDB 상태 확인
brew services list
MongoDB 기본 포트 확인
lsof -i:27017
MongoDB 서버 실행
sudo mongod --dbpath data/db
MongoDB 명령어 프롬프트 접속
mongo
'MongoDB' 카테고리의 다른 글
MongoDB와 NodeJS 연동하기 (0) | 2024.02.02 |
---|---|
MongoDB 문법 (0) | 2024.02.02 |