<?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=Belawrence</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=Belawrence"/>
	<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/Special:Contributions/Belawrence"/>
	<updated>2026-05-03T16:44:30Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Ubuntu_Server_18.04_64-bit_with_Zoneminder_1.30.4_the_easy_way&amp;diff=5295</id>
		<title>Ubuntu Server 18.04 64-bit with Zoneminder 1.30.4 the easy way</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Ubuntu_Server_18.04_64-bit_with_Zoneminder_1.30.4_the_easy_way&amp;diff=5295"/>
		<updated>2012-05-14T21:31:59Z</updated>

		<summary type="html">&lt;p&gt;Belawrence: changed command from &amp;quot;sudu su&amp;quot; to &amp;quot;sudo su&amp;quot; toward beginning of the document&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Zoneminder 1.25.0 on Ubuntu 12.04 64-bit&lt;br /&gt;
&lt;br /&gt;
This installation uses Zoneminder from the Ubuntu sources. Zoneminder in Ubuntu since the 11.10 version is compiled with the mmap option. I am running an Optiplex 755 with a dual core processor, 2 GIG RAM and 160 GIG hard drive. I have 10 Linksys IP cameras with Modect operational. I have run this install and have set up the 10 cameras in about an hour! &lt;br /&gt;
&lt;br /&gt;
Note: While not tested this should work for 32 BIT as well&lt;br /&gt;
&lt;br /&gt;
Install Ubuntu&lt;br /&gt;
&lt;br /&gt;
There are plenty of sources for instructions on how to install Ubuntu.&lt;br /&gt;
&lt;br /&gt;
Install Basic Server (if you used the mini.iso), OpenSSH Server, and LAMP Server.&lt;br /&gt;
&lt;br /&gt;
Reboot 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;
 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 68.87.75.194&lt;br /&gt;
&lt;br /&gt;
Note: for Ubuntu 12.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;
 Ctrl+o Enter to save&lt;br /&gt;
&lt;br /&gt;
 CTRL+x to exit&lt;br /&gt;
&lt;br /&gt;
Reboot server&lt;br /&gt;
&lt;br /&gt;
From this point on I used Putty from another PC to configure the server.&lt;br /&gt;
&lt;br /&gt;
Install Zoneminder&lt;br /&gt;
&lt;br /&gt;
Log in then become root&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
 apt-get install zoneminder&lt;br /&gt;
&lt;br /&gt;
Note: You will be prompted to configure Nullmailer during the Zoneminder install. You can leave the program un-configured if you do not plan to have the server email alerts. Or search for instructions to configure Nullmailer.&lt;br /&gt;
&lt;br /&gt;
Add delay to allow MySQL to start before Zoneminder&lt;br /&gt;
&lt;br /&gt;
 nano /etc/init.d/zoneminder&lt;br /&gt;
&lt;br /&gt;
Add above &amp;quot;zmfix -a&amp;quot; sleep 15&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;
Link Apache to Zoneminder&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/apache2 force-reload &lt;br /&gt;
&lt;br /&gt;
 adduser www-data video&lt;br /&gt;
&lt;br /&gt;
Optional Install Cambozola&lt;br /&gt;
&lt;br /&gt;
 cd /usr/src &amp;amp;&amp;amp; wget http://www.charliemouse.com:8080/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 &amp;quot;92&amp;quot; with cambozola version downloaded&lt;br /&gt;
&lt;br /&gt;
 cp cambozola-0.92/dist/cambozola.jar /usr/share/zoneminder&lt;br /&gt;
&lt;br /&gt;
Optional Add SSL to Apache2&lt;br /&gt;
&lt;br /&gt;
Create a self-signed certificate:&lt;br /&gt;
&lt;br /&gt;
 make-ssl-cert generate-default-snakeoil --force-overwrite&lt;br /&gt;
&lt;br /&gt;
Activate Apache SSL module:&lt;br /&gt;
&lt;br /&gt;
 a2enmod ssl&lt;br /&gt;
&lt;br /&gt;
Activate Apache default ssl virtual host:&lt;br /&gt;
&lt;br /&gt;
 a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
Restart Apache:&lt;br /&gt;
&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You should now be able to access the web server using https://serverip&lt;br /&gt;
&lt;br /&gt;
NTP Daily Sync&lt;br /&gt;
&lt;br /&gt;
 nano /etc/cron.daily/ntpdate&lt;br /&gt;
&lt;br /&gt;
Copy the following two lines into nano&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 ntpdate ntp.ubuntu.com&lt;br /&gt;
&lt;br /&gt;
Note: replace ntp.ubuntu.com with the time server(s) of your choice. I use time-a.nist.gov time-b.nist.gov&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;
Open Zoneminder in web browser&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;
Optional:  check &amp;quot;Is the (optional) cambozola java streaming client installed (?)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Path to (optional) ffmpeg mpeg encoder (?) enter /usr/bin/ffmpeg click Save&lt;br /&gt;
&lt;br /&gt;
Reboot server to insure Zoneminder starts on boot. &lt;br /&gt;
&lt;br /&gt;
Return to the Zoneminder web page to set up your cameras.&lt;/div&gt;</summary>
		<author><name>Belawrence</name></author>
	</entry>
</feed>