This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:pandaboard_and_zoneminder [2017/08/22 19:00] cipibad |
linux:pandaboard_and_zoneminder [2017/08/23 08:10] (current) cipibad |
||
---|---|---|---|
Line 8: | Line 8: | ||
- 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'') | ||
- 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) | - 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) | ||
- | - recompile libjpeg-turbo and ffmpeg with hw optimization: VFPv3, NEON, Cortex-A9, see https://askubuntu.com/questions/81870/how-to-download-modify-build-and-install-a-debian-source-package | + | - remove openssh and install dropbear |
- BACKUP CARD | - BACKUP CARD | ||
- add USB HDD | - add USB HDD | ||
- install jfsutils package ''apt install jfsutils'' | - install jfsutils package ''apt install jfsutils'' | ||
- | - format and mount external USB HDD as JFS/noatime | + | - format and mount external USB HDD as JFS/noatime (''/dev/sda1 /mnt/usbhdd jfs rw,noatime 0 1'') |
- change I/O scheduler to | - 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 | ||
Line 22: | Line 22: | ||
- 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 | - 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 | - Use MariaDB as is faster | ||
- | - Follow http://zoneminder.readthedocs.io/en/stable/userguide/gettingstarted.html to create database | + | - 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 | - Tune /dev/shm either to increase or move to HDD | ||
- Add 1G SWAP on HDD | - Add 1G SWAP on HDD | ||
- | - Move DB files and ZoneMinder to HDD | + | - |
+ |