Linux Server Setup Project
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Lesson 5 Ubuntu-server-project

Operating Instruction

  1. Start project by visiting
  2. Without logging in, can view available categories, item list, item details and featured items,
  3. Use Google Login to add ability to add, delete and modify items.

Available Public Endpoints from

  1. Home Page, list of available Categories and Featured Items / and /catalog
  2. Items Listing /catalog/"catalog_name" and /catalog/"catalog_name"/item
  3. Item Details c & /catalog/"catalog_name"/item/item_id
  4. Login screen at /login
  5. JSON available for all listed endpoints

Additional Private Endpoints from

  1. Add Item available at /catalog/"catalog_name"/item/add
  2. Delete Item available at /catalog/"catalog_name"/item_id/delete
  3. Edit Item available at /catalog/"catalog_name"/item_id/Edit
  4. Logout available at /disconnect

Project running on AWS Lightsail located: public IP private IP

Software Installed apache2 postgresql pip mod_wsgi flask sqlalchemy oauth2client psycopg2 httplib2

Configurations Made Ubuntu software update Add user grader Added grader as root user Create directory .ssh and file authorized_keys Add local generated public key to authorized_keys Modified grader .ssh and authorized_keys permissions Removed password access through modificaiton of Change SSH port to 2200 Set UFW restrictions Create Database with user access Disable root access

References Used