linux:pandaboard_and_zoneminder
PandaBoard and ZoneMinder
- get a PandaBoard
- install Ubuntu Server on it according to https://wiki.ubuntu.com/ARM/Server/Install/OMAP4
- prepare the card with
gunzip -c ubuntu-12.04-preinstalled-server-armhf+omap4.img.gz | sudo dd bs=1M of=/dev/mmcblk0or 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) - rename on card/1st partition
preEnv.txtanduEnv.txtfiles as all needed args are in boot.scr file (probably just updating the files also works) - remove openssh and install dropbear
- BACKUP CARD
- add USB HDD
- install jfsutils package
apt install jfsutils - format and mount external USB HDD as JFS/noatime (
/dev/sda1 /mnt/usbhdd jfs rw,noatime 0 1) - 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
wgetscript 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
- Follow http://zoneminder.readthedocs.io/en/stable/userguide/gettingstarted.html to create database
- Add the 3 cameras in mondetect mode
- Move DB files and ZoneMinder to HDD
- Recompile packages hoping optimization
- ffmpeg
- libjpeg-turbo
- recompile VFPv3, NEON, Cortex-A9,
- Tunen zoneminder (to be checked)
- change ffmpeg with remote/libjpeg?
- Tune /dev/shm either to increase or move to HDD
- Add 1G SWAP on HDD
linux/pandaboard_and_zoneminder.txt · Last modified: by cipibad
