• 카테고리

    질문 & 답변
  • 세부 분야

    데이터베이스

  • 해결 여부

    미해결

설치문제

20.07.22 00:57 작성 조회수 139

0

맥북으로 terminal 환경에서 mongodb 를 설치하려 했는데 

Error: No previously deleted formula found.

==> Searching for similarly named formulae...

Error: No similarly named formulae found.

==> Searching taps...

==> Searching taps on GitHub...

Error: No formulae found in taps.

(base) hamsanghun-ui-MacBook-Air-2:~ tkdgnsskan$ mongod

-bash: mongod: command not found

(base) hamsanghun-ui-MacBook-Air-2:~ tkdgnsskan$ 

이런식의 명령어가 나오네요. 다른 방법으로 설치하려 했지만 이또한 되지 않았습니다.

답변 3

·

답변을 작성해보세요.

1

momomy님의 프로필

momomy

2020.08.10

같은 문제가 발생하여 해결 방법을 기입합니다.

brew services stop mongodb brew uninstall mongodb brew tap mongodb/brew brew install mongodb-community brew services start mongodb-community

출처 :
https://stackoverflow.com/questions/57856809/installing-mongodb-with-homebrew

1

안녕하세요. 

일단 어떤 식으로 설치를 하셨는지를 잘 모르겠습니다.

일단 정석적인 방법이 안된다면,

맥환경이시라면, brew 명령어를 사용해서 다음과 같은 명령으로 설치해보시면 어떨까요?

brew install mongodb-community 

설치후 실행은 

brew services start mongodb-community

와 같이 명령하시면 되고요.

다음 링크를 한번 확인해보시면 좋을 것 같습니다.

그래도 또 안되면, 새로운 질문으로 좀더 상세하게 말씀해주시면 또 도움을 드릴께요.

감사합니다.

http://lumwave.com/blog/web-development/web-basic/%EB%A7%A5%EB%B6%81-mongodb-%EC%84%A4%EC%B9%98%ED%95%98%EB%8A%94-%EB%B0%A9%EB%B2%95-homebrew-%EC%84%A4%EC%B9%98%ED%95%98%EA%B8%B0/

0

Seung Hyeon Lee님의 프로필

Seung Hyeon Lee

2020.11.04

저도 같은 문제였는데 잔재미님이 답변주신것과 같은 내용이 스택오버플로우에 있었습니다!
https://stackoverflow.com/questions/57856809/installing-mongodb-with-homebrew

다른 분들 참고하시라고 달아놓습니당