User Tools

Site Tools


linux:pandaboard_and_zoneminder

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:pandaboard_and_zoneminder [2017/08/09 16:18]
cipibad created
linux:pandaboard_and_zoneminder [2017/08/23 08:10] (current)
cipibad
Line 1: Line 1:
-  ​- get an old PandaBoard+====== PandaBoard and ZoneMinder ====== 
 + 
 +  ​- get PandaBoard
   - install Ubuntu Server on it according to https://​wiki.ubuntu.com/​ARM/​Server/​Install/​OMAP4   - install Ubuntu Server on it according to https://​wiki.ubuntu.com/​ARM/​Server/​Install/​OMAP4
 +    - download image from http://​cdimage.ubuntu.com/​releases/​precise/​release/​ubuntu-12.04-preinstalled-server-armhf+omap4.img.gz
 +    - 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     - connect the board to Internet according to your configuration
-  - update/​upgrade Ubuntu (''​apt-get update, apt-get upgrade, apt-get dist-upgrade, ​do-release-upgrade''​)+  - 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.txt''​ and ''​uEnv.txt''​ files 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 ​''​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''​ 
 +    - Install ZoneMinder following: https://​wiki.zoneminder.com/​Ubuntu_Server_16.04_64-bit_with_Zoneminder_1.30.4_the_easy_way and http://​zoneminder.readthedocs.io/​en/​stable/​installationguide/​ubuntu.html#​easy-way-ubuntu-16-04 
 +    - 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,​ 
 +    - https://​askubuntu.com/​questions/​81870/​how-to-download-modify-build-and-install-a-debian-source-package  
 + - 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.1502284713.txt.gz · Last modified: 2017/08/09 16:18 by cipibad