<?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=Olgs</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=Olgs"/>
	<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/Special:Contributions/Olgs"/>
	<updated>2026-05-03T23:55:52Z</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.29.0_the_easy_way&amp;diff=7455</id>
		<title>Ubuntu Server 14.04 64-bit with Zoneminder 1.29.0 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.29.0_the_easy_way&amp;diff=7455"/>
		<updated>2016-02-24T09:37:30Z</updated>

		<summary type="html">&lt;p&gt;Olgs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
Make sure you are up to date&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;
Add Repository&lt;br /&gt;
&lt;br /&gt;
 add-apt-repository ppa:iconnor/zoneminder&lt;br /&gt;
&lt;br /&gt;
Update Sources&lt;br /&gt;
&lt;br /&gt;
 apt-get update&lt;br /&gt;
&lt;br /&gt;
Install Zoneminder and PHP5-GD&lt;br /&gt;
&lt;br /&gt;
 apt-get install zoneminder php5-gd&lt;br /&gt;
&lt;br /&gt;
You may be prompted to set up Nulmailer. You may accept the defaults and set this up later if you want to use it.&lt;br /&gt;
&lt;br /&gt;
Note: 20FEB16 It has been reported that you may need to add the following if you want to run the libvlc source type:&lt;br /&gt;
&lt;br /&gt;
 apt-get install libvlc-dev libvlccore-dev vlc&lt;br /&gt;
&lt;br /&gt;
Create Zoneminder database in MySQL (Note: this also creates the default Zoneminder user and permissions in MySQL). You will be prompted for the MySQL root password.&lt;br /&gt;
&lt;br /&gt;
 mysql -uroot -p &amp;lt; /usr/share/zoneminder/db/zm_create.sql&lt;br /&gt;
&lt;br /&gt;
 mysql -uroot -p -e &amp;quot;grant all on zm.* to &amp;#039;zmuser&amp;#039;@localhost identified by &amp;#039;zmpass&amp;#039;;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 mysqladmin -uroot -p reload&lt;br /&gt;
&lt;br /&gt;
Set permissions of /etc/zm/zm.conf to root:www-data 740&lt;br /&gt;
&lt;br /&gt;
 chmod 740 /etc/zm/zm.conf&lt;br /&gt;
