Code Monkey home page Code Monkey logo

uda-linux-config's Introduction

#Udacity Linux Server Configuration Project

##IP Address and SSH Port for reviewer access of server 13.58.123.129 port 2200 See notes to reviewer for private SSH key for grader user to sign in. (I'm using uda_grader in ~/.ssh dir)

##Complete URL to hosted web application http://ec2-13-58-123-129.us-east-2.compute.amazonaws.com/

##Summary of Software Installed * Software Updated via apt-get upgrade resulting in 155 package updates 71 of which were security updates. * Installed Apache HTTP Server (apache2) * Installed mod_wsgi (libapache2-mod-wsgi) and python-dev * Installed git (git-all) * Installed postgresql * Installed python-pip and subsequtently pip install'ed virtualenv * inside of the virtualenv(catalog) I pip installed required dependencies for the application - Flask, sqlalchemy, httplib2, requests, psycopg2, oauth2client

##Summary of configuration changes made * add grader user with sudo privileges * sshd_config modified to only allow ssh connections on port 2200, also * deny all incoming ports via ufw except 2200 for ssh, 80 for http, 123 for ntp. Allow all outgoing * apache config file modified to respond to requests with wsgi, enabled with sudo a2enmod wsgi * created environment variable user for postgres (-u postgres createuser -s $USER) * Modified /etc/apache2/sites-enabled/000-default.conf to send all requests to flaskapp.wsgi which points to the item catalog.

##List of third-party resources used to complete Project * https://www.digitalocean.com/community/tutorials/how-to-deploy-a-flask-application-on-an-ubuntu-vps * http://newcoder.io/scrape/part-0/ * https://discussions.udacity.com/t/how-to-move-a-flask-app-from-using-a-sqlite3-db-to-postgresql/7004/4 * http://killtheyak.com/use-postgresql-with-django-flask/ * http://flask.pocoo.org/docs/0.10/deploying/mod_wsgi/

uda-linux-config's People

Contributors

sankhagowit avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.