User Tools

Site Tools


linux:pandaboard_and_zoneminder

This is an old revision of the document!


PandaBoard and ZoneMinder

  1. get a PandaBoard
  2. install Ubuntu Server on it according to https://wiki.ubuntu.com/ARM/Server/Install/OMAP4
    1. 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)
    2. connect the board to Internet according to your configuration
  3. 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)
  4. remove from card/1st partition env.txt file as all needed args are in boot.scr file (probably just updating the files also works)
  5. BACKUP CARD
  6. add USB HDD
    1. install jfsutils package apt install jfsutils
    2. format and mount external USB HDD as JFS/noatime
    3. change I/O scheduler to
    4. be careful to have enough power on USB, otherwise you may get random freeze
  7. forward a well know open port (8888) or other one from your Internet router to pandaboard ssh port (22)
  8. 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)
  9. BACKUP YOUR CARD
  10. install ZoneMinder
    1. Enable Isaac Connor's PPA: sudo add-apt-repository ppa:iconnor/zoneminder; sudo apt-get update
    2. Use MariaDB as is faster
    3. Tune /dev/shm either to increase or move to HDD
    4. Add 1G SWAP on HDD
    5. Move DB files and ZoneMinder to HDD
linux/pandaboard_and_zoneminder.1503352721.txt.gz · Last modified: 2017/08/22 00:58 by cipibad