Skip to content

danrhjones/fsnd-linux-server-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Details of Server Configuration Project

Connection Details

URL

IP address
  • 52.27.144.117
User details and SSH port

Log in with the user 'grader' on port 2200

Use private key provided

Installed Applications

  • Installed the following applications:

  • Postgres

  • Apache

  • php (for Nagois)

  • libapache2-mod-wsgi

  • Flask

  • Flask-Login

  • Flask-SeaSurf

  • SQLAlchemy

  • oauth2client

Configuration changes made

  • Added 'grader' to the sudoers by creating a new user specific file in /etc/sudoers.d/
  • Disabled root from ssh login by changing 'PermitRootLogin' to no in /etc/ssh/sshd_config
  • Configured the SSH port to 2200 by changing 'Port' to 2200 in /etc/ssh/sshd_config
  • Configured UFW to initially deny all incoming and allow all outgoing, then configured to allow incoming on port 80 (http), port 2200 (for the updated SSH port) and port 123 (NTP)
  • Changed the time zone to UTC using 'sudo dpkg-reconfigure tzdata'
  • Create Catalog application folders in /var/www/catalog
  • catalogapp.wsgi - the WSGI wrapper
  • /catalog - contains all the code for the catalog site

Changes to the existing code:

  • Changed the path to the images folder to be an absolute rather than relative path.
  • Changed path to client_secrets.json in google_connect_oauth.py to absolute path
  • Updated database URL in db_helper.py

Monitoring application

I have used Nagios 4. This has been configured to show the health of the server

Url:

http://ec2-52-27-144-117.us-west-2.compute.amazonaws.com/nagios/

The user name is: nagiosadmin

The password is: p455w0rd

Resources used (in no order)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors