<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Arquivos cctv - Remontti</title>
	<atom:link href="https://blog.remontti.com.br/tag/cctv/feed" rel="self" type="application/rss+xml" />
	<link>https://blog.remontti.com.br/tag/cctv</link>
	<description>rudimar@remontti</description>
	<lastBuildDate>Thu, 15 Sep 2022 19:14:51 +0000</lastBuildDate>
	<language>pt-BR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://blog.remontti.com.br/wp-content/uploads/2024/09/icone-rr-80x80.png</url>
	<title>Arquivos cctv - Remontti</title>
	<link>https://blog.remontti.com.br/tag/cctv</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Sistema de software de vigilância por vídeo de código aberto: ZoneMinder</title>
		<link>https://blog.remontti.com.br/6786</link>
					<comments>https://blog.remontti.com.br/6786#comments</comments>
		
		<dc:creator><![CDATA[Rudimar Remontti]]></dc:creator>
		<pubDate>Thu, 15 Sep 2022 19:14:51 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Bullseye]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[cctv]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[debian 11]]></category>
		<category><![CDATA[Segurança]]></category>
		<category><![CDATA[vigilância]]></category>
		<guid isPermaLink="false">https://blog.remontti.com.br/?p=6786</guid>

					<description><![CDATA[<p>ZoneMinder é um conjunto integrado de aplicativos que fornecem uma solução completa de vigilância que permite a captura, análise, gravação e monitoramento de qualquer CCTV ou câmeras de segurança conectadas a uma máquina baseada&#46;&#46;&#46;</p>
<p>O post <a href="https://blog.remontti.com.br/6786">Sistema de software de vigilância por vídeo de código aberto: ZoneMinder</a> apareceu primeiro em <a href="https://blog.remontti.com.br">Remontti</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://zoneminder.com/" rel="noopener" target="_blank">ZoneMinder</a> é um conjunto integrado de aplicativos que fornecem uma solução completa de vigilância que permite a captura, análise, gravação e monitoramento de qualquer CCTV ou câmeras de segurança conectadas a uma máquina baseada em Linux. Ele foi projetado para ser executado em distribuições que suportam a interface Vídeo para Linux (V4L) e foi testado com câmeras de vídeo conectadas a placas BTTV, várias câmeras USB e também suporta a maioria das câmeras de rede IP.</p>
<p><strong>Distribuição utilizada neste tutorial:</strong><br />
Debian 11 (Bullseye) 64 bits <a href="https://blog.remontti.com.br/5792" rel="noopener" target="_blank">instalação mínima</a><br />
<a href="https://blog.remontti.com.br/5867" rel="noopener" target="_blank">Como melhorar a produtividade no seu Debian após instalação</a> (Recomendado)</p>
<p><strong>Atualize e instale os pacotes necessários</strong></p>
<pre class="remontti-code"># apt update -y 
# apt upgrade -y 
# apt install vim wget apache2 mariadb-server php libapache2-mod-php php-mysql lsb-release gnupg2 sudo -y</pre>
<p><strong>Adicione o repositório do Zoneminder</strong></p>
<pre class="remontti-code"># echo &quot;deb https://zmrepo.zoneminder.com/debian/release-1.36 &quot;`lsb_release -c -s`&quot;/&quot; &gt; /etc/apt/sources.list.d/zoneminder.list
# wget -O - https://zmrepo.zoneminder.com/debian/archive-keyring.gpg | apt-key add -
# apt update</pre>
<h4>Instalação</h4>
<pre class="remontti-code"># apt install zoneminder</pre>
<p>Ajustando o timezone do PHP</p>
<pre class="remontti-code"># sed -i &quot;s/;date.timezone =/date.timezone = $(sed &#039;s/\//\\\//&#039; /etc/timezone)/g&quot; /etc/php/7.4/apache2/php.ini</pre>
<p>Habilitaremos as configurações do zoneminder para o apache bem como ativar alguns mods. </p>
<pre class="remontti-code"># a2enconf zoneminder
# a2enmod rewrite headers expires cgi</pre>
<p>Reinicie o apache</p>
<pre class="remontti-code"># systemctl restart apache2</pre>
<p>Crie um banco de dados para o zoneminder</p>
<pre class="remontti-code"># mariadb -u root</pre>
<p>Altere ALTERE_3ST4_SENHA para sua senha.</p>
<pre class="remontti-code-plain">CREATE DATABASE zm;
GRANT ALL PRIVILEGES ON zm.* TO &#039;zm&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;ALTERE_3ST4_SENHA&#039;;
FLUSH PRIVILEGES;
quit;</pre>
<p>Altere em /etc/zm/zm.conf ZM_DB_USER e ZM_DB_PASS para os calores criados.</p>
<pre class="remontti-code"># vim /etc/zm/zm.conf</pre>
<pre class="remontti-code-plain">ZM_DB_USER=zm
ZM_DB_PASS=ALTERE_3ST4_SENHA</pre>
<p>Habilite o zoneminder para iniciar no boot e start o mesmo.</p>
<pre class="remontti-code"># systemctl enable zoneminder
# systemctl start zoneminder</pre>
<p>Por segurança recomendo definir uma senha para o root do mariaDB<br />
Para aumentar a seguraçã vamos definir uma senha para o usuário root do MariDB, não esqueça de alterar ALTERE_3ST4_SENHA pela sua senha.</p>
<pre class="remontti-code"># mariadb -u root</pre>
<pre class="remontti-code-plain">USE mysql;
ALTER USER &#039;root&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;ALTERE_3ST4_SENHA&#039;;
FLUSH PRIVILEGES;
EXIT;</pre>
<p>Apague seus rastros, em /root/.mysql_history temos um histórico com todos os comandos dado no terminal do MariaDB, então não é legal deixar lá em texto puro a senha!</p>
<pre class="remontti-code"># &gt; /root/.mysql_history</pre>
<p>Abra o Zoneminder em seu navegador acessando<strong> http://___IP___/zm </strong><br />
<a href="https://blog.remontti.com.br/wp-content/uploads/2022/09/zoneminder_debian_11_bullseye_start.png" data-rel="lightbox-gallery-QfMAMCYw" data-rl_title="" data-rl_caption="" title=""><img fetchpriority="high" decoding="async" src="https://blog.remontti.com.br/wp-content/uploads/2022/09/zoneminder_debian_11_bullseye_start-300x206.png" alt="" width="300" height="206" class="alignnone size-medium wp-image-6792" srcset="https://blog.remontti.com.br/wp-content/uploads/2022/09/zoneminder_debian_11_bullseye_start-300x206.png 300w, https://blog.remontti.com.br/wp-content/uploads/2022/09/zoneminder_debian_11_bullseye_start-1024x703.png 1024w, https://blog.remontti.com.br/wp-content/uploads/2022/09/zoneminder_debian_11_bullseye_start-768x528.png 768w, https://blog.remontti.com.br/wp-content/uploads/2022/09/zoneminder_debian_11_bullseye_start-1536x1055.png 1536w, https://blog.remontti.com.br/wp-content/uploads/2022/09/zoneminder_debian_11_bullseye_start.png 1680w" sizes="(max-width: 300px) 100vw, 300px" /></a><br />
Clique em <strong>APPLY</strong></p>
<p><a href="https://blog.remontti.com.br/wp-content/uploads/2022/09/zoneminder_debian_11_bullseye_01.png" data-rel="lightbox-gallery-QfMAMCYw" data-rl_title="" data-rl_caption="" title=""><img decoding="async" src="https://blog.remontti.com.br/wp-content/uploads/2022/09/zoneminder_debian_11_bullseye_01-300x75.png" alt="" width="300" height="75" class="alignnone size-medium wp-image-6793" srcset="https://blog.remontti.com.br/wp-content/uploads/2022/09/zoneminder_debian_11_bullseye_01-300x75.png 300w, https://blog.remontti.com.br/wp-content/uploads/2022/09/zoneminder_debian_11_bullseye_01-1024x255.png 1024w, https://blog.remontti.com.br/wp-content/uploads/2022/09/zoneminder_debian_11_bullseye_01-768x191.png 768w, https://blog.remontti.com.br/wp-content/uploads/2022/09/zoneminder_debian_11_bullseye_01-1536x382.png 1536w, https://blog.remontti.com.br/wp-content/uploads/2022/09/zoneminder_debian_11_bullseye_01.png 1680w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>Para alterar para Portugues acesse o menu <strong>Options</strong> localize <strong>LANG_DEFAULT</strong> e altere para <strong>pt_br</strong> e clique em <strong>SAVE</strong>. Recarregue a pagina para atualiza.</p>
<p>Para mais ajuda acesse: <strong><a href="https://zoneminder.readthedocs.io/en/stable/userguide/index.html" rel="noopener" target="_blank">Guia do Usuário</a></strong></p>
<p><a href="https://blog.remontti.com.br/wp-content/uploads/2022/09/zoneminder_debian_11_bullseye_02.png" data-rel="lightbox-gallery-QfMAMCYw" data-rl_title="" data-rl_caption="" title=""><img decoding="async" src="https://blog.remontti.com.br/wp-content/uploads/2022/09/zoneminder_debian_11_bullseye_02-300x120.png" alt="" width="300" height="120" class="alignnone size-medium wp-image-6801" srcset="https://blog.remontti.com.br/wp-content/uploads/2022/09/zoneminder_debian_11_bullseye_02-300x120.png 300w, https://blog.remontti.com.br/wp-content/uploads/2022/09/zoneminder_debian_11_bullseye_02-1024x411.png 1024w, https://blog.remontti.com.br/wp-content/uploads/2022/09/zoneminder_debian_11_bullseye_02-768x308.png 768w, https://blog.remontti.com.br/wp-content/uploads/2022/09/zoneminder_debian_11_bullseye_02-1536x617.png 1536w, https://blog.remontti.com.br/wp-content/uploads/2022/09/zoneminder_debian_11_bullseye_02.png 1666w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>FONTES:<br />
<a href="https://zoneminder.readthedocs.org/" rel="noopener" target="_blank">https://zoneminder.readthedocs.org/</a><br />
<a href="https://wiki.zoneminder.com/Debian_11_Bullseye_with_Zoneminder_1.36.x" rel="noopener" target="_blank">https://wiki.zoneminder.com/Debian_11_Bullseye_with_Zoneminder_1.36.x</a><br />
<a href="https://github.com/ZoneMinder/ZoneMinder" rel="noopener" target="_blank">https://github.com/ZoneMinder/ZoneMinder</a><br />
RECOMENDADO:<br /><a href="https://github.com/pliablepixels/zmeventnotification" rel="noopener" target="_blank">https://github.com/pliablepixels/zmeventnotification</a><br /><a href="https://github.com/pliablepixels/zmMagik" rel="noopener" target="_blank">https://github.com/pliablepixels/zmMagik</a><br /><a href="https://github.com/manupap1/libzoneminder-plugin-openalpr" rel="noopener" target="_blank">https://github.com/manupap1/libzoneminder-plugin-openalpr</a></p>
<p>O post <a href="https://blog.remontti.com.br/6786">Sistema de software de vigilância por vídeo de código aberto: ZoneMinder</a> apareceu primeiro em <a href="https://blog.remontti.com.br">Remontti</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.remontti.com.br/6786/feed</wfw:commentRss>
			<slash:comments>19</slash:comments>
		
		
			</item>
	</channel>
</rss>
