Skip to content

Instantly share code, notes, and snippets.

@afuggini
Last active May 13, 2017 02:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afuggini/18ff22ec7ddb2d9f78cde922ca799da6 to your computer and use it in GitHub Desktop.
Save afuggini/18ff22ec7ddb2d9f78cde922ca799da6 to your computer and use it in GitHub Desktop.
Server Deploy
#!/bin/sh
# Install GIT
sudo yum install git-all
# Install NODE
yum install -y gcc-c++ make
curl -sL https://rpm.nodesource.com/setup_6.x | sudo -E bash -
yum install -y nodejs
# Install NGINX
sudo yum install -y epel-release
sudo yum install -y nginx
# Start NGINX
sudo systemctl start nginx
sudo systemctl enable nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment