Set up a headless Raspberry PI:
- Flash SD card w/ Rasbian
- RPI version: 2019-09-26-raspbian-buster-lite)
- Using balenaEtcher
- Unplug and plug SD card back in
- Set up wireless configuration (optional)
- Edit
./wpa_supplicant.conf
w/ your network info cp wpa_supplicant.conf $BOOT_DIR
(/Volumes/boot
on mac)touch $BOOT_DIR/ssh
- NOTE that this process needs to be done everytime the pi is rebooted
- Edit
- Eject SD card, put it into the PI, and turn it on
- To verify connection: SSH to the PI w/
pi@raspberrypi.local
- NOTE that the default password is
raspberry
- NOTE that the default password is
- Add your SSH pub key to
~/.ssh/authorized_keys
on the pi- This makes the ansible setup easier, but probably could be worked around
Install IPFS:
- Install ansible:
pip isntall ansible
- Add new host to ansible setup (see
./ansible-pi-setup/host_vars/README.md
) - IPFS:
ansible-playbook -i inventory.yml ipfs.yml
- and IPFS Cluster:
ansible-playbook -i inventory.yml ipfs-cluster.yml