<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<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/"
	>

<channel>
	<title>Mundo Hev &#187; Linux</title>
	<link>http://mundohev.com</link>
	<description>Refletindo a Liberdade</description>
	<pubDate>Tue, 22 Apr 2008 03:12:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>A mudança é progressiva</title>
		<link>http://mundohev.com/2008/04/21/a-mudanca-e-progressiva/</link>
		<comments>http://mundohev.com/2008/04/21/a-mudanca-e-progressiva/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 03:12:50 +0000</pubDate>
		<dc:creator>hev</dc:creator>
		
		<category><![CDATA[Artigos]]></category>

		<category><![CDATA[Contos]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://mundohev.com/2008/04/21/a-mudanca-e-progressiva/</guid>
		<description><![CDATA[Há 2 dias completei 20 anos de idade, foi legal comemorar junto com família amigos e a garota que eu mais amo neste mundo. E agora, que estou prestes a dormir para mais um dia de trabalho, lembrei me de pessoas mais velhas dizendo sobre essa coisa de perder o &#8220;gás&#8221; da juventude, de que [...]]]></description>
			<content:encoded><![CDATA[<p>Há 2 dias completei 20 anos de idade, foi legal comemorar junto com família amigos e a garota que eu mais amo neste mundo. E agora, que estou prestes a dormir para mais um dia de trabalho, lembrei me de pessoas mais velhas dizendo sobre essa coisa de perder o &#8220;gás&#8221; da juventude, de que quando eram jovens queriam (pois tinham certeza que poderiam) mudar o mundo completamente, mudar o país, tornar as coisas melhores, mundo mais justo, mais decente (mais utópico). </p>
<p>Eu não sou tão velho assim (na verdade, não sou velho) e estou começando a perceber que a parte da minha alma que me dizia algo como:</p>
<blockquote><p>
Hoje eu desafio o mundo<br />
Sem sair da minha casa<br />
Hoje eu sou um homem mais sincero e<br />
Mais justo comigo</p>
<p>Podem os homens vir que<br />
Não vão me abalar<br />
Os cães farejam o medo,<br />
Logo não vão me encontrar<br />
Não se trata de coragem<br />
Mas meus olhos estão distantes<br />
Me camuflam na paisagem<br />
Dando um tempo,<br />
Pra cantar
</p></blockquote>
<p>Está ficando um pouco cansada, pois  está ficando tudo muito &#8220;carteira assinada&#8221;, muito &#8220;acordar às cinco&#8221;, muito &#8220;me tornar adulto e independente&#8221;, não que isso tudo seja uma besteira, muito pelo contrário, mas confesso a todos que sempre tive medo de ser mais um homem comum pegando o ônibus, lendo a mesma notícia no jornal (porém com personagens diferentes), como se minha vida se resumisse a pouco mais que isso. Os meus olhos de 20 anos estão um pouco cansados de ver certas coisas. </p>
<p>Acredito que o que há de mais forte na minha resistência pessoal, na minha revolução anônima, é acreditar no software livre, trabalhar com e apoiar software livre me faz me sentir um pouco assim, revigorado e rebelde (no bom sentido) e sem vontade de parar por mais que eu envelheça, mesmo vendo o Linux sendo exposto como um subproduto nas vitrines por aí. Fazer parte desta comunidade, que acredita na mudança, me faz me sentir em casa e desafiando o mundo sem sair dela sentado diante da tela. E se eu pudesse mudar tudo agora apenas clicando ou rodando o comando</p>
<p><code><br />
# b-free -All<br />
</code></p>
<p>Todos os paradigmas em torno código livre se quebrariam. Mas isso é utópico de mais, não acredito em <a href="http://pt.wikipedia.org/wiki/Revolu%C3%A7%C3%A3o_de_Outubro">Outubro Vermelho</a> do Software Livre, a mudança é progressiva, independente da velocidade em que anda, e nós estamos aí, incentivando e libertando mentes, sem sovietes e sem sindicatos, sem comunismo ou capitalismo, cada um a seu modo, na sua liberdade, pela liberdade do código!</p>
]]></content:encoded>
			<wfw:commentRss>http://mundohev.com/2008/04/21/a-mudanca-e-progressiva/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ubuntu Mobile: Chegamos aos dispositivos móveis</title>
		<link>http://mundohev.com/2008/02/27/ubuntu-mobile-chegamos-aos-celulares/</link>
		<comments>http://mundohev.com/2008/02/27/ubuntu-mobile-chegamos-aos-celulares/#comments</comments>
		<pubDate>Thu, 28 Feb 2008 03:48:23 +0000</pubDate>
		<dc:creator>hev</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[On-line]]></category>

		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[Sistemas Operacionais]]></category>

		<category><![CDATA[celular]]></category>

		<category><![CDATA[dispositivos móveis]]></category>

		<category><![CDATA[news]]></category>

		<category><![CDATA[notícias]]></category>

		<category><![CDATA[telefonia]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://mundohev.com/2008/02/27/ubuntu-mobile-chegamos-aos-celulares/</guid>
		<description><![CDATA[
correção(){
Uma correção:  O Ubuntu Mobile NÃO é para celulares, mas sim para dispositivos móveis, mais especificamente um novo modelo de computação portátil que tem sido chamado de MID (Mobile Internet Device)
leiam o comentário do Rafael Proença.
}
A Canonical divulgou hoje no site oficial do Ubuntu, uma nova edição da nossa distribuição predileta, o Ubuntu Mobile, [...]]]></description>
			<content:encoded><![CDATA[<p><center><a rel="lightbox" href='http://mundohev.com/wp-content/uploads/2008/02/flash-small.jpg' title='Ubuntu Mobile'><img src='http://mundohev.com/wp-content/uploads/2008/02/flash-small.jpg' alt='Ubuntu Mobile' /></a></center></p>
<p>correção(){<br />
<strong>Uma correção:</strong>  O Ubuntu Mobile NÃO é para celulares, mas sim para dispositivos móveis, mais especificamente um novo modelo de computação portátil que tem sido chamado de MID (Mobile Internet Device)</p>
<p>leiam o comentário do Rafael Proença.<br />
}</p>
<p>A Canonical divulgou hoje no site oficial do Ubuntu, uma nova edição da nossa distribuição predileta, o Ubuntu Mobile, pelas próprias imagens é possível identificar, entre muitas, aplicações que incluem: messenger, leitor de documentos, calendário e player de mídia.</p>
<p>E agora Windows Mobile??</p>
<p>Uma pena mesmo é eu ainda não ter grana pra ter um dispositívo que possa rodar o Ubuntu Mobile, quem sabe um dia hehe.</p>
<p>Mais Informações:  <a href="http://www.ubuntu.com/products/mobile">Ubuntu Mobile</a> | <a href="https://wiki.ubuntu.com/MobileAndEmbedded">Wiki: Ubuntu Mobile and Embedded</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mundohev.com/2008/02/27/ubuntu-mobile-chegamos-aos-celulares/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ubuntu: Obtendo Informações de Hardware</title>
		<link>http://mundohev.com/2008/02/23/ubuntu-obtendo-informacoes-de-hardware/</link>
		<comments>http://mundohev.com/2008/02/23/ubuntu-obtendo-informacoes-de-hardware/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 04:48:28 +0000</pubDate>
		<dc:creator>hev</dc:creator>
		
		<category><![CDATA[Dicas]]></category>

		<category><![CDATA[Hardware]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[lshw]]></category>

		<category><![CDATA[lspci]]></category>

		<category><![CDATA[lspci-gtk]]></category>

		<category><![CDATA[memória]]></category>

		<category><![CDATA[processador]]></category>

		<category><![CDATA[programas]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[utilitários]]></category>

		<guid isPermaLink="false">http://mundohev.com/2008/02/23/ubuntu-obtendo-informacoes-de-hardware/</guid>
		<description><![CDATA[Uma pequena dica pra quem precisa de levantar dados de hardware como: modelo de placas, processador, discos rígidos, memória, etc. Pra quem trabalha com manutenção de micros, por exemplo, este tipo de informação é vital.
O próprio linux possui comandos que nos permite obter tais dados, mas alguns programas também cumprem essa tarefa, veja como usá-los:
Obtendo [...]]]></description>
			<content:encoded><![CDATA[<p>Uma pequena dica pra quem precisa de levantar dados de hardware como: modelo de placas, processador, discos rígidos, memória, etc. Pra quem trabalha com manutenção de micros, por exemplo, este tipo de informação é vital.<br />
O próprio linux possui comandos que nos permite obter tais dados, mas alguns programas também cumprem essa tarefa, veja como usá-los:</p>
<p>Obtendo informações sobre memória RAM:</p>
<p>Com o comando <strong>free</strong> pode-se obter informações sobre memória RAM e SWAP. você queira visualizar somente informações sobre a memória RAM, poderá usar o grep pra &#8220;filtrar&#8221; a saída do comando.</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #c20cb9; font-weight: bold;">free</span> | <span style="color: #c20cb9; font-weight: bold;">grep</span> Mem</pre></div></div>

<p>Outra forma é usar o comando</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #c20cb9; font-weight: bold;">cat</span> /proc/meminfo</pre></div></div>

<p>ou ainda</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #c20cb9; font-weight: bold;">cat</span> /proc/meminfo | <span style="color: #c20cb9; font-weight: bold;">grep</span> MemTotal</pre></div></div>

<p>lspci: Listando as placas instaladas no seu PC</p>
<p>Basta rodar o <strong>lspci</strong> em um terminal e você verá uma lista com todas as placas instaladas no seu pc, a saída deste comando pode ser muito grande, normalmente temos o costume de guardar essa saída num arquivo de texto para não perder nada hehe.</p>

<div class="wp_syntax"><div class="code"><pre class="bash">lspci &gt;&gt; pci.txt</pre></div></div>

<p>Verificando o Modelo do processador</p>
<p>Para obter informações como modelo, quantidade de cache e tecnologias diponíveis em um processador basta usar o comando</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #c20cb9; font-weight: bold;">cat</span> /proc/cpuinfo</pre></div></div>

<p>Verificando uso de disco</p>
<p>Para ver o uso de disco utilize:</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #c20cb9; font-weight: bold;">df</span> -h</pre></div></div>

<p>Informação completa de hardware com lshw</p>
<p>O comando <strong>lshw</strong> exibe, em forma hierarquica, uma descrição de todo o hardware do sistema, existe um front-end para este comando, chamado <strong>lshw-gtk</strong>. Ambos não vêm instalados por padrão, é possível encontrá-los via apt.</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #c20cb9; font-weight: bold;">sudo</span> apt-get <span style="color: #c20cb9; font-weight: bold;">install</span> lshw lshw-gtk</pre></div></div>

<p><center><a rel="lightbox" href='http://mundohev.com/wp-content/uploads/2008/02/lshw.png' title='lshw'><img src='http://mundohev.com/wp-content/uploads/2008/02/lshw.thumbnail.png' alt='lshw' /></a></center></p>
<p>A versão gráfica do lshw ficará em <strong>Sistema > Preferências > Hardware Lister</strong></p>
<p>O GNOME também possui um gerenciador de dispositivos, bastar ir em <strong>Sistema > Preferências > Informações de Hardware</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mundohev.com/2008/02/23/ubuntu-obtendo-informacoes-de-hardware/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Subversion com Apache 2 no Ubuntu 7.10</title>
		<link>http://mundohev.com/2008/02/17/subversion-com-apache-2-no-ubuntu-710/</link>
		<comments>http://mundohev.com/2008/02/17/subversion-com-apache-2-no-ubuntu-710/#comments</comments>
		<pubDate>Mon, 18 Feb 2008 00:11:38 +0000</pubDate>
		<dc:creator>hev</dc:creator>
		
		<category><![CDATA[Dicas]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Web]]></category>

		<category><![CDATA[apache linux web servidor svn cvs versões subversion]]></category>

		<guid isPermaLink="false">http://mundohev.com/2008/02/17/subversion-com-apache-2-no-ubuntu-710/</guid>
		<description><![CDATA[Aqui vai uma dica para quem está querendo disponibilizar um repositório do subversion no apache2, encontrei-a no blog do david winter e fiz uma tradução resumida hehe:
Durante o tutorial, vamos considerar que você já tem o apache devidamente instalado.
Agora, vamos instalar o subversion e o módulo do mesmo para o apache2.

sudo apt-get install subversion libapache2-svn

A [...]]]></description>
			<content:encoded><![CDATA[<p>Aqui vai uma dica para quem está querendo disponibilizar um repositório do subversion no apache2, encontrei-a no blog do <a href="http://davidwinter.me.uk/articles/2006/02/16/subversion-over-apache-2-on-ubuntu/">david winter</a> e fiz uma tradução resumida hehe:</p>
<p>Durante o tutorial, vamos considerar que você já tem o apache devidamente instalado.</p>
<p>Agora, vamos instalar o subversion e o módulo do mesmo para o apache2.</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #c20cb9; font-weight: bold;">sudo</span> apt-get <span style="color: #c20cb9; font-weight: bold;">install</span> subversion libapache2-svn</pre></div></div>

<p>A instalação deverá habilitar o modulo, mas, conferir é de graça:</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #c20cb9; font-weight: bold;">sudo</span> a2enmod dav_svn</pre></div></div>

<p>Agora, vamos configurar o módulo no apache, com um editor de sua preferência abra (<strong>como root</strong>) o arquivo:</p>
<blockquote><p>
/etc/apache2/mods-enabled/dav_svn.conf
</p></blockquote>
<p>Edite-o como no exemplo abaixo:</p>

<div class="wp_syntax"><div class="code"><pre>&lt;Location /svn&gt;
  DAV svn
  SVNPath /home/svn
&nbsp;
  AuthType Basic
  AuthName &quot;Subversion Repository&quot;
  AuthUserFile /etc/apache2/dav_svn.passwd
  Require valid-user
&lt;/Location&gt;</pre></div></div>

<p>Substitua o /home/svn por um diretório de sua preferência, se você ainda não criou um diretório, use os comandos:</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mkdir</span> /home/svn
<span style="color: #c20cb9; font-weight: bold;">sudo</span> svnadmin create /home/svn</pre></div></div>

<p>Vamos fazer com que o dono desse diretório seja o apache:</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chown</span> -R www-data /home/svn</pre></div></div>

<p>Vamos criar um arquivo de senha para seu repositório svn no apache:</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #c20cb9; font-weight: bold;">sudo</span> htpasswd -cm /etc/apache2/dav_svn.<span style="color: #c20cb9; font-weight: bold;">passwd</span> bob</pre></div></div>

<p>Substitua bob por um nome de sua preferência e digite a senha.</p>
<p>Agora reinicie o apache:</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #c20cb9; font-weight: bold;">sudo</span> /etc/init.d/apache2 restart</pre></div></div>

<p>Se tudo ocorreu bem, você poderá visitar seu repositório pelo browser no endereço <strong>http://seu.servidor/svn</strong> .</p>
<p>Bem, isso é tudo, até a próxima.<br />
Fiquem com Deus!</p>
]]></content:encoded>
			<wfw:commentRss>http://mundohev.com/2008/02/17/subversion-com-apache-2-no-ubuntu-710/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ping com Esteróides, pequena atualização</title>
		<link>http://mundohev.com/2008/01/31/ping-com-esteroides-pequena-atualizacao/</link>
		<comments>http://mundohev.com/2008/01/31/ping-com-esteroides-pequena-atualizacao/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 01:45:03 +0000</pubDate>
		<dc:creator>hev</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Programação]]></category>

		<category><![CDATA[shell script]]></category>

		<guid isPermaLink="false">http://mundohev.com/2008/01/31/ping-com-esteroides-pequena-atualizacao/</guid>
		<description><![CDATA[Esta tarde fiz um pequeno melhoramento naquele script que criei para pingar os servidores da minha empresa, agora o usuário pode determinar tolerância para o script, assim o alarme soa de acordo com uma porcentagem de perda determinada pelo usuário, e a quanidade de if&#8217;s também foi reduzida.

#!/bin/bash
clear
#Script para teste de internet
&#160;
#inicializando tolerância
if &#91; $3 [...]]]></description>
			<content:encoded><![CDATA[<p>Esta tarde fiz um pequeno melhoramento naquele script que criei para pingar os servidores da minha empresa, agora o usuário pode determinar tolerância para o script, assim o alarme soa de acordo com uma porcentagem de perda determinada pelo usuário, e a quanidade de <strong>if&#8217;s</strong> também foi reduzida.</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #808080; font-style: italic;">#!/bin/bash</span>
<span style="color: #c20cb9; font-weight: bold;">clear</span>
<span style="color: #808080; font-style: italic;">#Script para teste de internet</span>
&nbsp;
<span style="color: #808080; font-style: italic;">#inicializando tolerância</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> $<span style="color: #000000;">3</span> -le <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #000000; font-weight: bold;">then</span>
	<span style="color: #007800;">tlr=</span><span style="color: #000000;">0</span> <span style="color: #808080; font-style: italic;"># tlr -&gt; tolerância</span>
<span style="color: #000000; font-weight: bold;">else</span>
	<span style="color: #007800;">tlr=</span>$<span style="color: #000000;">3</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
check<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #808080; font-style: italic;">##FUNCAO Q FAZ OS TESTES DE PING</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
<span style="color: #c20cb9; font-weight: bold;">ping</span> -c $<span style="color: #000000;">1</span> $<span style="color: #000000;">2</span> &gt; pingtemp.txt <span style="color: #000000;">2</span>&gt; temperro.txt <span style="color: #808080; font-style: italic;"># o temperro.txt recebe tudo q vai para saida de erro</span>
<span style="color: #007800;">nome=</span>$<span style="color: #000000;">2</span>
<span style="color: #808080; font-style: italic;">#<span style="color: #007800;">send=</span>`mutt -s </span><span style="color: #ff0000;">&quot;INNOVUS MONITORAMENTO DE INTERNET&quot;</span> hevandersons@gmail.com`
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> -s temperro.txt <span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #808080; font-style: italic;">#verifica se o arquivo é maior que zero, ou seja, se houve erro</span>
<span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;|&gt; ERRO DE CONEXÃO, EXPERIMENTE:&quot;</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;|&gt; CHECAR SE O ENDEREÇO ESTÁ CORRETO&quot;</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;|&gt; CHECAR OS CABOS DE REDE&quot;</span>
&nbsp;
        <span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">3</span>
<span style="color: #000000; font-weight: bold;">else</span>
        <span style="color: #808080; font-style: italic;">#Não houve erros</span>
        <span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">1</span>
        <span style="color: #007800;">ppack=</span>`<span style="color: #c20cb9; font-weight: bold;">grep</span> received pingtemp.txt | <span style="color: #c20cb9; font-weight: bold;">cut</span> -f6 -d <span style="color: #ff0000;">&quot; &quot;</span> | <span style="color: #c20cb9; font-weight: bold;">cut</span> -f1 -d%`
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$ppack</span> -eq <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
        <span style="color: #000000; font-weight: bold;">then</span>
                <span style="color: #007800;">msg=</span><span style="color: #ff0000;">&quot;Nenhuma perda de pacote, conexão com $nome perfeita&quot;</span>
        <span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$ppack</span> -gt <span style="color: #007800;">$tlr</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
        <span style="color: #000000; font-weight: bold;">then</span>
		<span style="color: #007800;">msg=</span><span style="color: #ff0000;">&quot;ALERTA GRAVE: perda de pacotes acima do normal&quot;</span>
		ring2 <span style="color: #808080; font-style: italic;">#ring de emergencia</span>
		<span style="color: #808080; font-style: italic;">#send<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></span>
	<span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$ppack</span> -eq <span style="color: #000000;">100</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
        <span style="color: #000000; font-weight: bold;">then</span>
                <span style="color: #007800;">msg=</span><span style="color: #ff0000;">&quot;ALERTA GRAVE: PERDA TOTAL DE PACOTES, VERIFICAR CONEXÃO DE REDE&quot;</span>
		ring2 <span style="color: #808080; font-style: italic;">#ring de emergencia</span>
		send<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
        <span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
log<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #808080; font-style: italic;">#GRAVA OS LOGS NAS PASTAS</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;TESTE AS -&gt; `date +%T`&quot;</span> &gt;&gt; `<span style="color: #c20cb9; font-weight: bold;">date</span> +%d_%m_%Y.log`
<span style="color: #c20cb9; font-weight: bold;">cat</span> pingtemp.txt &gt;&gt; `<span style="color: #c20cb9; font-weight: bold;">date</span> +%d_%m_%Y.log`
<span style="color: #7a0874; font-weight: bold;">echo</span> &gt;&gt; `<span style="color: #c20cb9; font-weight: bold;">date</span> +%d_%m_%Y.log`
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
send<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #808080; font-style: italic;">#MANDA E-MAIS</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$msg</span> | mutt -s <span style="color: #ff0000;">&quot;INNOVUS MONITORAMENTO EM $nome&quot;</span> hevandersons@gmail.com -c  hev@mundohev.com
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
ring<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #808080; font-style: italic;">#alertas de lentidão</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
beep -f <span style="color: #000000;">523.2</span> <span style="color: #000000;">48</span> -l <span style="color: #000000;">10</span> -r <span style="color: #000000;">3</span> &amp;&amp; beep -f <span style="color: #000000;">493.9</span> <span style="color: #000000;">48</span> -r <span style="color: #000000;">4</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
ring2<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #808080; font-style: italic;">#alertas de lentidão</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
beep -f <span style="color: #000000;">277.2</span> -l <span style="color: #000000;">500</span>  -r <span style="color: #000000;">16</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> -d $<span style="color: #000000;">2</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #7a0874; font-weight: bold;">cd</span> $<span style="color: #000000;">2</span>		
        check $<span style="color: #000000;">1</span> $<span style="color: #000000;">2</span>
        log
<span style="color: #000000; font-weight: bold;">else</span>
        <span style="color: #c20cb9; font-weight: bold;">mkdir</span> $<span style="color: #000000;">2</span>
        <span style="color: #7a0874; font-weight: bold;">cd</span> $<span style="color: #000000;">2</span> 
        check $<span style="color: #000000;">1</span> $<span style="color: #000000;">2</span>
        log
<span style="color: #000000; font-weight: bold;">fi</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://mundohev.com/2008/01/31/ping-com-esteroides-pequena-atualizacao/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pebrot: MSN em modo texto</title>
		<link>http://mundohev.com/2008/01/31/pebrot-msn-em-modo-texto/</link>
		<comments>http://mundohev.com/2008/01/31/pebrot-msn-em-modo-texto/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 01:30:29 +0000</pubDate>
		<dc:creator>hev</dc:creator>
		
		<category><![CDATA[Dicas]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://mundohev.com/2008/01/31/pebrot-msn-em-modo-texto/</guid>
		<description><![CDATA[Eu estou crescendo, envelhecendo, aprendendo e criando juízo, mas tem certas coisas no mundo pelas quais minha mente não entende, aceita e/ou se conforma, uma delas é o MSN, é impressionante o quanto a microsoft tem a capacidade de popularizar produtos ruins, acredito que muitos como eu usam o msn para poder falar com as [...]]]></description>
			<content:encoded><![CDATA[<p>Eu estou crescendo, envelhecendo, aprendendo e criando juízo, mas tem certas coisas no mundo pelas quais minha mente não entende, aceita e/ou se conforma, uma delas é o MSN, é impressionante o quanto a microsoft tem a capacidade de popularizar produtos ruins, acredito que muitos como eu usam o msn para poder falar com as pessoas ditas normais, pois os outros protocolos ou são desertos ou são usados para assuntos da comunidade nerd/geek.</p>
<p>Já ouvi e usei muitas vezes a expressão &#8220;isso é muito gráfico para você&#8221; quando sai assunto de msn nas conversas sobre Linux e sotware livre. </p>
<p>Como meu estágio é no setor de suporte, volta e meia tenho que me comunicar com um cliente via msn e como na maioria das vezes o suporte é remoto, por ssh, é bem incômodo ficar saindo do terminal várias vezes para atandê-lo.</p>
<p>Descobri recentemente o que achava não existir, um cliente msn em modo texto chamado pebrot, até gosto de clientes gráficos como <a href="http://www.pidgin.im/">Pidgin</a> ou o <a href="http://www.mercury.im/">Mercury</a>, mas pelo menos para trabalhar, o pebrot é uma mão na roda, abro duas abas no terminal e faço meu trabalho hehe.</p>
<p><a rel="lightbox" href='http://mundohev.com/wp-content/uploads/2008/01/shot1.png' title='shot1.png'><img src='http://mundohev.com/wp-content/uploads/2008/01/shot1.thumbnail.png' alt='shot1.png' /></a></p>
<p>Instalando o pebrot</p>
<p>Baixe-o <a href="http://sourceforge.net/project/showfiles.php?group_id=57824&#038;package_id=53498&#038;release_id=413560">neste link</a>, salve num diretório de sua preferência e descompacte o arquivo.</p>
<p>Abra um terminal, entre no diretório onde você descompactou o arquvo com o comando cd, um exemplo:</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #7a0874; font-weight: bold;">cd</span> /home/hevanderson/Programas/pebrot<span style="color: #000000;">-0.8</span><span style="color: #000000;">.8</span></pre></div></div>

<p>rode o script de instalação:</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #c20cb9; font-weight: bold;">sudo</span> python setup.py <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Para conectar digite:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">pebrot -u &lt;seu@usuariodomsn.com&gt;</pre></div></div>

<p>O pebrot está em portugês, e seus comandos são bem simples de usar, veja:</p>
<blockquote>
<p>    \u         -> Listar usuários ativos no chat.<br />
    \n         -> Mudar nick.<br />
    \a usuário  ->   Adicionar contato.<br />
    \b usuário  ->   Bloquear contato.<br />
    \r usuário  ->  Remover contato.<br />
    \o usuário  ->   Iniciar conversa com um contato.<br />
    \s estado   ->   Mudar Estado:<br />
                  nln: Online<br />
                  fln: Offline<br />
                  hdn: Aparecer Offline<br />
                  idl: Inativo<br />
                  awy: Ausente<br />
                  bsy: Ocupado<br />
                  brb: Volta Logo<br />
                  phn: No telefone<br />
                  lun: Horário de Almoço<br />
    \f diretório -> Enviar arquivo.<br />
    \fa          -> Aceitar recebimento de arquivo.<br />
    \fr pos     -> Rejeitar recebimento de arquivo<br />
    \fc pos    -> Cancelar envio de arquivo<br />
    \!           -> Executar um comando do shell.<br />
    \e           -> Limpar Tela.<br />
    \d arquivo  -> Gravar conversa num arquivo de texto.<br />
    Ctrl-l       -> Redesenhar tela.<br />
    \h \?       -> Ajuda.<br />
    \q Ctrl-d  -> Sair.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
</p></blockquote>
<p>O pebrot tem uma interface em abas, para alternar entre elas use a tecla Tab.</p>
<p>Isso é tudo, fiquem com Deus, até a próxima.</p>
]]></content:encoded>
			<wfw:commentRss>http://mundohev.com/2008/01/31/pebrot-msn-em-modo-texto/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Script para gerenciar serviços Web</title>
		<link>http://mundohev.com/2008/01/22/script-para-gerenciar-servicos-web/</link>
		<comments>http://mundohev.com/2008/01/22/script-para-gerenciar-servicos-web/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 02:01:33 +0000</pubDate>
		<dc:creator>hev</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[Programação]]></category>

		<category><![CDATA[shell script]]></category>

		<guid isPermaLink="false">http://mundohev.com/2008/01/22/script-para-gerenciar-servicos-web/</guid>
		<description><![CDATA[Estava lendo os tutoriais de dialog do Aurélio, para colocar em algum script meu, quando tive a idéia de criar uma espécie de utilitário &#8220;gráfico&#8221; para agilizar as coisas que eu mais faço no meu linux: usar apache, mysql e php. Na verdade, o script não faz nada de revolucionário: eu o criei para realizar [...]]]></description>
			<content:encoded><![CDATA[<p>Estava lendo os <a href="http://aurelio.net/shell/dialog/">tutoriais de dialog do Aurélio</a>, para colocar em algum script meu, quando tive a idéia de criar uma espécie de utilitário &#8220;gráfico&#8221; para agilizar as coisas que eu mais faço no meu linux: usar apache, mysql e php. Na verdade, o script não faz nada de revolucionário: eu o criei para realizar tarefas corriqueiras como reiniciar ou parar o apache e o mysql ou editar os arquivos de configuração, só pra não ter que digitar linhas (por mais que o TAB ajude) como <strong>/etc/init.d/apache2 stop</strong> , é claro, eu poderia ter criado atalhos, mas assim eu não treinaria shell script hehe.</p>
<p>O Ubuntu não vem com dialog instalado, utilize:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> apt-get <span style="color: #c20cb9; font-weight: bold;">install</span> dialog</pre></div></div>

<p>como o código ficou um pouco grande, vou deixar um screen, <a href="http://mundohev.com/arquivos/web.sh">baixe o código neste link</a>. <strong>O script deve ser executado com usuário root</strong>:</p>
<p><center><img src='http://mundohev.com/wp-content/uploads/2008/01/web01.png' alt='web01.png' /></center></p>
]]></content:encoded>
			<wfw:commentRss>http://mundohev.com/2008/01/22/script-para-gerenciar-servicos-web/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MySQL GUI Tools no Ubuntu</title>
		<link>http://mundohev.com/2008/01/19/mysql-gui-tools-no-ubuntu/</link>
		<comments>http://mundohev.com/2008/01/19/mysql-gui-tools-no-ubuntu/#comments</comments>
		<pubDate>Sat, 19 Jan 2008 19:34:03 +0000</pubDate>
		<dc:creator>hev</dc:creator>
		
		<category><![CDATA[Dicas]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Programação]]></category>

		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://mundohev.com/2008/01/19/mysql-gui-tools-no-ubuntu/</guid>
		<description><![CDATA[ 
Pra quem não gosta do phpMyAdmin, ou está à procura de uma alternativa, está disponível via apt alguns aplicativos do pacote MySQL GUI Tools, falo do MySQL Administrator (Ferramenta para gerenciar os BD&#8217;s) e do MySQL Query Browser (Ferramenta para fazer consultas em Tabelas).

$  sudo apt-get install mysql-admin mysql-query-browser




Até  mais, Fiquem com [...]]]></description>
			<content:encoded><![CDATA[<p><center><img src='http://mundohev.com/wp-content/uploads/2008/01/gui-tools.jpg' alt='gui-tools.jpg' /></center> </p>
<p>Pra quem não gosta do phpMyAdmin, ou está à procura de uma alternativa, está disponível via apt alguns aplicativos do pacote MySQL GUI Tools, falo do MySQL Administrator (Ferramenta para gerenciar os BD&#8217;s) e do MySQL Query Browser (Ferramenta para fazer consultas em Tabelas).</p>

<div class="wp_syntax"><div class="code"><pre class="bash">$  <span style="color: #c20cb9; font-weight: bold;">sudo</span> apt-get <span style="color: #c20cb9; font-weight: bold;">install</span> mysql-admin mysql-query-browser</pre></div></div>

<p><center></p>
<p><a rel="lightbox" href='http://mundohev.com/wp-content/uploads/2008/01/mysqladmin.png' title='mysqladmin.png'><img src='http://mundohev.com/wp-content/uploads/2008/01/mysqladmin.thumbnail.png' alt='mysqladmin.png' /></a><a rel="lightbox" href='http://mundohev.com/wp-content/uploads/2008/01/queybrowser.png' title='queybrowser.png'><img src='http://mundohev.com/wp-content/uploads/2008/01/queybrowser.thumbnail.png' alt='queybrowser.png' /></a></p>
<p></center></p>
<p>Até  mais, Fiquem com Deus!</p>
]]></content:encoded>
			<wfw:commentRss>http://mundohev.com/2008/01/19/mysql-gui-tools-no-ubuntu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Experimentando o Songbird 0.4</title>
		<link>http://mundohev.com/2008/01/15/experimentando-o-songbird-04/</link>
		<comments>http://mundohev.com/2008/01/15/experimentando-o-songbird-04/#comments</comments>
		<pubDate>Wed, 16 Jan 2008 03:41:00 +0000</pubDate>
		<dc:creator>hev</dc:creator>
		
		<category><![CDATA[Artigos]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[Som e Vídeo]]></category>

		<guid isPermaLink="false">http://mundohev.com/2008/01/15/experimentando-o-songbird-04/</guid>
		<description><![CDATA[  
Eu achava que iria demorar bastante para criarem um player à altura do Amarok, conheço o sunbird a algum tempo mas nunca o achei grande coisa. Como não gosto de usar aplicativos KDE em ambiente GNOME (eu sei, frescura) sempre utilizava players como o banshee ou exaile para ouvir minhas músicas. Ontem dei [...]]]></description>
			<content:encoded><![CDATA[<p><center> <a href='http://www.songbirdnest.com' title='Songbird'><img src='http://mundohev.com/wp-content/uploads/2008/01/sunbird.gif' alt='Songbird' /></a> </center></p>
<p>Eu achava que iria demorar bastante para criarem um player à altura do <a href="http://amarok.kde.org/">Amarok</a>, conheço o sunbird a algum tempo mas nunca o achei grande coisa. Como não gosto de usar aplicativos KDE em ambiente GNOME (eu sei, frescura) sempre utilizava players como o <a href="http://banshee-project.org/Main_Page">banshee</a> ou <a href="http://www.exaile.org/">exaile</a> para ouvir minhas músicas. Ontem dei uma olhada no site do songbird, fiquei curioso em saber como estava a versão 0.4, no site oficial tem um tar.gz para baixar, mas encontrei um <a href="http://www.getdeb.net/download.php?release=1894&#038;fpos=0">.deb</a> no getdeb.net (lei do menor esforço) e instalei, gostei muito do que vi e não pretendo usar outro player agora, pelo menos não no GNOME.</p>
<p><center><a rel="lightbox" href='http://mundohev.com/wp-content/uploads/2008/01/songbird.png' title='songbird.png'><img src='http://mundohev.com/wp-content/uploads/2008/01/songbird.thumbnail.png' alt='songbird.png' /></a></center></p>
<p>O Songbird é derivado do Firefox, a interface lembra muito o iTunes da Apple, através dele também é possível navegar pela internet e adicionar plugins (foi o que mais me agradou no songbird), ainda não há muitos plugins disponíveis, alguns nem funcionam muito bem, mas pra quem tiver interesse, recomendo os seguintes:</p>
<p><a href="http://addons.songbirdnest.com/extensions/detail/10">Wikipedia Extension</a> - Mostra artigos da wikipedia relacionados com o artista que está ouvindo.</p>
<p><a href="http://addons.songbirdnest.com/extensions/detail/48">Pause/Play/Stop Buttons</a> - Adicona o botão stop e os botões play e pause são separados.</p>
<p><a href="http://addons.songbirdnest.com/extensions/detail/96">Now Playing List</a> - Adiciona uma lista de reprodução onde você pode arrastar as músicas que deseja ouvir imediatamente.</p>
<p>Uma coisa que me chamou atenção foi a capacidade do Songbird de reproduzir vídeos, ao contrário dos demais, que só tocam arquivos de áudio.</p>
<p>A única coisa que eu senti falta realmente foi do equalizador gráfico, mas, nada que atrapalhe a diversão.</p>
<p>para instalar o Songbird no Ubuntu digite em um terminal:</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #007800;">$sudo</span> dpkg -i songbird_0<span style="color: #000000;">.4</span><span style="color: #000000;">-1</span>~getdeb1_i386.deb</pre></div></div>

<p>E é isso, fiquem com Deus e até a próxima.</p>
]]></content:encoded>
			<wfw:commentRss>http://mundohev.com/2008/01/15/experimentando-o-songbird-04/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Incollector: Organizando Informação</title>
		<link>http://mundohev.com/2008/01/13/incollector-organizando-informacao/</link>
		<comments>http://mundohev.com/2008/01/13/incollector-organizando-informacao/#comments</comments>
		<pubDate>Sun, 13 Jan 2008 18:26:33 +0000</pubDate>
		<dc:creator>hev</dc:creator>
		
		<category><![CDATA[Dicas]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://mundohev.com/2008/01/13/incollector-organizando-informacao/</guid>
		<description><![CDATA[Há algum tempo estava procurando uma forma de organizar melhor meus dados (até porque estava com preguiça de desenvolver algo para fazer isso), tenho uma mania de ficar guardando letras de música, citações que acho no wikiquote, alguns poemas e tutoriais da internet em arquivos de texto e já não aguentava mais ficar usando grep [...]]]></description>
			<content:encoded><![CDATA[<p>Há algum tempo estava procurando uma forma de organizar melhor meus dados (até porque estava com preguiça de desenvolver algo para fazer isso), tenho uma mania de ficar guardando letras de música, citações que acho no <a href="http://www.wikiquote.org">wikiquote</a>, alguns poemas e tutoriais da internet em arquivos de texto e já não aguentava mais ficar usando grep o tempo todo pra encontrar alguma coisa, até que, passando no getdeb.net encontrei o Incollector, um programa que organiza informações, o uso é bem simples você escolhe o tipo de dado que quer guardar e insere a informação relacionada. O Incollector também tem suporte a tags e a classificação, você pode baixá-lo <a href="http://www.getdeb.net/app.php?name=Incollector">nesta página</a>. Para instalar digite num terminal:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> dpkg -i incollector_1<span style="color: #000000;">.0</span><span style="color: #000000;">-1</span>~getdeb1_all.deb</pre></div></div>

<p><a rel="lightbox" href='http://mundohev.com/wp-content/uploads/2008/01/incollector.png' title='Incollector'><img src='http://mundohev.com/wp-content/uploads/2008/01/incollector.thumbnail.png' alt='Incollector' /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://mundohev.com/2008/01/13/incollector-organizando-informacao/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
