Skip to content

Instantly share code, notes, and snippets.

View kburdett's full-sized avatar

Kevin Burdett kburdett

  • Priority Payment Systems
  • Atlanta, GA
View GitHub Profile
@kburdett
kburdett / rpi_unifi.md
Last active March 24, 2022 19:51
Install Ubiquiti's UniFi Controller on a Raspberry Pi

Compatibility

I currently run Ubiquiti's UniFi Controller on a Raspberry Pi 3B without issue. I have tried with a Raspberry Pi 1B, but the application crashes on startup. I assume it is due to a lack of RAM. Presumably, it would run on a Raspberry Pi 2B as well (same amount of RAM), but I have not tested it on this model. YMMV.

Instructions

  1. Install Raspbian on a SD card. I tested this with Jessie Lite (headless)

  2. Use raspi-config to expand the filesystem, rename your PI, etc

@kburdett
kburdett / pfSense_backup.sh
Created March 4, 2016 03:33
Pulls pfSense backup XMLs
#!/bin/sh
username=backup
password=<PASSWORD>
host=<HOSTNAME>
backupFolder=<BACKUP_FOLDER>
backupUrl=https://$host/diag_backup.php
temp1=/tmp/pfsense_backup_temp1
temp2=/tmp/pfsense_backup_temp2