Yannik Schmidt 40ac4c99d8 update readme
2021-08-31 19:41:47 +02:00
2021-08-31 19:41:24 +02:00
2021-08-31 01:16:43 +02:00
2021-08-30 18:39:08 +02:00
2021-08-29 18:00:18 +02:00
2021-08-31 19:22:51 +02:00
2021-08-31 19:41:47 +02:00
2021-08-31 19:41:39 +02:00

Local Requirements

setup.sh

  • ssh
  • rsync

AWS

  • awscli

Remote Requirements

Packages (APT)

  • vsftpd
  • python3
  • pip

Python Requirements

  • flask
  • flask-sqlalchemy
  • waitress

Setup-Script

./setup.sh TARGET_IP_OR_DNS

The start script (setup.sh) performs the following task in this order:

  • run apt update and install relevant packages (CMD_APT)
  • install the python packages via the python package manager pip (CMD_PIP)
  • add a user for flask to run as (CMD_FLASK_USER)
  • add sudoers lines to allow flask user to add and delete users (CMD_SUDOERS_ADD/DEL)
  • transfer the web-server files (rsync)
  • change FTP configuration to allow writes (CMD_SET_FTP_WRITE_YES)
  • restart the FTP to apply the new configuration server (CMD_RESTART_FTP)
  • lock out any ssh but root just to be safe (CMD_LOCK_SSH)

AWS

Description
R-2021-08-0004
Readme 4.9 MiB
Languages
JavaScript 99.3%
HTML 0.3%
Python 0.3%
Shell 0.1%