Last active
June 9, 2016 18:42
-
-
Save riyadhalnur/c61f25c9bcfdec85e795bbf71642dfcc to your computer and use it in GitHub Desktop.
Digital Ocean User-Data Script Ubuntu - Installs NodeJS, NginX and other essentials
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
#!/bin/bash | |
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - | |
wget http://nginx.org/keys/nginx_signing.key | |
apt-key add nginx_signing.key | |
deb http://nginx.org/packages/ubuntu/ trusty nginx > /etc/apt/sources.list | |
deb-src http://nginx.org/packages/ubuntu/ trusty nginx > /etc/apt/sources.list | |
apt-get update | |
apt-get upgrade -y | |
apt-get install -y nginx nodejs build-essential ntp ufw | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment