<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5629484823849678152</id><updated>2024-11-05T23:53:42.808-03:00</updated><title type='text'>Linux Bin</title><subtitle type='html'>Uma característica do núcleo Linux é que algumas das funções (drivers de dispositivos, suporte à rede, sistema de arquivos, por exemplo) podem ser compiladas e executadas como módulos (em inglês: LKM - loadable kernel modules), que são bibliotecas compiladas separadamente da parte principal do núcleo e podem ser carregadas e descarregadas após o núcleo estar em execução.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://linuxbin.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://linuxbin.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17502797425214200512</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5629484823849678152.post-2562606312239528879</id><published>2013-09-15T15:39:00.003-03:00</published><updated>2013-09-15T15:39:37.341-03:00</updated><title type='text'>Comando cat</title><content type='html'>&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;i&gt;O comando &lt;span style=&quot;color: red;&quot;&gt;cat&lt;/span&gt; serve para exibir seu conteúdo ou ainda concatenar dois arquivos de texto.&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;b&gt;opções:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;-n&lt;/span&gt;&lt;/b&gt;, --number :&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Mostra o número das linhas enquanto o conteúdo do arquivo é mostrado.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;-s&lt;/b&gt;&lt;/span&gt;, --squeeze-blank :&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Não mostra mais que uma linha em branco entre um parágrafo e outro.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;i&gt;Sua sintaxe básica é:&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;b&gt;$ cat [opções] arquivo.txt&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;b&gt;$ cat arquivo.txt&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Este comando imprime na tela o conteúdo do arquivo.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;b&gt;$ cat &amp;gt; arquivo.txt&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Digitando o comando acima e teclando Enter, cria-se um arquivo para escrever o que você quiser, no próprio terminal. Quando você terminar de escrever e quiser salvar o arquivo, basta ir a uma linha vazia qualquer e apertar as teclas &lt;span style=&quot;color: red;&quot;&gt;CTRL+D&lt;/span&gt; para que feche a edição e salve o arquivo.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;b&gt;$ cat arquivo1.txt &amp;gt;&amp;gt; arquivo2.txt&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Este comando faz com que o &lt;span style=&quot;color: red;&quot;&gt;arquivo2&lt;/span&gt; receba o conteúdo do &lt;span style=&quot;color: red;&quot;&gt;arquivo1&lt;/span&gt;. Obs.: as informações contidas no &lt;span style=&quot;color: red;&quot;&gt;arquivo2&lt;/span&gt; são sobrescritas pelas do &lt;span style=&quot;color: red;&quot;&gt;arquivo1&lt;/span&gt;.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;b&gt;$ cat arquivo1.txt &amp;gt;&amp;gt; arquivo2.txt&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Este comando adiciona o conteúdo do &lt;span style=&quot;color: red;&quot;&gt;arquivo1&lt;/span&gt; no final do &lt;span style=&quot;color: red;&quot;&gt;arquivo2&lt;/span&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;b&gt;&lt;i&gt;Segue algumas dicas para se usar o cat:&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;b&gt;$ cat arquivo1.txt | grep texto&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Esse comando eu uso quando quero saber se a palavra texto está na dentro do &lt;span style=&quot;color: red;&quot;&gt;arquivo.txt&lt;/span&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;b&gt;$ cat arquivo1.txt | less&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;O comando &lt;span style=&quot;color: red;&quot;&gt;less&lt;/span&gt; pode ser usado como comando para leitura de arquivos que ocupem mais de uma tela. Quando toda a tela é ocupada, o &lt;span style=&quot;color: red;&quot;&gt;less&lt;/span&gt; efetua uma pausa (semelhante ao more) e permite que você pressione seta para Cima e seta para Baixo ou &lt;span style=&quot;color: red;&quot;&gt;PgUP/PgDown&lt;/span&gt; para fazer o rolamento da página.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Essa são opções mais básicas do comando cat, vocês podem usar o comando &lt;span style=&quot;color: red;&quot;&gt;man cat&lt;/span&gt; para visualizar o manual do &lt;span style=&quot;color: red;&quot;&gt;cat&lt;/span&gt;, ou então podem usar o&lt;span style=&quot;color: red;&quot;&gt; cat –help&lt;/span&gt; e verão as opções + comuns desse comando.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxbin.blogspot.com/feeds/2562606312239528879/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://linuxbin.blogspot.com/2013/09/comando-cat.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default/2562606312239528879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default/2562606312239528879'/><link rel='alternate' type='text/html' href='http://linuxbin.blogspot.com/2013/09/comando-cat.html' title='Comando cat'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17502797425214200512</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5629484823849678152.post-6494737777625418669</id><published>2013-09-13T17:33:00.003-03:00</published><updated>2013-09-13T17:33:46.766-03:00</updated><title type='text'>Comando grep</title><content type='html'>&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;O comando grep procura por textos ou expressões regulares dentro de um ou mais arquivos. Mais adiante veremos alguns exemplos com o comando grep com expressões regulares, agora veremos exemplos mais básicos. As opções mais comuns são:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;color: red; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;-i&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt; Ignora a distinção entre letras maiúsculas e minúsculas.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: red; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;-n&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt; Mostra o número de cada linha encontrada pelo grep.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;-l&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt; Lista os nomes dos arquivos ao invés de linhas individualizadas.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;-c&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt; Conta o número de vezes que a palavra ou caractere aparece no arquivo.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;--help&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt; Exibe informações das opções que podem ser usadas pelo grep.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;i&gt;Vamos a um exemplo simples, imagine que eu gostaria de saber qual é a porta utilizada pelo serviço &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;ssh&lt;/span&gt;&lt;/b&gt;:&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;$ grep ssh /etc/services&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;ssh &amp;nbsp; &amp;nbsp; &amp;nbsp;22/tcp &amp;nbsp; &amp;nbsp; &amp;nbsp;# SSH Remote Login Protocol&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;ssh &amp;nbsp; &amp;nbsp; &amp;nbsp;22/udp &amp;nbsp; &amp;nbsp; &amp;nbsp;# SSH Remote Login Protocol&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;i&gt;Como podemos ver, o serviço ssh utiliza a porta &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;22&lt;/b&gt;&lt;/span&gt;. Agora eu quero saber o número das linhas onde aparece a palavra ssh:&lt;/i&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;$ grep -n ssh /etc/services&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;29:ssh &amp;nbsp; &amp;nbsp; &amp;nbsp;22/tcp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # SSH Remote Login Protocol&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;30:ssh &amp;nbsp; &amp;nbsp; &amp;nbsp;22/udp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # SSH Remote Login Protocol&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;A opção -n adicionou os números das linhas onde aparece a palavra &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;ssh&lt;/span&gt;&lt;/b&gt;. Agora imagine que eu estou com um problema no meu &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;ssh&lt;/span&gt;&lt;/b&gt; e gostaria de verificar quais são os arquivos de configuração no diretório &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;/etc&lt;/b&gt;&lt;/span&gt; que possuem a palavra &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;ssh&lt;/span&gt;&lt;/b&gt;:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;$ grep -sl ssh /etc/*&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;/etc/bash_completion&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;/etc/passwd&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;/etc/passwd-&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;/etc/passwd.bak&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;/etc/screenrc&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;/etc/services&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;/etc/shadow&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;/etc/shadow-&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Georgia, Times New Roman, serif;&quot;&gt;/etc/shadow.bak&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Estes são os arquivos que contêm informações referentes ao&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt; ssh &lt;/b&gt;&lt;/span&gt;além dos arquivos que estão contidos no diretório&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt; /etc/ssh&lt;/b&gt;&lt;/span&gt;. A opção&lt;b&gt; &lt;span style=&quot;color: red;&quot;&gt;-s&lt;/span&gt;&lt;/b&gt; esconde as mensagens de erro e a opção &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;-l&lt;/span&gt;&lt;/b&gt; lista os arquivos que contêm a palavra &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;ssh&lt;/span&gt;&lt;/b&gt; no diretório corrente.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxbin.blogspot.com/feeds/6494737777625418669/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://linuxbin.blogspot.com/2013/09/comando-grep.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default/6494737777625418669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default/6494737777625418669'/><link rel='alternate' type='text/html' href='http://linuxbin.blogspot.com/2013/09/comando-grep.html' title='Comando grep'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17502797425214200512</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5629484823849678152.post-5050251704903974171</id><published>2013-03-14T09:18:00.007-03:00</published><updated>2013-03-14T09:18:56.936-03:00</updated><title type='text'>Variaveis de Ambiente</title><content type='html'>&lt;b&gt;O &lt;span style=&quot;color: #990000;&quot;&gt;shell&lt;/span&gt; é executado no sistema controlado por variáveis de ambiente. As variáveis de ambiente ‘guardam’ informações tais como endereços de arquivos e diretórios, arquivos de configuração, etc. Estas variáveis podem ser locais ou globais. As locais são aquelas variáveis disponíveis somente pelo shell corrente e que não está sendo acessado por subprocessos do sistema; as variáveis globais são as que estão disponíveis tanto para o shell corrente como para os subprocessos que fazem uso delas. Exemplo de variáveis:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #990000;&quot;&gt;HOME&lt;/span&gt; – Esta variável identifica o diretório do usuário doméstico. Para saber qual é o seu diretório &lt;span style=&quot;color: #990000;&quot;&gt;HOME&lt;/span&gt; use o comando “&lt;span style=&quot;color: #990000;&quot;&gt;echo $HOME&lt;/span&gt;”;&lt;br /&gt;&lt;span style=&quot;color: #990000;&quot;&gt;PATH&lt;/span&gt; – Esta é a variável de ambiente que define quais diretórios a pesquisar e a ordem na qual eles são pesquisados para encontrar um determinado comando. Para saber seu valor use o comando “&lt;span style=&quot;color: #990000;&quot;&gt;echo $PATH&lt;/span&gt;”.&lt;br /&gt;&lt;br /&gt;Comandos úteis:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $ &lt;span style=&quot;color: #990000;&quot;&gt;echo $HOME&lt;/span&gt; ; mostra qual é o diretório &lt;span style=&quot;color: #990000;&quot;&gt;HOME&lt;/span&gt; do usuário corrente&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $ &lt;span style=&quot;color: #990000;&quot;&gt;echo $PATH&lt;/span&gt; : mostra como o sistema faz uma pesquisa para encontrar um determinado comando&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $ &lt;span style=&quot;color: #990000;&quot;&gt;printenv&lt;/span&gt; ; mostra as variáveis globais e seus valores&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # &lt;span style=&quot;color: #990000;&quot;&gt;variavel=valor&lt;/span&gt; ; atribui o valor vazio a variável&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # &lt;span style=&quot;color: #990000;&quot;&gt;export variavel=valor&lt;/span&gt; ; atribui o valor a variável e torna ela global&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # &lt;span style=&quot;color: #990000;&quot;&gt;unset variavel&lt;/span&gt; ; para deletar uma variável de ambiente&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxbin.blogspot.com/feeds/5050251704903974171/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://linuxbin.blogspot.com/2013/03/variaveis-de-ambiente.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default/5050251704903974171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default/5050251704903974171'/><link rel='alternate' type='text/html' href='http://linuxbin.blogspot.com/2013/03/variaveis-de-ambiente.html' title='Variaveis de Ambiente'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17502797425214200512</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5629484823849678152.post-5311124743553040817</id><published>2013-02-27T23:41:00.002-03:00</published><updated>2013-02-27T23:41:23.555-03:00</updated><title type='text'>Estrutura de diretórios do Linux.</title><content type='html'>&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;i&gt;&lt;b&gt;Essa é pra galera que está começando a se familiarizar com os diretorios do linux.&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;/bin&lt;/b&gt; - Arquivos binários de comandos essenciais do sistema.&lt;br /&gt;&lt;b&gt;/boot&lt;/b&gt; - Arquivos de boot (inicialização; boot-loader; Grub); kernel do Linux.&lt;br /&gt;&lt;b&gt;/dev&lt;/b&gt; - Dispositivos (devices) de entrada/saída: floppy, hardisk, cdrom, modem .&lt;br /&gt;&lt;b&gt;/etc&lt;/b&gt; - Arquivos de configuração (scripts) e inicialização.&lt;br /&gt;&lt;b&gt;/home&lt;/b&gt; - Diretório local (home) de usuários.&lt;br /&gt;&lt;b&gt;/lib&lt;/b&gt; - Bibliotecas e módulos(drives): compartilhadas com freqüência.&lt;br /&gt;&lt;b&gt;/mnt&lt;/b&gt; - Diretório de montagem de dispositivos, sistemas de arquivos e partição.&lt;br /&gt;&lt;b&gt;/opt&lt;/b&gt; - Para instalação de programas não oficiais da distribuição.&lt;br /&gt;&lt;b&gt;/proc&lt;/b&gt; - Diretório virtual (RAM) onde rodam os processos ativos.&lt;br /&gt;&lt;b&gt;/root&lt;/b&gt; - Diretório local do superusuário (root).&lt;br /&gt;&lt;b&gt;/sbin - &lt;/b&gt;Arquivos de sistema essenciais (binários do superusuário).&lt;br /&gt;&lt;b&gt;/tmp&lt;/b&gt; - Arquivos temporários gerados por alguns utilitários.&lt;br /&gt;&lt;b&gt;/usr&lt;/b&gt; - Arquivos de usuários nativos da distribuição.&lt;br /&gt;&lt;b&gt;/usr/local&lt;/b&gt; - Para instalação de programas não oficiais da distribuição.&lt;br /&gt;&lt;b&gt;/usr/src&lt;/b&gt; - Arquivos fontes do sistema necessários para compilar o kernel.&lt;br /&gt;&lt;b&gt;/var&lt;/b&gt; - Arquivos de log e outros arquivos variáveis.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxbin.blogspot.com/feeds/5311124743553040817/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://linuxbin.blogspot.com/2013/02/estrutura-de-diretorios-do-linux.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default/5311124743553040817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default/5311124743553040817'/><link rel='alternate' type='text/html' href='http://linuxbin.blogspot.com/2013/02/estrutura-de-diretorios-do-linux.html' title='Estrutura de diretórios do Linux.'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17502797425214200512</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5629484823849678152.post-2178528927144355644</id><published>2013-02-27T23:28:00.001-03:00</published><updated>2013-02-27T23:28:34.068-03:00</updated><title type='text'>Gravar CD pelo terminal Linux</title><content type='html'>&lt;b&gt;Dica de como gravar uma imagem .ISO em um CD-R.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Obs.: Dica testada no Linux Slackware 12.2.&lt;br /&gt;&lt;br /&gt;1 - Detecte sua gravadora com o comando:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;# cdrecord -scanbus&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Mostro o retorno do comando aqui na minha máquina para ajudar:&lt;br /&gt;&lt;br /&gt;Linux sg driver version: 3.5.27&lt;br /&gt;Using libscg version &#39;schily-0.9&#39;.&lt;br /&gt;scsibus4:&lt;br /&gt;&amp;nbsp;&amp;nbsp; 4,0,0&amp;nbsp;&amp;nbsp; 400) &#39;Kingston&#39; &#39;DataTraveler 2.0&#39; &#39;PMAP&#39; Removable Disk&lt;br /&gt;&amp;nbsp;&amp;nbsp; 4,1,0&amp;nbsp;&amp;nbsp; 401) *&lt;br /&gt;&amp;nbsp;&amp;nbsp; 4,2,0&amp;nbsp;&amp;nbsp; 402) *&lt;br /&gt;&amp;nbsp;&amp;nbsp; 4,3,0&amp;nbsp;&amp;nbsp; 403) *&lt;br /&gt;&amp;nbsp;&amp;nbsp; 4,4,0&amp;nbsp;&amp;nbsp; 404) *&lt;br /&gt;&amp;nbsp;&amp;nbsp; 4,5,0&amp;nbsp;&amp;nbsp; 405) *&lt;br /&gt;&amp;nbsp;&amp;nbsp; 4,6,0&amp;nbsp;&amp;nbsp; 406) *&lt;br /&gt;&amp;nbsp;&amp;nbsp; 4,7,0&amp;nbsp;&amp;nbsp; 407) *&lt;br /&gt;scsibus1000:&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1000,0,0 100000) *&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1000,1,0 100001) &#39;HL-DT-ST&#39; &#39;DVD-RAM GSA-H20N&#39; &#39;1.00&#39; Removable CD-ROM&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1000,2,0 100002) *&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1000,3,0 100003) *&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1000,4,0 100004) *&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1000,5,0 100005) *&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1000,6,0 100006) *&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1000,7,0 100007) *&lt;br /&gt;scsibus1001:&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1001,0,0 100100) *&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1001,1,0 100101) &#39;TSSTcorp&#39; &#39;CDW/DVD SH-M522C&#39; &#39;TS04&#39; Removable CD-ROM&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1001,2,0 100102) *&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1001,3,0 100103) *&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1001,4,0 100104) *&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1001,5,0 100105) *&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1001,6,0 100106) *&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1001,7,0 100107) *&lt;br /&gt;&lt;br /&gt;Veja que foram mostrados um pendrive e duas gravadoras. Usarei a primeira gravadora (HL-DT-ST&#39; &#39;DVD-RAM GSA-H20N) nesse exemplo.&lt;br /&gt;&lt;br /&gt;2 - use o comando:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;# cdrecord -dev=1001,1,0 speed=4 arquivo.iso&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Pronto! Agora é só esperar a gravação terminar.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;i&gt;&lt;b&gt;Explicação:&lt;/b&gt;&lt;/i&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;cdrecord é o comando em si;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -dev=1000,1,0 é o parâmetro que indica a gravadora. O número 1000,1,0 foi mostrado para a&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; primeira gravadora com o primeiro comando;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; speed define a velocidade de gravação;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arquivo.iso é o seu arquivo no formato .ISO. &lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxbin.blogspot.com/feeds/2178528927144355644/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://linuxbin.blogspot.com/2013/02/gravar-cd-pelo-terminal-linux.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default/2178528927144355644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default/2178528927144355644'/><link rel='alternate' type='text/html' href='http://linuxbin.blogspot.com/2013/02/gravar-cd-pelo-terminal-linux.html' title='Gravar CD pelo terminal Linux'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17502797425214200512</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5629484823849678152.post-751365239681817138</id><published>2012-08-01T13:23:00.003-03:00</published><updated>2012-08-01T13:23:44.690-03:00</updated><title type='text'>Partições Linux</title><content type='html'>&lt;br /&gt;

 
 
 


