Script to set up a basic Passdora system

Words
238
Reading
2 min
Listen
Play
9y

Passdora should be shipped with the Sequry system already installed on an SD card. To distribute the system to multiple SD cards an image of an already set up operating system (Raspbian) is required. This script automates the process of setting up a plain Raspbian image in order to get a Passdora system running Sequry that can be cloned to multiple SD cards.

This automation is required, since setting up the whole system manually, when a new Raspbian version is released, takes a lot of time and can be the cause of missing dependencies and misconfigurations.

PASSDORA

Reasons

  • automate Passdora base image setup
  • reduce risk of missing dependencies and misconfigurations
  • speed up the process of Passdora base image setup
  • allows shipping Passdora based on the latest Raspbian version (->security!)

New Features

What feature(s) did you add?

  • Update pre installed apt packages & installed required packages
  • Create MySQL database and user for Sequry
  • Configure PHP settings
  • Download & install QUIQQER with Sequry
  • Generate certificates
  • Configure nginx webserver
  • Configure Raspbian (e.g. setting hostname, enabling

How did you implement it/them?

Here is an overview of the setup routine procedure:

UML

Thanks for reading
Jan, for PCSG Developers



Posted on Utopian.io - Rewarding Open Source Contributors

Script to set up a basic Passdora system | Ecency