<?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>Pycontrole</title>
	<atom:link href="http://www.pycontrole.com.br/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.pycontrole.com.br</link>
	<description>Gerencia open source para seu provedor</description>
	<lastBuildDate>Tue, 01 Sep 2009 02:53:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Instalação da versão 1.53 para debian etch.</title>
		<link>http://www.pycontrole.com.br/?p=157</link>
		<comments>http://www.pycontrole.com.br/?p=157#comments</comments>
		<pubDate>Mon, 19 Jan 2009 03:44:53 +0000</pubDate>
		<dc:creator>Pycontrole</dc:creator>
				<category><![CDATA[Provedores]]></category>
		<category><![CDATA[Pycontrole]]></category>
		<category><![CDATA[Administração]]></category>
		<category><![CDATA[Gerencia]]></category>
		<category><![CDATA[Livre]]></category>
		<category><![CDATA[Pylons]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Suporte]]></category>

		<guid isPermaLink="false">http://pycontrole.com.br/?p=157</guid>
		<description><![CDATA[#!/bin/sh -e
echo Por: Aderbal Botelho &#8211; aderbal@gmail.com &#38; Thiago Montenegro &#8211; opencode@gmail.com
echo Preparando o python&#8230;
apt-get remove &#8211;purge python2.4
apt-get install libc6-dev gcc g++ python2.5 python2.5-dev bind9 dhcp3-server ntp ntpdate libpq-dev postgresql-8.1 pmacct snmp snmpd iproute
wget -c http://pylonshq.com/download/0.9.7/ez_setup.py
rm -rf /usr/bin/python
ln -s /usr/bin/python2.5 /usr/bin/python
python2.5 ez_setup.py
easy_install-2.5 Pylons==0.9.7rc3
easy_install-2.5 SQLAlchemy==0.4.7p1
easy_install-2.5 psycopg2
easy_install-2.5 pisa
easy_install-2.5 html5lib
## Obtendo o pil
wget http://effbot.org/media/downloads/Imaging-1.1.6.tar.gz
tar -zxvf Imaging-1.1.6.tar.gz
cd Imaging-1.1.6
python setup.py [...]]]></description>
			<content:encoded><![CDATA[<p>#!/bin/sh -e</p>
<p>echo Por: Aderbal Botelho &#8211; aderbal@gmail.com &amp; Thiago Montenegro &#8211; opencode@gmail.com<br />
echo Preparando o python&#8230;</p>
<p>apt-get remove &#8211;purge python2.4<br />
apt-get install libc6-dev gcc g++ python2.5 python2.5-dev bind9 dhcp3-server ntp ntpdate libpq-dev postgresql-8.1 pmacct snmp snmpd iproute<br />
wget -c http://pylonshq.com/download/0.9.7/ez_setup.py</p>
<p>rm -rf /usr/bin/python<br />
ln -s /usr/bin/python2.5 /usr/bin/python</p>
<p>python2.5 ez_setup.py<br />
easy_install-2.5 Pylons==0.9.7rc3<br />
easy_install-2.5 SQLAlchemy==0.4.7p1<br />
easy_install-2.5 psycopg2<br />
easy_install-2.5 pisa<br />
easy_install-2.5 html5lib</p>
<p>## Obtendo o pil<br />
wget http://effbot.org/media/downloads/Imaging-1.1.6.tar.gz<br />
tar -zxvf Imaging-1.1.6.tar.gz<br />
cd Imaging-1.1.6<br />
python setup.py install</p>
<p>## Obtendo o Reportlab<br />
wget http://www.reportlab.org/ftp/ReportLab_2_2.tgz<br />
tar -xvf ReportLab_2_2.tgz<br />
cd ReportLab_2_2<br />
python setup.py install</p>
<p>## Criando estrutura do sistema<br />
mkdir /opt/pylons<br />
wget http://pycontrole.googlecode.com/files/pycontrole_1.5.3.zip<br />
mv pycontrole_1.5.3.zip /opt/pylons<br />
cd /opt/pylons<br />
apt-get install unzip<br />
unzip pycontrole_1.5.3.zip</p>
<p>cd /opt/pylons/pycontrole/install/files/<br />
cp pycontrole /etc/init.d/pycontrole<br />
cp pylons /etc/init.d/pylons<br />
cp pg_hba.conf /etc/postgresql/8.1/main/<br />
cp pmacctd.conf /etc/pmacct/</p>
<p>chmod +x /etc/init.d/pycontrole<br />
chmod +x /etc/init.d/pylons</p>
<p>wget 189.23.134.82/snmpd.conf<br />
cp snmpd.conf /etc/snmp/</p>
<p>/etc/init.d/postgresql-8.1 restart<br />
/etc/init.d/snmpd restart<br />
/etc/init.d/pmacct restart</p>
<p>cd /opt/pylons/pycontrole</p>
<p># Criando os usuários<br />
su postgres -c &#8220;createuser -U postgres pycontrole&#8221;<br />
su postgres -c &#8220;createuser -U postgres pmacct&#8221;</p>
<p># Alterando as senhas para os padrões<br />
su postgres -c &#8220;psql -U postgres -c \&#8221;alter user pycontrole with password &#8216;pyoitudobemcontrole00&#8242;\&#8221;"<br />
su postgres -c &#8220;psql -U postgres -c \&#8221;alter user pmacct with password &#8216;pmacctasdfpoiu&#8217;\&#8221;"</p>
<p># Criando banco de dados<br />
su postgres -c &#8220;createdb -U postgres -O pycontrole -E UTF8 pycontrole&#8221;<br />
su postgres -c &#8220;createdb -U postgres -O pmacct pmacct&#8221;</p>
<p># Criando tabelas e inserindo dados padrões no banco pycontrole e no pmacct<br />
su postgres -c &#8220;psql -U postgres -d pycontrole &lt; install/sql/pycontrole.sql&#8221;<br />
su postgres -c &#8220;psql -U postgres -d pmacct &lt; install/sql/pmacct.sql&#8221;</p>
<p>echo Arquivos para editar senhas:<br />
echo /opt/pylons/pycontrole/pycontrole/configsys/system/pmacct.cfg<br />
echo /opt/pylons/pycontrole/production.ini</p>
<p>## Start pylons e pycontrole<br />
/etc/init.d/pylons start<br />
/etc/init.d/pycontrole start</p>
<p># Adicionando para iniciar quando sistema carregar<br />
update-rc.d pylons defaults 42<br />
update-rc.d pycontrole defaults 42</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pycontrole.com.br/?feed=rss2&amp;p=157</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Instalação da versão 1.53 para debian lenny.</title>
		<link>http://www.pycontrole.com.br/?p=152</link>
		<comments>http://www.pycontrole.com.br/?p=152#comments</comments>
		<pubDate>Mon, 19 Jan 2009 03:29:31 +0000</pubDate>
		<dc:creator>Pycontrole</dc:creator>
				<category><![CDATA[Provedores]]></category>
		<category><![CDATA[Pycontrole]]></category>
		<category><![CDATA[Administração]]></category>
		<category><![CDATA[Gerencia]]></category>
		<category><![CDATA[Livre]]></category>
		<category><![CDATA[Pylons]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Suporte]]></category>

		<guid isPermaLink="false">http://pycontrole.com.br/?p=152</guid>
		<description><![CDATA[#!/bin/sh -e
echo Por: Aderbal Botelho &#8211; aderbal@gmail.com &#38; Thiago Montenegro &#8211; opencode@gmail.com
echo Preparando o python&#8230;
apt-get remove &#8211;purge python2.4
apt-get install libc6-dev gcc g++ python2.5 python2.5-dev bind9 dhcp3-server ntp ntpdate libpq-dev postgresql-8.3 pmacct snmp snmpd iproute
wget -c http://pylonshq.com/download/0.9.7/ez_setup.py
rm -rf /usr/bin/python
ln -s /usr/bin/python2.5 /usr/bin/python
python2.5 ez_setup.py
easy_install-2.5 Pylons==0.9.7rc3
easy_install-2.5 SQLAlchemy==0.4.7p1
easy_install-2.5 psycopg2
easy_install-2.5 pisa
easy_install-2.5 html5lib
## Obtendo o pil
wget http://effbot.org/media/downloads/Imaging-1.1.6.tar.gz
tar -zxvf Imaging-1.1.6.tar.gz
cd Imaging-1.1.6
python setup.py [...]]]></description>
			<content:encoded><![CDATA[<p>#!/bin/sh -e</p>
<p>echo Por: Aderbal Botelho &#8211; aderbal@gmail.com &amp; Thiago Montenegro &#8211; opencode@gmail.com<br />
echo Preparando o python&#8230;</p>
<p>apt-get remove &#8211;purge python2.4<br />
apt-get install libc6-dev gcc g++ python2.5 python2.5-dev bind9 dhcp3-server ntp ntpdate libpq-dev postgresql-8.3 pmacct snmp snmpd iproute<br />
wget -c http://pylonshq.com/download/0.9.7/ez_setup.py</p>
<p>rm -rf /usr/bin/python<br />
ln -s /usr/bin/python2.5 /usr/bin/python</p>
<p>python2.5 ez_setup.py<br />
easy_install-2.5 Pylons==0.9.7rc3<br />
easy_install-2.5 SQLAlchemy==0.4.7p1<br />
easy_install-2.5 psycopg2<br />
easy_install-2.5 pisa<br />
easy_install-2.5 html5lib</p>
<p>## Obtendo o pil<br />
wget http://effbot.org/media/downloads/Imaging-1.1.6.tar.gz<br />
tar -zxvf Imaging-1.1.6.tar.gz<br />
cd Imaging-1.1.6<br />
python setup.py install</p>
<p>## Obtendo o Reportlab<br />
wget http://www.reportlab.org/ftp/ReportLab_2_2.tgz<br />
tar -xvf ReportLab_2_2.tgz<br />
cd ReportLab_2_2<br />
python setup.py install</p>
<p>## Criando estrutura do sistema<br />
mkdir /opt/pylons<br />
wget http://pycontrole.googlecode.com/files/pycontrole_1.5.3.zip<br />
mv pycontrole_1.5.3.zip /opt/pylons<br />
cd /opt/pylons<br />
apt-get install unzip<br />
unzip pycontrole_1.5.3.zip</p>
<p>cd /opt/pylons/pycontrole/install/files/<br />
cp pycontrole /etc/init.d/pycontrole<br />
cp pylons /etc/init.d/pylons<br />
cp pg_hba.conf /etc/postgresql/8.3/main/<br />
cp pmacctd.conf /etc/pmacct/</p>
<p>chmod +x /etc/init.d/pycontrole<br />
chmod +x /etc/init.d/pylons</p>
<p>wget 189.23.134.82/snmpd.conf<br />
cp snmpd.conf /etc/snmp/</p>
<p>/etc/init.d/postgresql-8.3 restart<br />
/etc/init.d/snmpd restart<br />
/etc/init.d/pmacct restart</p>
<p>cd /opt/pylons/pycontrole</p>
<p># Criando os usuários<br />
su postgres -c &#8220;createuser -U postgres pycontrole&#8221;<br />
su postgres -c &#8220;createuser -U postgres pmacct&#8221;</p>
<p># Alterando as senhas para os padrões<br />
su postgres -c &#8220;psql -U postgres -c \&#8221;alter user pycontrole with password &#8216;pyoitudobemcontrole00&#8242;\&#8221;"<br />
su postgres -c &#8220;psql -U postgres -c \&#8221;alter user pmacct with password &#8216;pmacctasdfpoiu&#8217;\&#8221;"</p>
<p># Criando banco de dados<br />
su postgres -c &#8220;createdb -U postgres -O pycontrole -E UTF8 pycontrole&#8221;<br />
su postgres -c &#8220;createdb -U postgres -O pmacct pmacct&#8221;</p>
<p># Criando tabelas e inserindo dados padrões no banco pycontrole e no pmacct<br />
su postgres -c &#8220;psql -U postgres -d pycontrole &lt; install/sql/pycontrole.sql&#8221;<br />
su postgres -c &#8220;psql -U postgres -d pmacct &lt; install/sql/pmacct.sql&#8221;</p>
<p>echo Arquivos para editar senhas:<br />
echo /opt/pylons/pycontrole/pycontrole/configsys/system/pmacct.cfg<br />
echo /opt/pylons/pycontrole/production.ini</p>
<p>## Start pylons e pycontrole<br />
/etc/init.d/pylons start<br />
/etc/init.d/pycontrole start</p>
<p># Adicionando para iniciar quando sistema carregar<br />
update-rc.d pylons defaults 42<br />
update-rc.d pycontrole defaults 42</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pycontrole.com.br/?feed=rss2&amp;p=152</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pacotes para instalação da 1.0</title>
		<link>http://www.pycontrole.com.br/?p=139</link>
		<comments>http://www.pycontrole.com.br/?p=139#comments</comments>
		<pubDate>Sun, 21 Dec 2008 22:32:58 +0000</pubDate>
		<dc:creator>Pycontrole</dc:creator>
				<category><![CDATA[Provedores]]></category>
		<category><![CDATA[Pycontrole]]></category>
		<category><![CDATA[1.0]]></category>
		<category><![CDATA[instalação]]></category>

		<guid isPermaLink="false">http://www.pycontrole.com.br/?p=139</guid>
		<description><![CDATA[Novos endereços dos arquivos:
Pacote personalizado do python para ubuntu 8.04 :
http://pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/python_x86_ubuntu_8.04.tar.bz2
Pacote do pycontrole sem suporte a imq:
http://pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/pycontrole_no_imq_ubuntu_8.04.tar.bz2

Os pacotes abaixo só são necessários se você desejar usar o pycontrole com suporte a imq&#8230;
Pacote do iptables com suporte a layer 7:
http://pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/iptables_1.3.8-1_i386.deb
Pacote do linux-headers 2.6.24 com imq:
http://pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/linux-headers-2.6.24.3_2.6.24.3-10.00.Custom_i386.deb
Pacote do linux-imagem 2.6.24 com imq:
http://pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/linux-image-2.6.24.3_2.6.24.3-10.00.Custom_i386.deb
]]></description>
			<content:encoded><![CDATA[<p>Novos endereços dos arquivos:<br />
Pacote personalizado do python para ubuntu 8.04 :<br />
<!-- m --><a class="postlink" href="http://pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/python_x86_ubuntu_8.04.tar.bz2" onclick="pageTracker._trackPageview('/outgoing/pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/python_x86_ubuntu_8.04.tar.bz2?referer=');">http://pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/python_x86_ubuntu_8.04.tar.bz2</a><!-- m --><br />
Pacote do pycontrole sem suporte a imq:<br />
<!-- m --><a class="postlink" href="http://pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/pycontrole_no_imq_ubuntu_8.04.tar.bz2" onclick="pageTracker._trackPageview('/outgoing/pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/pycontrole_no_imq_ubuntu_8.04.tar.bz2?referer=');">http://pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/pycontrole_no_imq_ubuntu_8.04.tar.bz2</a><!-- m --><br />
<a class="postlink" href="http://pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/iptables_1.3.8-1_i386.deb" onclick="pageTracker._trackPageview('/outgoing/pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/iptables_1.3.8-1_i386.deb?referer=');"></a><!-- m --></p>
<p>Os pacotes abaixo só são necessários se você desejar usar o pycontrole com suporte a imq&#8230;</p>
<p>Pacote do iptables com suporte a layer 7:</p>
<p><!-- m --><a class="postlink" href="http://pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/iptables_1.3.8-1_i386.deb" onclick="pageTracker._trackPageview('/outgoing/pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/iptables_1.3.8-1_i386.deb?referer=');">http://pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/iptables_1.3.8-1_i386.deb</a></p>
<p><a class="postlink" href="http://pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/iptables_1.3.8-1_i386.deb" onclick="pageTracker._trackPageview('/outgoing/pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/iptables_1.3.8-1_i386.deb?referer=');"></a>Pacote do linux-headers 2.6.24 com imq:<br />
<!-- m --><a class="postlink" href="http://pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/linux-headers-2.6.24.3_2.6.24.3-10.00.Custom_i386.deb" onclick="pageTracker._trackPageview('/outgoing/pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/linux-headers-2.6.24.3_2.6.24.3-10.00.Custom_i386.deb?referer=');">http://pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/linux-headers-2.6.24.3_2.6.24.3-10.00.Custom_i386.deb</a><!-- m --></p>
<p>Pacote do linux-imagem 2.6.24 com imq:<br />
<!-- m --><a class="postlink" href="http://pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/linux-image-2.6.24.3_2.6.24.3-10.00.Custom_i386.deb" onclick="pageTracker._trackPageview('/outgoing/pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/linux-image-2.6.24.3_2.6.24.3-10.00.Custom_i386.deb?referer=');">http://pycontrole.com.br/pycontrole-0.8/ubuntu-8.04/linux-image-2.6.24.3_2.6.24.3-10.00.Custom_i386.deb</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pycontrole.com.br/?feed=rss2&amp;p=139</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fórum no ar!</title>
		<link>http://www.pycontrole.com.br/?p=104</link>
		<comments>http://www.pycontrole.com.br/?p=104#comments</comments>
		<pubDate>Thu, 02 Oct 2008 03:19:19 +0000</pubDate>
		<dc:creator>Pycontrole</dc:creator>
				<category><![CDATA[Fórum]]></category>
		<category><![CDATA[Ajuda]]></category>
		<category><![CDATA[Provedores]]></category>
		<category><![CDATA[Pycontrole]]></category>

		<guid isPermaLink="false">http://pycontrole.muricinet.com.br/?p=104</guid>
		<description><![CDATA[Para que todos possam compartilhar suas experiencias com o pycontrole criamos um fórum, onde pretendemos manter discussões sobre o pycontrole, redes e tecnologias.
]]></description>
			<content:encoded><![CDATA[<p>Para que todos possam compartilhar suas experiencias com o pycontrole criamos um <a href="http://www.pycontrole.com.br/forum" target="_blank">fórum</a>, onde pretendemos manter discussões sobre o pycontrole, redes e tecnologias.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pycontrole.com.br/?feed=rss2&amp;p=104</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>O que há de novo na versão 1.0?</title>
		<link>http://www.pycontrole.com.br/?p=91</link>
		<comments>http://www.pycontrole.com.br/?p=91#comments</comments>
		<pubDate>Thu, 02 Oct 2008 00:30:59 +0000</pubDate>
		<dc:creator>Pycontrole</dc:creator>
				<category><![CDATA[Provedores]]></category>
		<category><![CDATA[Pycontrole]]></category>
		<category><![CDATA[Clientes]]></category>
		<category><![CDATA[Consultoria]]></category>
		<category><![CDATA[Firewall]]></category>
		<category><![CDATA[Rede]]></category>
		<category><![CDATA[Suporte]]></category>

		<guid isPermaLink="false">http://pycontrole.muricinet.com.br/?p=91</guid>
		<description><![CDATA[O controle de banda utiliza iptables, uma opção para cadastrar ocorrências ( bem resumido ), possibilitando um atendimento dos clientes e identificar problemas frequentes entre os clientes.
Maior gerenciamento via arquivos de configuração sem a necessidade de alteração do código.
Utiliza como ORM SQLAlchemy 0.4.7p1 invez do SQLObject 0.10.2. SQLAlchemy apresentou maior estabilidade e possui mais recursos, [...]]]></description>
			<content:encoded><![CDATA[<p>O controle de banda utiliza iptables, uma opção para cadastrar ocorrências ( bem resumido ), possibilitando um atendimento dos clientes e identificar problemas frequentes entre os clientes.</p>
<p>Maior gerenciamento via arquivos de configuração sem a necessidade de alteração do código.</p>
<p>Utiliza como ORM SQLAlchemy 0.4.7p1 invez do SQLObject 0.10.2. SQLAlchemy apresentou maior estabilidade e possui mais recursos, melhorando a velocidade do sistema.</p>
<p>Possui consulta SNMP em modems(docsis) e rádios( SNMP Genéric).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pycontrole.com.br/?feed=rss2&amp;p=91</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Servidor de demonstração do pycontrole no ar.</title>
		<link>http://www.pycontrole.com.br/?p=77</link>
		<comments>http://www.pycontrole.com.br/?p=77#comments</comments>
		<pubDate>Tue, 30 Sep 2008 05:50:32 +0000</pubDate>
		<dc:creator>Pycontrole</dc:creator>
				<category><![CDATA[Provedores]]></category>
		<category><![CDATA[Pycontrole]]></category>
		<category><![CDATA[Demonstração]]></category>
		<category><![CDATA[Novo]]></category>
		<category><![CDATA[Servidor]]></category>

		<guid isPermaLink="false">http://pycontrole.muricinet.com.br/?p=77</guid>
		<description><![CDATA[Na Url abaixo, você pode conferir uma demonstração da interface do pycontrole.
http://pycontrole.com.br:5000
Login: demo
Senha: demo
]]></description>
			<content:encoded><![CDATA[<p>Na Url abaixo, você pode conferir uma demonstração da interface do pycontrole.</p>
<p><a href="http://pycontrole.com.br:5000" target="_blank" onclick="pageTracker._trackPageview('/outgoing/pycontrole.com.br_5000?referer=');">http://pycontrole.com.br:5000</a></p>
<p>Login: demo</p>
<p>Senha: demo</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pycontrole.com.br/?feed=rss2&amp;p=77</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Consultoria para provedores.</title>
		<link>http://www.pycontrole.com.br/?p=44</link>
		<comments>http://www.pycontrole.com.br/?p=44#comments</comments>
		<pubDate>Sun, 21 Sep 2008 19:19:12 +0000</pubDate>
		<dc:creator>Pycontrole</dc:creator>
				<category><![CDATA[Consultoria]]></category>
		<category><![CDATA[Clientes]]></category>
		<category><![CDATA[Firewall]]></category>
		<category><![CDATA[Provedores]]></category>
		<category><![CDATA[Pycontrole]]></category>
		<category><![CDATA[Rede]]></category>
		<category><![CDATA[Suporte]]></category>

		<guid isPermaLink="false">http://pycontrole.blogsite.org/?p=44</guid>
		<description><![CDATA[Nós da equipe do pycontrole oferecemos consultoria (não gratuita) para provedores.
O contato pode ser realizado pelo e-mail: pycontrole@gmail.com.
done.
]]></description>
			<content:encoded><![CDATA[<p>Nós da equipe do pycontrole oferecemos consultoria (não gratuita) para provedores.</p>
<p>O contato pode ser realizado pelo e-mail: <a href="pycontrole@gmail.com" target="_blank">pycontrole@gmail.com</a>.</p>
<p>done.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pycontrole.com.br/?feed=rss2&amp;p=44</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Instalando o Pycontrole no Ubuntu 8.04.</title>
		<link>http://www.pycontrole.com.br/?p=42</link>
		<comments>http://www.pycontrole.com.br/?p=42#comments</comments>
		<pubDate>Sun, 21 Sep 2008 03:45:09 +0000</pubDate>
		<dc:creator>Pycontrole</dc:creator>
				<category><![CDATA[Pycontrole]]></category>
		<category><![CDATA[Clientes]]></category>
		<category><![CDATA[Controle]]></category>
		<category><![CDATA[Firewall]]></category>
		<category><![CDATA[Imq]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Layer 7]]></category>
		<category><![CDATA[Provedores]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Rede]]></category>

		<guid isPermaLink="false">http://pycontrole.blogsite.org/?p=42</guid>
		<description><![CDATA[Pycontrole é o primeiro sistema de gerência de provedores de acesso a internet totalmente open source escrito em python. O código fonte acompanha o pacote de instalação, permitindo que você melhore e personalize o software.
Embora não seja a versão final, já encontra-se em condições de uso plena, desempenhando um excelente trabalho no cadastro dos usuários [...]]]></description>
			<content:encoded><![CDATA[<p>Pycontrole é o primeiro sistema de gerência de provedores de acesso a internet totalmente open source escrito em python. O código fonte acompanha o pacote de instalação, permitindo que você melhore e personalize o software.</p>
<p>Embora não seja a versão final, já encontra-se em condições de uso plena, desempenhando um excelente trabalho no cadastro dos usuários e administração do link do provedor.</p>
<p>Utiliza banco de dados postgres, o que o torna bastante estável e confiável, podendo em um único servidor suportar até 9.999 usuários cadastrados. Com utilização de múltiplos servidores pode atingir um número ilimitados de usuários.</p>
<p>O pycontrole permite a utilização de proxy transparente, é facilmente integrável com o gerador de relatórios e gráficos CACTI e roda sem muitas dificuldade em qualquer distribuição linux.</p>
<p>Quando um serviço de um cliente é cadastrado,alterado ou removido, o sistema gera regras de Tc e Iptables, com isso limitando a banda e controlando acesso.</p>
<p>As regras geradas são somente para o cliente, ou seja, quando ocorre alguma alteração no serviço do cliente, somente regras para aquele serviço do cliente serão executadas em tempo real.</p>
<p>O pycontrole faz uso de diversas ferramentas instaladas no linux.</p>
<p>Tc (traffic control)<br />
Iptables (Firewall)<br />
Snmp, Snmpd  (Cliente snmp para consultas e servidor snmp para gerar gráficos )<br />
cacti (Gerenciar os gráficos e relatórios)<br />
Apache (Servidor WEB)<br />
pmacct (IP account)<br />
dhcpd (DHCP Server)</p>
<p>Kernel e Iptables com suporte a Layer7 (não é obrigatório se não for controlar p2p )</p>
<p>Python 2.5.x (Linguagem)<br />
TurboGears 1.0.5  (Framework)<br />
SQLObject 0.10.2 (Mapeador Objeto-relacional)<br />
Psycopg2 (Componente para comunicação com o pgsql)<br />
PostgreSQL 8.x (Banco de dados)</p>
<p>INSTALAÇÃO</p>
<p># Data: Sex 28 set 2008.<br />
# Versão: 1.0_NO_IMQ<br />
# Pycontrole install.<br />
# Requisitos:<br />
# Instalação no ubuntu_8.04 32bits.<br />
# Para geração de graficos e estatisticas do provedor sugerimos o pacote cacti.<br />
# Para gerencia de tráfego o pycontrole usa o pmacct.<br />
# Para banco de dados o pycontrole usa o postgress 8.2 ou superior.</p>
<p># Para instalar o cacti.<br />
apt-get install cacti<br />
# Não abordaremos questões referentes as configurações necessárias para a configuração do cacti. Siga as instruções do debconf e boa sorte!</p>
<p><strong># Pacote pycontrole (tar.bz2).</strong><br />
#pycontrole_1.0_no_imq.tar.bz2<br />
<a href="http://pycontrole.googlecode.com/files/pycontrole_no_imq1.0.zip" target="_blank" onclick="pageTracker._trackPageview('/outgoing/pycontrole.googlecode.com/files/pycontrole_no_imq1.0.zip?referer=');">http://pycontrole.googlecode.com/files/pycontrole_no_imq1.0.zip</a></p>
<p># Primeiro vamos copiar o pycontrole_no_imq1.0.zip para /opt<br />
mkdir /opt/turbogears<br />
cp pycontrole_no_imq1.0.zip /opt/turbogears<br />
cd /opt/turbogears<br />
unzip pycontrole_no_imq1.0.zip<br />
cd /opt/turbogear/pycontrole/install</p>
<p><strong># Pacote personalizado do python (tar.bz2).</strong><br />
# python_x86_ubuntu_8.04.tar.bz2 (para uso em Ubuntu 8.04 de 32bits)<br />
<a href="http://www.pycontrole.com.br/pycontrole/ubuntu-8.04/python_x86_ubuntu_8.04.tar.bz2 " target="_blank"> http://www.pycontrole.com.br/pycontrole/ubuntu-8.04/python_x86_ubuntu_8.04.tar.bz2</a><a href="http://pycontrole.muricinet.com.br/pycontrole-0.8/ubuntu-8.04/python_x86_ubuntu_8.04.tar.bz2" target="_blank" onclick="pageTracker._trackPageview('/outgoing/pycontrole.muricinet.com.br/pycontrole-0.8/ubuntu-8.04/python_x86_ubuntu_8.04.tar.bz2?referer=');"><br />
</a></p>
<p># Copiar e extrair o pacote python personalizado para o pycontrole para /usr/local.<br />
cp python_x86_ubuntu_8.04.tar.bz2 /usr/local<br />
cd /usr/local<br />
tar -jxvf python_x86_ubuntu_8.04.tar.bz2</p>
<p># Caso sua versão do postgres seja diferente da 8.2 ou 8.3 (padrão disponíveis no Ubuntu_8.04), siga os passos a seguir.<br />
# Instalando o pyscopg2 de acordo com a versão de seu postgres<br />
# Se for mudar a distribuição ou trabalhar com um postgres diferente da versão 8.2 ou 8.3 siga os passos seguintes:<br />
# Remover o psycopg2<br />
rm -rf /usr/local/python/lib/python2.5/site-packages/psycopg2-2.0.8-py2.5-linux-i686.egg<br />
Instala o psycopg2 novamente para sua versão do postgres.<br />
# Depende do pacote libpq-dev para instalar o psycopg2 #apt-get install libpq-dev.<br />
/usr/local/python/bin/easy_install-2.5 psycopg2</p>
<p># Ajustando o postgres para receber os bancos do pycontrole e do pmacct permitindo conexao local como confiavel e  conexoes de hosts somente com user e senha<br />
# Editar vim /etc/postgresql/8.3/main/pg_hba.conf<br />
# Procure pelas linhas local all e as defina como trust.<br />
local   all         postgres                          trust<br />
local   all         all                               trust<br />
# Reinicie seu postgresql<br />
sudo /etc/init.d/postgresql-8.3 restart</p>
<p># CRIANDO O USUÁRIO PYCONTROLE E PMACCT PARA O SISTEMA.</p>
<p>#su postgres</p>
<p>$ createuser -U postgres pycontrole<br />
Shall the new role be a superuser? (y/n) n<br />
Shall the new role be allowed to create databases? (y/n) n<br />
Shall the new role be allowed to create more new roles? (y/n) n</p>
<p>$ createuser -U postgres pmacct<br />
Shall the new role be a superuser? (y/n) n<br />
Shall the new role be allowed to create databases? (y/n) n<br />
Shall the new role be allowed to create more new roles? (y/n) n</p>
<p># MUDANDO A SENHA DO USUÁRIO PYCONTROLE E DO PMACCT. ( Para acesso do banco do sistema, visualizar dev.cfg. Para pmacct, consultar configsys/pmacct.cfg e /etc/pmacct/pmacctd.conf ).</p>
<p>$ psql -U postgres -c &#8220;alter user pycontrole with password &#8216;pyoitudobemcontrole00&#8242;&#8221;<br />
$ psql -U postgres -c &#8220;alter user pmacct with password &#8216;pmacctasdfpoiu&#8217;&#8221;</p>
<p># CRIANDO BANCO DE DADOS PYCONTROLE E O PMACCT.</p>
<p>$ createdb -U postgres -O pycontrole -E UTF8 pycontrole<br />
$ createdb -U postgres -O pmacct pmacct</p>
<p># CRIANDO TABELAS DO BANCO PMACCT.</p>
<p>cd /opt/turbogears/pycontrole/install/sql<br />
psql -U postgres -d pmacct &lt; pmacct.sql</p>
<p># CRIANDO TABELAS DO BANCO PYCONTROLE E INSERINDO ALGUNS VALORES PADRÕES.</p>
<p>cd /opt/turbogears/pycontrole<br />
/usr/local/python/bin/tg-admin shell<br />
from pycontrole import create<br />
create.make()</p>
<p># INSTALANDO PMACCT.</p>
<p># Consultar tráfego dos clientes<br />
# A consulta de tráfego é feita através do pmacct, se estiver utilizando debian pode ser realizado da seguinte forma:</p>
<p>apt-get install pmacct</p>
<p># Se preferir compilar <img src='http://www.pycontrole.com.br/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  , segue abaixo os comandos</p>
<p>tar zxvf pmacct-0.11.4.tar.gz<br />
cd pmacct-0.11.4<br />
./configure &#8211;prefix=/usr/local/pmacct &#8211;enable-pgsql<br />
make<br />
make install</p>
<p>CONFIGURANDO PMACCT<br />
cp /opt/turbogears/pycontrole/install/files/pmacctd.conf /etc/pmacct</p>
<p># Personalize seu pmacct de acordo com a sua rede</p>
<p># INSTALANDO DHCP.</p>
<p>apt-get dhcp3-server<br />
# Em /etc/default/dhcp3-server edite<br />
INTERFACES=&#8221;wlan1&#8243; #Ponha sua interface de rede interna em wlan1<br />
Em /opt/turbogears/pycontrole/system/dhcp.sh, adicione as linhas no final.<br />
cp /opt/turbogears/pycontrole/system/dhcpd.conf /etc/dhcp3/dhcpd.conf<br />
/etc/init.d/dhcp3-server restart</p>
<p>COPIANDO SCRIPTS DE INICIALIZACAO DO SISTEMA E DO TURBOGEARS</p>
<p>cp /opt/turbogears/pycontrole/install/files/turbogears /etc/init.d<br />
cp /opt/turbogears/pycontrole/install/files/pycontrole /etc/init.d<br />
chmod +x /etc/init.d/turbogears<br />
chmod +x /etc/init.d/pycontrole</p>
<p>PARA EXECUTAR SISTEMA</p>
<p>/etc/init.d/turbogears start<br />
ou</p>
<p>cd /opt/turbogears/pycontrole<br />
/usr/local/python/bin/python2.5 start-pycontrole.py</p>
<p>PARA APLICAR AS REGRAS QUANDO O COMPUTADOR INICIAR</p>
<p>/etc/init.d/pycontrole start<br />
ou<br />
cd /opt/turbogears/pycontrole<br />
/usr/local/python/bin/python2.5 boot.py</p>
<p># Para ativar e desativar/ativar o pycontrole<br />
/opt/turbogears/pycontrole/config/pycontrole.cfg</p>
<p>[DEFAULT]<br />
proxylocal = 1 #Caso o proxy seja em outra máquina, use 0.<br />
hostbloqueio = 10.100.100.1<br />
localbackup = /root<br />
portbloqueio = 80<br />
portproxy = 3128<br />
mark = 100<br />
imqup = imq0<br />
hostproxy = 100.100.100.1<br />
imqdown = imq1<br />
p2p = 0<br />
p2prate = 70<br />
markp2p = 70<br />
dhcp = 1<br />
localsistema = /opt/turbogears/pycontrole<br />
ativo = 0 #Ativa e desativa o sistema 0 = inativo 1 = ativo<br />
proxy = 0</p>
<p># Por fim você pode acessar agora seu pycontrole na porta 8080 #http://localhost:8080</p>
<p>Qualquer dúvida, opencode (at) gmail (dot) com / aderbal (at) gmail (dot) com.</p>
<p># Se for modificar o arquivo, por favor, mantenha os créditos.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pycontrole.com.br/?feed=rss2&amp;p=42</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
