Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

Ubuntu 14 (Outdated):

sudo su
echo "" | add-apt-repository ppa:iconnor/zoneminder-master
apt-get update
apt-get install -y zoneminder php5-gd

Replace [MySQL_Root_PWD]

sudo mysql -uroot -p[MySQL_Root_PWD] < /usr/share/zoneminder/db/zm_create.sql
mysql -uroot -p[MySQL_Root_PWD] -e "grant select,insert,update,delete,create,alter,index,lock tables on zm.* to 'zmuser'@localhost identified by 'zmpass';"
nano /etc/init.d/zoneminder 


start() {
   sleep 10
   echo -n "Starting $prog: "
sudo nano /etc/php5/apache2/php.ini

/etc/php5/apache2/php.ini Time Zone Formats

; Module Settings ;

[CLI Server]
; Whether the CLI web server uses ANSI color coding in its terminal output.
cli_server.color = On

; Defines the default timezone used by the date functions
date.timezone = America/New_York 

a2enconf zoneminder
a2enmod cgi
a2enmod rewrite
chown www-data:www-data /etc/zm/zm.conf
/etc/init.d/zoneminder restart

Update: V1.3

Symlink Required:

sudo ln -s /usr/share/zoneminder/www /var/www/html/zoneminder


Check API Status @


I had to change the PATH_ZMS variable under Options>> Path.

It was missing the /zm/


Forward to

sh -c 'echo "RedirectMatch ^/$ /zm/" >> /etc/apache2/apache2.conf' && service apache2 restart
  • No labels