Skip to content

Instantly share code, notes, and snippets.

@kachick
Last active July 28, 2018 03:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kachick/59b1e020588aef6874d9e2b300a2204c to your computer and use it in GitHub Desktop.
Save kachick/59b1e020588aef6874d9e2b300a2204c to your computer and use it in GitHub Desktop.
古いmongodb を MacOSX + homebrew で使う
brew unlink mongodb
brew install homebrew/versions/mongodb32
brew info mongodb
mongod --version
# kill -9 で 古いmongod殺した。
brew link homebrew/versions/mongodb32
brew services start homebrew/versions/mongodb32

ls /usr/local/var/mongodb こいつらけさないとあがるバージョン古いかも?

http://tech.withsin.net/2015/10/02/homebrew-versions/ とか見ながらやった

@kachick
Copy link
Author

kachick commented Jul 28, 2018

今なら brew install mongodb@3.2 でいい

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment