Scripts

Ubuntu

All

sudo apt-get update

Nginx

sudo apt-get install nginx
sudo service nginx start

sudo vi /etc/nginx/nginx.conf
sudo /etc/init.d/nginx start

sudo nginx -s reload #reload on after change

Misc

sudo apt-get install tmux
sudo apt-get install python-pip

Docker

sudo apt install docker.io
sudo systemctl start docker
sudo systemctl enable docker
sudo usermod -aG docker ${USER} #restart so it takes effect
docker swarm init

Codedeploy Agent

Wget link must be updated with proper link for region

Usage Default Linux Image

Install dependencies with yum find name with sudo yum list | grep python seems anything after dash is dep idk

Make sure your server is running on port 80 and go wild with Docker or whatever

Use public ip address to access in browser: 18.223.158.210

Installing Other Common Deps

Node

Puppeteer

Docker

CodeDeploy Agent

Didnt seem to work….

Last updated