Zoneminder – Authentication

To configure security:
Options, System
Settings before:
-OPT_USE_AUTH = UNCHECKED (to authenticate ZM users)
-AUTH_TYPE = builtin (what is used to auth ZM users)
-AUTH_RELAY = hashed (method used to relay auth info)
-AUTH_HASH_SECRET = “change me to something unique” (secret for encoding hashed auth info)
-AUTH_HASH_IPS = checked (Include IP address in the auth hash)

Settings after:
-OPT_USE_AUTH = checked
-AUTH_HASH_SECRET =
Note: Kept everything else as is
Note: Clicked refresh on ZM browser, and now presented with a username/password ==

Posted in Ubuntu, ZoneMInder | Leave a comment

Installing ZoneMinder on UbuntuServer – Enable and Start ZM

Enabling and Starting ZoneMinder:

systemctl enable zoneminder
Note: It came back with:
Synchronizing state of zoneminder.service with SysV init with /lib/systemd/systemd-sysv-install…
Executing /lib/systemd/systemd-sysv-install enable zoneminder

systemctl start zoneminder
Note: It didn’t come back with anything re: prompts. Probably OK, though.

Edit TimeZone
nano /etc/php/7.0/apache2/php.ini

Search for [Date] (Ctrl + w then type Date and press Enter) and change date.timezone for your time zone, see [this](http://php.net/manual/en/timezones.php). Don’t forget to remove the ; from in front of date.timezone

Configured so it looks like this:
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = America/Los_Angeles

Reload Apache Service
systemctl reload apache2

Making sure ZM is running:
http://192.168.1.15/zm
Note: Freakin’ awesome!!! I have a console to work with

Optional API Check

http://192.168.1.15/zm/api/host/getVersion.json

Note: Came back with:
version “1.30.4”
apiversion “1.0”

Note: Looks all good right now!!!

NOTE: At the end of the installation, there was a comment about:

PPA install may need some tweaking of ZMS_PATH in ZoneMinder options.
http://zoneminder.readthedocs.io/en/latest/installationguide/ubuntu.html#socket-sendto-or-no-live-streaming
Note: I didn’t do anything, but may need to come back to this after installing a camera.

Posted in Ubuntu, ZoneMInder | Leave a comment

Installing ZoneMinder on UbuntuServer – Configure Apache

a2enconf zoneminder
Note: It came back with: To activate the new configuration, you need to run:
service apache2 reload
Note: Not sure if I do this now or not…
Decided to do now, even though two more commands to go

a2enmod cgi
Note: It came back with: AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this message
Enabling module cgi.
To activate the new configuration, you need to run:
service apache2 restart
Note: Did the: service apache2 restart

a2enmod rewrite
Note: It came back with: Enabling module rewrite.
To activate the new configuration, you need to run:
service apache2 restart
Note: Did the: service apache2 restart

Note: That’s it for this post. Now it’s on to enable and start ZoneMinder.

Posted in Ubuntu, ZoneMInder | Leave a comment