<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.staging.zoneminder.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Defaye</id>
	<title>ZoneMinder Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.staging.zoneminder.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Defaye"/>
	<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/Special:Contributions/Defaye"/>
	<updated>2026-05-03T20:31:46Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Ubuntu_Server_14.04_64-bit_with_Zoneminder_1.26.5_the_easy_way&amp;diff=6841</id>
		<title>Ubuntu Server 14.04 64-bit with Zoneminder 1.26.5 the easy way</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Ubuntu_Server_14.04_64-bit_with_Zoneminder_1.26.5_the_easy_way&amp;diff=6841"/>
		<updated>2015-05-17T14:43:09Z</updated>

		<summary type="html">&lt;p&gt;Defaye: https://help.ubuntu.com/lts/serverguide/httpd.html see config points 1-4; conf-enabled points to conf-available points to zm.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Zoneminder 1.26.5-1 on Ubuntu 14.04 64 BIT and 32 BIT&lt;br /&gt;
&lt;br /&gt;
Note: This procedure is what I got to work after doing an upgrade from Ubuntu 12.04 with ZM 1.25.0 to Ubuntu 14.04 with the Ubuntu ZM package version 1.26.5. I compared the differences in the /etc/apache2 directory&amp;#039;s and the only difference I could find was the successful setup had a zoneminder.conf in /etc/apache2/conf.d. That and enabling the CGI got ZM to work. This was modified on 20APR14 to use a second symbolic link instead of a zoneminder.conf file. Granted, there may be other ways to do this and I welcome input on the ZM forum. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Install Ubuntu Server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Install Basic Server (if you used the mini.iso), OpenSSH Server, and LAMP Server (LAMP installs Apache2, PHP, and MySQL server)&lt;br /&gt;
&lt;br /&gt;
Log in then become root:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get upgrade&lt;br /&gt;
 apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Optional: Set static IP address&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 nano /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
Make changes similar to this:&lt;br /&gt;
&lt;br /&gt;
 auto eth0&lt;br /&gt;
 iface eth0 inet static&lt;br /&gt;
   address 192.168.1.10&lt;br /&gt;
   netmask 255.255.255.0&lt;br /&gt;
   gateway 192.168.1.1&lt;br /&gt;
   dns-nameservers 192.168.1.1&lt;br /&gt;
&lt;br /&gt;
Note: for Ubuntu 14.04 the resolv.conf is dynamically assigned.&lt;br /&gt;
The &amp;quot;dns-servers&amp;quot; entry in the interfaces file will set the DNS&lt;br /&gt;
Multiple DNS server entries can be used. &lt;br /&gt;
&lt;br /&gt;
Reboot server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Install Zoneminder&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 apt-get install zoneminder&lt;br /&gt;
&lt;br /&gt;
Add delay to allow MySQL to start before Zoneminder&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 nano /etc/init.d/zoneminder&lt;br /&gt;
&lt;br /&gt;
Add  sleep 15 as shown:&lt;br /&gt;
&lt;br /&gt;
 start() {&lt;br /&gt;
     sleep 15&lt;br /&gt;
 	echo -n &amp;quot;Starting $prog: &amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ctrl+o Enter to save&lt;br /&gt;
&lt;br /&gt;
CTRL+x to exit&lt;br /&gt;
&lt;br /&gt;
Create  a directory in apache2&lt;br /&gt;
&lt;br /&gt;
 mkdir /etc/apache2/conf.d&lt;br /&gt;
&lt;br /&gt;
Create two symbolic links&lt;br /&gt;
&lt;br /&gt;
 ln -s /etc/zm/apache.conf /etc/apache2/conf-available/zoneminder.conf&lt;br /&gt;
&lt;br /&gt;
 ln -s /etc/apache2/conf-available/zoneminder.conf /etc/apache2/conf-enabled/zoneminder.conf&lt;br /&gt;
&lt;br /&gt;
CGI is not enabled in Ubuntu 14.04 by default. Enable it this way: &lt;br /&gt;
&lt;br /&gt;
 a2enmod cgi&lt;br /&gt;
&lt;br /&gt;
Create a new user&lt;br /&gt;
&lt;br /&gt;
 adduser www-data video&lt;br /&gt;
&lt;br /&gt;
Restart Apache&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/apache2 force-reload &lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
  service apache2 restart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Install Cambozola&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 cd /usr/src &amp;amp;&amp;amp; wget http://www.andywilcock.com/code/cambozola/cambozola-latest.tar.gz&lt;br /&gt;
&lt;br /&gt;
 tar -xzvf cambozola-latest.tar.gz&lt;br /&gt;
&lt;br /&gt;
replace 935 with cambozola version downloaded&lt;br /&gt;
&lt;br /&gt;
 cp cambozola-0.935/dist/cambozola.jar /usr/share/zoneminder&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You should now be able to access the web server using https://servername&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NTP Daily Sync&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 nano /etc/cron.daily/ntpdate&lt;br /&gt;
&lt;br /&gt;
Copy the following into nano&lt;br /&gt;
&lt;br /&gt;
!/bin/sh&lt;br /&gt;
ntpdate ntp.ubuntu.com&lt;br /&gt;
&lt;br /&gt;
Ctrl+o Enter to save&lt;br /&gt;
&lt;br /&gt;
CTRL+x to exit&lt;br /&gt;
&lt;br /&gt;
 chmod 755 /etc/cron.daily/ntpdate&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Open Zoneminder in web browser&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
http://serverip/zm&lt;br /&gt;
&lt;br /&gt;
Click Options&lt;br /&gt;
&lt;br /&gt;
Uncheck: Check with zoneminder.com for updated versions (?) click Save&lt;br /&gt;
&lt;br /&gt;
Click Images tab&lt;br /&gt;
&lt;br /&gt;
check 	Is the (optional) cambozola java streaming client installed (?)&lt;br /&gt;
Click Save&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reboot server to insure Zoneminder starts on boot.&lt;/div&gt;</summary>
		<author><name>Defaye</name></author>
	</entry>
</feed>