Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

Udacity - Linux Server Configuration

This project is for Udacity Full-Stack Developer course, the last project, and it has information to Udacity reviewer about an ubuntu instance in the Amazon Lightsail providing a basic Python application deployed over Linux, Apache, and PostgreSQL.

How to login

Install the private key and run this:

ssh -p 2200 grader@klassmann.link -i ~/.ssh/id_private_key

Configuration Check-list

    Change this option in /etc/ssh/sshd_config:
    Port 2200
  • Only SSH, HTTP and NTP ports are configured in the firewall
    Use ufw with these options:

    $ sudo ufw default deny incoming
    $ sudo ufw default allow outgoing
    $ sudo ufw allow 2200/tcp
    $ sudo ufw allow www
    $ sudo ufw allow ntp
    $ sudo ufw enable
    
    $ sudo apt-get update
    $ sudo apt-get upgrade
  • There is a web server running in the 80 port
    $ sudo apt-get install apache2 libapache2-mod-wsgi-py3
    $ sudo apt-get install postgresql

Access information

In the browser use the address http://klassmann.link because the catalog app is configured with this domain in the Google OAuth.

  • IP: 18.188.174.98
  • URL: http://klassmann.link (unavailable)
  • User name: grader
  • Password: (It was sent directly to Udacity reviewer)
  • Private Key: (It was sent directly to Udacity reviewer)

Software list on the system

  • finger
  • Python 3.5
  • pip3
  • virtualenv
  • Apache2
  • mod_wsgi-py3
  • git
  • PostgreSQL 10

Applications running

Requirements:

    Flask==0.12.2
    SQLAlchemy==1.2.5
    google-api-python-client==1.6.6
    google-auth==1.4.1
    google-auth-httplib2==0.0.3
    google-auth-oauthlib==0.2.0
    oauth2client==4.1.2
    oauthlib==2.0.7

Third-Party Services

License

You can't use this project as your project for Udacity, but you can use for study purposes if you want.

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.