mongodb をいれてみた。
bash
1
$ brew install mongodbこれでインストール完了。簡単。
自動起動する設定も書いてあるからそれを実行するだけ。
bash
1
2
$ ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents
$ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plistこれで自動起動される。
手動で起動するには、次のようにする。
bash
1
$ launchctl start homebrew.mxcl.mongodb