&lt;br /&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
as partições do linux
se encontram no diretório /dev , segue algumas identificações de
discos e partições em sistemas Linux:&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
• /dev/fd0 − Primeira unidade de disquetes&lt;br /&gt;
• /dev/fd1 − Segunda unidade de disquetes&lt;br /&gt;
• /dev/hda − Primeiro disco rígido na primeira controladora IDE do micro (primary master)&lt;br /&gt;
• /dev/hda1 − Primeira partição do primeiro disco rígido IDE.&lt;br /&gt;
• /dev/hdb − Segundo disco rígido na primeira controladora IDE do micro (primary slave)&lt;br /&gt;
• /dev/hdb1 − Primeira partição do segundo disco rígido IDE&lt;br /&gt;
• /dev/sda − Primeiro disco rígido na primeira controladora SCSI&lt;br /&gt;
• /dev/sda1 − Primeira partição do primeiro disco rígido SCSI&lt;br /&gt;
• /dev/sdb − Segundo disco rígido na primeira controladora SCSI&lt;br /&gt;
• /dev/sdb1 − Primeira partição do segundo disco rígido SCSI&lt;br /&gt;
• /dev/sr0 − Primeiro CD−ROM SCSI&lt;br /&gt;
• /dev/sr1 − Segundo CD−ROM SCSI&lt;br /&gt;
• /dev/xda − Primeiro disco rígido XT&lt;br /&gt;
• /dev/xdb − Segundo disco rígido XT&lt;br /&gt;
&lt;br /&gt;
As letras de identificação de discos rígidos podem ir além de hdb, em meu micro, por exemplo, a unidade de&lt;br /&gt;
CD−ROM está localizada em /dev/hdg (Primeiro disco − quarta controladora IDE)&lt;br /&gt;
É importante entender como os discos e partições são identificados no sistema, pois será necessário usar os parâmetros corretos para monta−los.&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxbin.blogspot.com/feeds/751365239681817138/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://linuxbin.blogspot.com/2012/08/particoes-linux.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default/751365239681817138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default/751365239681817138'/><link rel='alternate' type='text/html' href='http://linuxbin.blogspot.com/2012/08/particoes-linux.html' title='Partições Linux'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17502797425214200512</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5629484823849678152.post-4130308376116909278</id><published>2012-07-30T19:17:00.001-03:00</published><updated>2012-07-30T19:17:18.341-03:00</updated><title type='text'>Sistemas de arquivos suportados pelo Linux</title><content type='html'>&lt;br /&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;A lista de sistemas de arquivos suportados pelo Linux é muito grande mas, neste artigo, discutirei somente os mais comuns.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;Atualmente, uma importante característica dos atuais sistemas de arquivos é o &quot;&lt;b&gt;journaling&lt;/b&gt;&quot;. Sistemas de arquivos que possuem essa característica são preferidos em detrimento aos que não possuem.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;&lt;b&gt;Journaling&lt;/b&gt; é um recurso que permite recuperar um sistema após um desastre no disco (ex.: quando um disco está sujo) em uma velocidade muito maior que nos sistemas de arquivos sem &lt;b&gt;journaling&lt;/b&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;Segue abaixo uma breve descrição sobre os sistemas de arquivos mais comuns disponíveis para o Linux:&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;&lt;b&gt;Ext2&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;O sistema de arquivos ext2 é conhecido como &quot;Second Extended FileSystem&quot;. Foi desenvolvido para ser mais &quot;eficiente&quot; que o sistema de arquivos &quot;Minix&quot;, seu antecessor.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;O Minix era muito utilizado nas primeiras versões do Linux, e foi utilizado por muitos anos.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;O sistema de arquivos ext2 não possui journaling e foi substituído pelo ext3.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;&lt;b&gt;Ext3&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;O sistema de arquivos ext3 é uma versão do ext2 com suporte a journaling. Portanto, o ext3 tem as mesmas características do ext2, mas com suporte journaling.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;Essa característica foi uma evolução e tornou o ext3 um sistema de arquivos muito estável e robusto.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;Como no ext3 só foi adicionado o suporte a journaling, podemos converter um sistema de arquivos ext2 para ext3, adicionado suporte a journaling, e também podemos converter um sistema de arquivos ext3 para ext2, removendo o suporte a journaling.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;&lt;b&gt;ReiserFS&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;O sistema de arquivos ReiserFS foi criado recentemente. Mas atualmente quase todas as distribuições Linux o suportam.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;Sua performance é muito boa, principalmente para um número muito grande de arquivos pequenos.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;ReiserFS também possui suporte a journaling.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;&lt;b&gt;XFS&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;O sistema de arquivos XFS também possui suporte a journaling. Foi desenvolvido originalmente pela Silicon Graphics e posteriormente disponibilizado o código fonte. O XFS é considerado um dos melhores sistemas de arquivos para banco de dados, pois é muito rápido na gravação.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;XFS utiliza muitos recursos de cache com memória RAM, e para utilizar XFS é recomendado utilizar sistemas que possuem redundância de energia.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;&lt;b&gt;SWAP&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;SWAP é um espaço reservado para troca de dados com a memória RAM.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;Em alguns lugares ele não é mencionado como um Sistema de Arquivos, mas resolvi descrever aqui pois faz parte deste artigo.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;&lt;b&gt;VFAT&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;O sistema de arquivos VFAT é também conhecido como FAT32 (M$ Windows).&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;O sistema de arquivos VFAT não possui suporte a journaling. É utilizado normalmente para transferir dados entre sistemas M$ Windows e o Linux instalados no mesmo disco, pois pode ser lido e escrito por ambos os sistemas operacionais.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;O sistema de arquivos VFAT está longe de ser um sistema de arquivos utilizado para Sistemas Linux, exceto para compartilhamento/compatibilidade entre o M$ Windows e Linux.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;Se você utilizar VFAT no Linux, esteja certo de perder alguns atributos, tais como: permissão de execução, links simbólicos, entre outras coisas.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, &#39;DejaVu Sans&#39;;&quot;&gt;Ambos os sistemas de arquivos ext3 e ReiserFS são maduros o bastante para serem utilizados como padrão no Linux. Esses dois são os mais utilizados pelas distribuições Linux.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxbin.blogspot.com/feeds/4130308376116909278/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://linuxbin.blogspot.com/2012/07/sistemas-de-arquivos-suportados-pelo.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default/4130308376116909278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default/4130308376116909278'/><link rel='alternate' type='text/html' href='http://linuxbin.blogspot.com/2012/07/sistemas-de-arquivos-suportados-pelo.html' title='Sistemas de arquivos suportados pelo Linux'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17502797425214200512</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5629484823849678152.post-8753570624871818491</id><published>2012-07-27T14:14:00.002-03:00</published><updated>2013-09-15T14:53:07.237-03:00</updated><title type='text'>Instalação do centos.</title><content type='html'>O CentOS utiliza o Anaconda, que é o mesmo instalador gráfico usado no Fedora. Para usar o instalador gráfico é necessário ter 512 MB de memória, mas é possível instalar o sistema em máquinas antigas usando o instalador em modo texto, que pode ser acessado usando a opção &quot;linux text&quot; na tela de boot:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdSoKBFXxbwD_gW8Q4Dl8WXBEsqjQOgZZlK2JUkucvVsGTuOXeee-RmbNGfOi9VXFjbqdr1aJ3Tu8xB1X6QQ_dNKoFE5J9_G4QkCA_SK9s24G1OGrqjeavdk3tZCkBR6Vm0lqZb7SdDef4/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdSoKBFXxbwD_gW8Q4Dl8WXBEsqjQOgZZlK2JUkucvVsGTuOXeee-RmbNGfOi9VXFjbqdr1aJ3Tu8xB1X6QQ_dNKoFE5J9_G4QkCA_SK9s24G1OGrqjeavdk3tZCkBR6Vm0lqZb7SdDef4/s320/1.jpg&quot; height=&quot;220&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Assim como em outras distribuições, você pode incluir opções para o Kernel na linha de boot, de forma a solucionar problemas de compatibilidade, como a &quot;acpi-off&quot;, &quot;noapic&quot;, &quot;all-generic-ide&quot;, &quot;irqpoll&quot; e &quot;outras&quot;, como em:&lt;br /&gt;
&lt;br /&gt;
linux noapic irqpoll&lt;br /&gt;
O instalador começa se oferecendo para realizar um teste da mídia de instalação e em seguida pergunta sobre a linguagem do sistema (o português do Brasil está disponível desde as primeiras versões do sistema) e o layout do teclado.&lt;br /&gt;
&lt;br /&gt;
Durante a instalação, você pode ver o log de mensagens geradas pelo instalador pressionando Ctrl+Alt+F3 e ter acesso a um terminal que pode ser usado para solucionar problemas pressionando Ctrl+Alt+F2.&lt;br /&gt;
&lt;br /&gt;
Em seguida temos o particionamento dos HDs, que começa com a clássica pergunta sobre utilizar o layout padrão, ou criar um layout personalizado:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKFov_K0cjWxool_oZ-pOlZzUYBWDjUH6YDe8BbpLYCAN9A5ZO6wm1LqNRU7scNPsZKnNHE79eXHNqAw065AuuA8YCD-KEVepUSFNeNerhdmt64lqYxgbPbG0KB-mPiuqahb__BmGFxTRh/s1600/2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKFov_K0cjWxool_oZ-pOlZzUYBWDjUH6YDe8BbpLYCAN9A5ZO6wm1LqNRU7scNPsZKnNHE79eXHNqAw065AuuA8YCD-KEVepUSFNeNerhdmt64lqYxgbPbG0KB-mPiuqahb__BmGFxTRh/s320/2.jpg&quot; height=&quot;239&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
O CentOS utiliza o LVM por padrão, criando um único volume lógico, englobando todo o espaço disponível do HD e criando partições dentro dele. É usada também uma partição /boot separada, que fica fora do volume LVM, já que o grub não é capaz de inicializar o sistema se o diretório /boot estiver dentro de um volume lógico:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9sespgZt1jdIQQct_G4lUqZM5lqjSIOxilRvrhfYpT1QSZxzjg7lz5DHnC5mz1uoIhdzSP5SKSA5qRY9OyOyR64wv1BqMVcCi-ZK1t_qHm-xRlABHAvSsfNuDymFnjPlxL633zFtCJxm0/s1600/3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9sespgZt1jdIQQct_G4lUqZM5lqjSIOxilRvrhfYpT1QSZxzjg7lz5DHnC5mz1uoIhdzSP5SKSA5qRY9OyOyR64wv1BqMVcCi-ZK1t_qHm-xRlABHAvSsfNuDymFnjPlxL633zFtCJxm0/s320/3.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
O LVM (Logical Volume Manager) é um recurso incluído no Kernel Linux a partir da versão 2.4 que cria uma camada de abstração entre o sistema operacional e os HDs (ou outras unidades de armazenamento utilizadas). Ele adiciona alguns complicadores adicionais na configuração, mas, em compensação oferece um conjunto de vantagens bastante interessantes.&lt;br /&gt;
&lt;br /&gt;
Imagine que no LVM o sistema não vê HDs e partições, mas sim um ou mais volumes lógicos. Cada volume se comporta como se fosse uma partição, que é formatada e montada da forma usual (um volume pode ser usado inclusive como partição swap). Estes volumes são agrupados em um grupo de volumes lógicos (logical volume group) que se comporta de forma similar a um HD.&lt;br /&gt;
&lt;br /&gt;
O pulo do gato é que o grupo de volumes lógicos pode combinar o espaço de vários HDs e ser modificado conforme necessário, incorporando mais HDs. Os volumes lógicos dentro dele também podem ser redimensionados livremente conforme for necessário.&lt;br /&gt;
&lt;br /&gt;
Se você precisa de mais espaço dentro do volume referente à pasta home, por exemplo, você poderia reduzir o tamanho de um dos outros volumes do sistema (que estivesse com espaço vago) e aumentar o tamanho do volume referente ao home, tudo isso com o servidor operante.&lt;br /&gt;
&lt;br /&gt;
Outra possibilidade é ir adicionando novos HDs ao servidor conforme precisar de mais espaço. Ao instalar um novo HD, você começaria criando um volume físico, englobando todo o espaço do HD. Uma vez que o volume físico é criado, você pode expandir o grupo de volumes lógicos, de forma que ele incorpore o espaço referente ao novo HD. A partir daí, você pode expandir os volumes lógicos, usando o espaço livre.&lt;br /&gt;
&lt;br /&gt;
Caso seja utilizada uma controladora SCSI ou SAS com suporte a hot-swaping, é possível até mesmo adicionar, remover ou substituir HDs, fazendo as alterações necessárias nos volumes lógicos, tudo sem interrupções.&lt;br /&gt;
&lt;br /&gt;
É importante enfatizar que o LVM é apenas uma mudança na forma como o sistema acessa os discos, ele não é um substituto para o RAID. No LVM você pode agrupar vários HDs em um único grupo de volumes lógicos, mas se um dos HDs apresentar defeito, o servidor ficará inoperante e você perderá os dados armazenados no disco afetado, diferente do RAID, onde você pode sacrificar parte do espaço para ter uma camada de redundância.&lt;br /&gt;
&lt;br /&gt;
O grupo de volumes lógicos criado pelo instalador é visto pelo sistema como &quot;/dev/VolGroup00&quot; e os volumes lógicos dentro dele são vistos como &quot;/dev/VolGroup00/LogVol00&quot;, &quot;/dev/VolGroup00/LogVol01&quot;, etc. Estes nomes usados por default não são muito descritivos, mas é possível alterá-los usando o próprio particionador. Naturalmente, é possível também deixar de usar o LVM, voltando ao sistema normal de particionamento. Nesse caso você só precisa deletar os volumes e o grupo de volumes lógicos e criar a partições desejadas usando o espaço disponível.&lt;br /&gt;
&lt;br /&gt;
Para o particionamento do HD, valem as regras que vimos no meu tutorial anterior sobre instalação de servidores Linux, ou seja, usar volumes separados para os diretórios &quot;/tmp&quot;, &quot;/var&quot; e &quot;/home&quot;, de acordo com a aplicação do servidor.&lt;br /&gt;
&lt;br /&gt;
Em seguida temos a tela de configuração do gerenciador de boot. Diferente de um desktop, onde muitas vezes precisamos configurar o gerenciador para inicializar vários sistemas operacionais, em um servidor utilizamos sempre um único sistema, o que simplifica as coisas. Você pode rodar outros sistemas operacionais simultaneamente usando VMware Server ou o Xen, utilizando máquinas virtuais.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMXhqIewgUB2_dXilYza_npZc9Th2hqvIa6qe7ZvEUHFQiwj6q9asmsYzmGHioGFddwtSx5H2sjS_ukadArQFpahVIoZZhn1NUMVw1dYjwqSuLhazs2vzmefuyVk8j5KpE8V6DpuHZ0ocZ/s1600/4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMXhqIewgUB2_dXilYza_npZc9Th2hqvIa6qe7ZvEUHFQiwj6q9asmsYzmGHioGFddwtSx5H2sjS_ukadArQFpahVIoZZhn1NUMVw1dYjwqSuLhazs2vzmefuyVk8j5KpE8V6DpuHZ0ocZ/s320/4.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
A opção &quot;Utilizar uma senha no gerenciador de inicialização&quot; define uma senha de boot, que é solicitada pelo grub no início do boot. Esta senha é raramente usada em servidores, pois impede que o servidor seja reiniciado sem que alguém esteja presente no local para digitar a senha no boot seguinte. Ela também não é eficiente como uma proteção contra acesso local do servidor, pois é facilmente burlável.&lt;br /&gt;
&lt;br /&gt;
Em seguida temos a configuração da rede. Tanto ao configurar um servidor para a Internet quanto ao configurar um servidor de rede local, é muito provável que você configure também um domínio. Na Internet a função do domínio é obvia, já que é através dele que os visitantes acessarão os sites hospedados, mas um domínio pode ser útil também em uma rede local, facilitando o acesso às máquinas e viabilizando o uso de diversos serviços adicionais. Mesmo o Active Directory (utilizado em redes Microsoft) é fortemente baseado no uso de domínios.&lt;br /&gt;
&lt;br /&gt;
Gerenciar nomes de domínio é tarefa para o Bind. Por enquanto, você pode se limitar a configurar o &quot;fully qualified domain name&quot; do servidor, ou seja, seu nome completo, incluindo o nome da máquina e o domínio que será utilizado, como em &quot;centos.gdhn.com.br&quot;:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMLQEdwumCeWZ1gqD5UpJsTcjQI-vjgABN2xWK84dEkk93vLC506OFk8ZQX8pXjW_KIVeEaS2IKpxsmGTLJT7osmssufy138kuZZji72H1bH-jX6wUZJe7SVfipWZD7XIZqyR_LXOICmiM/s1600/5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMLQEdwumCeWZ1gqD5UpJsTcjQI-vjgABN2xWK84dEkk93vLC506OFk8ZQX8pXjW_KIVeEaS2IKpxsmGTLJT7osmssufy138kuZZji72H1bH-jX6wUZJe7SVfipWZD7XIZqyR_LXOICmiM/s320/5.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Depois de ajustar o fuso-horário e definir as senhas do sistema, chegamos à seleção dos pacotes que serão instalados. Todas as categorias disponíveis são opcionais, de forma que se você simplesmente desmarcar todas, fará uma instalação minimalista do sistema, em modo texto.&lt;br /&gt;
&lt;br /&gt;
As categorias importantes no nosso caso são a &quot;Server&quot; (a seleção padrão de pacotes, incluindo o Samba, Apache, FTP, etc.) e, opcionalmente, a &quot;Server-GUI&quot;, que instala o ambiente gráfico e as ferramentas gráficas de administração. É interessante ativar também o &quot;Packages from CentOS Extras&quot;, que torna disponível um conjunto de pacotes adicionais, disponibilizados pela equipe do CentOS.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxAqN9hIthwRIiB7F1T_SWV6Conp0MH2tyeywCuhcvzMh1aMxRYAAWxvOHMOqUqgxiQq538NA_f1HYvca72opkhF0yeGweU_Re85Nm3GzrmHxLywTyLukvG32PeuTtWgFxF2zaXqLeG_Ew/s1600/6.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxAqN9hIthwRIiB7F1T_SWV6Conp0MH2tyeywCuhcvzMh1aMxRYAAWxvOHMOqUqgxiQq538NA_f1HYvca72opkhF0yeGweU_Re85Nm3GzrmHxLywTyLukvG32PeuTtWgFxF2zaXqLeG_Ew/s320/6.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Marcando a opção &quot;Personalizar agora&quot; você tem acesso ao menu de seleção de pacotes. Se você marcou a categoria &quot;Server-GUI&quot; ou uma das categorias desktop, você notará que os pacotes referentes ao X, além do Gnome ou KDE e um conjunto de aplicativos gráficos estarão marcados.&lt;br /&gt;
&lt;br /&gt;
Assim como o Fedora, o CentOS inclui um conjunto de aplicativos gráficos para configuração do sistema que podem ser úteis em muitas situações, de forma que muitos administradores preferem manter o ambiente gráfico instalado, mesmo em servidores que serão apenas acessados remotamente. Você pode perfeitamente manter os pacotes relacionados ao ambiente gráfico instalados, mas manter o ambiente gráfico inativo enquanto não o estiver usando (de forma a não consumir recursos do servidor).&lt;br /&gt;
&lt;br /&gt;
Nas primeiras instalações, recomendo que desmarque os pacotes dentro da categoria &quot;Servidores&quot; e instale cada serviço manualmente, assim você pode estudar melhor o processo de configuração de cada um:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSvp-Og8G0bpt6F0KcqAoMecxAkD2z865cwLcI9-sKAtendonnHm7pvvseQI9d9vlhdPs1t4Ac-51J-lvDMslk9MixO_JSz95GUxU-qFixlslhWYBplQsgI9pqoK4UtNi971MRsDXld6ak/s1600/7.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSvp-Og8G0bpt6F0KcqAoMecxAkD2z865cwLcI9-sKAtendonnHm7pvvseQI9d9vlhdPs1t4Ac-51J-lvDMslk9MixO_JSz95GUxU-qFixlslhWYBplQsgI9pqoK4UtNi971MRsDXld6ak/s320/7.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Diferentemente do Red Hat Enterprise, que possui versões distintas para servidores (Red Hat Enterprise Linux), servidores de missão crítica (Red Hat Enterprise Linux Advanced Platform) e para estações de trabalho (Red Hat Enterprise Linux Desktop), cada uma contendo uma coleção de pacotes específicos para as tarefas a que são destinadas, o CentOS é uma distribuição unificada, que simplesmente inclui todos os pacotes disponíveis nos repositórios.&lt;br /&gt;
&lt;br /&gt;
Isso significa que, além de ser usado como servidor, que é o que estudaremos aqui, o CentOS também pode ser usado como sistema desktop, já que inclui o Gnome, KDE e um conjunto bastante completo de aplicativos que podem ser marcados durante a instalação.&lt;br /&gt;
&lt;br /&gt;
Depois de concluída a cópia dos arquivos, é aberto um agente de configuração (que no RHEL é chamado de Red Hat Setup Agent), que conclui a configuração do sistema. Duas opções importantes são a configuração do firewall e do SELinux.&lt;br /&gt;
&lt;br /&gt;
O configurador do firewall é na verdade um wizard, que permite que você selecione as portas referentes aos serviços que ficarão ativos no servidor (as portas selecionadas são abertas e todas as demais fechadas) e, a partir das respostas, gera as regras correspondentes para o IPtables, que é o firewall propriamente dito. Além das portas dos serviços padrão, você pode adicionar manualmente qualquer porta que precisar manter aberta. No exemplo estou abrindo a porta 901, usada pelo swat:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpOSd7hqp4JIGzXWvlhFm2Q4Y2rMlSRO90eIPkohtS_sGuu9q8F6cIDBuEjmc-sYewCBzk2PLz6QJ6n6VUE5CiKIjYcjNdu-owoX31qzwJd7ZuJSfumF1Q1XJFUkZxzdnofYU7O4dpu2R0/s1600/8.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpOSd7hqp4JIGzXWvlhFm2Q4Y2rMlSRO90eIPkohtS_sGuu9q8F6cIDBuEjmc-sYewCBzk2PLz6QJ6n6VUE5CiKIjYcjNdu-owoX31qzwJd7ZuJSfumF1Q1XJFUkZxzdnofYU7O4dpu2R0/s320/8.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Você pode ajustar a configuração do firewall após a instalação através do utilitário &quot;system-config-securitylevel&quot; (disponível no Sistema &amp;gt; Administração &amp;gt; Nível de Segurança e Firewall). Existe também uma versão em modo texto do aplicativo, o &quot;system-config-securitylevel-tui&quot;, que pode ser acessada via terminal (e inclusive remotamente, via SSH).&lt;br /&gt;
&lt;br /&gt;
É possível também desativar a configuração do firewall e configurar as regras do IPtables manualmente, como veremos a seguir. Escrever um script de firewall é mais simples do que pode parecer à primeira vista.&lt;br /&gt;
&lt;br /&gt;
Enquanto estiver estudando, recomendo que faça justamente isso; desativando o firewall na configuração e configurando o IPtables manualmente. Isso evita que você se depare com problemas inesperados introduzidos por portas fechadas no firewall. Depois que você entender a configuração manual do IPtables, pode voltar a configurar o firewall através do wizard caso prefira.&lt;br /&gt;
&lt;br /&gt;
Continuando, temos o SELinux (Secure Linux), um sistema que visa reforçar a segurança do sistema, aplicando um conjunto de diretivas rígidas de segurança. O grande problema é que o SELinux interfere no funcionamento de um grande volume de serviços e de softwares adicionais, o que torna necessário criar exceções para cada caso.&lt;br /&gt;
&lt;br /&gt;
Isso faz com que o modo &quot;Enforcing&quot; (Forçando) do SELinux seja aconselhável apenas em situações onde a segurança realmente seja um fator crítico e onde o administrador possua profundos conhecimentos do sistema, de forma a diagnosticar problemas causados pelas políticas de segurança e criar as exceções necessárias. Um meio termo é o nível &quot;Permissive&quot; (permissivo), onde o SELinux é aplicado apenas a alguns serviços específicos (o Apache e o Bind, por exemplo) e age apenas em relação a eles.&lt;br /&gt;
&lt;br /&gt;
Mesmo sem o SELinux, o CentOS é uma distribuição bastante segura. Enquanto você estiver estudando sobre o sistema e utilizando-o em servidores de rede local, é interessante desativar o sistema. Com isso, você evita situações onde determinados serviços não estão funcionando (apesar da configuração estar correta) por causa das restrições do SELinux.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRTF0pVTUROwRoImdCMGnbeZ1J5aQ3jf_K5LoWnhP4pXxKyPRH0Kw9PbKIlbdV6NOwRfm9ERdQCmqlTOw9vu7pm-ido5lX0gVCz1yj8eWJCaB-7npvZSKnYiQVCLyTTvf8Pl1Fs7JBzNQ0/s1600/9.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRTF0pVTUROwRoImdCMGnbeZ1J5aQ3jf_K5LoWnhP4pXxKyPRH0Kw9PbKIlbdV6NOwRfm9ERdQCmqlTOw9vu7pm-ido5lX0gVCz1yj8eWJCaB-7npvZSKnYiQVCLyTTvf8Pl1Fs7JBzNQ0/s320/9.jpg&quot; height=&quot;239&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Para desativá-lo depois da instalação, edite o arquivo &quot;/etc/selinux/config&quot; e substitua a linha &quot;SELINUX=enforcing&quot; ou &quot;SELINUX=permissive&quot; por:&lt;br /&gt;
&lt;br /&gt;
SELINUX=disabled&lt;br /&gt;
&lt;br /&gt;
É necessário reiniciar o micro para que a alteração entre em vigor. O reboot demora alguns minutos, pois o sistema precisa realizar um conjunto de modificações nos arquivos.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxbin.blogspot.com/feeds/8753570624871818491/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://linuxbin.blogspot.com/2012/07/instalacao-do-centos-para-quem-nao-tem.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default/8753570624871818491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default/8753570624871818491'/><link rel='alternate' type='text/html' href='http://linuxbin.blogspot.com/2012/07/instalacao-do-centos-para-quem-nao-tem.html' title='Instalação do centos.'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17502797425214200512</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdSoKBFXxbwD_gW8Q4Dl8WXBEsqjQOgZZlK2JUkucvVsGTuOXeee-RmbNGfOi9VXFjbqdr1aJ3Tu8xB1X6QQ_dNKoFE5J9_G4QkCA_SK9s24G1OGrqjeavdk3tZCkBR6Vm0lqZb7SdDef4/s72-c/1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5629484823849678152.post-705737635273307822</id><published>2012-07-27T13:28:00.003-03:00</published><updated>2012-07-27T14:14:56.428-03:00</updated><title type='text'>O Linux.</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Linux é um termo popularmente utilizado para se referir a sistemas operativos (português europeu) ou sistemas operacionais (português brasileiro) que utilizem o núcleo Linux. O núcleo Linux foi desenvolvido pelo programador finlandês Linus Torvalds, inspirado no sistema Minix. O seu código fonte está disponível sob a licença GPL para que qualquer pessoa o possa utilizar, estudar, modificar e distribuir livremente de acordo com os termos da licença.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Inicialmente desenvolvido e utilizado por grupos de entusiastas em computadores pessoais, os sistemas operativos ou sistemas operacionais com núcleo Linux passaram a ter a colaboração de grandes empresas como IBM, Sun Microsystems, Hewlett-Packard (HP), Red Hat, Novell, Oracle, Google, Mandriva e Canonical.Apoiado por pacotes igualmente estáveis e cada vez mais versáteis de softwares livres para escritório (LibreOffice, por exemplo) ou de uso geral (projeto GNU) e por programas para micro e pequenas empresas que na maioria dos casos em nada ficam a dever aos seus concorrentes proprietários, e interfaces gráficas cada vez mais amigáveis como o KDE e o GNOME, o núcleo linux, conhecido por sua estabilidade e robustez, tem gradualmente caído no domínio popular, encontrando-se cada vez mais presente nos computadores de uso pessoal atuais. Há muito entretanto destaca-se como o núcleo preferido em servidores de grandes porte, encontrando-se quase sempre presente nos mainframes de grandes empresas comerciais e até mesmo no computador mais rápido do mundo, o K computer, japonês (lista TOP500).O núcleo Linux foi, originalmente, escrito por Linus Torvalds do Departamento de Ciência da Computação da Universidade de Helsinki, Finlândia, com a ajuda de vários programadores voluntários através da Usenet (uma espécie de sistema de listas de discussão existente desde os primórdios da Internet).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Linus Torvalds começou o desenvolvimento do núcleo como um projeto particular, inspirado pelo seu interesse no Minix, um pequeno sistema UNIX desenvolvido por Andrew S. Tanenbaum. Ele limitou-se a criar, nas suas próprias palavras, &quot;um Minix melhor que o Minix&quot; (&quot;a better Minix than Minix&quot;). E depois de algum tempo de trabalho no projecto, sozinho, enviou a seguinte mensagem para comp.os.minix:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Você suspira pelos bons tempos do Minix-1.1, quando os homens eram homens e escreviam seus próprios &quot;device drivers&quot;? Você está sem um bom projecto em mãos e deseja trabalhar num S.O. que possa modificar de acordo com as suas necessidades? Acha frustrante quando tudo funciona no Minix? Chega de noite ao computador para conseguir que os programas funcionem? Então esta mensagem pode ser exactamente para você. Como eu mencionei há um mês atrás, estou trabalhando numa versão independente de um S.O. similar ao Minix para computadores AT-386. Ele está, finalmente, próximo do estado em que poderá ser utilizado (embora possa não ser o que você espera), e eu estou disposto a disponibilizar o código-fonte para ampla distribuição. Ele está na versão 0.02... contudo eu tive sucesso ao executar bash, gcc, gnu-make, gnu-sed, compress etc. nele.&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Curiosamente, o nome Linux foi criado por Ari Lemmke, administrador do site ftp.funet.fi que deu esse nome ao diretório FTP onde o núcleo Linux estava inicialmente disponível.[4] (Linus tinha-o baptizado como &quot;Freax&quot;, inicialmente)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;No dia 5 de outubro de 1991 Linus Torvalds anunciou a primeira versão &quot;oficial&quot; do núcleo Linux, versão 0.02. Desde então muitos programadores têm respondido ao seu chamado, e têm ajudado a fazer do Linux o sistema operacional que é hoje. No início era utilizado por programadores ou só por quem tinha conhecimentos, usavam linhas de comando. Hoje isso mudou, existem diversas empresas que criam os ambientes gráficos, as distribuições cada vez mais amigáveis de forma que uma pessoa com poucos conhecimentos consegue usar o Linux. Hoje o Linux é um sistema estável e consegue reconhecer muitos periféricos sem a necessidade de se instalar os drivers de som, vídeo, modem, rede, entre outros.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxbin.blogspot.com/feeds/705737635273307822/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://linuxbin.blogspot.com/2012/07/o-linux.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default/705737635273307822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default/705737635273307822'/><link rel='alternate' type='text/html' href='http://linuxbin.blogspot.com/2012/07/o-linux.html' title='O Linux.'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17502797425214200512</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5629484823849678152.post-7485392595748590311</id><published>2012-07-26T17:05:00.002-03:00</published><updated>2012-07-26T21:02:18.979-03:00</updated><title type='text'>Ip Fixo Linux.</title><content type='html'>&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN0yR-_sTx9CMKLwfqNZPIf4BJnxCwt2cg4gQbSwA-mT0olOFDvxS9-OPIG0lxxdlbZTuwjjSVVdpuBxt3W1iTmm-SKFoOqPYY1sy4soqEqua-nSrXB3LdGxaIJgptaAIZ0jn19yxXaH-v/s1600/70-persistent-net-rules-vi-before.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN0yR-_sTx9CMKLwfqNZPIf4BJnxCwt2cg4gQbSwA-mT0olOFDvxS9-OPIG0lxxdlbZTuwjjSVVdpuBxt3W1iTmm-SKFoOqPYY1sy4soqEqua-nSrXB3LdGxaIJgptaAIZ0jn19yxXaH-v/s200/70-persistent-net-rules-vi-before.png&quot; width=&quot;200&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;div style=&quot;line-height: 100%;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;

 
 
 


