Created
February 4, 2017 02:44
-
-
Save quarbby/7c0e2949bebda9dbc177a70de5c85baa to your computer and use it in GitHub Desktop.
Script to install mongodb on Cloud9 Workspace
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
sudo apt-get install -y mongodb-org | |
mkdir data | |
echo 'mongod --bind_ip=$IP --dbpath=data --nojournal --rest "$@"' > mongod | |
chmod a+x mongod | |
./mongod |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment