linux:pandaboard_and_zoneminder
This is an old revision of the document!
PandaBoard and ZoneMinder
get a PandaBoard
-
-
prepare the card with gunzip -c ubuntu-12.04-preinstalled-server-armhf+omap4.img.gz | sudo dd bs=1M of=/dev/mmcblk0
or similar (take care to use the correct device, or you may delete your own data)
connect the board to Internet according to your configuration
update/upgrade Ubuntu (do-release-upgrade - twice or until you get to current LTS version, apt-get update, apt-get upgrade, apt-get dist-upgrade
)
remove from card/1st partition env.txt file as all needed args are in boot.scr file (probably just updating the files also works)
BACKUP CARD
add USB HDD
install jfsutils package apt install jfsutils
format and mount external USB HDD as JFS/noatime
change I/O scheduler to
be careful to have enough power on USB, otherwise you may get random freeze
forward a well know open port (8888) or other one from your Internet router to pandaboard ssh port (22)
enable a simple free dynamic dns account (for example
https://freedns.afraid.org/, adding
wget
script in pandaboard's cron scripts to execute each 5 minutes)
BACKUP YOUR CARD
install ZoneMinder
Enable Isaac Connor's PPA: sudo add-apt-repository ppa:iconnor/zoneminder; sudo apt-get update
-
Use MariaDB as is faster
-
Tune /dev/shm either to increase or move to HDD
Add 1G SWAP on HDD
Move DB files and ZoneMinder to HDD
linux/pandaboard_and_zoneminder.1503352721.txt.gz · Last modified: 2017/08/22 00:58 by cipibad