&lt;br /&gt;
 chown root:www-data /etc/zm/zm.conf&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 sleep 15 after the existing &amp;quot;start() {&amp;quot; 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;
&lt;br /&gt;
Create a new user&lt;br /&gt;
&lt;br /&gt;
 adduser www-data video&lt;br /&gt;
&lt;br /&gt;
Enable CGI, Zoneminder and rewrite configuration in Apache.&lt;br /&gt;
&lt;br /&gt;
 a2enmod cgi&lt;br /&gt;
&lt;br /&gt;
 a2enconf zoneminder&lt;br /&gt;
&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
&lt;br /&gt;
Start Zoneminder&lt;br /&gt;
&lt;br /&gt;
 service zoneminder start&lt;br /&gt;
&lt;br /&gt;
Add timezone to PHP&lt;br /&gt;
&lt;br /&gt;
 nano /etc/php5/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
Search for [Date] (Ctrl + w then type Date and press Enter) and make changes as follows for your time zone&lt;br /&gt;
&lt;br /&gt;
 [Date]&lt;br /&gt;
 ; Defines the default timezone used by the date functions&lt;br /&gt;
 ; http://php.net/date.timezone&lt;br /&gt;
 date.timezone = America/New_York&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;
Restart Apache&lt;br /&gt;
&lt;br /&gt;
 service apache2 reload&lt;br /&gt;
&lt;br /&gt;
Open Zoneminder in a web browser (http://server-ip/zm). &lt;br /&gt;
&lt;br /&gt;
Click on Options - Paths  Change PATH_ZMS to /zm/cgi-bin/nph-zms&lt;br /&gt;
&lt;br /&gt;
If you plan to use nullmailer (aliased as sendmail) with authenticated SMTP, make sure you check the use SMTP options in ZoneMinder, then edit zmfilter.pl in /usr/bin and replace instances of &amp;quot;MIME::Lite-&amp;gt;send( &amp;quot;smtp&amp;quot;, $Config{ZM_EMAIL_HOST}, Timeout=&amp;gt;60 );&amp;quot; with &amp;quot;MIME::Lite-&amp;gt;send( &amp;quot;sendmail&amp;quot;, $Config{ZM_EMAIL_HOST}, Timeout=&amp;gt;60 );&amp;quot;&lt;/div&gt;</summary>
		<author><name>Olgs</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Ubuntu_Server_14.04_64-bit_with_Zoneminder_1.29.0_the_easy_way&amp;diff=7454</id>
		<title>Ubuntu Server 14.04 64-bit with Zoneminder 1.29.0 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.29.0_the_easy_way&amp;diff=7454"/>
		<updated>2016-02-24T09:36:43Z</updated>

		<summary type="html">&lt;p&gt;Olgs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
Make sure you are up to date&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;
Add Repository&lt;br /&gt;
&lt;br /&gt;
 add-apt-repository ppa:iconnor/zoneminder&lt;br /&gt;
&lt;br /&gt;
Update Sources&lt;br /&gt;
&lt;br /&gt;
 apt-get update&lt;br /&gt;
&lt;br /&gt;
Install Zoneminder and PHP5-GD&lt;br /&gt;
&lt;br /&gt;
 apt-get install zoneminder php5-gd&lt;br /&gt;
&lt;br /&gt;
You may be prompted to set up Nulmailer. You may accept the defaults and set this up later if you want to use it.&lt;br /&gt;
&lt;br /&gt;
Note: 20FEB16 It has been reported that you may need to add the following if you want to run the libvlc source type:&lt;br /&gt;
&lt;br /&gt;
 apt-get install libvlc-dev libvlccore-dev vlc&lt;br /&gt;
&lt;br /&gt;
Create Zoneminder database in MySQL (Note: this also creates the default Zoneminder user and permissions in MySQL). You will be prompted for the MySQL root password.&lt;br /&gt;
&lt;br /&gt;
 mysql -uroot -p &amp;lt; /usr/share/zoneminder/db/zm_create.sql&lt;br /&gt;
&lt;br /&gt;
 mysql -uroot -p -e &amp;quot;grant all on zm.* to &amp;#039;zmuser&amp;#039;@localhost identified by &amp;#039;zmpass&amp;#039;;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 mysqladmin -uroot -p reload&lt;br /&gt;
&lt;br /&gt;
Set permissions of /etc/zm/zm.conf to root:www-data 740&lt;br /&gt;
&lt;br /&gt;
 chmod 740 /etc/zm/zm.conf&lt;br /&gt;
&lt;br /&gt;
 chown root:www-data /etc/zm/zm.conf&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 sleep 15 after the existing &amp;quot;start() {&amp;quot; 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;
&lt;br /&gt;
Create a new user&lt;br /&gt;
&lt;br /&gt;
 adduser www-data video&lt;br /&gt;
&lt;br /&gt;
Enable CGI, Zoneminder and rewrite configuration in Apache.&lt;br /&gt;
&lt;br /&gt;
 a2enmod cgi&lt;br /&gt;
&lt;br /&gt;
 a2enconf zoneminder&lt;br /&gt;
&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
&lt;br /&gt;
Start Zoneminder&lt;br /&gt;
&lt;br /&gt;
 service zoneminder start&lt;br /&gt;
&lt;br /&gt;
Add timezone to PHP&lt;br /&gt;
&lt;br /&gt;
 nano /etc/php5/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
Search for [Date] (Ctrl + w then type Date and press Enter) and make changes as follows for your time zone&lt;br /&gt;
&lt;br /&gt;
 [Date]&lt;br /&gt;
 ; Defines the default timezone used by the date functions&lt;br /&gt;
 ; http://php.net/date.timezone&lt;br /&gt;
 date.timezone = America/New_York&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;
Restart Apache&lt;br /&gt;
&lt;br /&gt;
 service apache2 reload&lt;br /&gt;
&lt;br /&gt;
Open Zoneminder in a web browser (http://server-ip/zm). &lt;br /&gt;
&lt;br /&gt;
Click on Options - Paths  Change PATH_ZMS to /zm/cgi-bin/nph-zms&lt;br /&gt;
&lt;br /&gt;
If you plan to use nullmailer (aliased as sendmail), make sure you check the use SMTP options in ZoneMinder, then edit zmfilter.pl in /usr/bin and replace instances of &amp;quot;MIME::Lite-&amp;gt;send( &amp;quot;smtp&amp;quot;, $Config{ZM_EMAIL_HOST}, Timeout=&amp;gt;60 );&amp;quot; with &amp;quot;MIME::Lite-&amp;gt;send( &amp;quot;sendmail&amp;quot;, $Config{ZM_EMAIL_HOST}, Timeout=&amp;gt;60 );&amp;quot;&lt;/div&gt;</summary>
		<author><name>Olgs</name></author>
	</entry>
</feed>