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

Both sides previous revision Previous revision
Next revision
Previous revision
linux:pandaboard_and_zoneminder [2017/08/20 23:28]
cipibad
linux:pandaboard_and_zoneminder [2017/08/23 08:10] (current)
cipibad
Line 7: Line 7:
     - connect the board to Internet according to your configuration     - 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''​)   - 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''​)
-    ​- format and mount external USB HDD as JFS/noatime+  - 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     - 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)   - 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)   - 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   - install ZoneMinder
     - Enable Isaac Connor'​s PPA: ''​sudo add-apt-repository ppa:​iconnor/​zoneminder;​ sudo apt-get update''​     - 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+    - 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.1503260905.txt.gz · Last modified: 2017/08/20 23:28 by cipibad