Skip to content

Lehats/lightsail_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

This project is about setting up a ubuntu instance and deploy a web application using apche web server. The linux machine is hosted by AWS lightsail.

Modifications @ ubuntu instance:

  • create user grader
  • give grader sudo rights
  • create 2 key pairs, one for ubuntu one for grader
  • disable ssh password auth
  • change ssh port from 22 to 2200
  • update the system using apt-get update/upgrade
  • set up ufw (default deny in, default allow out, enabled ports: ssh(2200), HTTP(80), NTP(123))
  • git already installed
  • changed owner and group of var/www/itemCatalog to www-data to be able to write to the db

Software & packages: with apt:

  • installed apache (apache2)
  • installed pyhton3 wsgi module for apache (libapache2-mod-wsgi-py3)
  • installed python2 wsgi module for apache (libapache2-mod-wsgi)
  • installed sqlite (sqlite)
  • installed sqlalchemy (python-sqlalchemy)
  • installed passlib (python-passlib)
  • installed pip (python-pip)
  • installed pip3 (python-pip3)
  • installed flask http authentification (python-flask-httpauth)

with pip:

  • installed google module for google OAuth (google-cloud-storage)
  • installed flask (flask)
  • installed httplib2 (httplib2)
  • installed flask http authentification (Flask-HTTPAuth)

This project was created with help of udacity.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published