Last active
August 29, 2015 14:01
-
-
Save flomotlik/d4319412d8d178e97171 to your computer and use it in GitHub Desktop.
Run Mongo 2.4
This file contains hidden or 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
#Change the path to the downloaded file here to update the mongo version | |
wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.4.10.tgz | |
tar xvzf mongo* | |
cd mongo* | |
mkdir ~/mongodb | |
# You can change the parameters mongodb starts with here | |
nohup bash -c "./bin/mongod --port 27018 --dbpath ~/mongodb 2>&1 &" && sleep 6; cat nohup.out | |
cd ~/clone |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment