Skip to content

Instantly share code, notes, and snippets.

@shellkore
Created April 2, 2020 12:33
Show Gist options
  • Save shellkore/8b40f3722f70087f39436104739974c1 to your computer and use it in GitHub Desktop.
Save shellkore/8b40f3722f70087f39436104739974c1 to your computer and use it in GitHub Desktop.

Initialisation

sudo apt-get update

sudo apt install python3-pip

sudo apt-get install apache2

sudo apt-get install libapache2-mod-wsgi

setting up apache server

sudo ln -sT ~/flaskapp /var/www/html/flaskapp

copying directly to ec2

scp -i " .pem" -r "local/path" ec2@..:path/on/ec2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment