Author: Patrick Murray
The objective of this repository is to setup an encrypred Resilio Sync replication node with system monitoring tolling. Such replication nodes may be deployed off-site to increase availability for targetted datasets.
Hardware:
- Raspberry Pi 4 Model B, 8GB
- Samsung Evo Select MicroSD Card, 32 GB
- Seagate Backup Plus Hub, 8TB
Software:
- Raspberry Pi OS Lite
- Ansible
- Resilio Sync on Linux
- Grafana Cloud
Navigate to the Raspberry Pi OS website
and select "Raspberry Pi OS Lite" - a ZIP archive should begin downloading.
Next, extract the ZIP archive using unzip(1)
and burn the image file (.img
) to the boot medium using dd(1)
.
For example:
unzip Downloads/2022-01-28-raspios-bullseye-armhf-lite.zip
root $ dd if= 2022-01-28-raspios-bullseye-armhf-lite.img of=/dev/sda
Note: The boot medium path (i.e. /dev/sda
) may be determined using
lsblk(8)
.
TODO - Below documentation.
Mount micro SD
root $ mkdir /mnt/pi
root $ mount BOOT_PARITION /mnt/pi
Boot up the Raspberry Pi
Username: pi
Password: raspberry
Change password with passwd
Copy SSH public key
ssh-copy-id pi@192.168.0.81
ansible-playbook --ask-vault-pass remote.yml