<?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=Fatalfuuu</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=Fatalfuuu"/>
	<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/Special:Contributions/Fatalfuuu"/>
	<updated>2026-05-03T15:26:53Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Gentoo_Install&amp;diff=14797</id>
		<title>Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Gentoo_Install&amp;diff=14797"/>
		<updated>2017-08-25T15:28:04Z</updated>

		<summary type="html">&lt;p&gt;Fatalfuuu: /* Installing ZoneMinder for Gentoo */ mysql_secure_installation is called from emerge --config switch&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Gentoo ==&lt;br /&gt;
Gentoo is a distribution that prides itself on being extra-configurable, processor native, and easy to update. Gentoo users usually compile their installation from srouce, but while it&amp;#039;s great to nitpick on the details, Gentoo also has the option of installing a precompiled system quickly from a LiveCD.&lt;br /&gt;
&lt;br /&gt;
== Why Gentoo? ==&lt;br /&gt;
* Other distros have a one-size-fits-all approach, including full GUI environments unnecessary for a ZoneMinder CCTV DVR box.&lt;br /&gt;
* Binary distributions make it difficult to locate the appropriate libraries for ZoneMinder to build properly. Packages for these distrubutions often do not include development libraries and headers necessary for building software from source.&lt;br /&gt;
* A Gentoo system is highly configurable, and is easy to update and maintain.&lt;br /&gt;
* Gentoo&amp;#039;s portage package system in conjunction with the emerge command makes it much easier to obtain the needed packages for ZoneMinder and whatever else you might need.&lt;br /&gt;
&lt;br /&gt;
== What You Will Need ==&lt;br /&gt;
* A [http://www.gentoo.org/main/en/where.xml Gentoo LiveCD]&lt;br /&gt;
* An internet connection, to download and install the necessary packages.&lt;br /&gt;
&lt;br /&gt;
== Installation of Gentoo Linux ==&lt;br /&gt;
Gentoo has its own comprehensive install guide which is regularly updated, this can be found in the [https://wiki.gentoo.org/wiki/Handbook:Main_Page Gentoo Handbook].&lt;br /&gt;
&lt;br /&gt;
== Installing ZoneMinder for Gentoo ==&lt;br /&gt;
There are some ZoneMinder packages (called &amp;#039;ebuilds&amp;#039;) available for Gentoo in the &amp;#039;portage&amp;#039; tree. https://packages.gentoo.org/packages/www-misc/zoneminder&lt;br /&gt;
&lt;br /&gt;
The ZoneMinder ebuilds are currently (April 2017) masked.&lt;br /&gt;
You will need to unmask the package&lt;br /&gt;
&amp;lt;pre&amp;gt;# nano /etc/portage/package.keywords&lt;br /&gt;
www-misc/zoneminder ~amd64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you may also want to add the version to /etc/portage/package.unmask&lt;br /&gt;
&amp;lt;pre&amp;gt;# nano /etc/portage/package.unmask&lt;br /&gt;
=www-misc/zoneminder-1.30.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After unmasking you can now install via the emerge command.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge --ask zoneminder&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ZoneMinder currently depends on mysql. Gentoo will install [https://packages.gentoo.org/packages/dev-db/mariadb dev-db/maria] by default unless you configure otherwise. This will need to be configured prior to running ZoneMinder and adding its database.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge --config mariadb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once configured, you will need to add the zm database and install the default tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql -uroot -p -e &amp;quot;create database zm;&amp;quot;&lt;br /&gt;
mysql -uroot -p zm &amp;lt; /usr/share/zoneminder/db/zm_create.sql&lt;br /&gt;
mysql -uroot -p&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt; use zm; grant select,insert,update,lock tables,delete on zm.* to &amp;#039;zmuser&amp;#039;@localhost identified by &amp;#039;zmpass&amp;#039;;&lt;br /&gt;
mysql&amp;gt; flush privileges;&lt;br /&gt;
mysql&amp;gt; exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Config File ===&lt;br /&gt;
&lt;br /&gt;
ZoneMinder&amp;#039;s config file is located at /etc/zm.conf&lt;br /&gt;
&lt;br /&gt;
A default install will only require your database details to be updated.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ZM_DB_USER=zmuser&lt;br /&gt;
ZM_DB_PASS=zmpass&lt;br /&gt;
&amp;lt;/pre&amp;gt;                        &lt;br /&gt;
&lt;br /&gt;
==== Additional Packages ====&lt;br /&gt;
&lt;br /&gt;
You may also want to install:&lt;br /&gt;
* pciutils - this is useful if you have pci based capture cards, probably not required if you intend to use IP cameras.&lt;br /&gt;
* usbutils - same as pciutils for usb cameras, may not be required.&lt;br /&gt;
* samba - to exchange files with Windows clients/servers.&lt;br /&gt;
&lt;br /&gt;
These packages are easily installed by typing emerge --ask &amp;lt;package_name&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Maintaining the System==&lt;br /&gt;
===Watchdogs===&lt;br /&gt;
===Avoiding a Full Disk===&lt;br /&gt;
====Automatic FTP of Events====&lt;br /&gt;
====Purge When Full Script====&lt;br /&gt;
The default install includes a purge script that will clear frames at 95% disk capacity. This can be modifed under &amp;quot;Filters&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Fatalfuuu</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=User:Fatalfuuu&amp;diff=14618</id>
		<title>User:Fatalfuuu</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=User:Fatalfuuu&amp;diff=14618"/>
		<updated>2017-04-18T20:06:35Z</updated>

		<summary type="html">&lt;p&gt;Fatalfuuu: Created page with &amp;quot;Confirmation 2017-04-18&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Confirmation 2017-04-18&lt;/div&gt;</summary>
		<author><name>Fatalfuuu</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Gentoo_Install&amp;diff=14617</id>
		<title>Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Gentoo_Install&amp;diff=14617"/>
		<updated>2017-04-18T19:58:17Z</updated>

		<summary type="html">&lt;p&gt;Fatalfuuu: Change order of headings&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Gentoo ==&lt;br /&gt;
Gentoo is a distribution that prides itself on being extra-configurable, processor native, and easy to update. Gentoo users usually compile their installation from srouce, but while it&amp;#039;s great to nitpick on the details, Gentoo also has the option of installing a precompiled system quickly from a LiveCD.&lt;br /&gt;
&lt;br /&gt;
== Why Gentoo? ==&lt;br /&gt;
* Other distros have a one-size-fits-all approach, including full GUI environments unnecessary for a ZoneMinder CCTV DVR box.&lt;br /&gt;
* Binary distributions make it difficult to locate the appropriate libraries for ZoneMinder to build properly. Packages for these distrubutions often do not include development libraries and headers necessary for building software from source.&lt;br /&gt;
* A Gentoo system is highly configurable, and is easy to update and maintain.&lt;br /&gt;
* Gentoo&amp;#039;s portage package system in conjunction with the emerge command makes it much easier to obtain the needed packages for ZoneMinder and whatever else you might need.&lt;br /&gt;
&lt;br /&gt;
== What You Will Need ==&lt;br /&gt;
* A [http://www.gentoo.org/main/en/where.xml Gentoo LiveCD]&lt;br /&gt;
* An internet connection, to download and install the necessary packages.&lt;br /&gt;
&lt;br /&gt;
== Installation of Gentoo Linux ==&lt;br /&gt;
Gentoo has its own comprehensive install guide which is regularly updated, this can be found in the [https://wiki.gentoo.org/wiki/Handbook:Main_Page Gentoo Handbook].&lt;br /&gt;
&lt;br /&gt;
== Installing ZoneMinder for Gentoo ==&lt;br /&gt;
There are some ZoneMinder packages (called &amp;#039;ebuilds&amp;#039;) available for Gentoo in the &amp;#039;portage&amp;#039; tree. https://packages.gentoo.org/packages/www-misc/zoneminder&lt;br /&gt;
&lt;br /&gt;
The ZoneMinder ebuilds are currently (April 2017) masked.&lt;br /&gt;
You will need to unmask the package&lt;br /&gt;
&amp;lt;pre&amp;gt;# nano /etc/portage/package.keywords&lt;br /&gt;
www-misc/zoneminder ~amd64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you may also want to add the version to /etc/portage/package/unmask&lt;br /&gt;
&amp;lt;pre&amp;gt;# nano /etc/portage/package.unmask&lt;br /&gt;
=www-misc/zoneminder-1.30.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After unmasking you can now install via the emerge command.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge --ask zoneminder&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ZoneMinder currently depends on mysql. Gentoo will install [https://packages.gentoo.org/packages/dev-db/mariadb dev-db/maria] by default unless you configure otherwise. This will need to be configured prior to running ZoneMinder and adding its database.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_secure_installation&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once configured, you will need to add the zm database and install the default tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql -uroot -p -e &amp;quot;create database zm;&amp;quot;&lt;br /&gt;
mysql -uroot -p zm &amp;lt; /usr/share/zoneminder/db/zm_create.sql&lt;br /&gt;
mysql -uroot -p&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt; use zm; grant select,insert,update,lock tables,delete on zm.* to &amp;#039;zmuser&amp;#039;@localhost identified by &amp;#039;zmpass&amp;#039;;&lt;br /&gt;
mysql&amp;gt; flush privileges;&lt;br /&gt;
mysql&amp;gt; exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== config file ===&lt;br /&gt;
&lt;br /&gt;
configure the included config file . Heres my working version. It includes the database username/password&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chickcam ~ # grep ^[A-Za-z] /etc/zm.conf&lt;br /&gt;
ZM_VERSION=1.22.3&lt;br /&gt;
ZM_PATH_BUILD=&amp;gt;/usr/share/zoneminder&lt;br /&gt;
ZM_TIME_BUILD=1170184168&lt;br /&gt;
ZM_PATH_BIN=/usr/bin&lt;br /&gt;
ZM_PATH_LIB=/usr/lib&lt;br /&gt;
ZM_PATH_CONF=/etc&lt;br /&gt;
ZM_PATH_WEB   =/&lt;br /&gt;
ZM_PATH_CGI =/var/www/localhost/cgi-bin&lt;br /&gt;
ZM_WEB_USER=apache&lt;br /&gt;
ZM_WEB_GROUP=apache&lt;br /&gt;
ZM_DB_HOST=localhost&lt;br /&gt;
ZM_DB_NAME=zm&lt;br /&gt;
ZM_DB_USER=zm&lt;br /&gt;
ZM_DB_PASS=xxxxx&lt;br /&gt;
chickcam ~ #     &amp;lt;/pre&amp;gt;                        &lt;br /&gt;
&lt;br /&gt;
==== configuring the camera ====&lt;br /&gt;
I started with 1 camera plugged into localhost.&lt;br /&gt;
&lt;br /&gt;
It may need modules (spca5xx, gspca,etc  ) which you will have to emerge or recompile in your kernel&lt;br /&gt;
&lt;br /&gt;
Initially i had a broken image.  I checked  /dev/video0  had appeared once the camera was configured and changed the permissions to 777&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;~ # ls -la /dev/video0&lt;br /&gt;
lrwxrwxrwx 1 root root 10 Feb 14 18:05 /dev/video0 -&amp;gt; v4l/video0&lt;br /&gt;
&amp;lt;/pre&amp;gt;~ #            &lt;br /&gt;
&lt;br /&gt;
In spite of this I had to add the webserver user ( apache ) to the video &amp;#039;&amp;#039;Italic text&amp;#039;&amp;#039;  group to get the images to display&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Additional Packages ====&lt;br /&gt;
&lt;br /&gt;
You may also want to install:&lt;br /&gt;
* pciutils - this is useful if you have pci based capture cards, probably not required if you intend to use IP cameras.&lt;br /&gt;
* usbutils - same as pciutils for usb cameras, may not be required.&lt;br /&gt;
* samba - to exchange files with Windows clients/servers.&lt;br /&gt;
&lt;br /&gt;
These packages are easily installed by typing emerge --ask &amp;lt;package_name&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Maintaining the System==&lt;br /&gt;
===Watchdogs===&lt;br /&gt;
===Avoiding a Full Disk===&lt;br /&gt;
====Automatic FTP of Events====&lt;br /&gt;
====Purge When Full Script====&lt;/div&gt;</summary>
		<author><name>Fatalfuuu</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Gentoo_Install&amp;diff=14616</id>
		<title>Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Gentoo_Install&amp;diff=14616"/>
		<updated>2017-04-18T19:56:10Z</updated>

		<summary type="html">&lt;p&gt;Fatalfuuu: /* ZoneMinder Installation */ Removing section - being written inline above&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Gentoo ==&lt;br /&gt;
Gentoo is a distribution that prides itself on being extra-configurable, processor native, and easy to update. Gentoo users usually compile their installation from srouce, but while it&amp;#039;s great to nitpick on the details, Gentoo also has the option of installing a precompiled system quickly from a LiveCD.&lt;br /&gt;
&lt;br /&gt;
== Why Gentoo? ==&lt;br /&gt;
* Other distros have a one-size-fits-all approach, including full GUI environments unnecessary for a ZoneMinder CCTV DVR box.&lt;br /&gt;
* Binary distributions make it difficult to locate the appropriate libraries for ZoneMinder to build properly. Packages for these distrubutions often do not include development libraries and headers necessary for building software from source.&lt;br /&gt;
* A Gentoo system is highly configurable, and is easy to update and maintain.&lt;br /&gt;
* Gentoo&amp;#039;s portage package system in conjunction with the emerge command makes it much easier to obtain the needed packages for ZoneMinder and whatever else you might need.&lt;br /&gt;
&lt;br /&gt;
== What You Will Need ==&lt;br /&gt;
* A [http://www.gentoo.org/main/en/where.xml Gentoo LiveCD]&lt;br /&gt;
* An internet connection, to download and install the necessary packages&lt;br /&gt;
&lt;br /&gt;
== Installing ZoneMinder for Gentoo ==&lt;br /&gt;
There are some ZoneMinder packages (called &amp;#039;ebuilds&amp;#039;) available for Gentoo in the &amp;#039;portage&amp;#039; tree. https://packages.gentoo.org/packages/www-misc/zoneminder&lt;br /&gt;
&lt;br /&gt;
The ZoneMinder ebuilds are currently (April 2017) masked.&lt;br /&gt;
You will need to unmask the package&lt;br /&gt;
&amp;lt;pre&amp;gt;# nano /etc/portage/package.keywords&lt;br /&gt;
www-misc/zoneminder ~amd64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you may also want to add the version to /etc/portage/package/unmask&lt;br /&gt;
&amp;lt;pre&amp;gt;# nano /etc/portage/package.unmask&lt;br /&gt;
=www-misc/zoneminder-1.30.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After unmasking you can now install via the emerge command.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge --ask zoneminder&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ZoneMinder currently depends on mysql. Gentoo will install [https://packages.gentoo.org/packages/dev-db/mariadb dev-db/maria] by default unless you configure otherwise. This will need to be configured prior to running ZoneMinder and adding its database.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_secure_installation&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once configured, you will need to add the zm database and install the default tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql -uroot -p -e &amp;quot;create database zm;&amp;quot;&lt;br /&gt;
mysql -uroot -p zm &amp;lt; /usr/share/zoneminder/db/zm_create.sql&lt;br /&gt;
mysql -uroot -p&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt; use zm; grant select,insert,update,lock tables,delete on zm.* to &amp;#039;zmuser&amp;#039;@localhost identified by &amp;#039;zmpass&amp;#039;;&lt;br /&gt;
mysql&amp;gt; flush privileges;&lt;br /&gt;
mysql&amp;gt; exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== config file ===&lt;br /&gt;
&lt;br /&gt;
configure the included config file . Heres my working version. It includes the database username/password&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chickcam ~ # grep ^[A-Za-z] /etc/zm.conf&lt;br /&gt;
ZM_VERSION=1.22.3&lt;br /&gt;
ZM_PATH_BUILD=&amp;gt;/usr/share/zoneminder&lt;br /&gt;
ZM_TIME_BUILD=1170184168&lt;br /&gt;
ZM_PATH_BIN=/usr/bin&lt;br /&gt;
ZM_PATH_LIB=/usr/lib&lt;br /&gt;
ZM_PATH_CONF=/etc&lt;br /&gt;
ZM_PATH_WEB   =/&lt;br /&gt;
ZM_PATH_CGI =/var/www/localhost/cgi-bin&lt;br /&gt;
ZM_WEB_USER=apache&lt;br /&gt;
ZM_WEB_GROUP=apache&lt;br /&gt;
ZM_DB_HOST=localhost&lt;br /&gt;
ZM_DB_NAME=zm&lt;br /&gt;
ZM_DB_USER=zm&lt;br /&gt;
ZM_DB_PASS=xxxxx&lt;br /&gt;
chickcam ~ #     &amp;lt;/pre&amp;gt;                        &lt;br /&gt;
&lt;br /&gt;
==== configuring the camera ====&lt;br /&gt;
I started with 1 camera plugged into localhost.&lt;br /&gt;
&lt;br /&gt;
It may need modules (spca5xx, gspca,etc  ) which you will have to emerge or recompile in your kernel&lt;br /&gt;
&lt;br /&gt;
Initially i had a broken image.  I checked  /dev/video0  had appeared once the camera was configured and changed the permissions to 777&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;~ # ls -la /dev/video0&lt;br /&gt;
lrwxrwxrwx 1 root root 10 Feb 14 18:05 /dev/video0 -&amp;gt; v4l/video0&lt;br /&gt;
&amp;lt;/pre&amp;gt;~ #            &lt;br /&gt;
&lt;br /&gt;
In spite of this I had to add the webserver user ( apache ) to the video &amp;#039;&amp;#039;Italic text&amp;#039;&amp;#039;  group to get the images to display&lt;br /&gt;
&lt;br /&gt;
== Installation of Gentoo Linux ==&lt;br /&gt;
&lt;br /&gt;
Gentoo has its own comprehensive install guide which is regularly updated, this can be found in the [https://wiki.gentoo.org/wiki/Handbook:Main_Page Gentoo Handbook].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Additional Packages ====&lt;br /&gt;
&lt;br /&gt;
You may also want to install:&lt;br /&gt;
* pciutils - this is useful if you have pci based capture cards, probably not required if you intend to use IP cameras.&lt;br /&gt;
* usbutils - same as pciutils for usb cameras, may not be required.&lt;br /&gt;
* samba - to exchange files with Windows clients/servers.&lt;br /&gt;
&lt;br /&gt;
These packages are easily installed by typing emerge --ask &amp;lt;package_name&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Maintaining the System==&lt;br /&gt;
===Watchdogs===&lt;br /&gt;
===Avoiding a Full Disk===&lt;br /&gt;
====Automatic FTP of Events====&lt;br /&gt;
====Purge When Full Script====&lt;/div&gt;</summary>
		<author><name>Fatalfuuu</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Gentoo_Install&amp;diff=14615</id>
		<title>Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Gentoo_Install&amp;diff=14615"/>
		<updated>2017-04-18T19:55:13Z</updated>

		<summary type="html">&lt;p&gt;Fatalfuuu: /* Additional Packages */ - updated some wording as these packages arent that useful with the more common ip cameras being used these days&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Gentoo ==&lt;br /&gt;
Gentoo is a distribution that prides itself on being extra-configurable, processor native, and easy to update. Gentoo users usually compile their installation from srouce, but while it&amp;#039;s great to nitpick on the details, Gentoo also has the option of installing a precompiled system quickly from a LiveCD.&lt;br /&gt;
&lt;br /&gt;
== Why Gentoo? ==&lt;br /&gt;
* Other distros have a one-size-fits-all approach, including full GUI environments unnecessary for a ZoneMinder CCTV DVR box.&lt;br /&gt;
* Binary distributions make it difficult to locate the appropriate libraries for ZoneMinder to build properly. Packages for these distrubutions often do not include development libraries and headers necessary for building software from source.&lt;br /&gt;
* A Gentoo system is highly configurable, and is easy to update and maintain.&lt;br /&gt;
* Gentoo&amp;#039;s portage package system in conjunction with the emerge command makes it much easier to obtain the needed packages for ZoneMinder and whatever else you might need.&lt;br /&gt;
&lt;br /&gt;
== What You Will Need ==&lt;br /&gt;
* A [http://www.gentoo.org/main/en/where.xml Gentoo LiveCD]&lt;br /&gt;
* An internet connection, to download and install the necessary packages&lt;br /&gt;
&lt;br /&gt;
== Installing ZoneMinder for Gentoo ==&lt;br /&gt;
There are some ZoneMinder packages (called &amp;#039;ebuilds&amp;#039;) available for Gentoo in the &amp;#039;portage&amp;#039; tree. https://packages.gentoo.org/packages/www-misc/zoneminder&lt;br /&gt;
&lt;br /&gt;
The ZoneMinder ebuilds are currently (April 2017) masked.&lt;br /&gt;
You will need to unmask the package&lt;br /&gt;
&amp;lt;pre&amp;gt;# nano /etc/portage/package.keywords&lt;br /&gt;
www-misc/zoneminder ~amd64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you may also want to add the version to /etc/portage/package/unmask&lt;br /&gt;
&amp;lt;pre&amp;gt;# nano /etc/portage/package.unmask&lt;br /&gt;
=www-misc/zoneminder-1.30.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After unmasking you can now install via the emerge command.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge --ask zoneminder&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ZoneMinder currently depends on mysql. Gentoo will install [https://packages.gentoo.org/packages/dev-db/mariadb dev-db/maria] by default unless you configure otherwise. This will need to be configured prior to running ZoneMinder and adding its database.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_secure_installation&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once configured, you will need to add the zm database and install the default tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql -uroot -p -e &amp;quot;create database zm;&amp;quot;&lt;br /&gt;
mysql -uroot -p zm &amp;lt; /usr/share/zoneminder/db/zm_create.sql&lt;br /&gt;
mysql -uroot -p&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt; use zm; grant select,insert,update,lock tables,delete on zm.* to &amp;#039;zmuser&amp;#039;@localhost identified by &amp;#039;zmpass&amp;#039;;&lt;br /&gt;
mysql&amp;gt; flush privileges;&lt;br /&gt;
mysql&amp;gt; exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== config file ===&lt;br /&gt;
&lt;br /&gt;
configure the included config file . Heres my working version. It includes the database username/password&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chickcam ~ # grep ^[A-Za-z] /etc/zm.conf&lt;br /&gt;
ZM_VERSION=1.22.3&lt;br /&gt;
ZM_PATH_BUILD=&amp;gt;/usr/share/zoneminder&lt;br /&gt;
ZM_TIME_BUILD=1170184168&lt;br /&gt;
ZM_PATH_BIN=/usr/bin&lt;br /&gt;
ZM_PATH_LIB=/usr/lib&lt;br /&gt;
ZM_PATH_CONF=/etc&lt;br /&gt;
ZM_PATH_WEB   =/&lt;br /&gt;
ZM_PATH_CGI =/var/www/localhost/cgi-bin&lt;br /&gt;
ZM_WEB_USER=apache&lt;br /&gt;
ZM_WEB_GROUP=apache&lt;br /&gt;
ZM_DB_HOST=localhost&lt;br /&gt;
ZM_DB_NAME=zm&lt;br /&gt;
ZM_DB_USER=zm&lt;br /&gt;
ZM_DB_PASS=xxxxx&lt;br /&gt;
chickcam ~ #     &amp;lt;/pre&amp;gt;                        &lt;br /&gt;
&lt;br /&gt;
==== configuring the camera ====&lt;br /&gt;
I started with 1 camera plugged into localhost.&lt;br /&gt;
&lt;br /&gt;
It may need modules (spca5xx, gspca,etc  ) which you will have to emerge or recompile in your kernel&lt;br /&gt;
&lt;br /&gt;
Initially i had a broken image.  I checked  /dev/video0  had appeared once the camera was configured and changed the permissions to 777&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;~ # ls -la /dev/video0&lt;br /&gt;
lrwxrwxrwx 1 root root 10 Feb 14 18:05 /dev/video0 -&amp;gt; v4l/video0&lt;br /&gt;
&amp;lt;/pre&amp;gt;~ #            &lt;br /&gt;
&lt;br /&gt;
In spite of this I had to add the webserver user ( apache ) to the video &amp;#039;&amp;#039;Italic text&amp;#039;&amp;#039;  group to get the images to display&lt;br /&gt;
&lt;br /&gt;
== Installation of Gentoo Linux ==&lt;br /&gt;
&lt;br /&gt;
Gentoo has its own comprehensive install guide which is regularly updated, this can be found in the [https://wiki.gentoo.org/wiki/Handbook:Main_Page Gentoo Handbook].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Additional Packages ====&lt;br /&gt;
&lt;br /&gt;
You may also want to install:&lt;br /&gt;
* pciutils - this is useful if you have pci based capture cards, probably not required if you intend to use IP cameras.&lt;br /&gt;
* usbutils - same as pciutils for usb cameras, may not be required.&lt;br /&gt;
* samba - to exchange files with Windows clients/servers.&lt;br /&gt;
&lt;br /&gt;
These packages are easily installed by typing emerge --ask &amp;lt;package_name&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ZoneMinder Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Overview of ZoneMinder Installation ===&lt;br /&gt;
* Building ZoneMinder&lt;br /&gt;
* Configuration&lt;br /&gt;
* Initializing the Database&lt;br /&gt;
* Defining Monitors&lt;br /&gt;
* Defining Zones&lt;br /&gt;
&lt;br /&gt;
==Maintaining the System==&lt;br /&gt;
===Watchdogs===&lt;br /&gt;
===Avoiding a Full Disk===&lt;br /&gt;
====Automatic FTP of Events====&lt;br /&gt;
====Purge When Full Script====&lt;/div&gt;</summary>
		<author><name>Fatalfuuu</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Gentoo_Install&amp;diff=14614</id>
		<title>Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Gentoo_Install&amp;diff=14614"/>
		<updated>2017-04-18T19:29:52Z</updated>

		<summary type="html">&lt;p&gt;Fatalfuuu: /* About ZoneMinder for Gentoo */ Added first install command (emerge) and initial draft of mysql setup&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Gentoo ==&lt;br /&gt;
Gentoo is a distribution that prides itself on being extra-configurable, processor native, and easy to update. Gentoo users usually compile their installation from srouce, but while it&amp;#039;s great to nitpick on the details, Gentoo also has the option of installing a precompiled system quickly from a LiveCD.&lt;br /&gt;
&lt;br /&gt;
== Why Gentoo? ==&lt;br /&gt;
* Other distros have a one-size-fits-all approach, including full GUI environments unnecessary for a ZoneMinder CCTV DVR box.&lt;br /&gt;
* Binary distributions make it difficult to locate the appropriate libraries for ZoneMinder to build properly. Packages for these distrubutions often do not include development libraries and headers necessary for building software from source.&lt;br /&gt;
* A Gentoo system is highly configurable, and is easy to update and maintain.&lt;br /&gt;
* Gentoo&amp;#039;s portage package system in conjunction with the emerge command makes it much easier to obtain the needed packages for ZoneMinder and whatever else you might need.&lt;br /&gt;
&lt;br /&gt;
== What You Will Need ==&lt;br /&gt;
* A [http://www.gentoo.org/main/en/where.xml Gentoo LiveCD]&lt;br /&gt;
* An internet connection, to download and install the necessary packages&lt;br /&gt;
&lt;br /&gt;
== Installing ZoneMinder for Gentoo ==&lt;br /&gt;
There are some ZoneMinder packages (called &amp;#039;ebuilds&amp;#039;) available for Gentoo in the &amp;#039;portage&amp;#039; tree. https://packages.gentoo.org/packages/www-misc/zoneminder&lt;br /&gt;
&lt;br /&gt;
The ZoneMinder ebuilds are currently (April 2017) masked.&lt;br /&gt;
You will need to unmask the package&lt;br /&gt;
&amp;lt;pre&amp;gt;# nano /etc/portage/package.keywords&lt;br /&gt;
www-misc/zoneminder ~amd64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you may also want to add the version to /etc/portage/package/unmask&lt;br /&gt;
&amp;lt;pre&amp;gt;# nano /etc/portage/package.unmask&lt;br /&gt;
=www-misc/zoneminder-1.30.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After unmasking you can now install via the emerge command.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge --ask zoneminder&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ZoneMinder currently depends on mysql. Gentoo will install [https://packages.gentoo.org/packages/dev-db/mariadb dev-db/maria] by default unless you configure otherwise. This will need to be configured prior to running ZoneMinder and adding its database.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_secure_installation&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once configured, you will need to add the zm database and install the default tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql -uroot -p -e &amp;quot;create database zm;&amp;quot;&lt;br /&gt;
mysql -uroot -p zm &amp;lt; /usr/share/zoneminder/db/zm_create.sql&lt;br /&gt;
mysql -uroot -p&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt; use zm; grant select,insert,update,lock tables,delete on zm.* to &amp;#039;zmuser&amp;#039;@localhost identified by &amp;#039;zmpass&amp;#039;;&lt;br /&gt;
mysql&amp;gt; flush privileges;&lt;br /&gt;
mysql&amp;gt; exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== config file ===&lt;br /&gt;
&lt;br /&gt;
configure the included config file . Heres my working version. It includes the database username/password&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chickcam ~ # grep ^[A-Za-z] /etc/zm.conf&lt;br /&gt;
ZM_VERSION=1.22.3&lt;br /&gt;
ZM_PATH_BUILD=&amp;gt;/usr/share/zoneminder&lt;br /&gt;
ZM_TIME_BUILD=1170184168&lt;br /&gt;
ZM_PATH_BIN=/usr/bin&lt;br /&gt;
ZM_PATH_LIB=/usr/lib&lt;br /&gt;
ZM_PATH_CONF=/etc&lt;br /&gt;
ZM_PATH_WEB   =/&lt;br /&gt;
ZM_PATH_CGI =/var/www/localhost/cgi-bin&lt;br /&gt;
ZM_WEB_USER=apache&lt;br /&gt;
ZM_WEB_GROUP=apache&lt;br /&gt;
ZM_DB_HOST=localhost&lt;br /&gt;
ZM_DB_NAME=zm&lt;br /&gt;
ZM_DB_USER=zm&lt;br /&gt;
ZM_DB_PASS=xxxxx&lt;br /&gt;
chickcam ~ #     &amp;lt;/pre&amp;gt;                        &lt;br /&gt;
&lt;br /&gt;
==== configuring the camera ====&lt;br /&gt;
I started with 1 camera plugged into localhost.&lt;br /&gt;
&lt;br /&gt;
It may need modules (spca5xx, gspca,etc  ) which you will have to emerge or recompile in your kernel&lt;br /&gt;
&lt;br /&gt;
Initially i had a broken image.  I checked  /dev/video0  had appeared once the camera was configured and changed the permissions to 777&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;~ # ls -la /dev/video0&lt;br /&gt;
lrwxrwxrwx 1 root root 10 Feb 14 18:05 /dev/video0 -&amp;gt; v4l/video0&lt;br /&gt;
&amp;lt;/pre&amp;gt;~ #            &lt;br /&gt;
&lt;br /&gt;
In spite of this I had to add the webserver user ( apache ) to the video &amp;#039;&amp;#039;Italic text&amp;#039;&amp;#039;  group to get the images to display&lt;br /&gt;
&lt;br /&gt;
== Installation of Gentoo Linux ==&lt;br /&gt;
&lt;br /&gt;
Gentoo has its own comprehensive install guide which is regularly updated, this can be found in the [https://wiki.gentoo.org/wiki/Handbook:Main_Page Gentoo Handbook].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Additional Packages ====&lt;br /&gt;
&lt;br /&gt;
You may also want to install:&lt;br /&gt;
* pciutils, to get information about PCI devices to assist in troubleshooting.&lt;br /&gt;
* usbutils, to get information about USB devices to assist in troubleshooting.&lt;br /&gt;
* syslog-ng, to manage system logs. ZoneMinder will need to be configured to use it. (/etc/syslog-ng/syslog-ng.conf)&lt;br /&gt;
* vixie-cron, for ZoneMinder to complete scheduled cron jobs.&lt;br /&gt;
* samba, to exchange files with Windows clients/servers.&lt;br /&gt;
* camsource, lets you serve up web images from your capture card. Can be useful for diagnosis.&lt;br /&gt;
&lt;br /&gt;
These packages are easily installed by typing emerge -a &amp;lt;package_name&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ZoneMinder Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Overview of ZoneMinder Installation ===&lt;br /&gt;
* Building ZoneMinder&lt;br /&gt;
* Configuration&lt;br /&gt;
* Initializing the Database&lt;br /&gt;
* Defining Monitors&lt;br /&gt;
* Defining Zones&lt;br /&gt;
&lt;br /&gt;
==Maintaining the System==&lt;br /&gt;
===Watchdogs===&lt;br /&gt;
===Avoiding a Full Disk===&lt;br /&gt;
====Automatic FTP of Events====&lt;br /&gt;
====Purge When Full Script====&lt;/div&gt;</summary>
		<author><name>Fatalfuuu</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Gentoo_Install&amp;diff=14613</id>
		<title>Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Gentoo_Install&amp;diff=14613"/>
		<updated>2017-04-18T19:19:22Z</updated>

		<summary type="html">&lt;p&gt;Fatalfuuu: /* About ZoneMinder for Gentoo */ ebuild now pulls in apache/php/mysql etc - removed reference to being out of date&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Gentoo ==&lt;br /&gt;
Gentoo is a distribution that prides itself on being extra-configurable, processor native, and easy to update. Gentoo users usually compile their installation from srouce, but while it&amp;#039;s great to nitpick on the details, Gentoo also has the option of installing a precompiled system quickly from a LiveCD.&lt;br /&gt;
&lt;br /&gt;
== Why Gentoo? ==&lt;br /&gt;
* Other distros have a one-size-fits-all approach, including full GUI environments unnecessary for a ZoneMinder CCTV DVR box.&lt;br /&gt;
* Binary distributions make it difficult to locate the appropriate libraries for ZoneMinder to build properly. Packages for these distrubutions often do not include development libraries and headers necessary for building software from source.&lt;br /&gt;
* A Gentoo system is highly configurable, and is easy to update and maintain.&lt;br /&gt;
* Gentoo&amp;#039;s portage package system in conjunction with the emerge command makes it much easier to obtain the needed packages for ZoneMinder and whatever else you might need.&lt;br /&gt;
&lt;br /&gt;
== What You Will Need ==&lt;br /&gt;
* A [http://www.gentoo.org/main/en/where.xml Gentoo LiveCD]&lt;br /&gt;
* An internet connection, to download and install the necessary packages&lt;br /&gt;
&lt;br /&gt;
== About ZoneMinder for Gentoo ==&lt;br /&gt;
There are some ZoneMinder packages (called &amp;#039;ebuilds&amp;#039;) available for Gentoo in the &amp;#039;portage&amp;#039; tree.&lt;br /&gt;
&lt;br /&gt;
The Zoneminder ebuilds are currently (April 2017) masked.&lt;br /&gt;
You will need to unmask the package&lt;br /&gt;
&amp;lt;pre&amp;gt;# nano /etc/portage/package.keywords&lt;br /&gt;
www-misc/zoneminder ~amd64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you may also want to add the version to /etc/portage/package/unmask&lt;br /&gt;
&amp;lt;pre&amp;gt;# nano /etc/portage/package.unmask&lt;br /&gt;
=www-misc/zoneminder-1.30.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== config file ===&lt;br /&gt;
&lt;br /&gt;
configure the included config file . Heres my working version. It includes the database username/password&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chickcam ~ # grep ^[A-Za-z] /etc/zm.conf&lt;br /&gt;
ZM_VERSION=1.22.3&lt;br /&gt;
ZM_PATH_BUILD=&amp;gt;/usr/share/zoneminder&lt;br /&gt;
ZM_TIME_BUILD=1170184168&lt;br /&gt;
ZM_PATH_BIN=/usr/bin&lt;br /&gt;
ZM_PATH_LIB=/usr/lib&lt;br /&gt;
ZM_PATH_CONF=/etc&lt;br /&gt;
ZM_PATH_WEB   =/&lt;br /&gt;
ZM_PATH_CGI =/var/www/localhost/cgi-bin&lt;br /&gt;
ZM_WEB_USER=apache&lt;br /&gt;
ZM_WEB_GROUP=apache&lt;br /&gt;
ZM_DB_HOST=localhost&lt;br /&gt;
ZM_DB_NAME=zm&lt;br /&gt;
ZM_DB_USER=zm&lt;br /&gt;
ZM_DB_PASS=xxxxx&lt;br /&gt;
chickcam ~ #     &amp;lt;/pre&amp;gt;                        &lt;br /&gt;
&lt;br /&gt;
==== configuring the camera ====&lt;br /&gt;
I started with 1 camera plugged into localhost.&lt;br /&gt;
&lt;br /&gt;
It may need modules (spca5xx, gspca,etc  ) which you will have to emerge or recompile in your kernel&lt;br /&gt;
&lt;br /&gt;
Initially i had a broken image.  I checked  /dev/video0  had appeared once the camera was configured and changed the permissions to 777&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;~ # ls -la /dev/video0&lt;br /&gt;
lrwxrwxrwx 1 root root 10 Feb 14 18:05 /dev/video0 -&amp;gt; v4l/video0&lt;br /&gt;
&amp;lt;/pre&amp;gt;~ #            &lt;br /&gt;
&lt;br /&gt;
In spite of this I had to add the webserver user ( apache ) to the video &amp;#039;&amp;#039;Italic text&amp;#039;&amp;#039;  group to get the images to display&lt;br /&gt;
&lt;br /&gt;
== Installation of Gentoo Linux ==&lt;br /&gt;
&lt;br /&gt;
Gentoo has its own comprehensive install guide which is regularly updated, this can be found in the [https://wiki.gentoo.org/wiki/Handbook:Main_Page Gentoo Handbook].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Additional Packages ====&lt;br /&gt;
&lt;br /&gt;
You may also want to install:&lt;br /&gt;
* pciutils, to get information about PCI devices to assist in troubleshooting.&lt;br /&gt;
* usbutils, to get information about USB devices to assist in troubleshooting.&lt;br /&gt;
* syslog-ng, to manage system logs. ZoneMinder will need to be configured to use it. (/etc/syslog-ng/syslog-ng.conf)&lt;br /&gt;
* vixie-cron, for ZoneMinder to complete scheduled cron jobs.&lt;br /&gt;
* samba, to exchange files with Windows clients/servers.&lt;br /&gt;
* camsource, lets you serve up web images from your capture card. Can be useful for diagnosis.&lt;br /&gt;
&lt;br /&gt;
These packages are easily installed by typing emerge -a &amp;lt;package_name&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ZoneMinder Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Overview of ZoneMinder Installation ===&lt;br /&gt;
* Building ZoneMinder&lt;br /&gt;
* Configuration&lt;br /&gt;
* Initializing the Database&lt;br /&gt;
* Defining Monitors&lt;br /&gt;
* Defining Zones&lt;br /&gt;
&lt;br /&gt;
==Maintaining the System==&lt;br /&gt;
===Watchdogs===&lt;br /&gt;
===Avoiding a Full Disk===&lt;br /&gt;
====Automatic FTP of Events====&lt;br /&gt;
====Purge When Full Script====&lt;/div&gt;</summary>
		<author><name>Fatalfuuu</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Gentoo_Install&amp;diff=14612</id>
		<title>Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Gentoo_Install&amp;diff=14612"/>
		<updated>2017-04-18T19:14:38Z</updated>

		<summary type="html">&lt;p&gt;Fatalfuuu: /* ZoneMinder Installation */ zoneminder is in main repo so no longer need to add 3rd party with layman&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Gentoo ==&lt;br /&gt;
Gentoo is a distribution that prides itself on being extra-configurable, processor native, and easy to update. Gentoo users usually compile their installation from srouce, but while it&amp;#039;s great to nitpick on the details, Gentoo also has the option of installing a precompiled system quickly from a LiveCD.&lt;br /&gt;
&lt;br /&gt;
== Why Gentoo? ==&lt;br /&gt;
* Other distros have a one-size-fits-all approach, including full GUI environments unnecessary for a ZoneMinder CCTV DVR box.&lt;br /&gt;
* Binary distributions make it difficult to locate the appropriate libraries for ZoneMinder to build properly. Packages for these distrubutions often do not include development libraries and headers necessary for building software from source.&lt;br /&gt;
* A Gentoo system is highly configurable, and is easy to update and maintain.&lt;br /&gt;
* Gentoo&amp;#039;s portage package system in conjunction with the emerge command makes it much easier to obtain the needed packages for ZoneMinder and whatever else you might need.&lt;br /&gt;
&lt;br /&gt;
== What You Will Need ==&lt;br /&gt;
* A [http://www.gentoo.org/main/en/where.xml Gentoo LiveCD]&lt;br /&gt;
* An internet connection, to download and install the necessary packages&lt;br /&gt;
&lt;br /&gt;
== About ZoneMinder for Gentoo ==&lt;br /&gt;
There are some ZoneMinder packages (called &amp;#039;ebuilds&amp;#039;) available for Gentoo in the &amp;#039;portage&amp;#039; tree. However, they are not readily available in the mainstream portage tree &amp;#039;&amp;#039;and&amp;#039;&amp;#039; are a few releases behind. In addition, these ebuids have questionable configurability. It is best to compile from source.&lt;br /&gt;
&lt;br /&gt;
The Zoneminder ebuilds are currently (Feb 2007)  masked.&lt;br /&gt;
You will need to unmask the package&lt;br /&gt;
&amp;lt;pre&amp;gt; # cat /etc/portage/package.keywords |grep zone&lt;br /&gt;
www-misc/zoneminder ~x86         &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you may also want to add the version to /etc/portage/package/unmask&lt;br /&gt;
&amp;lt;pre&amp;gt;# cat /etc/portage/package.unmask&lt;br /&gt;
=www-misc/zoneminder-1.22.3&lt;br /&gt;
 #           &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the current ebuild doesnt bring in (or start apache), so you will need apache,php, and mysql&lt;br /&gt;
&lt;br /&gt;
=== config file ===&lt;br /&gt;
&lt;br /&gt;
configure the included config file . Heres my working version. It includes the database username/password&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chickcam ~ # grep ^[A-Za-z] /etc/zm.conf&lt;br /&gt;
ZM_VERSION=1.22.3&lt;br /&gt;
ZM_PATH_BUILD=&amp;gt;/usr/share/zoneminder&lt;br /&gt;
ZM_TIME_BUILD=1170184168&lt;br /&gt;
ZM_PATH_BIN=/usr/bin&lt;br /&gt;
ZM_PATH_LIB=/usr/lib&lt;br /&gt;
ZM_PATH_CONF=/etc&lt;br /&gt;
ZM_PATH_WEB   =/&lt;br /&gt;
ZM_PATH_CGI =/var/www/localhost/cgi-bin&lt;br /&gt;
ZM_WEB_USER=apache&lt;br /&gt;
ZM_WEB_GROUP=apache&lt;br /&gt;
ZM_DB_HOST=localhost&lt;br /&gt;
ZM_DB_NAME=zm&lt;br /&gt;
ZM_DB_USER=zm&lt;br /&gt;
ZM_DB_PASS=xxxxx&lt;br /&gt;
chickcam ~ #     &amp;lt;/pre&amp;gt;                        &lt;br /&gt;
&lt;br /&gt;
==== configuring the camera ====&lt;br /&gt;
I started with 1 camera plugged into localhost.&lt;br /&gt;
&lt;br /&gt;
It may need modules (spca5xx, gspca,etc  ) which you will have to emerge or recompile in your kernel&lt;br /&gt;
&lt;br /&gt;
Initially i had a broken image.  I checked  /dev/video0  had appeared once the camera was configured and changed the permissions to 777&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;~ # ls -la /dev/video0&lt;br /&gt;
lrwxrwxrwx 1 root root 10 Feb 14 18:05 /dev/video0 -&amp;gt; v4l/video0&lt;br /&gt;
&amp;lt;/pre&amp;gt;~ #            &lt;br /&gt;
&lt;br /&gt;
In spite of this I had to add the webserver user ( apache ) to the video &amp;#039;&amp;#039;Italic text&amp;#039;&amp;#039;  group to get the images to display&lt;br /&gt;
&lt;br /&gt;
== Installation of Gentoo Linux ==&lt;br /&gt;
&lt;br /&gt;
Gentoo has its own comprehensive install guide which is regularly updated, this can be found in the [https://wiki.gentoo.org/wiki/Handbook:Main_Page Gentoo Handbook].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Additional Packages ====&lt;br /&gt;
&lt;br /&gt;
You may also want to install:&lt;br /&gt;
* pciutils, to get information about PCI devices to assist in troubleshooting.&lt;br /&gt;
* usbutils, to get information about USB devices to assist in troubleshooting.&lt;br /&gt;
* syslog-ng, to manage system logs. ZoneMinder will need to be configured to use it. (/etc/syslog-ng/syslog-ng.conf)&lt;br /&gt;
* vixie-cron, for ZoneMinder to complete scheduled cron jobs.&lt;br /&gt;
* samba, to exchange files with Windows clients/servers.&lt;br /&gt;
* camsource, lets you serve up web images from your capture card. Can be useful for diagnosis.&lt;br /&gt;
&lt;br /&gt;
These packages are easily installed by typing emerge -a &amp;lt;package_name&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ZoneMinder Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Overview of ZoneMinder Installation ===&lt;br /&gt;
* Building ZoneMinder&lt;br /&gt;
* Configuration&lt;br /&gt;
* Initializing the Database&lt;br /&gt;
* Defining Monitors&lt;br /&gt;
* Defining Zones&lt;br /&gt;
&lt;br /&gt;
==Maintaining the System==&lt;br /&gt;
===Watchdogs===&lt;br /&gt;
===Avoiding a Full Disk===&lt;br /&gt;
====Automatic FTP of Events====&lt;br /&gt;
====Purge When Full Script====&lt;/div&gt;</summary>
		<author><name>Fatalfuuu</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Gentoo_Install&amp;diff=14602</id>
		<title>Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Gentoo_Install&amp;diff=14602"/>
		<updated>2017-04-12T20:56:30Z</updated>

		<summary type="html">&lt;p&gt;Fatalfuuu: /* ZoneMinder Installation */ Sliming down old information - readying for new guide install via emerge / gentoo&amp;#039;s main repo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Gentoo ==&lt;br /&gt;
Gentoo is a distribution that prides itself on being extra-configurable, processor native, and easy to update. Gentoo users usually compile their installation from srouce, but while it&amp;#039;s great to nitpick on the details, Gentoo also has the option of installing a precompiled system quickly from a LiveCD.&lt;br /&gt;
&lt;br /&gt;
== Why Gentoo? ==&lt;br /&gt;
* Other distros have a one-size-fits-all approach, including full GUI environments unnecessary for a ZoneMinder CCTV DVR box.&lt;br /&gt;
* Binary distributions make it difficult to locate the appropriate libraries for ZoneMinder to build properly. Packages for these distrubutions often do not include development libraries and headers necessary for building software from source.&lt;br /&gt;
* A Gentoo system is highly configurable, and is easy to update and maintain.&lt;br /&gt;
* Gentoo&amp;#039;s portage package system in conjunction with the emerge command makes it much easier to obtain the needed packages for ZoneMinder and whatever else you might need.&lt;br /&gt;
&lt;br /&gt;
== What You Will Need ==&lt;br /&gt;
* A [http://www.gentoo.org/main/en/where.xml Gentoo LiveCD]&lt;br /&gt;
* An internet connection, to download and install the necessary packages&lt;br /&gt;
&lt;br /&gt;
== About ZoneMinder for Gentoo ==&lt;br /&gt;
There are some ZoneMinder packages (called &amp;#039;ebuilds&amp;#039;) available for Gentoo in the &amp;#039;portage&amp;#039; tree. However, they are not readily available in the mainstream portage tree &amp;#039;&amp;#039;and&amp;#039;&amp;#039; are a few releases behind. In addition, these ebuids have questionable configurability. It is best to compile from source.&lt;br /&gt;
&lt;br /&gt;
The Zoneminder ebuilds are currently (Feb 2007)  masked.&lt;br /&gt;
You will need to unmask the package&lt;br /&gt;
&amp;lt;pre&amp;gt; # cat /etc/portage/package.keywords |grep zone&lt;br /&gt;
www-misc/zoneminder ~x86         &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you may also want to add the version to /etc/portage/package/unmask&lt;br /&gt;
&amp;lt;pre&amp;gt;# cat /etc/portage/package.unmask&lt;br /&gt;
=www-misc/zoneminder-1.22.3&lt;br /&gt;
 #           &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the current ebuild doesnt bring in (or start apache), so you will need apache,php, and mysql&lt;br /&gt;
&lt;br /&gt;
=== config file ===&lt;br /&gt;
&lt;br /&gt;
configure the included config file . Heres my working version. It includes the database username/password&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chickcam ~ # grep ^[A-Za-z] /etc/zm.conf&lt;br /&gt;
ZM_VERSION=1.22.3&lt;br /&gt;
ZM_PATH_BUILD=&amp;gt;/usr/share/zoneminder&lt;br /&gt;
ZM_TIME_BUILD=1170184168&lt;br /&gt;
ZM_PATH_BIN=/usr/bin&lt;br /&gt;
ZM_PATH_LIB=/usr/lib&lt;br /&gt;
ZM_PATH_CONF=/etc&lt;br /&gt;
ZM_PATH_WEB   =/&lt;br /&gt;
ZM_PATH_CGI =/var/www/localhost/cgi-bin&lt;br /&gt;
ZM_WEB_USER=apache&lt;br /&gt;
ZM_WEB_GROUP=apache&lt;br /&gt;
ZM_DB_HOST=localhost&lt;br /&gt;
ZM_DB_NAME=zm&lt;br /&gt;
ZM_DB_USER=zm&lt;br /&gt;
ZM_DB_PASS=xxxxx&lt;br /&gt;
chickcam ~ #     &amp;lt;/pre&amp;gt;                        &lt;br /&gt;
&lt;br /&gt;
==== configuring the camera ====&lt;br /&gt;
I started with 1 camera plugged into localhost.&lt;br /&gt;
&lt;br /&gt;
It may need modules (spca5xx, gspca,etc  ) which you will have to emerge or recompile in your kernel&lt;br /&gt;
&lt;br /&gt;
Initially i had a broken image.  I checked  /dev/video0  had appeared once the camera was configured and changed the permissions to 777&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;~ # ls -la /dev/video0&lt;br /&gt;
lrwxrwxrwx 1 root root 10 Feb 14 18:05 /dev/video0 -&amp;gt; v4l/video0&lt;br /&gt;
&amp;lt;/pre&amp;gt;~ #            &lt;br /&gt;
&lt;br /&gt;
In spite of this I had to add the webserver user ( apache ) to the video &amp;#039;&amp;#039;Italic text&amp;#039;&amp;#039;  group to get the images to display&lt;br /&gt;
&lt;br /&gt;
== Installation of Gentoo Linux ==&lt;br /&gt;
&lt;br /&gt;
Gentoo has its own comprehensive install guide which is regularly updated, this can be found in the [https://wiki.gentoo.org/wiki/Handbook:Main_Page Gentoo Handbook].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Additional Packages ====&lt;br /&gt;
&lt;br /&gt;
You may also want to install:&lt;br /&gt;
* pciutils, to get information about PCI devices to assist in troubleshooting.&lt;br /&gt;
* usbutils, to get information about USB devices to assist in troubleshooting.&lt;br /&gt;
* syslog-ng, to manage system logs. ZoneMinder will need to be configured to use it. (/etc/syslog-ng/syslog-ng.conf)&lt;br /&gt;
* vixie-cron, for ZoneMinder to complete scheduled cron jobs.&lt;br /&gt;
* samba, to exchange files with Windows clients/servers.&lt;br /&gt;
* camsource, lets you serve up web images from your capture card. Can be useful for diagnosis.&lt;br /&gt;
&lt;br /&gt;
These packages are easily installed by typing emerge -a &amp;lt;package_name&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ZoneMinder Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Overview of ZoneMinder Installation ===&lt;br /&gt;
* Building ZoneMinder&lt;br /&gt;
* Configuration&lt;br /&gt;
* Initializing the Database&lt;br /&gt;
* Defining Monitors&lt;br /&gt;
* Defining Zones&lt;br /&gt;
&lt;br /&gt;
====Easy way====&lt;br /&gt;
emerge layman&lt;br /&gt;
&lt;br /&gt;
layman -o http://gpo.zugaina.org/lst/gpo-repositories.xml &lt;br /&gt;
layman -a zugaina&lt;br /&gt;
&lt;br /&gt;
add &amp;quot;source /var/lib/layman/make.conf&amp;quot; to /etc/make.conf&lt;br /&gt;
ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge -av zoneminder &lt;br /&gt;
&lt;br /&gt;
(link http://hsiliev.blogspot.com/2011/11/installing-zoneminder-in-gentoo.html)&lt;br /&gt;
&lt;br /&gt;
==Maintaining the System==&lt;br /&gt;
===Watchdogs===&lt;br /&gt;
===Avoiding a Full Disk===&lt;br /&gt;
====Automatic FTP of Events====&lt;br /&gt;
====Purge When Full Script====&lt;/div&gt;</summary>
		<author><name>Fatalfuuu</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Gentoo_Install&amp;diff=14601</id>
		<title>Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Gentoo_Install&amp;diff=14601"/>
		<updated>2017-04-12T20:02:26Z</updated>

		<summary type="html">&lt;p&gt;Fatalfuuu: Remove a lot of install guide - instead linking to the Gentoo Handbook pages that are kept up to date with changes upstream.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Gentoo ==&lt;br /&gt;
Gentoo is a distribution that prides itself on being extra-configurable, processor native, and easy to update. Gentoo users usually compile their installation from srouce, but while it&amp;#039;s great to nitpick on the details, Gentoo also has the option of installing a precompiled system quickly from a LiveCD.&lt;br /&gt;
&lt;br /&gt;
== Why Gentoo? ==&lt;br /&gt;
* Other distros have a one-size-fits-all approach, including full GUI environments unnecessary for a ZoneMinder CCTV DVR box.&lt;br /&gt;
* Binary distributions make it difficult to locate the appropriate libraries for ZoneMinder to build properly. Packages for these distrubutions often do not include development libraries and headers necessary for building software from source.&lt;br /&gt;
* A Gentoo system is highly configurable, and is easy to update and maintain.&lt;br /&gt;
* Gentoo&amp;#039;s portage package system in conjunction with the emerge command makes it much easier to obtain the needed packages for ZoneMinder and whatever else you might need.&lt;br /&gt;
&lt;br /&gt;
== What You Will Need ==&lt;br /&gt;
* A [http://www.gentoo.org/main/en/where.xml Gentoo LiveCD]&lt;br /&gt;
* An internet connection, to download and install the necessary packages&lt;br /&gt;
&lt;br /&gt;
== About ZoneMinder for Gentoo ==&lt;br /&gt;
There are some ZoneMinder packages (called &amp;#039;ebuilds&amp;#039;) available for Gentoo in the &amp;#039;portage&amp;#039; tree. However, they are not readily available in the mainstream portage tree &amp;#039;&amp;#039;and&amp;#039;&amp;#039; are a few releases behind. In addition, these ebuids have questionable configurability. It is best to compile from source.&lt;br /&gt;
&lt;br /&gt;
The Zoneminder ebuilds are currently (Feb 2007)  masked.&lt;br /&gt;
You will need to unmask the package&lt;br /&gt;
&amp;lt;pre&amp;gt; # cat /etc/portage/package.keywords |grep zone&lt;br /&gt;
www-misc/zoneminder ~x86         &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you may also want to add the version to /etc/portage/package/unmask&lt;br /&gt;
&amp;lt;pre&amp;gt;# cat /etc/portage/package.unmask&lt;br /&gt;
=www-misc/zoneminder-1.22.3&lt;br /&gt;
 #           &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the current ebuild doesnt bring in (or start apache), so you will need apache,php, and mysql&lt;br /&gt;
&lt;br /&gt;
=== config file ===&lt;br /&gt;
&lt;br /&gt;
configure the included config file . Heres my working version. It includes the database username/password&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chickcam ~ # grep ^[A-Za-z] /etc/zm.conf&lt;br /&gt;
ZM_VERSION=1.22.3&lt;br /&gt;
ZM_PATH_BUILD=&amp;gt;/usr/share/zoneminder&lt;br /&gt;
ZM_TIME_BUILD=1170184168&lt;br /&gt;
ZM_PATH_BIN=/usr/bin&lt;br /&gt;
ZM_PATH_LIB=/usr/lib&lt;br /&gt;
ZM_PATH_CONF=/etc&lt;br /&gt;
ZM_PATH_WEB   =/&lt;br /&gt;
ZM_PATH_CGI =/var/www/localhost/cgi-bin&lt;br /&gt;
ZM_WEB_USER=apache&lt;br /&gt;
ZM_WEB_GROUP=apache&lt;br /&gt;
ZM_DB_HOST=localhost&lt;br /&gt;
ZM_DB_NAME=zm&lt;br /&gt;
ZM_DB_USER=zm&lt;br /&gt;
ZM_DB_PASS=xxxxx&lt;br /&gt;
chickcam ~ #     &amp;lt;/pre&amp;gt;                        &lt;br /&gt;
&lt;br /&gt;
==== configuring the camera ====&lt;br /&gt;
I started with 1 camera plugged into localhost.&lt;br /&gt;
&lt;br /&gt;
It may need modules (spca5xx, gspca,etc  ) which you will have to emerge or recompile in your kernel&lt;br /&gt;
&lt;br /&gt;
Initially i had a broken image.  I checked  /dev/video0  had appeared once the camera was configured and changed the permissions to 777&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;~ # ls -la /dev/video0&lt;br /&gt;
lrwxrwxrwx 1 root root 10 Feb 14 18:05 /dev/video0 -&amp;gt; v4l/video0&lt;br /&gt;
&amp;lt;/pre&amp;gt;~ #            &lt;br /&gt;
&lt;br /&gt;
In spite of this I had to add the webserver user ( apache ) to the video &amp;#039;&amp;#039;Italic text&amp;#039;&amp;#039;  group to get the images to display&lt;br /&gt;
&lt;br /&gt;
== Installation of Gentoo Linux ==&lt;br /&gt;
&lt;br /&gt;
Gentoo has its own comprehensive install guide which is regularly updated, this can be found in the [https://wiki.gentoo.org/wiki/Handbook:Main_Page Gentoo Handbook].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Additional Packages ====&lt;br /&gt;
&lt;br /&gt;
You may also want to install:&lt;br /&gt;
* pciutils, to get information about PCI devices to assist in troubleshooting.&lt;br /&gt;
* usbutils, to get information about USB devices to assist in troubleshooting.&lt;br /&gt;
* syslog-ng, to manage system logs. ZoneMinder will need to be configured to use it. (/etc/syslog-ng/syslog-ng.conf)&lt;br /&gt;
* vixie-cron, for ZoneMinder to complete scheduled cron jobs.&lt;br /&gt;
* samba, to exchange files with Windows clients/servers.&lt;br /&gt;
* camsource, lets you serve up web images from your capture card. Can be useful for diagnosis.&lt;br /&gt;
&lt;br /&gt;
These packages are easily installed by typing emerge -a &amp;lt;package_name&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ZoneMinder Installation ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;*  Note : the 3 following parts are now deprecated, since you can install zoneminder simply by emerging it. Once emerged, you can jump to the configuration part.&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
=== Overview of ZoneMinder Installation ===&lt;br /&gt;
* Downloading Source&lt;br /&gt;
* Extracting the Source&lt;br /&gt;
* Building ZoneMinder&lt;br /&gt;
* Configuration&lt;br /&gt;
* Initializing the Database&lt;br /&gt;
* Defining Monitors&lt;br /&gt;
* Defining Zones&lt;br /&gt;
&lt;br /&gt;
====Downloading Source====&lt;br /&gt;
You can retreive the ZoneMinder source by using the Links web browser and navigating to http://www2.zoneminder.com/downloads. If anyone has a better way, could you please amend the Wiki?&lt;br /&gt;
&lt;br /&gt;
*See the ZoneMinder Manual for further instructions&lt;br /&gt;
&lt;br /&gt;
====Easy way====&lt;br /&gt;
emerge layman&lt;br /&gt;
&lt;br /&gt;
layman -o http://gpo.zugaina.org/lst/gpo-repositories.xml &lt;br /&gt;
layman -a zugaina&lt;br /&gt;
&lt;br /&gt;
add &amp;quot;source /var/lib/layman/make.conf&amp;quot; to /etc/make.conf&lt;br /&gt;
ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge -av zoneminder &lt;br /&gt;
&lt;br /&gt;
(link http://hsiliev.blogspot.com/2011/11/installing-zoneminder-in-gentoo.html)&lt;br /&gt;
&lt;br /&gt;
==== Extracting the Source ====&lt;br /&gt;
*Extract the source of the tarball to the /usr/src directory&lt;br /&gt;
&amp;lt;code&amp;gt;tar -xjvf ZoneMinder-src.tar.bz2 /usr/src&amp;lt;/code&amp;gt;&lt;br /&gt;
====Building ZoneMinder====&lt;br /&gt;
*Change to the source directory&lt;br /&gt;
&amp;lt;code&amp;gt;cd /usr/src/ZoneMinder-src&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;./configure&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;make install&amp;lt;/code&amp;gt;&lt;br /&gt;
====Configuration====&lt;br /&gt;
Configuration files&lt;br /&gt;
====Initializing the Database====&lt;br /&gt;
&amp;lt;code&amp;gt;database command here&amp;lt;/code&amp;gt;&lt;br /&gt;
====Defining Monitors====&lt;br /&gt;
You will need another computer with a webbrowser connected to the ZoneMinder box by a network.&lt;br /&gt;
#Open a web browser and type in the IP address of the Zoneminder box (Obtain the IP by issuing a &amp;lt;tt&amp;gt;ifconfig&amp;lt;/tt&amp;gt; command on the ZoneMinder box.&lt;br /&gt;
====Defining Zones====&lt;br /&gt;
&lt;br /&gt;
==Maintaining the System==&lt;br /&gt;
===Watchdogs===&lt;br /&gt;
===Avoiding a Full Disk===&lt;br /&gt;
====Automatic FTP of Events====&lt;br /&gt;
====Purge When Full Script====&lt;/div&gt;</summary>
		<author><name>Fatalfuuu</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Talk:Gentoo_Install&amp;diff=14600</id>
		<title>Talk:Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Talk:Gentoo_Install&amp;diff=14600"/>
		<updated>2017-04-12T19:52:17Z</updated>

		<summary type="html">&lt;p&gt;Fatalfuuu: Comments regarding refresh&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;shouldnt there be a link to www.gentoo.org with details about gentoo and how to install it and then all that could be removed from here .&lt;br /&gt;
&lt;br /&gt;
the pages here would then be either installation of an ebuild or compiling from source ( which could go to a separate page that could be more or less generic )&lt;br /&gt;
&lt;br /&gt;
I agree - I found it strange the instructions where written here too which prompted me to come here. I will remove this now, I am not even sure if there is a point to linking to a distro install at all. I am looking at writing up the install docs to be relevant to the current version. There is a section in there about v4l cameras but I am not experienced with this so not sure what to do. [[User:Fatalfuuu|Fatalfuuu]] ([[User talk:Fatalfuuu|talk]]) 19:52, 12 April 2017 (UTC)&lt;br /&gt;
&lt;br /&gt;
There is a very good entry over on Gentoo&amp;#039;s wiki https://wiki.gentoo.org/wiki/ZoneMinder - it may be worth mirroring this - or simply just linking out to there? [[User:Fatalfuuu|Fatalfuuu]] ([[User talk:Fatalfuuu|talk]]) 19:52, 12 April 2017 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Does not compile with GCC 4.6 ==&lt;br /&gt;
&lt;br /&gt;
As at 31-Dec-2012, using the zoneminder ebuild located in the overlay &amp;#039;&amp;#039;zugaina&amp;#039;&amp;#039;, zoneminder does not compile on Gentoo with kernel 3.6.11 and GCC 4.6.3 p1.8&lt;br /&gt;
&lt;br /&gt;
A solution was suggested that [http://www.linuxquestions.org/questions/slackware-14/zoneminder-1-25-0-wont-build-in-slackware64-current-939357/ in this forum post], however, I found that the patches, as supplied, did not work.&lt;br /&gt;
&lt;br /&gt;
Suggestions welcomed.&lt;br /&gt;
&lt;br /&gt;
Zoneminder as of 1.28 has been added into the main distro repo, and works well, currently up to 1.30.0. I have started to look into maintaining this and the docs if everything goes well over the next few weeks. [[User:Fatalfuuu|Fatalfuuu]] ([[User talk:Fatalfuuu|talk]]) 19:43, 12 April 2017 (UTC)&lt;/div&gt;</summary>
		<author><name>Fatalfuuu</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Talk:Gentoo_Install&amp;diff=14599</id>
		<title>Talk:Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Talk:Gentoo_Install&amp;diff=14599"/>
		<updated>2017-04-12T19:43:10Z</updated>

		<summary type="html">&lt;p&gt;Fatalfuuu: /* Does not compile with GCC 4.6 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;shouldnt there be a link to www.gentoo.org with details about gentoo and how to install it and then all that could be removed from here .&lt;br /&gt;
&lt;br /&gt;
the pages here would then be either installation of an ebuild or compiling from source ( which could go to a separate page that could be more or less generic )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Does not compile with GCC 4.6 ==&lt;br /&gt;
&lt;br /&gt;
As at 31-Dec-2012, using the zoneminder ebuild located in the overlay &amp;#039;&amp;#039;zugaina&amp;#039;&amp;#039;, zoneminder does not compile on Gentoo with kernel 3.6.11 and GCC 4.6.3 p1.8&lt;br /&gt;
&lt;br /&gt;
A solution was suggested that [http://www.linuxquestions.org/questions/slackware-14/zoneminder-1-25-0-wont-build-in-slackware64-current-939357/ in this forum post], however, I found that the patches, as supplied, did not work.&lt;br /&gt;
&lt;br /&gt;
Suggestions welcomed.&lt;br /&gt;
&lt;br /&gt;
Zoneminder as of 1.28 has been added into the main distro repo, and works well, currently up to 1.30.0. I have started to look into maintaining this and the docs if everything goes well over the next few weeks. [[User:Fatalfuuu|Fatalfuuu]] ([[User talk:Fatalfuuu|talk]]) 19:43, 12 April 2017 (UTC)&lt;/div&gt;</summary>
		<author><name>Fatalfuuu</name></author>
	</entry>
</feed>