Skip to content

Milestone 0: Install FreedomBox as a $5 mo Digital Ocean droplet

Adrian Gropper edited this page Jan 3, 2016 · 3 revisions
  1. DO does not do debian unstable. Need to upgrade from 8.2 via https://wiki.debian.org/DebianTesting
  1. Changing to Debian unstable to prepare for FreedomBox
  • via Duncan: You can upgrade using instructions from https://wiki.debian.org/DebianTesting
  • in /etc/apt/ sudo nano sources.list and replace all jessie with testing
  • run apt-get update && apt-get upgrade ; accept issue N default and config Keep default
  • Reboot then check with cat /etc/debian_version - reports stretch/sid
  • Make a Digital Ocean Snapshot
    • sudo shutdown now
    • Use the DO Control Panel to create a Snapshot
  1. Install FreedomBox per https://wiki.debian.org/FreedomBox/Hardware/Debian
  • sudo apt-get update
  • sudo apt-get install freedombox-setup accept default to ask on restart
  • sudo /usr/lib/freedombox/setup | tee freedombox-setup.log
  • Needed to delete the public key in /Users/adrian/.ssh/known_hosts
  • ssh as fbx - reboot
  1. http://162.243.48.241 redirects to http://162.243.48.241/plinth but reports Forbidden
  1. Plinth Setup
  • added user adrian pw:
  1. Check versions:
  • python3 -V shows Python 3.4.4
  • python3 -c "import django; print(django.get_version())" shows 1.9
  1. Make a Digital Ocean Snapshot
  • sudo shutdown now
  • Use the DO Control Panel to create a Snapshot
  1. Get a Personal Domain
  1. Install Let’s Encrypt
  • sudo apt-get update
  • sudo apt-get install letsencrypt python-letsencrypt-apache
  • Login as root from the Digital Ocean console
  • Stop apache2: sudo service apache2 stop
  • /etc/letsencrypt$ ls now shows: accounts csr keys renewal
  • letsencrypt --apache
  • “No host names found…” Accept default
  • myas.xyz, www.myas.xyz
  • Accept Easy
  • Test with: https://www.ssllabs.com/ssltest/analyze.html?d=myas.xyz
  1. Make a Digital Ocean Snapshot

Tools

Clone this wiki locally