Created
April 22, 2017 13:24
-
-
Save cigolpl/4a49e2f353ffe7c0f9412bf384c84486 to your computer and use it in GitHub Desktop.
Install Node.js + MongoDB with Docker on Ubuntu
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
#!/bin/bash | |
docker run --name some-mongo -p 27017:27017 -d mongo | |
cd ~ | |
curl -sL https://deb.nodesource.com/setup_6.x -o nodesource_setup.sh | |
sudo apt-get update | |
sudo bash nodesource_setup.sh | |
sudo apt-get install nodejs | |
sudo apt-get install build-essential | |
npm install pm2 -g | |
service ufw stop | |
apt install htop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment