Raspberry Pi 3 Raspbian Installation

Forum for questions and support relating to the 1.30.x releases only.
Locked
bugmenot
Posts: 34
Joined: Tue Feb 10, 2015 2:23 pm

Raspberry Pi 3 Raspbian Installation

Post by bugmenot »

Which on is the right way to install ZoneMinder to Raspberry 3 Raspbian NOOBS and does it install latest 1.30.x?

https://wiki.zoneminder.com/Raspbian

https://wiki.zoneminder.com/Raspberry_Pi_-_Raspbian

That page looks scary but i think i can make it. :-)

If i make these changes, does my internet still work thru WiFi or how i need to change this code so i can still use WiFi?

Code: Select all

Make changes similar to this: 
auto eth0
 
#allow-hotplug eth0 (make sure this is commented or you will get 2 ip's)
iface eth0 inet static
  address 192.168.1.10
  netmask 255.255.255.0
  gateway 192.168.1.1
  dns-nameservers 192.168.1.1
Are these memory instructions still same for Raspberry 3?

Code: Select all

Kernel shared memory settings: 
Set shared memory for 512MB RPi board: 1) 128MB shhmax shared: 
 sudo su -
 echo "kernel.shmmax = 134217728" >> /etc/sysctl.conf
 exit
2) 2MB shmall pages: 
sudo su -
echo "kernel.shmall = 2097152" >> /etc/sysctl.conf
exit
Which is better way to for newbie to “dedicate an entire partition, drive, or network share for ZoneMinder's event storage”?

https://wiki.zoneminder.com/Using_a_ded ... Hard_Drive

or

Systemd:
https://zoneminder.blogspot.it/p/blog-page.html

Thanks
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Raspberry Pi 3 Raspbian Installation

Post by knight-of-ni »

bugmenot wrote:Which on is the right way to install ZoneMinder to Raspberry 3 Raspbian NOOBS and does it install latest 1.30.x?

https://wiki.zoneminder.com/Raspbian

https://wiki.zoneminder.com/Raspberry_Pi_-_Raspbian

That page looks scary but i think i can make it. :-)
While there are certainly "wrong" ways to do a task like this, there can be more than one "right" way to do it. I haven't read those links in detail, but if you don't get a response in this forum, I recommend you click on the History tab of those articles, find who the author is, and then contact that person. ZoneMinder is an open-source community project, run by volunteers. Anyone can create an article in the wiki, which is good, but it tends to be a double edged sword as the wiki tends to be disorganized and many articles aren't maintained. This can be cleaned up by anyone who wishes to volunteer their time.

I don't run Raspbian on my pi's and don't know for sure what version of zoneminder is in the Raspbian repos. However, I do not think it is the newest. This is a question for Raspbian, particularly the Raspbian zoneminder package maintainer. We don't have control over this.
bugmenot wrote: If i make these changes, does my internet still work thru WiFi or how i need to change this code so i can still use WiFi?

Code: Select all

Make changes similar to this: 
auto eth0
 
#allow-hotplug eth0 (make sure this is commented or you will get 2 ip's)
iface eth0 inet static
  address 192.168.1.10
  netmask 255.255.255.0
  gateway 192.168.1.1
  dns-nameservers 192.168.1.1
No one but you can answer your question. The config you quoted sets up your wired network adapter for a 192.168.1.0/24 network. Is your wireless network configured for the same network? Then that won't work. If it isn't then it will work. You need to set up your own network according to your own needs. Since you mentioned wifi, please note that you should avoid streaming cameras over wifi. You still have to run a wire to your cameras for power. An inexpensive powerline adapter is more reliable than wifi. Use that instead.
bugmenot wrote: Are these memory instructions still same for Raspberry 3?

Code: Select all

Kernel shared memory settings: 
Set shared memory for 512MB RPi board: 1) 128MB shhmax shared: 
 sudo su -
 echo "kernel.shmmax = 134217728" >> /etc/sysctl.conf
 exit
2) 2MB shmall pages: 
sudo su -
echo "kernel.shmall = 2097152" >> /etc/sysctl.conf
exit
Nope. Zoneminder hasn't use shhmax, shmall, shmem, etc since versions of zoneminder older than 1.25 (long time ago). This has become a bit of an urban legend, and many haven't realized this no longer applies.
bugmenot wrote: Which is better way to for newbie to “dedicate an entire partition, drive, or network share for ZoneMinder's event storage”?

https://wiki.zoneminder.com/Using_a_ded ... Hard_Drive

or

Systemd:
https://zoneminder.blogspot.it/p/blog-page.html

Thanks
That's my blog you are quoting. I guess that means people are looking at it.

We have not updated the documentation in the wiki to take advantage of systemd. It's a time thing. There is always far more to do than time allows.
However, the documentation in the wiki works just fine. For someone just starting out, just follow the article in the wiki.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Locked