Focus On Develop ๐ŸคŸ๐ŸคŸ

[BigSur] MongoDB ์„ค์น˜ํ•˜๊ธฐ ๋ณธ๋ฌธ

๊ณตํ†ต/BackEnd

[BigSur] MongoDB ์„ค์น˜ํ•˜๊ธฐ

๋ˆ„๋ฆฌ๋‹ฌ์ดํ‹€ 2021. 3. 4. 17:24

์•ˆ๋…•ํ•˜์„ธ์š”~!! ์ด๋ฒˆ ํฌ์ŠคํŒ…์—์„œ๋Š” MongoDB๋ฅผ ์„ค์น˜ํ•˜๋Š” ๊ณผ์ •์„ ์‚ดํŽด๋ณผ๊ฒŒ์š”!

MacOS BigSur ๊ธฐ์ค€์œผ๋กœ ์ž‘์„ฑํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค!

 

docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/

 

Install MongoDB Community Edition on macOS — MongoDB Manual

 

docs.mongodb.com

 

๊ณต์‹ ํ™ˆํŽ˜์ด์ง€์— ๊ฐ€์ด๋“œ๊ฐ€ ์ž˜ ๋‚˜์™€์žˆ์–ด์š”. ์‹œํ‚ค๋Š”๋Œ€๋กœ ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•ด์ค๋‹ˆ๋‹ค.

brew tap mongodb/brew

๋ญ”๊ฐ€ ์—…๋ฐ์ดํŠธ๊ฐ€ ๋˜์—ˆ์–ด์š” ๐Ÿ‘

 

brew install mongodb-community@4.4

์˜คํ˜ธ~~ ์ž˜ ์„ค์น˜๊ฐ€ ๋˜์—ˆ์–ด์š”!! ๐Ÿ˜Ž ์—„์ฒญ๊ฐ„๋‹จํ•˜์ฃ ~~?

 

์‹ค์ œ๋กœ ์‚ฌ์šฉํ• ๋•Œ๋Š”, ์ด ์„ค์น˜๋œ mongo DB๋ฅผ ์ผœ์ฃผ๊ณ , ๊บผ์ฃผ๊ณ ๋งŒ ํ•˜๋ฉด ๋˜์š”!

brew services start mongodb-community@4.4

์‹œ์ž‘ํ• ๋•Œ๋Š” ์ด๋ ‡๊ฒŒ start ํ•ด์ฃผ๋ฉด ๋˜๊ตฌ์š”!

brew services stop mongodb-community@4.4

 

์ข…๋ฃŒํ• ๋•Œ๋Š” ์ด๋ ‡๊ฒŒ stop ํ•ด์ฃผ๋ฉด ๋ฉ๋‹ˆ๋‹ค~!!

 

 

์ด๋ ‡๊ฒŒ ๊ฐ„๋‹จํ•˜๊ฒŒ mongo DB ์„ค์น˜๋ถ€ํ„ฐ ์‚ฌ์šฉ๊นŒ์ง€ ํ•œ๋ฒˆ ์•Œ์•„๋ณด์•˜์Šต๋‹ˆ๋‹ค~!!

 

์˜ค๋Š˜๋„ ๋ˆ„๊ตฐ๊ฐ€์—๊ฒŒ ๋„์›€์ด ๋˜์—ˆ๊ธธ ๋ฐ”๋ž˜์š” ๐Ÿ™

 

Comments