<?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=Bainssu</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=Bainssu"/>
	<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/Special:Contributions/Bainssu"/>
	<updated>2026-04-20T01:36:13Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Ubuntu_Server_12.04_64-bit_with_Zoneminder_1.26.4_the_easy_way&amp;diff=5961</id>
		<title>Ubuntu Server 12.04 64-bit with Zoneminder 1.26.4 the easy way</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Ubuntu_Server_12.04_64-bit_with_Zoneminder_1.26.4_the_easy_way&amp;diff=5961"/>
		<updated>2013-10-29T20:51:27Z</updated>

		<summary type="html">&lt;p&gt;Bainssu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Zoneminder 1.26.4-2 on Ubuntu 12.04 64 BIT and 32 BIT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: This has also been tested with 12.04 32 BIT. &lt;br /&gt;
&lt;br /&gt;
Note 1: This also works for Ubuntu 13.04 server. &lt;br /&gt;
&lt;br /&gt;
Note 2: I have tested this on Ubuntu Desktop versions 12.04 and 13.04. You will have to install tasksel before trying to install LAMP. The purpose of this was to use Teamviewer to remote control a PC behind multiple firewalls where the client was not able to do dynamic DNS or port forwarding. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Install Ubuntu&lt;br /&gt;
&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;
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-servers 192.168.1.1&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;
Reboot server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Install PPA Repository for Zoneminder 1.26.4-2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 apt-get install python-software-properties&lt;br /&gt;
&lt;br /&gt;
 add-apt-repository ppa:iconnor/zoneminder&lt;br /&gt;
&lt;br /&gt;
 apt-get update&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
InstallZoneminder&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 apt-get install zoneminder&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Optional install H.264&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 apt-get install x264&lt;br /&gt;
&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 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;
&lt;br /&gt;
Link Apache to Zoneminder&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ln -s /etc/zm/apache.conf /etc/apache2/sites-enabled/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;
&lt;br /&gt;
Install Cambozola&lt;br /&gt;
&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 931 with cambozola version downloaded&lt;br /&gt;
&lt;br /&gt;
 cp cambozola-0.931/dist/cambozola.jar /usr/share/zoneminder&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Optional Add SSL to Apache2&lt;br /&gt;
&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;
It creates the following files:&lt;br /&gt;
&lt;br /&gt;
    /etc/ssl/private/ssl-cert-snakeoil.key&lt;br /&gt;
    /etc/ssl/certs/ssl-cert-snakeoil.pem&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://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>Bainssu</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=ICamviewRelay&amp;diff=2361</id>
		<title>ICamviewRelay</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=ICamviewRelay&amp;diff=2361"/>
		<updated>2008-02-07T21:08:35Z</updated>

		<summary type="html">&lt;p&gt;Bainssu: additional line to show how to use with zoneminder&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a small application that can be used to allow an ICamview to be used with Zoneminder.&lt;br /&gt;
&lt;br /&gt;
There are 2 methods of getting images out of this. You can do jpeg grabs by sending a url, but it redirects you to a login page the first time you try to access the image and it&amp;#039;s not any kind of standard http login method, so I gave up on that.&lt;br /&gt;
&lt;br /&gt;
To get streaming images it uses udp, and a little bit of playing about with ethereal let me work out the protocol well enough to knock up a relay app that gets jpegs using the udp method and sends them out as an mjpeg stream. You can then connect to the relay as if it were a network camera. Unfortunately (depending on your point of view) it&amp;#039;s written in java as that&amp;#039;s what I do for a living and I haven&amp;#039;t had time to relearn C and all the sockets/threading stuff. If anyone wants to port it to C then feel free, but please post it back here so I can use it!&lt;br /&gt;
&lt;br /&gt;
usage is:&lt;br /&gt;
&lt;br /&gt;
java -cp . ICamviewRelay &amp;lt;icamview ip addr&amp;gt; &amp;lt;icamview port&amp;gt; &amp;lt;fps&amp;gt; &amp;lt;local server port&amp;gt; &amp;lt;icamview user&amp;gt; &amp;lt;icamview pass&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to compile it:&lt;br /&gt;
&lt;br /&gt;
javac -cp . ICamviewRelay.java&lt;br /&gt;
&lt;br /&gt;
[http://www.neilraymond.plus.com/ICamviewRelay.java ICamviewRelay.java]&lt;br /&gt;
&lt;br /&gt;
[http://www.icamview.com http://www.icamview.com]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
this works perfectly..! with the following entry in the Remote Host Path /icamviewrelay?cam=01&lt;/div&gt;</summary>
		<author><name>Bainssu</name></author>
	</entry>
</feed>