&lt;br /&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;

 
 
 


&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: &#39;Bitstream Charter&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;exemplo
de ip fixo no linux debian....&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: &#39;Bitstream Charter&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;Dentro
de /etc/network/interfaces configurar como usuário root o ip fixo do
servidor:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: &#39;Bitstream Charter&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;#Interface
Loopback&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: &#39;Bitstream Charter&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;Auto
lo&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: &#39;Bitstream Charter&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;Iface
lo inet loopback&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: &#39;Bitstream Charter&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;Auto
eth0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: &#39;Bitstream Charter&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;Iface
eth0 inet static&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial;&quot;&gt;
         &lt;span style=&quot;font-family: &#39;Bitstream Charter&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;Address:
     000.000.000.000&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial;&quot;&gt;
         &lt;span style=&quot;font-family: &#39;Bitstream Charter&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;Netmask:
    000.000.000.000&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial;&quot;&gt;
         &lt;span style=&quot;font-family: &#39;Bitstream Charter&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;Network
     000.000.000.000&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial;&quot;&gt;
         &lt;span style=&quot;font-family: &#39;Bitstream Charter&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;Broadcast
   000.000.000.000&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial;&quot;&gt;
         &lt;span style=&quot;font-family: &#39;Bitstream Charter&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;Gateway
     000.000.000.000&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h1 class=&quot;western&quot; style=&quot;line-height: 100%;&quot;&gt;



