How to install ZoneMinder on Raspberry

https://wiki.zoneminder.com/Raspbian

https://bkjaya.wordpress.com/2016/11/23/how-to-install-zoneminder-1-29-0-on-raspberry-pi-3-with-raspbian-8-1-jessy-64-bit/

  • sudo nano  /etc/apt/sources.list
  • Added: deb http://http.debian.net/debian jessie-backports main
  • sudo apt-get update
  • sudo apt-get upgrade
  • sudo apt-get dist-upgrade
  • sudo apt-get install zoneminder
  • mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql
  • mysql -uroot -p -e "grant all on zm.* to 'zmuser'@localhost identified by 'zmpass';"
  • mysqladmin -uroot -p reload
  • sudo chmod 740 /etc/zm/zm.conf
  • sudo chown root:www-data /etc/zm/zm.conf
  • sudo systemctl enable zoneminder.service
  • sudo adduser www-data video
  • sudo a2enmod cgi
  • sudo a2enconf zoneminder
  • sudo a2enmod rewrite
  • sudo chown -R www-data:www-data /usr/share/zoneminder/
  • sudo systemctl enable zoneminder
  • sudo service zoneminder start
  • sudo service apache2 reload

     

    Open Zoneminder http://localhost/zm/
    
    
  • cd /usr/src && wget http://www.andywilcock.com/code/cambozola/cambozola-latest.tar.gz
  • tar -xzvf cambozola-latest.tar.gz
  • cp cambozola-0.936/dist/cambozola.jar /usr/share/zoneminder
  • echo “kernel.shmmax = 134217728” >> /etc/sysctl.conf
  • echo “kernel.shmall = 2097152” >> /etc/sysctl.conf
  • 
    
    
    
    
    
    
    
    
    
    
    
  •  
  •  
  •  
  •  

Viet Luu has written 311 articles

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Buy Me A Coffee

We are thankful for your never ending support.

Leave a Reply