summaryrefslogtreecommitdiff
blob: 2c8c4aba6896dabeb47e6cd68356a1b8aec181aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
0. If this is a new installation, you will need to create a database for ZM to
   use. Execute the following:

 cd /usr/share/${PN}
 mysql mysql < db/zm_create.sql
 mysql mysql
  > grant select,insert,update,delete on zm.* to '<username>'@localhost identified by '<password>';
  > quit
 mysqladmin reload

1.  Edit /etc/zm.conf:
  ZM_PATH_BUILD => /usr/share/${PN}
  ZM_PATH_WEB   => ${MY_INSTALLDIR}
  ZM_PATH_CGI   => ${VHOST_CGIBINDIR}

  Also set your database settings.

2.  Start the zoneminder daemon:
  /etc/init.d/zoneminder stop

3. Login: http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/zm.php

Default username/password are admin/admin.