&lt;/h1&gt;
&lt;h1 class=&quot;western&quot; style=&quot;line-height: 100%;&quot;&gt;



&lt;/h1&gt;
&lt;h1 class=&quot;western&quot; style=&quot;line-height: 100%;&quot;&gt;



&lt;/h1&gt;
&lt;h1 class=&quot;western&quot; style=&quot;line-height: 100%;&quot;&gt;



&lt;/h1&gt;
&lt;/div&gt;
&lt;div style=&quot;line-height: 100%; margin-bottom: 0cm;&quot;&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxbin.blogspot.com/feeds/7485392595748590311/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://linuxbin.blogspot.com/2012/07/ip-fixo-linux.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default/7485392595748590311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default/7485392595748590311'/><link rel='alternate' type='text/html' href='http://linuxbin.blogspot.com/2012/07/ip-fixo-linux.html' title='Ip Fixo Linux.'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17502797425214200512</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN0yR-_sTx9CMKLwfqNZPIf4BJnxCwt2cg4gQbSwA-mT0olOFDvxS9-OPIG0lxxdlbZTuwjjSVVdpuBxt3W1iTmm-SKFoOqPYY1sy4soqEqua-nSrXB3LdGxaIJgptaAIZ0jn19yxXaH-v/s72-c/70-persistent-net-rules-vi-before.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5629484823849678152.post-8890561256140552574</id><published>2012-07-26T12:54:00.001-03:00</published><updated>2012-07-27T14:15:10.827-03:00</updated><title type='text'>Conexão com rede wireless.</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5N-hjiGnZgebmnN-jmh7AKyHqrGwdhyEBFnthN0VTOg2nZB3drpczQCMg3FYZ7iMKA4-X2XyG1Sud8rz1SgEtdg1jVSOfel6KdHyt67GZX5Xfn0ZxE6OqGRE5XduQOpnUpx5qQySyHl1_/s1600/wireless_site.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5N-hjiGnZgebmnN-jmh7AKyHqrGwdhyEBFnthN0VTOg2nZB3drpczQCMg3FYZ7iMKA4-X2XyG1Sud8rz1SgEtdg1jVSOfel6KdHyt67GZX5Xfn0ZxE6OqGRE5XduQOpnUpx5qQySyHl1_/s200/wireless_site.jpg&quot; width=&quot;129&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: #45818e; font-family: &#39;Times New Roman&#39;;&quot;&gt;Vai ai uma
postagem pra quem já teve muita dificuldade ao configurar rede
wireless em nootebocks ou placas de rede sem fio, no começo parece
ser um pouco difícil mas depois de reperti-los por muitas e muitas
vezes acaba se torando automático, o interessante não é se focar
nos comando e sim procurar entendelos....&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Como conectar em uma rede sem fio com o Debian Squeeze?&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
O primeiro passo é
subir a placa com o comando:&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
# ifconfig wlan0 up&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Observe o “#” antes
do comando. Isto significa que o comando deve ser executado como root
(Super Usuário). Se você estiver usando notebook veja se ativou a
placa com o teclado, no meu caso é: fn + f11?.&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Rode o comando para
verificar as redes disponíveis:&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
# iwlist wlan0 scan&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
A resposta para o
comando será mais ou menos isto:&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
wlan0     Scan
completed :&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Cell 01 -
Address: 00:5E:73:21:EE:EF&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Channel:1&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Frequency:2.412 GHz (Channel 1)&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Quality=68/70  Signal level=-42 dBm&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Encryption key:on&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
ESSID:&quot;WIFI&quot;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Bit
Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
9 Mb/s; 12 Mb/s; 18 Mb/s&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Bit
Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Mode:Master&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Extra:tsf=00000008afb1d109&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Extra: Last beacon: 1088ms ago&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
IE:
Unknown: 00055743415357&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
IE:
Unknown: 010882848B960C121824&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
IE:
Unknown: 030101&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
IE:
Unknown: 2A0100&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
IE:
Unknown: 32043048606C&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
IE:
IEEE 802.11i/WPA2 Version 1&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Group Cipher : CCMP&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Pairwise Ciphers (1) : CCMP&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Authentication Suites (1) : PSK&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
IE:
Unknown: DD0700E04C01020300&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Observe as duas partes
em negrito:&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Encryption Key: on
(Significa que não é uma rede pública, necessita de chave de
segurança).&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
ESSID: &quot;Wifi&quot;
(O nome da conexã é WIFI).&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Na linha:&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
IE: IEEE 802.11i/wpa2
version 1 (Mostra que a conexão usa criptografia wpa2).&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Para se conectar em uma
rede pública sem criptografia o comando é:&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
# iwconfig wlan0 essid
Nome_da_conexão&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Rede com conexão WEP&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
# iwconfig wlan0 essid
Nome_da_conexão Key Senha_da_conexão&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Rede de conexão WAP&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
# wpa_passphrase
Nome_da_conexão senha &amp;gt; /etc/wpa_supplicant/wpa_supplicant.conf&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
# wpa_supplicant -i
wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -B -D wext&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Dhcp Habilitado na rede&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Se sua rede usa
servidor DHCP como (Roteador sem fio para conexão de internet banda
larga)&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Use somente o comando:&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
# dhclient wlan&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Configurar rede
manualmente&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
# ifconfig wlan0
192.168.0.100 netmask 255.255.255.0&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Com este comando você
define o IP e a máscara de sub-rede.&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Adicione os servidores
de nome (DNS) no arquivo:&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
/etc/resolv.conf&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Exemplo:&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
nameserver 10.1.70.254&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Agora coloque o
Gateway:&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
# route add default gw
10.1.70.254&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Iniciar conexão no
boot&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Coloque as seguintes
configurações no arquivo /etc/network/interfaces:&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Para conexão com
servidor DHCP:&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
auto wlan0&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
iface wlan0 inet dhcp&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
wireless-essid
Nome_da_Rede&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
pre-up wpa_supplicant
-i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -wB -D wext&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
post-down killall -q
wpa_supplicant&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Para conexão manual:&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
auto wlan0&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
iface wlan0 inet static&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
address 192.168.0.100&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
netmask 255.255.255.0&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
gateway 192.168.0.1&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
wireless-essid WIFI&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
pre-up wpa_supplicant
-i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -B -D wext&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
post-down killall -q
wpa_supplicant&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Fonte, com opções
para Fedora e Slackware:&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxbin.blogspot.com/feeds/8890561256140552574/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://linuxbin.blogspot.com/2012/07/blog-post.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default/8890561256140552574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5629484823849678152/posts/default/8890561256140552574'/><link rel='alternate' type='text/html' href='http://linuxbin.blogspot.com/2012/07/blog-post.html' title='Conexão com rede wireless.'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17502797425214200512</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5N-hjiGnZgebmnN-jmh7AKyHqrGwdhyEBFnthN0VTOg2nZB3drpczQCMg3FYZ7iMKA4-X2XyG1Sud8rz1SgEtdg1jVSOfel6KdHyt67GZX5Xfn0ZxE6OqGRE5XduQOpnUpx5qQySyHl1_/s72-c/wireless_site.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>