Last active
January 16, 2017 07:38
-
-
Save taogawa/706585bf274f03888c132154ef82d980 to your computer and use it in GitHub Desktop.
Mongo2.4をダウンロードしてインストール
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://downloads.mongodb.org/osx/mongodb-osx-x86_64-2.4.14.tgz | |
tar zxvf mongodb-osx-x86_64-2.4.14.tgz | |
mv mongodb-osx-x86_64-2.4.14 /opt/mongodb | |
cd /usr/lobal/bin | |
ln -s /opt/mongodb/bin/bsondump bsondump | |
ln -s /opt/mongodb/bin/mongo mongo | |
ln -s /opt/mongodb/bin/mongod mongod | |
ln -s /opt/mongodb/bin/mongodump mongodump | |
ln -s /opt/mongodb/bin/mongoexport mongoexport | |
ln -s /opt/mongodb/bin/mongofiles mongofiles | |
ln -s /opt/mongodb/bin/mongoimport mongoimport | |
ln -s /opt/mongodb/bin/mongooplog mongoplog | |
ln -s /opt/mongodb/bin/mongoperf mongoperf | |
ln -s /opt/mongodb/bin/mongorestore mongorestore | |
ln -s /opt/mongodb/bin/mongos mongos | |
ln -s /opt/mongodb/bin/mongosniff mongosniff | |
ln -s /opt/mongodb/bin/mongostat mongostat | |
ln -s /opt/mongodb/bin/mongotop mongotop | |
mkdir -p /data/db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment