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.

About Paul

CERT Coordinator, Ham Radio Operator, GTD Fan; Photographer; Domino/Notes Administrator
This entry was posted in Ubuntu, ZoneMInder. Bookmark the permalink.