/gateone-raspbian

Scripts GateOne installation for Raspberry Pi running Raspbian

Primary LanguageShell

Resources

Assumptions

  • Raspbian .img written to SD card; Raspbian fully configured and running in Raspi.
  • Access to internet
  • Unzipped script or downloaded script with git clone
  • Script executed on Raspi running Raspbian.

What it does with all that privelege

  1. bash powered; verbose output
  2. Checks that the script is run with root privs; exit with error if not;
  3. Updates software source list info (function)
  4. Installs dependencies with apt-get (forced yes) (function)
  5. Install dependencies with pip install (function)
  6. Downloads the .deb from github for GateOne
  7. Installs deb with dpkg (installs to /opt)

Usage

Script should be executeable. sudo /path/to/script.sh should start it running.

Still to Do

  • Heredoc write server config with values defined in script. Hopefully.
  • Init on startup from /etc/init.d - see resources.