<?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-7613478666243281200</id><updated>2024-09-26T23:44:08.890-03:00</updated><category term="linux"/><category term="ubuntu"/><category term="10.04"/><category term="tutorial"/><category term="html"/><category term="html5"/><category term="netboot"/><category term="preseed"/><category term="rede"/><category term="apt-cacher"/><category term="grub"/><category term="instalação"/><category term="migração"/><category term="pxe"/><category term="script"/><category term="servidor"/><category term="2"/><category term="9.04"/><category term="automática"/><category term="configurar"/><category term="dhcp"/><category term="diagramação"/><category term="estrutura"/><category term="grub2"/><category term="lts"/><category term="mirror"/><category term="repositorios"/><category term="alterar"/><category term="alternate"/><category term="apache"/><category term="apt"/><category term="area"/><category term="article"/><category term="aumentar"/><category term="basica"/><category term="boot"/><category term="box"/><category term="cacher"/><category term="canvas"/><category term="conexão"/><category term="configuração"/><category term="contagem"/><category term="criar"/><category term="curso"/><category term="de"/><category term="diagramacao"/><category term="diagrmacao"/><category term="dica"/><category term="doctype"/><category term="estatico"/><category term="estruturacao"/><category term="estruturação"/><category term="experiencias"/><category term="fixo"/><category term="footer"/><category term="game"/><category term="games"/><category term="header"/><category term="hgroup"/><category term="informatica"/><category term="informação"/><category term="instalar"/><category term="introducao"/><category term="introdução"/><category term="ip"/><category term="java"/><category term="javascript"/><category term="jogo"/><category term="jogos"/><category term="js"/><category term="laboratorio"/><category term="mode"/><category term="modo"/><category term="nav"/><category term="pbkdf2"/><category term="proteger"/><category term="recovery"/><category term="recuperação"/><category term="regressiva"/><category term="resolução"/><category term="restaurar"/><category term="retorno"/><category term="section"/><category term="senha"/><category term="sistema"/><category term="ssh"/><category term="tags"/><category term="tecnico"/><category term="tecnologia"/><category term="tftp"/><category term="ti"/><category term="trabalho"/><category term="usuario"/><category term="virtual"/><category term="virtualbox"/><category term="volta"/><title type='text'>GCM Info</title><subtitle type='html'>Linux, programação, design e muito mais!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gcminfo.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://gcminfo.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Guilherme</name><uri>http://www.blogger.com/profile/03589336606692745310</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiisfHGDJ7I_MeeEhaFYsXHFLSxSVQi7IIAOgq3XLtByZlsmm8d9K7_A_1e2ZH1ZijUVeLovYcFNzvYkQA79K3qSRMP1U4RMhzI-JqOGCV5upXoQAmmDzeetKPocGkJvdg/s220/tbav12100ew1.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7613478666243281200.post-7860719218779894972</id><published>2012-10-03T22:44:00.000-03:00</published><updated>2012-10-03T22:47:52.286-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="canvas"/><category scheme="http://www.blogger.com/atom/ns#" term="game"/><category scheme="http://www.blogger.com/atom/ns#" term="games"/><category scheme="http://www.blogger.com/atom/ns#" term="html"/><category scheme="http://www.blogger.com/atom/ns#" term="html5"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="jogo"/><category scheme="http://www.blogger.com/atom/ns#" term="jogos"/><category scheme="http://www.blogger.com/atom/ns#" term="js"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>Tutorial HTML 5 - Jogos</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Olá pessoal!&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Depois de alguns meses, estou aqui novamente...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Desta vez, venho rapidamente para deixar um tutorial externo para a criação de jogos 2D em HTML5 (Canvas + JS). Como o último assunto que eu estava tratando aqui no Blog era exatamente a nova &quot;versão&quot; do HTML, achei que seria interessante divulgar um tutorial bem legal sobre o desenvolvimento de jogos utilizando os novos recursos da mesma.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Infelizmente, ele se encontra em inglês, mas, mesmo que você não tenha o domínio de tal idioma, recomendo muito que dê uma olhada, mesmo que precise utilizar um tradutor.&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.html5rocks.com/en/tutorials/canvas/notearsgame/&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;HTML5 Rocks - No Tears Guide to HTML5 Games&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Nesse site, inclusive, há um amontoado de tutoriais sobre HTML5 (bom, esse é um dos objetivos dele), portanto, façam bom proveito!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Se quiserem um exemplo de joguinho sendo desenvolvido baseado nesse tutorial, podem &lt;a href=&quot;http://gcminfo.tk/semnome/&quot;&gt;conferir uma &quot;aberração&quot; que estou desenvolvendo&lt;/a&gt; para um trabalho da faculdade (disciplina de Desenvolvimento de Páginas Web).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Creio que isto seja tudo por enquanto...&lt;br /&gt;Até a próxima!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PS: Quanto ao tutorial de HTML5 que eu estava fazendo e quanto a própria continuidade de blog, pretendo dar seguimento a ambos, porem ainda não possuo uma previsão de quando irei trazer este blog de &quot;volta a vida&quot;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://gcminfo.blogspot.com/feeds/7860719218779894972/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://gcminfo.blogspot.com/2012/10/tutorial-html-5-jogos.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/7860719218779894972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/7860719218779894972'/><link rel='alternate' type='text/html' href='http://gcminfo.blogspot.com/2012/10/tutorial-html-5-jogos.html' title='Tutorial HTML 5 - Jogos'/><author><name>Guilherme</name><uri>http://www.blogger.com/profile/03589336606692745310</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiisfHGDJ7I_MeeEhaFYsXHFLSxSVQi7IIAOgq3XLtByZlsmm8d9K7_A_1e2ZH1ZijUVeLovYcFNzvYkQA79K3qSRMP1U4RMhzI-JqOGCV5upXoQAmmDzeetKPocGkJvdg/s220/tbav12100ew1.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7613478666243281200.post-1938748773031485724</id><published>2012-05-27T18:10:00.002-03:00</published><updated>2012-05-28T09:04:43.214-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="article"/><category scheme="http://www.blogger.com/atom/ns#" term="diagramacao"/><category scheme="http://www.blogger.com/atom/ns#" term="diagramação"/><category scheme="http://www.blogger.com/atom/ns#" term="estrutura"/><category scheme="http://www.blogger.com/atom/ns#" term="estruturacao"/><category scheme="http://www.blogger.com/atom/ns#" term="estruturação"/><category scheme="http://www.blogger.com/atom/ns#" term="footer"/><category scheme="http://www.blogger.com/atom/ns#" term="header"/><category scheme="http://www.blogger.com/atom/ns#" term="hgroup"/><category scheme="http://www.blogger.com/atom/ns#" term="html"/><category scheme="http://www.blogger.com/atom/ns#" term="html5"/><category scheme="http://www.blogger.com/atom/ns#" term="nav"/><category scheme="http://www.blogger.com/atom/ns#" term="section"/><category scheme="http://www.blogger.com/atom/ns#" term="tags"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>Tutorial HTML 5, parte 2 - Diagramação</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Vamos a questão da diagramação!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Anteriormente, quando fazíamos a diagramação de nossos sites, utilizávamos &amp;lt;div&amp;gt;, &amp;lt;div&amp;gt; e mais &amp;lt;div&amp;gt;... bom, isso não mudou muito, porem, agora, ao invés de criarmos um &amp;lt;div&amp;gt; para para definirmos os setores de nosso layout, temos um conjunto de tags para tornar mais lógica a distribuição do conteúdo de nossas páginas, facilitando o trabalho de ferramentas de indexação e, até mesmo, de acessibilidade. São essas tags:&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;lt;header&amp;gt;&amp;lt;/header&amp;gt; : define o &quot;cabeçalho&quot; de sua página ou de seções da mesma, ou seja, na maioria dos sites, onde ficam o logotipo e/ou título da página e opções de navegação, e, no caso de seções, onde se encontram o título e eventuais descrições;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;lt;nav&amp;gt;&amp;lt;/nav&amp;gt; : define as opções de navegação, ou seja, é a área onde se definem os menus (listas) de navegação para as páginas de seu site;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;lt;article&amp;gt;&amp;lt;/article&amp;gt; : define um artigo ou, de forma mais &quot;clara&quot;, uma área de página que reúne um determinado tipo de conteúdo, como, por exemplo, as de postagens de um blog;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;lt;section&amp;gt;&amp;lt;/section&amp;gt; : define uma seção &quot;genérica&quot; de uma página, ou seja, uma parte &quot;qualquer&quot; de uma página (eu, normalmente, o utilizo para separar elementos relacionados, como, no caso de um blog, cada post);&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;lt;aside&amp;gt;&amp;lt;/aside&amp;gt; : define uma área lateral ao conteúdo principal da página, como uma barra lateral ou menu lateral (se fossemos utilizar este blog como exemplo e ele fosse construído utilizando HTML 5, a área a direita desta postagem poderia ser montada dentro de uma tag &quot;aside&quot;);&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;lt;footer&amp;gt;&amp;lt;/footer&amp;gt; : assim como a tag &amp;lt;header&amp;gt; define um cabeçalho, a tag &amp;lt;footer&amp;gt; define um rodapé, seja de uma página, seja de uma seção.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Atualmente, com HTML 5, a estruturação de uma página se baseia principalmente nesses elementos. A tag &quot;div&quot; com função de &quot;container&quot;, hoje em dia, eu diria servir apenas para definir as propriedades do corpo (body). O uso de &quot;divs&quot; para o estruturar o conteúdo dos elementos citados, continua, praticamente, o mesmo, porem já existem alguns elementos para algumas dessas &quot;utilidades&quot;, como é o caso da tag &amp;lt;hgroup&amp;gt;, que agrupa elementos de cabeçalho (h1 a h6) subsequentes em uma página (por exemplo, quando temos um título e um subtítulo utilizando, respectivamente, as tag &amp;lt;h1&amp;gt; e &amp;lt;h2&amp;gt;, podemos agrupá-los em uma tag &amp;lt;hgroup&amp;gt;&amp;lt;/hgroup&amp;gt;).&lt;br /&gt;Para demonstrar esse novo método de estruturação, abaixo segue um exemplo teórico e bem simples (sem qualquer conteúdo), seguido de um link para um exemplo &quot;prático&quot; bem simples que eu, inclusive, utilizei recentemente para um trabalho da faculdade.&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;1:  &amp;lt;!DOCTYPE html&amp;gt;  
2:  &amp;lt;html&amp;gt;  
3:  &amp;lt;head&amp;gt;  
4:       &amp;lt;title&amp;gt;Meu blog&amp;lt;/title&amp;gt;  
5:  &amp;lt;/head&amp;gt;  
6:  &amp;lt;body&amp;gt;  
7:       &amp;lt;header&amp;gt;  
8:            &amp;lt;h1&amp;gt;Meu blog&amp;lt;/h1&amp;gt;  
9:            &amp;lt;nav&amp;gt;  
10:                 &amp;lt;ul&amp;gt;  
11:                      &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Home&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;  
12:                      &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Outra página&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;  
13:                      &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Uma terceira página&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;  
14:                 &amp;lt;/ul&amp;gt;  
15:            &amp;lt;/nav&amp;gt;  
16:       &amp;lt;/header&amp;gt;       
17:         
18:       &amp;lt;article id=&quot;art_postagens&quot;&amp;gt;  
19:              
20:            &amp;lt;section class=&quot;postagem&quot;&amp;gt;  
21:                 &amp;lt;header&amp;gt;  
22:                      &amp;lt;hgroup&amp;gt;  
23:                           &amp;lt;h3&amp;gt;Seja bem vindo ao blog &quot;Meu blog&quot;!&amp;lt;/h3&amp;gt;  
24:                           &amp;lt;h4&amp;gt;Aqui você encontra muito conteúdo interessante&amp;lt;/h4&amp;gt;  
25:                      &amp;lt;/hgroup&amp;gt;                      
26:                 &amp;lt;/header&amp;gt;  
27:                 &amp;lt;div class=&quot;sectioncontent&quot;&amp;gt;  
28:                      &amp;lt;p&amp;gt;Este é apenas um texto introdutório, com o intuito de promover esta página...&amp;lt;/p&amp;gt;  
29:                      &amp;lt;p&amp;gt;Falta de criatividade para redigir um texto que faça algum sentido para um mero exemplo é um problema.&amp;lt;/p&amp;gt;  
30:                 &amp;lt;/div&amp;gt;       
31:            &amp;lt;/section&amp;gt;  
32:              
33:            &amp;lt;section class=&quot;postagem&quot;&amp;gt;  
34:                 &amp;lt;header&amp;gt;  
35:                      &amp;lt;hgroup&amp;gt;  
36:                           &amp;lt;h3&amp;gt;Uma segunda postagem qualquer...&amp;lt;/h3&amp;gt;  
37:                           &amp;lt;h4&amp;gt;Nãoi consegui pensar em nada melhor para escrever aqui.&amp;lt;/h4&amp;gt;  
38:                      &amp;lt;/hgroup&amp;gt;                      
39:                 &amp;lt;/header&amp;gt;  
40:                 &amp;lt;div class=&quot;sectioncontent&quot;&amp;gt;  
41:                      &amp;lt;p&amp;gt;Ainda bem que escolhi fazer Sistemas de Informação a Letras, pois não tenho a mínima criatividade para escrever.&amp;lt;/p&amp;gt;  
42:                 &amp;lt;/div&amp;gt;       
43:            &amp;lt;/section&amp;gt;  
44:              
45:       &amp;lt;/article&amp;gt;  
46:         
47:       &amp;lt;aside id=&quot;sidebar_amigos&quot;&amp;gt;  
48:            &amp;lt;section class=&quot;listablogs&quot;&amp;gt;  
49:                 &amp;lt;h4&amp;gt;Blogs amigos:&amp;lt;/h4&amp;gt;  
50:                 &amp;lt;ul&amp;gt;  
51:                           &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;GcmInfo&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;  
52:                           &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Blog do José&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;  
53:                           &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Blog da Maria&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;  
54:                 &amp;lt;/ul&amp;gt;  
55:            &amp;lt;/section&amp;gt;  
56:       &amp;lt;/aside&amp;gt;  
57:         
58:       &amp;lt;footer&amp;gt;  
59:            &amp;lt;p&amp;gt;Desenvolvido por Guilherme Caeiro de Mattos.&amp;lt;/p&amp;gt;  
60:       &amp;lt;/footer&amp;gt;  
61:         
62:  &amp;lt;/body&amp;gt;  
63:  &amp;lt;/html&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Agora, ao exemplo mais prático:&lt;br /&gt;Para visualizá-lo, basta clicar em &quot;exemplo&quot; abaixo e, para visualizar o código do mesmo, basta, em seu navegador, procurar pela opção &quot;Visualizar/Exibir código fonte&quot; ou, na maioria dos casos, apertar em seu teclado &quot;CTRL + U&quot;.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://c130.50webs.com/gcminfo/html5/exemplo1/&quot;&gt;Exemplo&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&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;Bom, acho que isto foi tudo por enquanto.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;Quanto ao próximo post, não tenho certeza do que irei tratar, porem, quando resolver isso, editarei esta postagem e começarei a escrever a próxima.&lt;br /&gt;Ah! Também é possível que eu edite esta para adicionar algo que possa ter ficado faltando (por exemplo, estou pensando em comentar o código HTML postado aqui, apesar de o mesmo já ser meio &quot;auto explicativo&quot;.&lt;/span&gt;&lt;br /&gt;
&lt;hr /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Tutorial HTML 5, parte 3 - ...&lt;/span&gt;&lt;br /&gt;
&lt;hr /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;As formatações &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_136&quot;&gt;efetuadas&lt;/span&gt; nos comandos e  trechos de arquivos de configuração foram geradas utilizando a  &quot;ferramenta&quot; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_137&quot;&gt;Source&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_138&quot;&gt;Code&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_139&quot;&gt;Formatter&lt;/span&gt;, encontrada &lt;a href=&quot;http://codeformatter.blogspot.com/2009/06/about-code-formatter.html&quot;&gt;neste link&lt;/a&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://gcminfo.blogspot.com/feeds/1938748773031485724/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://gcminfo.blogspot.com/2012/05/tutorial-html-5-parte-2-diagramacao.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/1938748773031485724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/1938748773031485724'/><link rel='alternate' type='text/html' href='http://gcminfo.blogspot.com/2012/05/tutorial-html-5-parte-2-diagramacao.html' title='Tutorial HTML 5, parte 2 - Diagramação'/><author><name>Guilherme</name><uri>http://www.blogger.com/profile/03589336606692745310</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiisfHGDJ7I_MeeEhaFYsXHFLSxSVQi7IIAOgq3XLtByZlsmm8d9K7_A_1e2ZH1ZijUVeLovYcFNzvYkQA79K3qSRMP1U4RMhzI-JqOGCV5upXoQAmmDzeetKPocGkJvdg/s220/tbav12100ew1.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7613478666243281200.post-7901824031077399079</id><published>2012-05-27T12:30:00.002-03:00</published><updated>2012-05-27T15:59:59.966-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="basica"/><category scheme="http://www.blogger.com/atom/ns#" term="diagramação"/><category scheme="http://www.blogger.com/atom/ns#" term="diagrmacao"/><category scheme="http://www.blogger.com/atom/ns#" term="doctype"/><category scheme="http://www.blogger.com/atom/ns#" term="estrutura"/><category scheme="http://www.blogger.com/atom/ns#" term="html"/><category scheme="http://www.blogger.com/atom/ns#" term="html5"/><category scheme="http://www.blogger.com/atom/ns#" term="introducao"/><category scheme="http://www.blogger.com/atom/ns#" term="introdução"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>Tutorial HTML5, parte 1 - Introdução</title><content type='html'>&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Como prometido, mesmo que com um pouco de atraso (na realidade, muito atraso), hoje estou aqui para iniciar um tutorial básico sobre HTML5, onde irei tratar das principais alterações estruturais, novos elementos e algumas coisas mais.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Eu gostaria de enfatizar que, por ser algo bem básico, este será apenas uma espécia &quot;resumo&quot; das novidades trazidas pela nova versão da linguagem de marcação HTML, mas, para não ficar apenas na &quot;teoria&quot;, tentarei fazer uso de exemplos práticos e, é claro, não entrarei nas questões &quot;básicas&quot; do HTML, tendo em vista que este tutorial se dirige a pessoas que já tenham, pelo menos, a base da versão anterior.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Bom, como a grande maioria já deve saber, a linguagem de marcação HTML (HyperText Markup Language) teve seu conceito formulado bem no final da década de 80 e sua publicação apenas em 1991. De lá para cá, já se foram duas décadas e a linguagem recebeu um total de 4 versões e alguns updates dessas versões (atualmente, o padrão vigente é o 4.01), e já foi, inclusive, &quot;sucedida&quot; pelo XHTML.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Mesmo assim, desde de 2008, o W3C, visando substituir os padrões HTML 4.01 e o XHTML, aderiu ao desenvolvimento do HTML 5,que já estava sendo desenvolvido por outro grupo desde 2004.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;Atualmente, esse nova versão já se encontra quase ao ponto de ser oficialmente lançada e, inclusive, já é parcialmente suportada (pelo menos, os principais recursos) por quase todos os principais navegadores atualmente no mercado.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;Com essa nova versão do HTML, busca-se, dentre outras coisas, criar uma semântica clara no código, facilitar a acessibilidade, reduzir o uso de plugins (como o Flash) para adição conteúdo animado e interativo, adicionar novas tags para trabalhar com conteúdo comummente utilizado (como audio e vídeo), reduzindo a necessidade de scripts, e permitir a execução das páginas em qualquer dispositivo.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Agora, deixando de &quot;blá, blá, blá&quot; , vamos a estrutura básica de uma página HTML 5:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;!DOCTYPE html&amp;gt;  
 &amp;lt;html&amp;gt;  
 &amp;lt;head&amp;gt;  
    &amp;lt;title&amp;gt;Título da pagina&amp;lt;/title&amp;gt;  
 &amp;lt;/head&amp;gt;  
 &amp;lt;body&amp;gt;  
 &amp;lt;/body&amp;gt;  
 &amp;lt;/html&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Como é possível perceber, a estrutura é idêntica a da versão anterior do HTML, porem, há uma única &quot;particularidade&quot;, a declaração do &quot;DOCTYPE&quot;, onde agora só é especificado como &quot;html&quot;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;!DOCTYPE html&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Todo o resto, que antes era declarado dentro do DOCTYPE, agora fica a cargo do navegador.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Bom, eu sei que este post foi bem curto, mas pretendo começar o tutorial propriamente dito na próxima postagem, falando da questão da diagramação e os novos elementos para tal.&lt;/span&gt;&lt;br /&gt;
&lt;hr /&gt;
&amp;nbsp;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Tutorial HTML5, parte 2 - Diagramação&lt;/span&gt; &lt;br /&gt;
&lt;hr /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;As formatações &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_136&quot;&gt;efetuadas&lt;/span&gt; nos comandos e  trechos de arquivos de configuração foram geradas utilizando a  &quot;ferramenta&quot; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_137&quot;&gt;Source&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_138&quot;&gt;Code&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_139&quot;&gt;Formatter&lt;/span&gt;, encontrada &lt;a href=&quot;http://codeformatter.blogspot.com/2009/06/about-code-formatter.html&quot;&gt;neste link&lt;/a&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://gcminfo.blogspot.com/feeds/7901824031077399079/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://gcminfo.blogspot.com/2012/05/tutorial-html5-parte-1-introducao.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/7901824031077399079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/7901824031077399079'/><link rel='alternate' type='text/html' href='http://gcminfo.blogspot.com/2012/05/tutorial-html5-parte-1-introducao.html' title='Tutorial HTML5, parte 1 - Introdução'/><author><name>Guilherme</name><uri>http://www.blogger.com/profile/03589336606692745310</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiisfHGDJ7I_MeeEhaFYsXHFLSxSVQi7IIAOgq3XLtByZlsmm8d9K7_A_1e2ZH1ZijUVeLovYcFNzvYkQA79K3qSRMP1U4RMhzI-JqOGCV5upXoQAmmDzeetKPocGkJvdg/s220/tbav12100ew1.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7613478666243281200.post-1445378013549839115</id><published>2012-04-30T14:18:00.001-03:00</published><updated>2012-05-27T15:58:22.685-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="de"/><category scheme="http://www.blogger.com/atom/ns#" term="html"/><category scheme="http://www.blogger.com/atom/ns#" term="html5"/><category scheme="http://www.blogger.com/atom/ns#" term="retorno"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="volta"/><title type='text'>De volta ao mundo dos vivos!</title><content type='html'>&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Fala, pessoal!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Já faz quase um ano desde que postei algo aqui pela última vez! Os motivos que causaram isso foram diversos, sendo os principais falta de tempo e preguiça (quando tinha tempo)! Por diversas vezes, pensei até em reviver o blog, mas sempre desanimava, como aconteceu quando o Windows 8 Developer Preview foi lançado. Eu cheguei até a instalar o S.O. e gravar um vídeo enquanto o testava, mas desanimei na hora de publicar a postagem.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;De qualquer maneira, de lá para cá, muita coisa aconteceu: terminei o Ensino Médio, o curso técnico de Informática, fui contratado pela escola onde estagiava, pouco tempo depois me demiti (não foi por problemas com a empresa, mas por falta de tempo mesmo) e, agora, estou meio que &quot;prestando serviços&quot; para lá. Além disso, no fim do ano passado, fiz o ENEM e dois vestibulares: um para Ciência da Computação na UERJ (Universidade do Estado do Rio de Janeiro) e outro para Tecnologia em Análise e Desenvolvimento de Sistemas no IST (Instituto Superior de Tecnologia) da FAETEC (Fundação de Apoio a Escola Técnica). No vestibular para a UERJ, ainda estou na espera, havendo a possibilidade de &quot;entrar&quot; na 4ª ou 5ª reclassificações (se ocorrerem para o curso em questão), enquanto no caso do IST, de 8 vagas disponibilizadas pelo vestibular (o resto foi pelo SISU), fiquei em 16ª, logo, também não entrei.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Por outro lado, pelo SISU, utilizando a nota do ENEM, consegui uma vaga para Sistemas de Informação na UNIRIO (Universidade Federal do Estado do Rio de Janeiro)! Pela minha classificação inicial, eu só iria começar no segundo semestre, mas, devido a desistências, acabei entrando para o 1º e, atualmente, encontro-me fazendo tal curso na instituição em questão.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Sinceramente, eu havia até pensado em fazer Sistemas de Informação na própria UNIRIO, mas já havia descartado tal opção, pois o foco do curso não era exatamente o que eu buscava. Mesmo assim, como minha média do ENEM, pelo SISU, me permitiria ingressar em tal instituição, não pensei duas vezes e, para não desperdiçar a oportunidade, me candidatei a uma vaga, sendo classificado de primeira!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Começaram as aulas e, a princípio, pensava apenas em ver como era o curso e a universidade, possivelmente, saindo de lá assim que fosse classificado na UERJ, mas, passadas a reunião de apresentação e algumas aulas, meu pensamento mudou completamente. Além de ter adorado a instituição, que possui uma infraestrutura excelente (os computadores que uso no laboratório, por exemplo, são melhores do que o melhor que há onde trabalho), o ensino é de primeira. Provavelmente, não sairei mais de lá!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;... deixando de lado a questão da faculdade, estou querendo voltar a postar algumas coisas interessantes por aqui. Anteriormente, me concentrava mais em Linux, pois era o &quot;material&quot; com o qual mais lidava na época, porem, agora, pretendo me focar mais em coisas como programação e desenvolvimento web, dentre outras.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Enfim, como estou tendo uma disciplina de &quot;Desenvolvimento de Páginas Web&quot; e o professor está lidando unicamente com HTML5, pretendo voltar com força total em cima desse assunto. Sendo assim, aguardem que, até o próximo fim de semana, aparecerei por aqui com coisas novas!&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://gcminfo.blogspot.com/feeds/1445378013549839115/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://gcminfo.blogspot.com/2012/04/de-volta-ao-mundo-dos-vivos.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/1445378013549839115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/1445378013549839115'/><link rel='alternate' type='text/html' href='http://gcminfo.blogspot.com/2012/04/de-volta-ao-mundo-dos-vivos.html' title='De volta ao mundo dos vivos!'/><author><name>Guilherme</name><uri>http://www.blogger.com/profile/03589336606692745310</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiisfHGDJ7I_MeeEhaFYsXHFLSxSVQi7IIAOgq3XLtByZlsmm8d9K7_A_1e2ZH1ZijUVeLovYcFNzvYkQA79K3qSRMP1U4RMhzI-JqOGCV5upXoQAmmDzeetKPocGkJvdg/s220/tbav12100ew1.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7613478666243281200.post-1981601876883546652</id><published>2011-05-21T17:23:00.007-03:00</published><updated>2011-05-21T18:55:00.377-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="alterar"/><category scheme="http://www.blogger.com/atom/ns#" term="aumentar"/><category scheme="http://www.blogger.com/atom/ns#" term="box"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="resolução"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="virtual"/><category scheme="http://www.blogger.com/atom/ns#" term="virtualbox"/><title type='text'>Dica: Alterar resolução  do Ubuntu rodando no VirtualBox</title><content type='html'>&lt;span style=&quot;font-family:arial;&quot;&gt;Fala, pessoal!&lt;br /&gt;&lt;br /&gt;Desculpem-me por ficar um pouco mais de um mês sem postar. Novamente isso ocorreu por falta de tempo e preguiça (quando houve tempo), um pouco de cada.&lt;br /&gt;&lt;br /&gt;Desta vez venho mostrar como fazer para alterar a resolução do Ubuntu quando este está rodando em uma máquina virtual, dentro do VitualBox, que, por padrão, fica em 640x480 ou, na melhor das hipóteses, em 800x600.&lt;br /&gt;&lt;br /&gt;Para fazê-lo é simples, bastará instalar o driver de vídeo que o próprio VirtualBox fornece e realizar algumas alterações no arquivo xorg.conf.&lt;br /&gt;&lt;br /&gt;Indo direto ao ponto...&lt;br /&gt;&lt;br /&gt;1) Primeiramente, como dito antes, será necessário instalar o driver de vídeo que o VirtualBox force. Para acessar o arquivo de instalação, no menu do VirtualBox na janela da máquina virtual aberta, clique em &quot;Dispositivos&quot; e, em seguida, em &quot;Instalar Adicionais para Convidado&quot;. Neste momento, será &quot;carregado&quot;/montado um CD com o rótulo &quot;VBOXADDITIONS_&lt;versão&gt;&lt;span style=&quot;color: rgb(255, 102, 102);&quot;&gt;versãoDoVBoxAdditions&lt;/span&gt;&quot;.&lt;br /&gt;Em versões mais recentes do VitualBox, será carregado um &quot;autorun&quot; que facilitará o trabalho,  que irá instalar tudo automaticamente, mas caso isso não aconteça, basta executar no terminal (como root), o arquivo &quot;VBoxLinuxAdditions.run&quot; da seguinte forma (considerando que o diretório ativo no terminal seja o ponto de montagem do CD):&lt;br /&gt;&lt;/versão&gt;&lt;/span&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt; sudo sh VBoxLinuxAddtions.run&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;br /&gt;2) Tendo sido os drivers instalados, agora temos de alterar o arquivo &quot;/etc/X11/xorg.conf&quot;. Para editá-lo, no terminal e como root, abra-o em um editor de textos (eu usarei o nano, que roda direto no terminal, mas pode-se usar qualquer outro, como o gedit):&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; sudo nano /etc/X11/xorg.conf&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;hr /&gt;Obs.: Caso utilize uma versão do Ubuntu igual ou superior a 10.04, primeiro será necessário criar o arquivo em questão e copiá-lo para o diretório &quot;/etc/X11&quot; para depois então efetuar qualquer alteração. Para fazê-lo execute os seguintes comando no terminal:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; # Aqui será criado um arquivo com o nome xorg.conf.new&lt;br /&gt;sudo X -configure :1&lt;br /&gt;# Aqui você copiará o arquivo criado para /etc/X11 renomeando-o para &quot;xorg.conf&quot;&lt;br /&gt;sudo cp xorg.conf.new /etc/X11/xorg.conf&lt;br /&gt;# Agora, basta abri-lo em um editor de textos para executar as alterações que serão citadas a seguir&lt;br /&gt;sudo nano /etc/X11/xorg.conf&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;hr /&gt;&lt;br /&gt;Com o arquivo aberto, faça as seguintes alterações:&lt;br /&gt;Na seção &quot;Device&quot;, altere o valor do atributo &quot;Driver&quot; para &quot;vboxvideo&quot; se assim não estiver:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt;   Driver  &quot;vboxvideo&quot;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Na seção &quot;Screen&quot;:&lt;br /&gt;Adicione ou altere o atributo &quot;DefaultDepth&quot; da seguinte forma:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt;   DefaultDepth 24&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;E na subseção &quot;Display&quot; (ainda dentro da seção &quot;Screen&quot;), onde em seu atributo &quot;Depth&quot; o valor é &quot;24&quot; (caso não haja esta subseção, será necessário criá-la como descrito abaixo), adicione o atributo &quot;Modes&quot; com um valor igual a resolução desejada:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt;SubSection &quot;Display&quot;&lt;br /&gt;  Viewport 0 0&lt;br /&gt;  Depth 24&lt;br /&gt;  Modes &quot;1024x768&quot;&lt;br /&gt;EndSubSection&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Tendo sido isso feito, salve o arquivo (no editor nano, o comando é CTRL+O) e reinicie a sessão do usuário que as alterações provavelmente terão surtido efeito (caso nada aconteça ou ocorra algum tipo de problema, houve algum erro na execução dos passos aqui descritos).&lt;br /&gt;&lt;br /&gt;Espero que esta dica venha a ser útil. Caso haja qualquer dúvida, não exite em perguntar nos comentários!&lt;br /&gt;&lt;hr /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;As formatações efetuadas nos comandos e   trechos de arquivos de configuração foram geradas utilizando a   &quot;ferramenta&quot; Source Code Formatter, encontrada &lt;a href=&quot;http://codeformatter.blogspot.com/2009/06/about-code-formatter.html&quot;&gt;neste link&lt;/a&gt;.&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://gcminfo.blogspot.com/feeds/1981601876883546652/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://gcminfo.blogspot.com/2011/05/dica-alterar-resolucao-do-ubuntu.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/1981601876883546652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/1981601876883546652'/><link rel='alternate' type='text/html' href='http://gcminfo.blogspot.com/2011/05/dica-alterar-resolucao-do-ubuntu.html' title='Dica: Alterar resolução  do Ubuntu rodando no VirtualBox'/><author><name>Guilherme</name><uri>http://www.blogger.com/profile/03589336606692745310</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiisfHGDJ7I_MeeEhaFYsXHFLSxSVQi7IIAOgq3XLtByZlsmm8d9K7_A_1e2ZH1ZijUVeLovYcFNzvYkQA79K3qSRMP1U4RMhzI-JqOGCV5upXoQAmmDzeetKPocGkJvdg/s220/tbav12100ew1.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7613478666243281200.post-5218662039292365875</id><published>2011-04-16T15:47:00.016-03:00</published><updated>2012-01-02T21:40:55.735-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="10.04"/><category scheme="http://www.blogger.com/atom/ns#" term="area"/><category scheme="http://www.blogger.com/atom/ns#" term="conexão"/><category scheme="http://www.blogger.com/atom/ns#" term="configurar"/><category scheme="http://www.blogger.com/atom/ns#" term="configuração"/><category scheme="http://www.blogger.com/atom/ns#" term="criar"/><category scheme="http://www.blogger.com/atom/ns#" term="grub"/><category scheme="http://www.blogger.com/atom/ns#" term="instalar"/><category scheme="http://www.blogger.com/atom/ns#" term="instalação"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="lts"/><category scheme="http://www.blogger.com/atom/ns#" term="rede"/><category scheme="http://www.blogger.com/atom/ns#" term="repositorios"/><category scheme="http://www.blogger.com/atom/ns#" term="restaurar"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><category scheme="http://www.blogger.com/atom/ns#" term="sistema"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><category scheme="http://www.blogger.com/atom/ns#" term="trabalho"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="usuario"/><title type='text'>Migração Linux - parte 5: Script de configuração do sistema</title><content type='html'>&lt;span style=&quot;font-family:arial;&quot;&gt;Boas pessoal! Finalmente estou de volta!&lt;br /&gt;&lt;br /&gt;Gostaria de começar este &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_0&quot;&gt;post&lt;/span&gt; me desculpando por ficar mais de uma semana sem adicionar algo novo a este blog. Como de costume, quando tive tempo, acabei não conseguindo escrever algo para trazer para cá.&lt;br /&gt;&lt;br /&gt;Desta vez, como citado no título da &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_1&quot;&gt;postagem&lt;/span&gt;, irei tratar da parte &quot;final&quot; da migração do laboratório de informática (da escola onde faço estágio) para o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_2&quot;&gt;Ubuntu&lt;/span&gt; Linux: o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_3&quot;&gt;script&lt;/span&gt; de configuração do sistema (também responsável pela instalação de &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_4&quot;&gt;softwares&lt;/span&gt; adicionais).&lt;br /&gt;&lt;br /&gt;Devido as necessidades que se apresentavam no momento de sua criação, ele possui as seguintes funções:&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;li&gt;Criar os usuários do sistema;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Fazer backup dos arquivos que serão alterados;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Configurar a conexão com a rede (&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_5&quot;&gt;ip&lt;/span&gt; fixo, &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_6&quot;&gt;dns&lt;/span&gt; etc);&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Configurar os repositórios;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Configurar o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_7&quot;&gt;Grub&lt;/span&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Configurar o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_8&quot;&gt;SSH&lt;/span&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Alterar o &quot;/etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_9&quot;&gt;rc&lt;/span&gt;.local/&quot; para que restaure a área de trabalho dos usuários;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Instalar &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_10&quot;&gt;softwares&lt;/span&gt; adicionais;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Configurar bloqueios a sites impróprios.&lt;/span&gt;&lt;/li&gt;&lt;/span&gt;&lt;/ul&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Com isso em mente, tratarei de cada parte em separado e depois deixarei um exemplo completo, que poderá ser alterado à vontade!&lt;br /&gt;&lt;br /&gt;Neste &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_11&quot;&gt;post&lt;/span&gt; serão citados vários arquivos que não estão aqui representados, então,&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_12&quot;&gt; links&lt;/span&gt; para &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_13&quot;&gt;download&lt;/span&gt; dos mesmos estarão disponíveis conforme eles forem mencionados.&lt;br /&gt;&lt;br /&gt;Indo &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_14&quot;&gt;direto&lt;/span&gt; ao assunto...&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_15&quot;&gt;Back&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_16&quot;&gt;ups&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Como serão feitas alterações em arquivos de aplicações de extrema importância para o sistema, é sempre bom manter uma cópia dos mesmos em seu estado antes das modificações, então:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_17&quot;&gt;echo&lt;/span&gt; &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_18&quot;&gt;Efetuando&lt;/span&gt; backups de segurança...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_19&quot;&gt;mkdir&lt;/span&gt; /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_20&quot;&gt;home&lt;/span&gt;/[&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_21&quot;&gt;meuUsuario&lt;/span&gt;]/backups/&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_22&quot;&gt;cp&lt;/span&gt; /etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_23&quot;&gt;apt&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_24&quot;&gt;sources&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_25&quot;&gt;list&lt;/span&gt; /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_26&quot;&gt;home&lt;/span&gt;/&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;[&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_27&quot;&gt;meuUsuario&lt;/span&gt;]&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;/backups/&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_28&quot;&gt;cp&lt;/span&gt; /etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_29&quot;&gt;resolv&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_30&quot;&gt;conf&lt;/span&gt; /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_31&quot;&gt;home&lt;/span&gt;/&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;[&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_32&quot;&gt;meuUsuario&lt;/span&gt;]&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;/backups/&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_33&quot;&gt;cp&lt;/span&gt; /etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_34&quot;&gt;default&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_35&quot;&gt;grub&lt;/span&gt; /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_36&quot;&gt;home&lt;/span&gt;/&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;[&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_37&quot;&gt;meuUsuario&lt;/span&gt;]&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;/backups/&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_38&quot;&gt;cp&lt;/span&gt; /etc/grub.d/00_header /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_39&quot;&gt;home&lt;/span&gt;/&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;[&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_40&quot;&gt;meuUsuario&lt;/span&gt;]&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;/backups/&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_41&quot;&gt;cp&lt;/span&gt; /etc/grub.d/10_linux /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_42&quot;&gt;home&lt;/span&gt;/&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;[&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_43&quot;&gt;meuUsuario&lt;/span&gt;]&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;/backups/&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_44&quot;&gt;cp&lt;/span&gt; /etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_45&quot;&gt;network&lt;/span&gt;/interfaces /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_46&quot;&gt;home&lt;/span&gt;/&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;[&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_47&quot;&gt;meuUsuario&lt;/span&gt;]&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;/backups/&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_48&quot;&gt;cp&lt;/span&gt; /etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_49&quot;&gt;rc&lt;/span&gt;.local /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_50&quot;&gt;home&lt;/span&gt;/&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;[&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_51&quot;&gt;meuUsuario&lt;/span&gt;]&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;/backups/&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_52&quot;&gt;echo&lt;/span&gt; &quot;Os &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_53&quot;&gt;back&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_54&quot;&gt;ups&lt;/span&gt; foram salvos dentro de \&quot;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_55&quot;&gt;home&lt;/span&gt;/&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;[&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_56&quot;&gt;meuUsuario&lt;/span&gt;]&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;/backups/\&quot;!!!&quot;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Neste caso, eu simplesmente crio uma pasta chamada &quot;backups&quot; dentro do &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_57&quot;&gt;home&lt;/span&gt;&quot; do meu usuário (&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_58&quot;&gt;meuUsuario&lt;/span&gt;) e copio para lá todos os arquivos que sofrerão alguma mudança durante a execução do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_59&quot;&gt;script&lt;/span&gt;. Caso haja algum problema, basta restaurar o &quot;original&quot;.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Criação dos usuários do sistema&lt;/span&gt;&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_60&quot;&gt;echo&lt;/span&gt; &quot;Criando grupos e usuários do sistema...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_61&quot;&gt;addgroup&lt;/span&gt; professores&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_62&quot;&gt;useradd&lt;/span&gt; -m -p &#39;[&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_63&quot;&gt;hashMD&lt;/span&gt;5&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_64&quot;&gt;DaSenhaDoUsuarioEntreAspasSImples&lt;/span&gt;]&#39; Professores -g professores&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_65&quot;&gt;addgroup&lt;/span&gt; alunos&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_66&quot;&gt;useradd&lt;/span&gt; -m -p &#39;[&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_67&quot;&gt;hashMD&lt;/span&gt;5&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_68&quot;&gt;DaSenhaDoUsuarioEntreAspasSimples&lt;/span&gt;]&#39; Alunos -g alunos&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;Aqui eu só estou criando dois usuários, &quot;Alunos&quot; e &quot;Professores&quot;, inseridos em dois grupos também criados. É importante citar que estou passando uma senha &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_69&quot;&gt;criptografada&lt;/span&gt; em &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_70&quot;&gt;MD&lt;/span&gt;5. Para gerar o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_71&quot;&gt;hash&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_72&quot;&gt;MD&lt;/span&gt;5 da senha basta executar no terminal:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_73&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot; class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_74&quot;&gt;minhaSenha&lt;/span&gt; | &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_75&quot;&gt;mkpasswd&lt;/span&gt; -s -H &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_76&quot;&gt;md&lt;/span&gt;5&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Configuração da conexão com a rede&lt;/span&gt;&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_77&quot;&gt;echo&lt;/span&gt; &quot;Configurando a rede...&quot;&lt;br /&gt;# Como cada PC terá um IP diferente, eu informo na hora o que será utilizado.&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_78&quot;&gt;read&lt;/span&gt; -p &quot;Informe o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_79&quot;&gt;ip&lt;/span&gt; desejado: &quot; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_80&quot;&gt;varip&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_81&quot;&gt;echo&lt;/span&gt; &quot;O &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_82&quot;&gt;ip&lt;/span&gt; escolhido foi \&quot;$&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_83&quot;&gt;varip&lt;/span&gt;\&quot;!!!&quot;&lt;br /&gt;# Em seguida, reescrevo o arquivo /etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_84&quot;&gt;network&lt;/span&gt;/interfaces, onde são configuradas&lt;br /&gt;# as interfaces de rede. Defino o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_85&quot;&gt;ip&lt;/span&gt; como fixo e um &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_86&quot;&gt;gateway&lt;/span&gt; e um servidor &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_87&quot;&gt;DNS&lt;/span&gt;&lt;br /&gt;# específicos.&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_88&quot;&gt;echo&lt;/span&gt; &quot;auto lo\&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_89&quot;&gt;niface&lt;/span&gt; lo &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_90&quot;&gt;inet&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_91&quot;&gt;loopback&lt;/span&gt;\n\&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_92&quot;&gt;nauto&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_93&quot;&gt;eth&lt;/span&gt;0\&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_94&quot;&gt;niface&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_95&quot;&gt;eth&lt;/span&gt;0 &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_96&quot;&gt;inet&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_97&quot;&gt;static&lt;/span&gt;\&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_98&quot;&gt;naddress&lt;/span&gt; $&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_99&quot;&gt;varip&lt;/span&gt;\&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_100&quot;&gt;nnetmask&lt;/span&gt; 255.255.255.0\ngateway 192.168.xx.xx\ndns-provider 192.168.xx.xx&quot; &amp;gt; /etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_102&quot;&gt;network&lt;/span&gt;/interfaces&lt;br /&gt;# Por fim, reinicio o serviço de rede.&lt;br /&gt;/etc/init.d/networking &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_103&quot;&gt;restart&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Assim como comentei nos trechos, eu (na realidade o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_104&quot;&gt;script&lt;/span&gt;) pergunto o IP desejado e reescrevo o arquivo &quot;/etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_105&quot;&gt;network&lt;/span&gt;/interfaces&quot;, definindo IP (informado anteriormente) como fixo, o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_106&quot;&gt;gateway&lt;/span&gt; a ser utilizado e o servidor &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_107&quot;&gt;DNS&lt;/span&gt; (&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_108&quot;&gt;name&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_109&quot;&gt;server&lt;/span&gt;). Se a interface relativa a sua placa de rede não estiver sendo identificada como &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_110&quot;&gt;eth&lt;/span&gt;0&quot;, será necessário alterar o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_111&quot;&gt;script&lt;/span&gt;, colocando a identificação correta.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Configuração dos repositórios&lt;/span&gt;&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_112&quot;&gt;echo&lt;/span&gt; &quot;Configurando o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_113&quot;&gt;Apt&lt;/span&gt; e o Aptitude...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_114&quot;&gt;cp&lt;/span&gt; recursos/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_115&quot;&gt;sources&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_116&quot;&gt;list&lt;/span&gt; /etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_117&quot;&gt;apt&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_118&quot;&gt;sources&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_119&quot;&gt;list&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_120&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_121&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_122&quot;&gt;update&lt;/span&gt;&lt;br /&gt;aptitude &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_123&quot;&gt;update&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_124&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_125&quot;&gt;wget&lt;/span&gt; http://www.medibuntu.org/sources.list.d/$(lsb_release -&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_126&quot;&gt;cs&lt;/span&gt;).&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_127&quot;&gt;list&lt;/span&gt; --output-document=/etc/apt/sources.list.d/medibuntu.list&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_128&quot;&gt;echo&lt;/span&gt; &quot;Fazendo backup de &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_129&quot;&gt;medibuntu&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_130&quot;&gt;list&lt;/span&gt; em \&quot;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_131&quot;&gt;home&lt;/span&gt;/[&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_132&quot;&gt;meuUsuario&lt;/span&gt;]/backups\&quot;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_133&quot;&gt;cp&lt;/span&gt; /etc/apt/sources.list.d/medibuntu.list /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_134&quot;&gt;home&lt;/span&gt;/[&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_135&quot;&gt;meuUsuario&lt;/span&gt;]/backups/&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_136&quot;&gt;cp&lt;/span&gt; recursos/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_137&quot;&gt;medibuntu&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_138&quot;&gt;list&lt;/span&gt; /etc/apt/sources.list.d/medibuntu.list&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_139&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_140&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_141&quot;&gt;get&lt;/span&gt; -q &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_142&quot;&gt;update&lt;/span&gt;&lt;br /&gt;#&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_143&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_144&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_145&quot;&gt;get&lt;/span&gt; -q &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_146&quot;&gt;update&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_147&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_148&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_149&quot;&gt;get&lt;/span&gt; --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_150&quot;&gt;yes&lt;/span&gt; -q --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_151&quot;&gt;allow&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_152&quot;&gt;unauthenticated&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_153&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_154&quot;&gt;medibuntu&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_155&quot;&gt;keyring&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Primeiramente, eu faria alterações no arquivo &quot;/etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_156&quot;&gt;apt&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_157&quot;&gt;sources&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_158&quot;&gt;list&lt;/span&gt;&quot;, mas, como ele tem bastante conteúdo (muitas das linhas comentadas, as quais não removo para o caso de &quot;virem a necessárias&quot;), preferi apenas substituí-lo por um já &quot;configurado&quot;.&lt;br /&gt;Já que faço uso de um servidor &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_159&quot;&gt;Apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_160&quot;&gt;cacher&lt;/span&gt;, a configuração do arquivo em questão deverá ser feita como mencionado na &lt;a href=&quot;http://gcminfo.blogspot.com/2011/03/migracao-linux-parte-4-apt-cacher.html&quot;&gt;parte 4 desta &quot;migração&quot;&lt;/a&gt;, ou seja, você deverá &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_161&quot;&gt;direcionar&lt;/span&gt; os repositórios para o servidor &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_162&quot;&gt;Apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_163&quot;&gt;cacher&lt;/span&gt; da rede. Para fazê-lo, basta apenas alterar as entradas presentes do seguinte modo (reforçando que deverá ser feito com todas):&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; #Substituir:&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_164&quot;&gt;deb&lt;/span&gt; http://br.archive.ubuntu.com/ubuntu/ &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_165&quot;&gt;lucid&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_166&quot;&gt;main&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_167&quot;&gt;restricted&lt;/span&gt;&lt;br /&gt;#Por:&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_168&quot;&gt;deb&lt;/span&gt; http://[IPDoServidorApt-Cacher]:3142/br.archive.ubuntu.com/ubuntu/ &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_169&quot;&gt;lucid&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_170&quot;&gt;main&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_171&quot;&gt;restricted&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Para facilitar, estou &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_172&quot;&gt;disponibilizando&lt;/span&gt; &lt;a href=&quot;http://c130.50webs.com/programas/recursos/sources.list&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;aqui&lt;/span&gt;&lt;/a&gt; uma cópia de meu arquivo (no qual se faz necessário apenas informar o IP do servidor &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_173&quot;&gt;Apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_174&quot;&gt;Cacher&lt;/span&gt;, e que já tem o repositório &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_175&quot;&gt;partner&lt;/span&gt;&quot; adicionado, o qual é de extrema importância para eventos mais a frente).&lt;br /&gt;Ainda na configuração dos repositórios, eu os &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_176&quot;&gt;atualizo&lt;/span&gt; e adiciono o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_177&quot;&gt;Medibuntu&lt;/span&gt;, baixando o arquivo com a indicação para o mesmo dentro de &quot;/etc/apt/sources.list.d/&quot;, com o nome de &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_178&quot;&gt;medibuntu&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_179&quot;&gt;list&lt;/span&gt;&quot;. Como eu também uso o servidor &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_180&quot;&gt;Apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_181&quot;&gt;cacher&lt;/span&gt; para ele, apesar de o arquivo só ter umas poucas linhas, eu faço o mesmo que com o &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_182&quot;&gt;sources&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_183&quot;&gt;list&lt;/span&gt;&quot;, substituindo-o por um arquivo já configurado.&lt;br /&gt;De qualquer maneira, a alteração que se faria necessária seria igual a do caso do &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_184&quot;&gt;sources&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_185&quot;&gt;list&lt;/span&gt;&quot;, citada acima. Da mesma forma &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_186&quot;&gt;disponibilizo&lt;/span&gt; para &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_187&quot;&gt;download&lt;/span&gt; meu arquivo &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_188&quot;&gt;medibuntu&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_189&quot;&gt;list&lt;/span&gt;&quot; &lt;a href=&quot;http://c130.50webs.com/programas/recursos/medibuntu.list&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;aqui&lt;/span&gt;&lt;/a&gt;, onde falta apenas informar o IP do servidor &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_190&quot;&gt;Apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_191&quot;&gt;cacher&lt;/span&gt;.&lt;br /&gt;Em sequência a isso, apenas &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_192&quot;&gt;atualizo&lt;/span&gt; novamente os repositórios e, digamos... &quot;libero&quot; o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_193&quot;&gt;Medibuntu&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Configuração do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_194&quot;&gt;Grub&lt;/span&gt;, protegendo as entradas do modo de recuperação com senha&lt;/span&gt;&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_195&quot;&gt;echo&lt;/span&gt; &quot;Configurando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_196&quot;&gt;GRUB&lt;/span&gt;2...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_197&quot;&gt;echo&lt;/span&gt; &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_198&quot;&gt;cat&lt;/span&gt; &amp;lt;&amp;lt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_201&quot;&gt;EOF&lt;/span&gt;\&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_202&quot;&gt;nset&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_203&quot;&gt;superusers&lt;/span&gt;=\&quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_204&quot;&gt;nomeDoSuperUsuario&lt;/span&gt;\&quot;\&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_205&quot;&gt;npassword&lt;/span&gt;_&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_206&quot;&gt;pbkdf&lt;/span&gt;2 &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_207&quot;&gt;nomeDoSuperUsuario&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_208&quot;&gt;senhaCriptografadaDoSuperUsuario&lt;/span&gt;\&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_209&quot;&gt;nEOF&lt;/span&gt;&quot; &amp;gt;&amp;gt; /etc/grub.d/00_header&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_212&quot;&gt;cp&lt;/span&gt; recursos/10_&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_213&quot;&gt;linux&lt;/span&gt; /etc/grub.d/10_linux&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_214&quot;&gt;update&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_215&quot;&gt;grub&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Na segunda linha, eu adiciono ao fim do arquivo &quot;/etc/grub.d/00_header&quot; as definições de usuário e senha do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_216&quot;&gt;Grub&lt;/span&gt;. Na terceira, substituo o arquivo &quot;/etc/grub.d/10_linux&quot; por um idêntico (disponível &lt;a href=&quot;http://c130.50webs.com/programas/recursos/10_linux&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;aqui&lt;/span&gt;&lt;/a&gt;), mas com as alterações necessária já &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_217&quot;&gt;efetuadas&lt;/span&gt; (para saber que alterações são essas, leia &lt;a href=&quot;http://gcminfo.blogspot.com/2011/04/dica-proteger-com-senha-o-modo-de.html&quot;&gt;este &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_218&quot;&gt;post&lt;/span&gt;, que ensina a proteger o modo de recuperação do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_219&quot;&gt;Grub&lt;/span&gt; 2 com senha&lt;/a&gt;). Na quarta, eu simplesmente executo o comando &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_220&quot;&gt;update&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_221&quot;&gt;grub&lt;/span&gt;&quot; que fará com que as alterações entrem em vigor.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Configuração do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_222&quot;&gt;SSH&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Na parte que segue, eu habilito apenas o usuário com privilégios &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_223&quot;&gt;administrativos&lt;/span&gt; (criado durante a instalação do sistema) e o usuário &quot;Professores&quot; a se conectarem através do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_224&quot;&gt;ssh&lt;/span&gt; (adicionando, ao fim do arquivo &quot;/etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_225&quot;&gt;ssh&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_226&quot;&gt;sshd&lt;/span&gt;_&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_227&quot;&gt;config&lt;/span&gt;&quot;, a linha &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_228&quot;&gt;AllowUsers&lt;/span&gt; ...&quot;) e reinicio o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_229&quot;&gt;seviço&lt;/span&gt; :&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_231&quot;&gt;echo&lt;/span&gt; &quot;Configurando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_232&quot;&gt;ssh&lt;/span&gt;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_233&quot;&gt;echo&lt;/span&gt; &quot;\&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_234&quot;&gt;nAllowUsers&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_235&quot;&gt;meuUsuarioAdministrativo&lt;/span&gt; Professores&quot; &amp;gt;&amp;gt; /etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_238&quot;&gt;ssh&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_239&quot;&gt;sshd&lt;/span&gt;_&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_240&quot;&gt;config&lt;/span&gt;&lt;br /&gt;/etc/init.d/ssh &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_241&quot;&gt;restart&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Restauração da área de trabalho dos usuários&lt;/span&gt;&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_242&quot;&gt;echo&lt;/span&gt; &quot;Configurando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_243&quot;&gt;rc&lt;/span&gt;.local...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_244&quot;&gt;cp&lt;/span&gt; recursos/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_245&quot;&gt;rc&lt;/span&gt;.local /etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_246&quot;&gt;rc&lt;/span&gt;.local&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Eu basicamente substituo o arquivo &quot;/etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_247&quot;&gt;rc&lt;/span&gt;.local&quot; por outro já alterado (disponível &lt;a href=&quot;http://c130.50webs.com/programas/recursos/rc.local&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;aqui&lt;/span&gt;&lt;/a&gt;), que executa os seguintes comandos:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_248&quot;&gt;rm&lt;/span&gt; -&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_249&quot;&gt;fr&lt;/span&gt; /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_250&quot;&gt;home&lt;/span&gt;/Professores/.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_251&quot;&gt;gconf&lt;/span&gt; /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_252&quot;&gt;home&lt;/span&gt;/Professores/.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_253&quot;&gt;gconfd&lt;/span&gt; /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_254&quot;&gt;home&lt;/span&gt;/Professores/.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_255&quot;&gt;gnome&lt;/span&gt;2&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_256&quot;&gt;rm&lt;/span&gt; -&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_257&quot;&gt;fr&lt;/span&gt; /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_258&quot;&gt;home&lt;/span&gt;/Alunos/.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_259&quot;&gt;gconf&lt;/span&gt; /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_260&quot;&gt;home&lt;/span&gt;/Alunos/.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_261&quot;&gt;gconfd&lt;/span&gt; /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_262&quot;&gt;home&lt;/span&gt;/Alunos/.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_263&quot;&gt;gnome&lt;/span&gt;2&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Ele apaga os &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_264&quot;&gt;diretórios&lt;/span&gt; que contem os arquivos de configuração do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_265&quot;&gt;gnome&lt;/span&gt; de cada usuário. Como o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_266&quot;&gt;script&lt;/span&gt; &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_267&quot;&gt;rc&lt;/span&gt;.local&quot; é executado a cada mudança de &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_268&quot;&gt;run&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_269&quot;&gt;level&lt;/span&gt; (normalmente só ocorrerão durante a inicialização e encerramento do sistema), quando um usuário fizer uma alteração em sua área de trabalho (papel de parede, tema etc) e reiniciar o computador, ao tentar fazer &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_270&quot;&gt;log&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_271&quot;&gt;in&lt;/span&gt;, o sistema não encontrará os arquivos de configuração do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_272&quot;&gt;gnome&lt;/span&gt; e os recriará, porem em sua forma padrão.&lt;br /&gt;Isto pode ser visto como uma &quot;gambiarra&quot; (a mãe das invenções), mas é plenamente funcional!&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Instalação de &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_273&quot;&gt;softwares&lt;/span&gt; adicionais&lt;/span&gt;&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_274&quot;&gt;echo&lt;/span&gt; &quot;Instalando programas...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_276&quot;&gt;echo&lt;/span&gt; &quot;Removendo &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_277&quot;&gt;Empathy&lt;/span&gt;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_278&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_279&quot;&gt;get&lt;/span&gt; remove &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_280&quot;&gt;empathy&lt;/span&gt; -y&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_281&quot;&gt;echo&lt;/span&gt; &quot;Removendo &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_282&quot;&gt;Gwibber&lt;/span&gt;&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_283&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_284&quot;&gt;get&lt;/span&gt; remove &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_285&quot;&gt;gwibber&lt;/span&gt; -y&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_286&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_287&quot;&gt;rar&lt;/span&gt;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_288&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_289&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_290&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_291&quot;&gt;rar&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_292&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_293&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_294&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_295&quot;&gt;unrar&lt;/span&gt;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_296&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_297&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_298&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_299&quot;&gt;unrar&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_300&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_301&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_302&quot;&gt;echo&lt;/span&gt; &quot;Instalando g++..&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_303&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_304&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_305&quot;&gt;install&lt;/span&gt; g++ -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_306&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_307&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_308&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_309&quot;&gt;JRE&lt;/span&gt;&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_310&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_311&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_312&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_313&quot;&gt;sun&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_314&quot;&gt;java&lt;/span&gt;6-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_315&quot;&gt;jre&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_316&quot;&gt;sun&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_317&quot;&gt;java&lt;/span&gt;6-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_318&quot;&gt;plugin&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_319&quot;&gt;sun&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_320&quot;&gt;java&lt;/span&gt;6-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_321&quot;&gt;fonts&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_322&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_323&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_324&quot;&gt;echo&lt;/span&gt; &quot;Instalando Java &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_325&quot;&gt;Development&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_326&quot;&gt;Kit&lt;/span&gt;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_327&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_328&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_329&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_330&quot;&gt;sun&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_331&quot;&gt;java&lt;/span&gt;6-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_332&quot;&gt;jdk&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_333&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_334&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;# Caso não seja encontrado automaticamente pelo &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_335&quot;&gt;Netbeans&lt;/span&gt;,&lt;br /&gt;# encontra-se em &quot;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_336&quot;&gt;usr&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_337&quot;&gt;share&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_338&quot;&gt;doc&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_339&quot;&gt;openjdk&lt;/span&gt;-6-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_340&quot;&gt;doc&lt;/span&gt;&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_341&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_342&quot;&gt;Javadocs&lt;/span&gt; (do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_343&quot;&gt;OpenJDK&lt;/span&gt;)&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_344&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_345&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_346&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_347&quot;&gt;openjdk&lt;/span&gt;-6-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_348&quot;&gt;doc&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_349&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_350&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_351&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_352&quot;&gt;codecs&lt;/span&gt;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_353&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_354&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_355&quot;&gt;install&lt;/span&gt; -y --force-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_356&quot;&gt;yes&lt;/span&gt; w32&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_357&quot;&gt;codecs&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_358&quot;&gt;libdvdcss&lt;/span&gt;2 &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_359&quot;&gt;ubuntu&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_360&quot;&gt;restricted&lt;/span&gt;-extras&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_361&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_362&quot;&gt;GIMP&lt;/span&gt;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_363&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_364&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_365&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_366&quot;&gt;gimp&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_367&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_368&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_369&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_370&quot;&gt;Blender&lt;/span&gt;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_371&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_372&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_373&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_374&quot;&gt;blender&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_375&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_376&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_377&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_378&quot;&gt;Code&lt;/span&gt;::&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_379&quot;&gt;Blocks&lt;/span&gt;..&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_380&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_381&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_382&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_383&quot;&gt;codeblocks&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_384&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_385&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_386&quot;&gt;echo&lt;/span&gt; &quot;Instalando o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_387&quot;&gt;libgtk&lt;/span&gt;2.0-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_388&quot;&gt;dev&lt;/span&gt;&quot;&lt;br /&gt;#aptitude &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_389&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_390&quot;&gt;libgtk&lt;/span&gt;2.0-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_391&quot;&gt;dev&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_392&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_393&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_394&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_395&quot;&gt;libgtk&lt;/span&gt;2.0-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_396&quot;&gt;dev&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_397&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_398&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_399&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_400&quot;&gt;Lazarus&lt;/span&gt; IDE...&quot;&lt;br /&gt;#aptitude &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_401&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_402&quot;&gt;lazarus&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_403&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_404&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_405&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_406&quot;&gt;lazarus&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_407&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_408&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_409&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_410&quot;&gt;KTurtle&lt;/span&gt;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_411&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_412&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_413&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_414&quot;&gt;kturtle&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_415&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_416&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_417&quot;&gt;echo&lt;/span&gt; &quot;Instalando Ambiente de Desenvolvimento Web Quanta &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_418&quot;&gt;Plus&lt;/span&gt;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_419&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_420&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_421&quot;&gt;install&lt;/span&gt; quanta &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_422&quot;&gt;kxsldbg&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_423&quot;&gt;kde&lt;/span&gt;3 &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_424&quot;&gt;kimagemapeditor&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_425&quot;&gt;kde&lt;/span&gt;3 &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_426&quot;&gt;khelpcenter&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_427&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_428&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_429&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_430&quot;&gt;TuxMath&lt;/span&gt;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_431&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_432&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_433&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_434&quot;&gt;tuxmath&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_435&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_436&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_437&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_438&quot;&gt;TuxPaint&lt;/span&gt;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_439&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_440&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_441&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_442&quot;&gt;tuxpaint&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_443&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_444&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_445&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_446&quot;&gt;TuxTyping&lt;/span&gt;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_447&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_448&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_449&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_450&quot;&gt;tuxtype&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_451&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_452&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_453&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_454&quot;&gt;KTouch&lt;/span&gt;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_455&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_456&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_457&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_458&quot;&gt;ktouch&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_459&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_460&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_461&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_462&quot;&gt;KHangman&lt;/span&gt;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_463&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_464&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_465&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_466&quot;&gt;khangman&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_467&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_468&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_469&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_470&quot;&gt;KBruch&lt;/span&gt;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_471&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_472&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_473&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_474&quot;&gt;kbruch&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_475&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_476&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_477&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_478&quot;&gt;Kanagram&lt;/span&gt;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_479&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_480&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_481&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_482&quot;&gt;kanagram&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_483&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_484&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_485&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_486&quot;&gt;Inkscape&lt;/span&gt;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_487&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_488&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_489&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_490&quot;&gt;inkscape&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_491&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_492&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_493&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_494&quot;&gt;KolourPaint&lt;/span&gt;4...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_495&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_496&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_497&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_498&quot;&gt;kolourpaint&lt;/span&gt;4 -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_499&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_500&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_501&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_502&quot;&gt;Scribus&lt;/span&gt;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_503&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_504&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_505&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_506&quot;&gt;scribus&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_507&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_508&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_509&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_510&quot;&gt;KTuberling&lt;/span&gt;&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_511&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_512&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_513&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_514&quot;&gt;ktuberling&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_515&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_516&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_517&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_518&quot;&gt;lmemory&lt;/span&gt;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_519&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_520&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_521&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_522&quot;&gt;lmemory&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_523&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_524&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_525&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_526&quot;&gt;Gnome&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_527&quot;&gt;Tetravex&lt;/span&gt;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_528&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_529&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_530&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_531&quot;&gt;gnotravex&lt;/span&gt; -y --&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_532&quot;&gt;install&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_533&quot;&gt;recommends&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_534&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_535&quot;&gt;Flash&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_536&quot;&gt;Player&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_537&quot;&gt;Plug&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_538&quot;&gt;in&lt;/span&gt;...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_539&quot;&gt;dpkg&lt;/span&gt; -i &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_540&quot;&gt;instalandores&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_541&quot;&gt;install&lt;/span&gt;_&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_542&quot;&gt;flash&lt;/span&gt;_&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_543&quot;&gt;player&lt;/span&gt;_10_&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_544&quot;&gt;linux&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_545&quot;&gt;deb&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_546&quot;&gt;echo&lt;/span&gt; &quot;Removendo versões anteriores do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_547&quot;&gt;BrOffice&lt;/span&gt;/OpenOffice...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_548&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_549&quot;&gt;get&lt;/span&gt; remove &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_550&quot;&gt;openoffice&lt;/span&gt;* -y&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_551&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_552&quot;&gt;BrOffice&lt;/span&gt; 3.2.1...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_553&quot;&gt;dpkg&lt;/span&gt; -i instaladores/broffice3.2.1/DEBS/*deb&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_554&quot;&gt;dpkg&lt;/span&gt; -i instaladores/broffice3.2.1/DEBS/desktop-integration/*deb&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_555&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_556&quot;&gt;NetBeans&lt;/span&gt; 6.9.1&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_557&quot;&gt;chmod&lt;/span&gt; +x instaladores/netbeans-6.9.1-ml-linux.sh&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_558&quot;&gt;sh&lt;/span&gt; instaladores/netbeans-6.9.1-ml-linux.sh&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_559&quot;&gt;echo&lt;/span&gt; &quot;Instalando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_560&quot;&gt;Blender&lt;/span&gt; 2.56...&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_561&quot;&gt;cp&lt;/span&gt; -r instaladores/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_562&quot;&gt;blender&lt;/span&gt;-2.56a-beta-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_563&quot;&gt;linux&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_564&quot;&gt;glibc&lt;/span&gt;27-i686 /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_565&quot;&gt;usr&lt;/span&gt;/local/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_566&quot;&gt;Blender&lt;/span&gt;&lt;br /&gt;ln -s /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_567&quot;&gt;usr&lt;/span&gt;/local/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_568&quot;&gt;Blender&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_569&quot;&gt;blender&lt;/span&gt; /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_570&quot;&gt;usr&lt;/span&gt;/local/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_571&quot;&gt;bin&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_572&quot;&gt;blender&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_573&quot;&gt;cp&lt;/span&gt; recursos/blender-2.56.desktop /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_574&quot;&gt;usr&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_575&quot;&gt;share&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_576&quot;&gt;applications&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_577&quot;&gt;chmod&lt;/span&gt; +x /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_578&quot;&gt;usr&lt;/span&gt;/local/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_579&quot;&gt;bin&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_580&quot;&gt;blender&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Bom, quanto a esta parte não tenho muito o que falar... Eu removo clientes de mensagens instantâneas para evitar que alunos fiquem &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_581&quot;&gt;acessando&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_582&quot;&gt;MSN&lt;/span&gt; ou coisas do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_583&quot;&gt;gênero&lt;/span&gt; e instalo &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_584&quot;&gt;softwares&lt;/span&gt; que serão utilizados durante as aulas.&lt;br /&gt;No fim desse trecho, percebe-se que alguns programas eu instalo localmente. Bom, o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_585&quot;&gt;flash&lt;/span&gt; e o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_586&quot;&gt;BrOffice&lt;/span&gt;, a princípio, foram apenas testes, mas acabaram ficando, no caso do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_587&quot;&gt;NetBeans&lt;/span&gt;, eu só encontrava versões antigas dele nos repositórios e, no caso do Blender 2.56 (cujo atalho -&quot;blender-2.56.desktop&quot;- encontra-se &lt;a style=&quot;font-weight: bold;&quot; href=&quot;http://c130.50webs.com/programas/recursos/blender-2.56.desktop&quot;&gt;aqui&lt;/a&gt;), é devido ao fato de só haver o 2.49b disponível nos repositórios.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Efetuar bloqueios a sites impróprios&lt;/span&gt;&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; echo &quot;Efetuando bloqueios a sites: configurando \&quot;/etc/hosts\&quot;&quot;&lt;br /&gt;java -jar AlterarHostName.jar&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Como podem ver, só é executado um arquivo &quot;.jar&quot;, mas é ele que faz a mágica. Como não tenho experiência em Shell Script, resolvi fazer esta parte em Java, linguágem que tenho um conhecimento um pouco além do básico.&lt;br /&gt;Tudo que esse arquivo faz é ler o arquivo &quot;hosts&quot; de uma outra máquina, que já estava com diversos sites bloqueados, alterar a linha onde se encontra o nome do outro computador, substituíndo pelo nome do atual e, por fim, reescrever o arquivo &quot;/etc/hosts&quot; desta última com tais informações.&lt;br /&gt;Sei que poderia ter feito isso de um modo mais fácil, porem aproveitei para treinar um pouquinho de leitura e escrita de arquivos...&lt;br /&gt;Os arquivos &quot;hosts&quot; e &quot;AlterarHostName.jar&quot; podem ser encontrados respectivamente &lt;a href=&quot;http://c130.50webs.com/programas/recursos/hosts&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;aqui&lt;/span&gt;&lt;/a&gt; e &lt;a href=&quot;http://c130.50webs.com/programas/AlterarHostName.jar&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;aqui&lt;/span&gt;&lt;/a&gt;. O código fonte do &quot;AlterarHostName.jar&quot; eu disponibilizarei assim que possível, pois não o estou encontrando em lugar algum.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Script completo&lt;/span&gt;&lt;br /&gt;Abaixo segue o Script completo:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; #! /bin/bash&lt;br /&gt;&lt;br /&gt;echo &quot;Efetuando backups de segurança...&quot;&lt;br /&gt;mkdir /home/&lt;span style=&quot;font-weight: bold;&quot;&gt;[meuUsuario]&lt;/span&gt;/backups/&lt;br /&gt;cp /etc/apt/sources.list /home/&lt;span style=&quot;font-weight: bold;&quot;&gt;[meuUsuario]&lt;/span&gt;/backups/&lt;br /&gt;cp /etc/resolv.conf /home/&lt;span style=&quot;font-weight: bold;&quot;&gt;[meuUsuario]&lt;/span&gt;/backups/&lt;br /&gt;cp /etc/default/grub /home/&lt;span style=&quot;font-weight: bold;&quot;&gt;[meuUsuario]&lt;/span&gt;/backups/&lt;br /&gt;cp /etc/grub.d/00_header /home/&lt;span style=&quot;font-weight: bold;&quot;&gt;[meuUsuario]&lt;/span&gt;/backups/&lt;br /&gt;cp /etc/grub.d/10_linux /home/&lt;span style=&quot;font-weight: bold;&quot;&gt;[meuUsuario]&lt;/span&gt;/backups/&lt;br /&gt;cp /etc/network/interfaces /home/&lt;span style=&quot;font-weight: bold;&quot;&gt;[meuUsuario]&lt;/span&gt;/backups/&lt;br /&gt;cp /etc/rc.local /home/&lt;span style=&quot;font-weight: bold;&quot;&gt;[meuUsuario]&lt;/span&gt;/backups/&lt;br /&gt;echo &quot;Os back-ups foram salvos dentro de \&quot;/home/&lt;span style=&quot;font-weight: bold;&quot;&gt;[meuUsuario]&lt;/span&gt;/backups/\&quot;!!!&quot;&lt;br /&gt;&lt;br /&gt;echo &quot;Criando grupos e usuários do sistema...&quot;&lt;br /&gt;addgroup professores&lt;br /&gt;useradd -m -p &#39;&lt;span style=&quot;font-weight: bold;&quot;&gt;[hashMD5DaSenhaDoUsuarioEntreAspasSImples]&lt;/span&gt;&#39; Professores -g professores&lt;br /&gt;addgroup alunos&lt;br /&gt;useradd -m -p &#39;&lt;span style=&quot;font-weight: bold;&quot;&gt;[hashMD5DaSenhaDoUsuarioEntreAspasSimples]&lt;/span&gt;&#39; Alunos -g alunos&lt;br /&gt;&lt;br /&gt;echo &quot;Configurando a rede...&quot;&lt;br /&gt;read -p &quot;Informe o ip desejado: &quot; varip&lt;br /&gt;echo &quot;O ip escolhido foi \&quot;$varip\&quot;!!!&quot;&lt;br /&gt;echo &quot;auto lo\niface lo inet loopback\n\nauto eth0\niface eth0 inet static\naddress $varip\nnetmask 255.255.255.0\ngateway &lt;span style=&quot;font-weight: bold;&quot;&gt;192.168.xx.xx&lt;/span&gt;\ndns-provider &lt;span style=&quot;font-weight: bold;&quot;&gt;192.168.xx.xx&lt;/span&gt;&quot; &amp;gt; /etc/network/interfaces&lt;br /&gt;/etc/init.d/networking restart&lt;br /&gt;&lt;br /&gt;echo &quot;Configurando o Apt e o Aptitude...&quot;&lt;br /&gt;cp recursos/sources.list /etc/apt/sources.list&lt;br /&gt;apt-get update&lt;br /&gt;aptitude update&lt;br /&gt;sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list --output-document=/etc/apt/sources.list.d/medibuntu.list&lt;br /&gt;echo &quot;Fazendo backup de medibuntu.list em \&quot;/home/&lt;span style=&quot;font-weight: bold;&quot;&gt;[meuUsuario]&lt;/span&gt;/backups\&quot;...&quot;&lt;br /&gt;cp /etc/apt/sources.list.d/medibuntu.list /home/&lt;span style=&quot;font-weight: bold;&quot;&gt;[meuUsuario]&lt;/span&gt;/backups/&lt;br /&gt;cp recursos/medibuntu.list /etc/apt/sources.list.d/medibuntu.list&lt;br /&gt;sudo apt-get -q update&lt;br /&gt;#sudo apt-get -q update&lt;br /&gt;sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring&lt;br /&gt;&lt;br /&gt;echo &quot;Configurando GRUB2...&quot;&lt;br /&gt;echo &quot;cat &amp;lt;&amp;lt; EOF\nset superusers=\&quot;&lt;span style=&quot;font-weight: bold;&quot;&gt;nomeDoSuperUsuario&lt;/span&gt;\&quot;\npassword_pbkdf2 &lt;span style=&quot;font-weight: bold;&quot;&gt;nomeDoSuperUsuario&lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;senhaCriptografadaDoSuperUsuario&lt;/span&gt;\nEOF&quot; &amp;gt;&amp;gt; /etc/grub.d/00_header&lt;br /&gt;cp recursos/10_linux /etc/grub.d/10_linux&lt;br /&gt;update-grub&lt;br /&gt;&lt;br /&gt;echo &quot;Configurando ssh...&quot;&lt;br /&gt;echo &quot;\nAllowUsers &lt;span style=&quot;font-weight: bold;&quot;&gt;meuUsuarioAdministrativo&lt;/span&gt; Professores&quot; &amp;gt;&amp;gt; /etc/ssh/sshd_config&lt;br /&gt;/etc/init.d/ssh restart&lt;br /&gt;&lt;br /&gt;echo &quot;Configurando rc.local...&quot;&lt;br /&gt;cp recursos/rc.local /etc/rc.local&lt;br /&gt;&lt;br /&gt;echo &quot;Iniciando script de instalação de programas...&quot;&lt;br /&gt;echo &quot;Removendo Empathy...&quot;&lt;br /&gt;apt-get remove empathy -y&lt;br /&gt;echo &quot;Removendo Gwibber&quot;&lt;br /&gt;apt-get remove gwibber -y&lt;br /&gt;echo &quot;Instalando rar...&quot;&lt;br /&gt;apt-get install rar -y --install-recommends&lt;br /&gt;echo &quot;Instalando unrar...&quot;&lt;br /&gt;apt-get install unrar -y --install-recommends&lt;br /&gt;echo &quot;Instalando g++..&quot;&lt;br /&gt;apt-get install g++ -y --install-recommends&lt;br /&gt;echo &quot;Instalando JRE&quot;&lt;br /&gt;apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts -y --install-recommends&lt;br /&gt;echo &quot;Instalando Java Development Kit...&quot;&lt;br /&gt;apt-get install sun-java6-jdk -y --install-recommends&lt;br /&gt;# Caso não seja encontrado automaticamente pelo Netbeans,&lt;br /&gt;# encontra-se em &quot;/usr/share/doc/openjdk-6-doc&quot;&lt;br /&gt;echo &quot;Instalando Javadocs (do OpenJDK)&quot;&lt;br /&gt;apt-get install openjdk-6-doc -y --install-recommends&lt;br /&gt;echo &quot;Instalando codecs...&quot;&lt;br /&gt;apt-get install -y --force-yes w32codecs libdvdcss2 ubuntu-restricted-extras&lt;br /&gt;echo &quot;Instalando GIMP...&quot;&lt;br /&gt;apt-get install gimp -y --install-recommends&lt;br /&gt;echo &quot;Instalando Blender...&quot;&lt;br /&gt;apt-get install blender -y --install-recommends&lt;br /&gt;echo &quot;Instalando Code::Blocks..&quot;&lt;br /&gt;apt-get install codeblocks -y --install-recommends&lt;br /&gt;echo &quot;Instalando o libgtk2.0-dev&quot;&lt;br /&gt;#aptitude install libgtk2.0-dev&lt;br /&gt;apt-get install libgtk2.0-dev -y --install-recommends&lt;br /&gt;echo &quot;Instalando Lazarus IDE...&quot;&lt;br /&gt;#aptitude install lazarus&lt;br /&gt;apt-get install lazarus -y --install-recommends&lt;br /&gt;echo &quot;Instalando KTurtle...&quot;&lt;br /&gt;apt-get install kturtle -y --install-recommends&lt;br /&gt;echo &quot;Instalando Ambiente de Desenvolvimento Web Quanta Plus...&quot;&lt;br /&gt;apt-get install quanta kxsldbg-kde3 kimagemapeditor-kde3 khelpcenter -y --install-recommends&lt;br /&gt;echo &quot;Instalando TuxMath...&quot;&lt;br /&gt;apt-get install tuxmath -y --install-recommends&lt;br /&gt;echo &quot;Instalando TuxPaint...&quot;&lt;br /&gt;apt-get install tuxpaint -y --install-recommends&lt;br /&gt;echo &quot;Instalando TuxTyping...&quot;&lt;br /&gt;apt-get install tuxtype -y --install-recommends&lt;br /&gt;echo &quot;Instalando KTouch...&quot;&lt;br /&gt;apt-get install ktouch -y --install-recommends&lt;br /&gt;echo &quot;Instalando KHangman...&quot;&lt;br /&gt;apt-get install khangman -y --install-recommends&lt;br /&gt;echo &quot;Instalando KBruch...&quot;&lt;br /&gt;apt-get install kbruch -y --install-recommends&lt;br /&gt;echo &quot;Instalando Kanagram...&quot;&lt;br /&gt;apt-get install kanagram -y --install-recommends&lt;br /&gt;echo &quot;Instalando Inkscape...&quot;&lt;br /&gt;apt-get install inkscape -y --install-recommends&lt;br /&gt;echo &quot;Instalando KolourPaint4...&quot;&lt;br /&gt;apt-get install kolourpaint4 -y --install-recommends&lt;br /&gt;echo &quot;Instalando Scribus...&quot;&lt;br /&gt;apt-get install scribus -y --install-recommends&lt;br /&gt;echo &quot;Instalando KTuberling&quot;&lt;br /&gt;apt-get install ktuberling -y --install-recommends&lt;br /&gt;echo &quot;Instalando lmemory...&quot;&lt;br /&gt;apt-get install lmemory -y --install-recommends&lt;br /&gt;echo &quot;Instalando Gnome Tetravex...&quot;&lt;br /&gt;apt-get install gnotravex -y --install-recommends&lt;br /&gt;echo &quot;Instalando Flash Player Plug-in...&quot;&lt;br /&gt;dpkg -i instalandores/install_flash_player_10_linux.deb&lt;br /&gt;echo &quot;Removendo versões anteriores do BrOffice/OpenOffice...&quot;&lt;br /&gt;apt-get remove openoffice* -y&lt;br /&gt;echo &quot;Instalando BrOffice 3.2.1...&quot;&lt;br /&gt;dpkg -i instaladores/broffice3.2.1/DEBS/*deb&lt;br /&gt;dpkg -i instaladores/broffice3.2.1/DEBS/desktop-integration/*deb&lt;br /&gt;echo &quot;Instalando NetBeans 6.9.1&quot;&lt;br /&gt;chmod +x instaladores/netbeans-6.9.1-ml-linux.sh&lt;br /&gt;sh instaladores/netbeans-6.9.1-ml-linux.sh&lt;br /&gt;echo &quot;Instalando Blender 2.56...&quot;&lt;br /&gt;cp -r instaladores/blender-2.56a-beta-linux-glibc27-i686 /usr/local/Blender&lt;br /&gt;ln -s /usr/local/Blender/blender /usr/local/bin/blender&lt;br /&gt;cp recursos/blender-2.56.desktop /usr/share/applications&lt;br /&gt;chmod +x /usr/local/bin/blender&lt;br /&gt;echo &quot;Efetuando bloqueios a sites: configurando \&quot;/etc/hosts\&quot;&quot;&lt;br /&gt;java -jar AlterarHostName.jar&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Obs.: Os itens que tem de ser alterados/especificados estão representados em negrito.&lt;br /&gt;&lt;br /&gt;Bom, estando com tudo pronto, tudo definido, é só salvar o arquivo com a extensão &quot;.sh&quot; (por exemplo, pode chamá-lo de script_de_configuracao.sh) e abrir o terminal e executar o script como root:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; sudo sh script_de_configuracao.sh&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Feito isso, ele começará a trabalhar automaticamente, só pedindo a intervenção do usuário logo no início, quando vai configurar a rede, e no final, quando vai instalar o NetBeans, pois este último só possui instalador gráfico.&lt;br /&gt;&lt;br /&gt;E está encerrada a sequência de posts sobre a minha migração para o Linux do laboratório de informática da escola on faço estágio!&lt;br /&gt;&lt;br /&gt;Espero que este post tenha sido útil! Se houver qualquer dúvida, correção ou informação adicional, não deixe de recorrer aos comentários!&lt;br /&gt;&lt;br /&gt;Logo estarei de volta com algumas dicas! Até a próxima!&lt;br /&gt;&lt;hr /&gt;&lt;a href=&quot;http://gcminfo.blogspot.com/2011/03/migracao-linux-parte-4-apt-cacher.html&quot;&gt;Migração Linux - parte 4&lt;/a&gt;&lt;br /&gt;&lt;hr /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;As formatações efetuadas nos comandos e    trechos de arquivos de configuração foram geradas utilizando a    &quot;ferramenta&quot; Source Code Formatter, encontrada &lt;a href=&quot;http://codeformatter.blogspot.com/2009/06/about-code-formatter.html&quot;&gt;neste link&lt;/a&gt;.&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://gcminfo.blogspot.com/feeds/5218662039292365875/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://gcminfo.blogspot.com/2011/04/migracao-linux-parte-5-script-de.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/5218662039292365875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/5218662039292365875'/><link rel='alternate' type='text/html' href='http://gcminfo.blogspot.com/2011/04/migracao-linux-parte-5-script-de.html' title='Migração Linux - parte 5: Script de configuração do sistema'/><author><name>Guilherme</name><uri>http://www.blogger.com/profile/03589336606692745310</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiisfHGDJ7I_MeeEhaFYsXHFLSxSVQi7IIAOgq3XLtByZlsmm8d9K7_A_1e2ZH1ZijUVeLovYcFNzvYkQA79K3qSRMP1U4RMhzI-JqOGCV5upXoQAmmDzeetKPocGkJvdg/s220/tbav12100ew1.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7613478666243281200.post-2113813652228582425</id><published>2011-04-05T14:56:00.013-03:00</published><updated>2011-04-09T13:35:31.553-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="10.04"/><category scheme="http://www.blogger.com/atom/ns#" term="2"/><category scheme="http://www.blogger.com/atom/ns#" term="grub"/><category scheme="http://www.blogger.com/atom/ns#" term="grub2"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="mode"/><category scheme="http://www.blogger.com/atom/ns#" term="modo"/><category scheme="http://www.blogger.com/atom/ns#" term="pbkdf2"/><category scheme="http://www.blogger.com/atom/ns#" term="proteger"/><category scheme="http://www.blogger.com/atom/ns#" term="recovery"/><category scheme="http://www.blogger.com/atom/ns#" term="recuperação"/><category scheme="http://www.blogger.com/atom/ns#" term="senha"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Dica: proteger com senha o Modo de Recuperação no Grub</title><content type='html'>&lt;span style=&quot;font-family:arial;&quot;&gt;Estou de volta!&lt;br /&gt;&lt;br /&gt;Quando temos algum problema com o sistema (Ubuntu Linux) e o mesmo fica incapacitado de ser iniciado ou não funciona devidamente (ao ponto de impedir que o usuário, iniciando o sistema normalmente, acesse o terminal) é comum recorrermos ao modo de recuperação. Nele temos acesso a um terminal sendo executado como root, tornando possível manipularmos o sistema &quot;livremente&quot;, de modo a aplicarmos as correções necessárias.&lt;br /&gt;Certamente ele é algo útil. O problema é que, &quot;nas mãos&quot; de alguém mal intencionado, pode comprometer toda a segurança e integridade do sistema.&lt;br /&gt;&lt;br /&gt;Hoje vou falar (na realidade, escrever) sobre como proteger com senha a opção do &quot;modo de recuperação&quot; do Ubuntu no Grub, lembrando que é válido apenas para versão 2 (Grub 2) e talvez superiores.&lt;br /&gt;&lt;br /&gt;Para tal, primeiramente é preciso criar um &quot;super usuário&quot; do Grub com senha para acessar as entradas protegidas. Para fazer isso é preciso editar o arquivo &quot;/etc/grub.d/00_header&quot;, adicionando ao seu final as seguintes linhas:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; cat &amp;lt;&amp;lt; EOF&lt;br /&gt;set superusers=&quot;nomeDoSuperUsuario&quot;&lt;br /&gt;password nomeDoSuperUsuario senhaDoSuperUsuario&lt;br /&gt;EOF&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Creio que não haja muito a ser comentado sobre o caso acima... é só substituir &quot;nomeDoSuperUsuario&quot; &lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;e &quot;senhaDoSuperUsuario&quot; &lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;pelo nome de usuário e senha desejados. O único problema é que, se alguém acessar o arquivo &quot;00_header&quot;, terá acesso a tais informações de maneira explicita. Visando evitar isso, é possível fazer uso de uma senha criptografada, assim como descrito no caso abaixo:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; cat &amp;lt;&amp;lt; EOF&lt;br /&gt;set superusers=&quot;nomeDoSuperUsuario&quot;&lt;br /&gt;password_pbkdf2 nomeDoSuperUsuario senhaCriptografadaDoSuperUsuario&lt;br /&gt;EOF&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Da mesma forma que ocorre na situação anterior, basta &lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;substituir &quot;nomeDoSuperUsuario&quot; &lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;e &quot;senhaCriptografadaDoSuperUsuario&quot; &lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;pelo nome de usuário desejado e a senha criptografada.&lt;br /&gt;Para gerar tal senha, é preciso executar no terminal &quot;grub-mkpasswd-pbkdf2&quot; que irá requisitar o password desejado, a confirmação do mesmo e, por fim, irá devolvê-lo de forma criptografada (que será utilizada no lugar de &quot;senhaCriptografadaDoUsuario&quot;). Aproveito para alertar que, &lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;no lucid (10.04), é meio &quot;bugado&quot;, tendo vezes em que ele retorna a senha criptografada e vezes em que não faz o mesmo (tive de tentar várias vezes até funcionar),&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt; e também que, quando gerada, será uma sequência de caracteres bem grande (começando a partir de &quot;grub.pbkdf2...&quot;), mas é algo normal.&lt;br /&gt;&lt;br /&gt;Tendo sido estas alterações feitas, agora é hora de partir para o arquivo &quot;/etc/grub.d/10_linux&quot;. Aqui, aproximadamente na linha 72, há um trecho mais ou menos assim:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; if ${recovery} ; then&lt;br /&gt;title=&quot;$(gettext_quoted &quot;%s, with Linux %s (recovery mode)&quot;)&quot;&lt;br /&gt;else&lt;br /&gt;title=&quot;$(gettext_quoted &quot;%s, with Linux %s&quot;)&quot;&lt;br /&gt;fi&lt;br /&gt;printf &quot;menuentry &#39;${title}&#39; ${CLASS} {\n&quot; &quot;${os}&quot; &quot;${version}&quot;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;O que é preciso fazer é deixar este bloco da seguinte forma:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; if ${recovery} ; then&lt;br /&gt;title=&quot;$(gettext_quoted &quot;%s, with Linux %s (recovery mode)&quot;)&quot;&lt;br /&gt;printf &quot;menuentry &#39;${title}&#39; ${CLASS} &lt;span style=&quot;font-weight: bold;&quot;&gt;--users nomeDoSuperUsuario&lt;/span&gt; {\n&quot; &quot;${os}&quot; &quot;${version}&quot;&lt;br /&gt;else&lt;br /&gt;title=&quot;$(gettext_quoted &quot;%s, with Linux %s&quot;)&quot;&lt;br /&gt;printf &quot;menuentry &#39;${title}&#39; ${CLASS} {\n&quot; &quot;${os}&quot; &quot;${version}&quot;&lt;br /&gt;fi&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Fazendo desta forma, a senha será aplicada apenas ao modo de recuperação.&lt;br /&gt;Perceba que a seguinte linha agora só se apresenta dentro do bloco &quot;if .. else&quot;, não mais fora do mesmo...&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt;printf &quot;menuentry &#39;${title}&#39; ${CLASS} {\n&quot; &quot;${os}&quot; &quot;${version}&quot;  &lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;... e que ela também sofreu uma pequena alteração, que foi destacada, caso a condição (é modo de recuperação?) seja verdadeira.&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; if ${recovery} ; then&lt;br /&gt;title=&quot;$(gettext_quoted &quot;%s, with Linux %s (recovery mode)&quot;)&quot;&lt;br /&gt;printf &quot;menuentry &#39;${title}&#39; ${CLASS} &lt;span style=&quot;font-weight: bold;&quot;&gt;--users nomeDoSuperUsuario&lt;/span&gt; {\n&quot; &quot;${os}&quot; &quot;${version}&quot; &lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Se a condição for falsa, ela fica inalterada (não requerendo autenticação):&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; else&lt;br /&gt;title=&quot;$(gettext_quoted &quot;%s, with Linux %s&quot;)&quot;&lt;br /&gt;printf &quot;menuentry &#39;${title}&#39; ${CLASS} {\n&quot; &quot;${os}&quot; &quot;${version}&quot;&lt;br /&gt;fi &lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;br /&gt;Se tudo estiver certo até aqui, agora só resta executar o comando &quot;update-grub&quot;...&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; sudo update-grub&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;... e testar se as alterações estão funcionando.&lt;br /&gt;No menu do Grub, é só selecionar alguma opção de modo de recuperação que será exibida uma &quot;tela preta&quot; requisitando o usuário e, em seguida, a senha. Caso esteja tudo certo, o sistema será iniciado pelo modo escolhido, senão, aparecerá uma mensagem informando que as informações estão incorretas, pedindo que seja pressionada qualquer tecla para continuar, voltando para o menu anteriormente exibido (se alguma tecla for pressionada, é claro).&lt;br /&gt;&lt;br /&gt;Para mais informações sobre como proteger as entradas do Grub com senha, recomendo dar uma olhada &lt;a href=&quot;http://ubuntuforums.org/showthread.php?t=1369019&quot;&gt;neste tópico do UbuntuForums.Org&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Novamente espero que este post tenha sido de alguma ajuda! Se houver qualquer dúvida, é só fazer uso dos comentários!&lt;br /&gt;&lt;hr /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;As formatações efetuadas nos comandos e   trechos de arquivos de configuração foram geradas utilizando a   &quot;ferramenta&quot; Source Code Formatter, encontrada &lt;a href=&quot;http://codeformatter.blogspot.com/2009/06/about-code-formatter.html&quot;&gt;neste link&lt;/a&gt;.&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;br /&gt;As fontes de informação utilizadas para a criação deste tópico foram &lt;a href=&quot;http://ubuntuforum-br.org/index.php?topic=65572.0&quot;&gt;este tópico do forum UbuntuForum-BR.org&lt;/a&gt; e &lt;a href=&quot;http://ubuntuforums.org/showthread.php?t=1369019&quot;&gt;este do UbuntuForum.Org&lt;/a&gt;.&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://gcminfo.blogspot.com/feeds/2113813652228582425/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://gcminfo.blogspot.com/2011/04/dica-proteger-com-senha-o-modo-de.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/2113813652228582425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/2113813652228582425'/><link rel='alternate' type='text/html' href='http://gcminfo.blogspot.com/2011/04/dica-proteger-com-senha-o-modo-de.html' title='Dica: proteger com senha o Modo de Recuperação no Grub'/><author><name>Guilherme</name><uri>http://www.blogger.com/profile/03589336606692745310</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiisfHGDJ7I_MeeEhaFYsXHFLSxSVQi7IIAOgq3XLtByZlsmm8d9K7_A_1e2ZH1ZijUVeLovYcFNzvYkQA79K3qSRMP1U4RMhzI-JqOGCV5upXoQAmmDzeetKPocGkJvdg/s220/tbav12100ew1.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7613478666243281200.post-8314773735668236593</id><published>2011-04-02T19:06:00.011-03:00</published><updated>2011-04-09T13:32:27.278-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="10.04"/><category scheme="http://www.blogger.com/atom/ns#" term="2"/><category scheme="http://www.blogger.com/atom/ns#" term="contagem"/><category scheme="http://www.blogger.com/atom/ns#" term="grub"/><category scheme="http://www.blogger.com/atom/ns#" term="grub2"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="regressiva"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Dica: Parar contagem regressiva do Grub</title><content type='html'>&lt;span style=&quot;font-family:arial;&quot;&gt;Eis que aqui estou novamente postando uma dica! Desta vez irei falar sobre o Grub!&lt;br /&gt;...&lt;br /&gt;Quando instalamos o Ubuntu ou outra distribuição Linux, que use o Grub como &quot;gerenciador de boot&quot;, em Dual Boot com outro sistema operacional, percebemos que o menu com as opções para boot fica disponível apenas por 10 segundos (contagem que se apresenta na parte inferior da tela), sendo iniciada a opção default (que fica destacada) após o término do tempo.&lt;br /&gt;No caso de muitas pessoas que tem o costume de ligar o computador e ir fazer outras coisas enquanto o sistema não é iniciado por completo, isto pode ser um incomodo, pois pode acabar sendo carregado outro SO que não seja o desejado caso a pessoa se esqueça de selecionar a opção devida dentro do tempo disponível.&lt;br /&gt;&lt;br /&gt;Para aumentar ou simplesmente acabar com tal contagem regressiva, basta editar um determinado arquivo de configuração do Grub.&lt;br /&gt;&lt;br /&gt;No caso de versões anteriores ao Grub 2, o arquivo em questão é o &quot;/boot/grub/menu.lst&quot;. Nele é só procurar pela linha abaixo e efetuar as alterações de acordo com a necessidade:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; timeout 10 #Vale lembrar que o valor do timeout pode estar diferente&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Para iniciar o sistema default (&quot;padrão&quot;) de imediato, sem a contagem, é só atribuir o valor 0 (zero):&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; timeout 0&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Para remover a contagem, permitindo que o menu fique ativo até alguma opção ser selecionada, basta remover ou comentar a linha:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; #timeout 10&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Para aumentar o tempo da contagem regressiva, logicamente, aumenta-se o valor atribuído:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; timeout 60 #Contagem aumentada para 60 segundos&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;No caso do Grub 2, as coisas funcionam de modo um pouco diferente. Nele não existe o arquivo &quot;menu.lst&quot;, mas, em contra partida, há o &quot;/etc/default/grub&quot;. Além disso, após qualquer alteração, é necessário executar o comando &quot;update-grub&quot; para que as mudanças tenham efeito.&lt;br /&gt;Seguindo a mesma ordem do caso acima, para iniciar o sistema padrão de imediato, é só atribuir 0 (zero) a &quot;GRUB_TIMEOUT&quot;, assim como feito abaixo:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; GRUB_TIMEOUT=0&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Para remover a contagem, deixando o menu de maneira estática até que algo seja selecionado, basta atribuir um número negativo à mesma opção:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; GRUB_TIMEOUT=-1 #Comentá-la não funcionaria, pois seria considerado um valor padrão, que é 10&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Para aumentar o tempo da contagem, como no caso anterior, aumenta-se o valor atribuído:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; GRUB_TIMEOUT=60 #Contagem aumentada para 60 segundos&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Tendo sido as alterações feitas conforme necessário, agora é só executar o comando &quot;update-grub&quot; como root que as mesmas terão efeito:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; sudo update-grub&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Bom, eu citei várias vezes um tal opção &quot;padrão&quot; (default), certo? Para quem não faz ideia do que estou falando, ela é a que, no menu, fica &quot;selecionada&quot; por padrão, sendo geralmente a primeira. Para alterar qual será a entrada &quot;default&quot; basta:&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Em versões anteriores ao Grub 2: alterar o valor atribuído à &quot;default&quot;, lembrando que a contagem começa a partir do 0 (zero);&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;No Grub 2: alterar o valor atribuído à &quot;GRUB_DEFAULT&quot;, lembrando novamente que a contagem começa a partir do 0 (zero).&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Como de costume, espero que esta dica tenha sido útil! Se houver qualquer dúvida ou encontrarem qualquer erro neste post, não deixem de comentar!&lt;br /&gt;&lt;br /&gt;Na próxima postagem pretendo aproveitar o &quot;embalo&quot; e falar novamente sobre o Grub 2, especificamente, escreverei sobre &quot;como proteger o modo de recuperação com senha&quot;.&lt;br /&gt;&lt;br /&gt;Até a próxima!&lt;br /&gt;&lt;hr /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;As formatações efetuadas nos comandos e  trechos de arquivos de configuração foram geradas utilizando a  &quot;ferramenta&quot; Source Code Formatter, encontrada &lt;a href=&quot;http://codeformatter.blogspot.com/2009/06/about-code-formatter.html&quot;&gt;neste link&lt;/a&gt;.&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;br /&gt;Quanto as fontes utilizadas para a criação deste tópico, não tenho como informar ao certo, pois foi constituído de informações coletadas há muito tempo e de diversos lugares. Além disso, a forma de remover a contagem no Grub 2 descobri na tentativa e erro.&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://gcminfo.blogspot.com/feeds/8314773735668236593/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://gcminfo.blogspot.com/2011/04/dica-parar-contagem-regressiva-do-grub.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/8314773735668236593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/8314773735668236593'/><link rel='alternate' type='text/html' href='http://gcminfo.blogspot.com/2011/04/dica-parar-contagem-regressiva-do-grub.html' title='Dica: Parar contagem regressiva do Grub'/><author><name>Guilherme</name><uri>http://www.blogger.com/profile/03589336606692745310</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiisfHGDJ7I_MeeEhaFYsXHFLSxSVQi7IIAOgq3XLtByZlsmm8d9K7_A_1e2ZH1ZijUVeLovYcFNzvYkQA79K3qSRMP1U4RMhzI-JqOGCV5upXoQAmmDzeetKPocGkJvdg/s220/tbav12100ew1.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7613478666243281200.post-3888349328496044574</id><published>2011-03-29T12:39:00.007-03:00</published><updated>2011-04-09T13:32:53.919-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="configurar"/><category scheme="http://www.blogger.com/atom/ns#" term="dhcp"/><category scheme="http://www.blogger.com/atom/ns#" term="dica"/><category scheme="http://www.blogger.com/atom/ns#" term="estatico"/><category scheme="http://www.blogger.com/atom/ns#" term="fixo"/><category scheme="http://www.blogger.com/atom/ns#" term="ip"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Dica: Configurar IP fixo no Ubuntu e outras distribuições Linux</title><content type='html'>&lt;span style=&quot;font-family:arial;&quot;&gt;Este já é um dos assuntos mais abordados em sites e blogs sobre Linux, contudo irei falar sobre o mesmo, já que foi algo que utilizei durante a minha migração para o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_0&quot;&gt;Ubuntu&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;A situação era a seguinte: um laboratório com dezenas de computadores e todos com &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_1&quot;&gt;IPs&lt;/span&gt; &quot;aleatórios&quot;, fornecidos pelo servidor &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_2&quot;&gt;DHCP&lt;/span&gt;.&lt;br /&gt;Como precisava saber o IP de cada uma para &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_3&quot;&gt;acessar&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_4&quot;&gt;compartilhamentos&lt;/span&gt;, &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_5&quot;&gt;SSH&lt;/span&gt; e outras finalidades, se fez necessário o  uso de IP estático (&quot;fixo&quot;).&lt;br /&gt;&lt;br /&gt;Para tal, basta editar a interface utilizada, no arquivo &quot;/etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_6&quot;&gt;network&lt;/span&gt;/interfaces&quot;, do seguinte modo:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; # Interface&lt;br /&gt;auto &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_7&quot;&gt;eth&lt;/span&gt;0&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_8&quot;&gt;iface&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_9&quot;&gt;eth&lt;/span&gt;0 &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_10&quot;&gt;inet&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_11&quot;&gt;static&lt;/span&gt;&lt;br /&gt;# Endereço de IP da máquina (a ser utilizado)&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_12&quot;&gt;address&lt;/span&gt; 192.168.x.x&lt;br /&gt;# Mascara de rede&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_13&quot;&gt;netmask&lt;/span&gt; 255.255.255.0&lt;br /&gt;# &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_14&quot;&gt;Gateway&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_15&quot;&gt;gateway&lt;/span&gt; 192.168.x.x&lt;br /&gt;# Servidor &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_16&quot;&gt;DNS&lt;/span&gt;... fazendo uso desta opção, o servidor &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_17&quot;&gt;DNS&lt;/span&gt; &lt;span class=&quot;blsp-spelling-corrected&quot; id=&quot;SPELLING_ERROR_18&quot;&gt;aqui&lt;/span&gt;&lt;br /&gt;# informado será automaticamente adicionado aos &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_19&quot;&gt;nameservers&lt;/span&gt;&lt;br /&gt;# no arquivo &quot;/etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_20&quot;&gt;resolv&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_21&quot;&gt;conf&lt;/span&gt;&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_22&quot;&gt;dns&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_23&quot;&gt;provider&lt;/span&gt; 192.168.x.x&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Após a edição é só reiniciar o serviço:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_24&quot;&gt;sudo&lt;/span&gt; /etc/init.d/networking &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_25&quot;&gt;restart&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;E testar se está tudo funcionando devidamente!&lt;br /&gt;&lt;br /&gt;Também há a possibilidade de fazer tal configuração através de um cliente gráfico, porem não funcionou da forma que eu gostaria.&lt;br /&gt;&lt;br /&gt;Mais uma vez, espero que este &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_26&quot;&gt;post&lt;/span&gt; tenha sido útil. Se houver qualquer dúvida ou erro, não deixe de recorrer aos comentários!&lt;br /&gt;&lt;hr /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;As formatações &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_136&quot;&gt;efetuadas&lt;/span&gt; nos comandos e  trechos de arquivos de configuração foram geradas utilizando a  &quot;ferramenta&quot; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_137&quot;&gt;Source&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_138&quot;&gt;Code&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_139&quot;&gt;Formatter&lt;/span&gt;, encontrada &lt;a href=&quot;http://codeformatter.blogspot.com/2009/06/about-code-formatter.html&quot;&gt;neste link&lt;/a&gt;.&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;br /&gt;A fonte que utilizei quando precisei fazer uso de IP fixo e durante a criação deste post foi &lt;a href=&quot;http://www.vivaolinux.com.br/topico/vivaolinux/ip-fixo-no-ubuntu-8.10-1&quot;&gt;este&lt;/a&gt; tópico da comunidade &quot;Viva O Linux&quot;:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://gcminfo.blogspot.com/feeds/3888349328496044574/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://gcminfo.blogspot.com/2011/03/dica-configurar-ip-fixo-no-ubuntu.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/3888349328496044574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/3888349328496044574'/><link rel='alternate' type='text/html' href='http://gcminfo.blogspot.com/2011/03/dica-configurar-ip-fixo-no-ubuntu.html' title='Dica: Configurar IP fixo no Ubuntu e outras distribuições Linux'/><author><name>Guilherme</name><uri>http://www.blogger.com/profile/03589336606692745310</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiisfHGDJ7I_MeeEhaFYsXHFLSxSVQi7IIAOgq3XLtByZlsmm8d9K7_A_1e2ZH1ZijUVeLovYcFNzvYkQA79K3qSRMP1U4RMhzI-JqOGCV5upXoQAmmDzeetKPocGkJvdg/s220/tbav12100ew1.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7613478666243281200.post-8011305266778815496</id><published>2011-03-27T09:22:00.009-03:00</published><updated>2011-04-22T15:28:47.937-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="10.04"/><category scheme="http://www.blogger.com/atom/ns#" term="apt"/><category scheme="http://www.blogger.com/atom/ns#" term="apt-cacher"/><category scheme="http://www.blogger.com/atom/ns#" term="automática"/><category scheme="http://www.blogger.com/atom/ns#" term="cacher"/><category scheme="http://www.blogger.com/atom/ns#" term="instalação"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="migração"/><category scheme="http://www.blogger.com/atom/ns#" term="mirror"/><category scheme="http://www.blogger.com/atom/ns#" term="netboot"/><category scheme="http://www.blogger.com/atom/ns#" term="preseed"/><category scheme="http://www.blogger.com/atom/ns#" term="pxe"/><category scheme="http://www.blogger.com/atom/ns#" term="rede"/><category scheme="http://www.blogger.com/atom/ns#" term="repositorios"/><category scheme="http://www.blogger.com/atom/ns#" term="servidor"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Migração Linux - parte 4: Apt-cacher</title><content type='html'>&lt;span style=&quot;font-family:arial;&quot;&gt;Olá pessoal!&lt;br /&gt;&lt;br /&gt;Desculpem-me pela demora, mas na última semana tive a combinação de provas e uma gripe forte, então, tinha dia que eu nem chegava perto do PC de casa direito.&lt;br /&gt;...&lt;br /&gt;A instalação e configuração do servidor &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_0&quot;&gt;Apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_1&quot;&gt;cacher&lt;/span&gt;, devo dizer, é uma das partes mais fáceis.&lt;br /&gt;&lt;br /&gt;Primeiramente, o baixei (como ele usa o apache, também se faz necessária a instalação deste último). Como o instalei em outra máquina, não na mesma que utilizei para o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_2&quot;&gt;netboot&lt;/span&gt;, precisei instalar o apache também:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_3&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_4&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_5&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_6&quot;&gt;install&lt;/span&gt; apache2 &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_7&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_8&quot;&gt;cacher&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Tendo sido o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_9&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_10&quot;&gt;cacher&lt;/span&gt; instalado, basta agora configurá-lo através do arquivo &quot;/etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_11&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_12&quot;&gt;cacher&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_13&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_14&quot;&gt;cacher&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_15&quot;&gt;conf&lt;/span&gt;&quot;. Nele há as seguintes opções (comentarei as mais importantes):&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; # &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_16&quot;&gt;Diretório&lt;/span&gt; onde serão armazenados os arquivos .&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_17&quot;&gt;deb&lt;/span&gt; do cache.&lt;br /&gt;cache_&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_18&quot;&gt;dir&lt;/span&gt;=/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_19&quot;&gt;var&lt;/span&gt;/cache/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_20&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_21&quot;&gt;cacher&lt;/span&gt;&lt;br /&gt;# E-mail do administrador da rede.&lt;br /&gt;admin_email=root@localhost&lt;br /&gt;# Porta padrão... no caso de haver um &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_22&quot;&gt;firewall&lt;/span&gt;, pode ser necessário liberá-la.&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_23&quot;&gt;daemon&lt;/span&gt;_&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_24&quot;&gt;port&lt;/span&gt;=3142&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_25&quot;&gt;group&lt;/span&gt;=www-data&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_26&quot;&gt;user&lt;/span&gt;=www-data&lt;br /&gt;# &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_27&quot;&gt;IPs&lt;/span&gt; que podem &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_28&quot;&gt;acessar&lt;/span&gt; o servidor &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_29&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_30&quot;&gt;cacher&lt;/span&gt;, separados por vírgulas.&lt;br /&gt;# Do jeito que aqui está, todos dentro da &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_31&quot;&gt;subrede&lt;/span&gt; &quot;192.168.1.0&quot; são permitidos.&lt;br /&gt;# Para liberar faixas de IP, basta utilizar um &quot;-&quot; entre o inicial e o final,&lt;br /&gt;# por exemplo, &quot;192.168.1.10-192.168.1.50&quot; (sem aspas). Para liberar qualquer&lt;br /&gt;# &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_32&quot;&gt;ip&lt;/span&gt;, se não me engano, é só atribuir um &quot;*&quot; (sem aspas).&lt;br /&gt;allowed_hosts=192.168.1.0/24&lt;br /&gt;# O contrário da opção anterior, funcionando da mesma forma.&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_33&quot;&gt;denied&lt;/span&gt;_&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_34&quot;&gt;hosts&lt;/span&gt;=&lt;br /&gt;# O mesmo que &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_35&quot;&gt;allowed&lt;/span&gt;_&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_36&quot;&gt;hosts&lt;/span&gt;&quot;, porem aqui são passados os &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_37&quot;&gt;IPs&lt;/span&gt; v6 liberados.&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_38&quot;&gt;allowed&lt;/span&gt;_&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_39&quot;&gt;hosts&lt;/span&gt;_6=&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_40&quot;&gt;fec&lt;/span&gt;0::/16&lt;br /&gt;# O contrário da opção anterior.&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_41&quot;&gt;denied&lt;/span&gt;_&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_42&quot;&gt;hosts&lt;/span&gt;_6=&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_43&quot;&gt;generate&lt;/span&gt;_&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_44&quot;&gt;reports&lt;/span&gt;=1&lt;br /&gt;# Limpa &lt;span class=&quot;blsp-spelling-corrected&quot; id=&quot;SPELLING_ERROR_45&quot;&gt;&lt;span xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;diariamente&lt;/span&gt;&lt;/span&gt; os pacotes em cache que não mais estejam na lista&lt;br /&gt;# dos Canais de Software do repositório &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_46&quot;&gt;atual&lt;/span&gt;.&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_47&quot;&gt;clean&lt;/span&gt;_cache=1&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_48&quot;&gt;offline&lt;/span&gt;_&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_49&quot;&gt;mode&lt;/span&gt;=0&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_50&quot;&gt;logdir&lt;/span&gt;=/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_51&quot;&gt;var&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_52&quot;&gt;log&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_53&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_54&quot;&gt;cacher&lt;/span&gt;&lt;br /&gt;# Tempo para que as listas dos Canais de Software do Repositório sejam&lt;br /&gt;# &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_55&quot;&gt;atualizadas&lt;/span&gt; (em horas). Se for zero, a cada requisição isto será feito,&lt;br /&gt;# sendo os pacotes &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_56&quot;&gt;atualizados&lt;/span&gt; (baixados novamente) se necessário.&lt;br /&gt;expire_&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_57&quot;&gt;hours&lt;/span&gt;=0&lt;br /&gt;use_&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_58&quot;&gt;proxy&lt;/span&gt;=0&lt;br /&gt;use_&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_59&quot;&gt;proxy&lt;/span&gt;_&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_60&quot;&gt;auth&lt;/span&gt;=0&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_61&quot;&gt;limit&lt;/span&gt;=0&lt;br /&gt;debug=0&lt;br /&gt;# Permite adicionar &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_62&quot;&gt;codenomes&lt;/span&gt; para os repositórios.&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_63&quot;&gt;path&lt;/span&gt;_&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_64&quot;&gt;map&lt;/span&gt; = &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_65&quot;&gt;debian&lt;/span&gt; ftp.uni-kl.de/pub/linux/debian ftp2.de.debian.org/debian ; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_66&quot;&gt;ubuntu&lt;/span&gt; archive.ubuntu.com/ubuntu ; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_67&quot;&gt;security&lt;/span&gt; security.debian.org/debian-security ftp2.de.debian.org/debian-security&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Eu só alterei as opções &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_68&quot;&gt;admin&lt;/span&gt;_email&quot; e &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_69&quot;&gt;allowed&lt;/span&gt;_&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_70&quot;&gt;hosts&lt;/span&gt;&quot; (permiti apenas uma faixa de &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_71&quot;&gt;IPs&lt;/span&gt;). O resto eu deixei com as definições padrão.&lt;br /&gt;Estando tudo certo com o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_72&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_73&quot;&gt;cacher&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_74&quot;&gt;conf&lt;/span&gt;, posteriormente só modifiquei o arquivo &quot;/etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_75&quot;&gt;default&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_76&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_77&quot;&gt;cacher&lt;/span&gt;&quot;, atribuindo &quot;1&quot; a &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_78&quot;&gt;AUTOSTART&lt;/span&gt;&quot; (&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_79&quot;&gt;AUTOSTART&lt;/span&gt; =1). Isso tem como &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_80&quot;&gt;objetivo&lt;/span&gt; iniciar o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_81&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_82&quot;&gt;cacher&lt;/span&gt; juntamente com o sistema.&lt;br /&gt;Agora é só iniciar o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_83&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_84&quot;&gt;cacher&lt;/span&gt;:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_85&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_86&quot;&gt;service&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_87&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_88&quot;&gt;cacher&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_89&quot;&gt;start&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Estando com ele rodando, para ver se está funcionando, tente &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_90&quot;&gt;acessar&lt;/span&gt; através do navegador &quot;http://[IPDoServidor]:3142/&quot;. Se aparecer uma página com as configurações do mesmo, tudo certo até aqui.&lt;br /&gt;&lt;br /&gt;Também há a opção de importar o cache do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_91&quot;&gt;apt&lt;/span&gt; do servidor para o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_92&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_93&quot;&gt;cacher&lt;/span&gt;, de modo a aproveitar os pacotes que já tenham sido baixados anteriormente (&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_94&quot;&gt;atualizações&lt;/span&gt; e aplicativos em geral). Como eu já havia testado algumas coisas no servidor, aproveitei para ganhar um tempo. Para importar, bastou utilizar o seguinte comando:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_95&quot;&gt;sudo&lt;/span&gt; /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_96&quot;&gt;usr&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_97&quot;&gt;share&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_98&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_99&quot;&gt;cacher&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_100&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_101&quot;&gt;cacher&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_102&quot;&gt;import&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_103&quot;&gt;pl&lt;/span&gt; /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_104&quot;&gt;var&lt;/span&gt;/cache/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_105&quot;&gt;apt&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_106&quot;&gt;archives&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Se tudo estiver certo até aqui, será hora de fazer as alterações no lado dos clientes, ou seja, nas máquinas que irão utilizar o servidor &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_107&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_108&quot;&gt;cacher&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Para &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_109&quot;&gt;direcioná&lt;/span&gt;-las para o servidor &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_110&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_111&quot;&gt;cacher&lt;/span&gt;, basta editar o arquivo &quot;/etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_112&quot;&gt;apt&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_113&quot;&gt;sources&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_114&quot;&gt;list&lt;/span&gt;&quot;. Você simplesmente irá fazer o mesmo do exemplo abaixo com todos os demais repositórios presentes no arquivo.&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; #Substituir:&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_115&quot;&gt;deb&lt;/span&gt; http://br.archive.ubuntu.com/ubuntu/ &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_116&quot;&gt;lucid&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_117&quot;&gt;main&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_118&quot;&gt;restricted&lt;/span&gt;&lt;br /&gt;#Por:&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_119&quot;&gt;deb&lt;/span&gt; http://[IPDoServidorApt-Cacher]:3142/br.archive.ubuntu.com/ubuntu/ &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_120&quot;&gt;lucid&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_121&quot;&gt;main&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_122&quot;&gt;restricted&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Após isso, é só &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_123&quot;&gt;atualizar&lt;/span&gt; os repositórios:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_124&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_125&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_126&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_127&quot;&gt;update&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Se tudo tiver ocorrido sem problemas até aqui, instalação e configuração concluídas com sucesso. Para testar, você pode tentar instalar algo através dos repositórios. Se baixar &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_128&quot;&gt;corretamente&lt;/span&gt;, estará funcionando. Das próximas vezes em que for baixar o mesmo programa/pacote, seja no mesmo computador ou em outro que também esteja &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_129&quot;&gt;direcionado&lt;/span&gt; para o servidor &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_130&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_131&quot;&gt;cacher&lt;/span&gt;, o receberá praticamente &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_132&quot;&gt;instantaneamente&lt;/span&gt;, já que não serão provenientes dos repositórios na WEB, mas sim do servidor em questão (só serão baixados novamente se estiverem &quot;obsoletos&quot;).&lt;br /&gt;&lt;br /&gt;Eu cheguei a criar um &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_133&quot;&gt;script&lt;/span&gt; bem simples para configurar o arquivo &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_134&quot;&gt;sources&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_135&quot;&gt;list&lt;/span&gt;&quot; dos clientes. Se quiserem dar uma olhada, basta conferirem a última parte, que tratará da configuração do sistema, pós instalação, e dos aplicativos utilizados.&lt;br /&gt;&lt;br /&gt;Espero que estejam gostando e que o que aqui escrevo esteja sendo útil! Logo virei com a última parte!&lt;br /&gt;&lt;hr /&gt;&lt;/span&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;a href=&quot;http://gcminfo.blogspot.com/2011/03/migracao-linux-parte-3-preseed.html&quot;&gt;Migração Linux - parte 3&lt;/a&gt; / &lt;a href=&quot;http://gcminfo.blogspot.com/2011/04/migracao-linux-parte-5-script-de.html&quot;&gt;Migração Linux - parte 5&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;hr /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;As formatações &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_136&quot;&gt;efetuadas&lt;/span&gt; nos comandos e  trechos de arquivos de configuração foram geradas utilizando a  &quot;ferramenta&quot; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_137&quot;&gt;Source&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_138&quot;&gt;Code&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_139&quot;&gt;Formatter&lt;/span&gt;, encontrada &lt;a href=&quot;http://codeformatter.blogspot.com/2009/06/about-code-formatter.html&quot;&gt;neste link&lt;/a&gt;.&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;br /&gt;&lt;br /&gt;Para construir este post, foram utilizados como base as seguintes fontes:&lt;br /&gt;http://www.vivaolinux.com.br/dica/APTCacher-Seu-repositorio-de-pacotes-locais/&lt;br /&gt;http://wiki.ubuntu-br.org/apt-cacher&lt;br /&gt;http://www.dicas-l.com.br/arquivo/apt-cacher.php&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://gcminfo.blogspot.com/feeds/8011305266778815496/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://gcminfo.blogspot.com/2011/03/migracao-linux-parte-4-apt-cacher.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/8011305266778815496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/8011305266778815496'/><link rel='alternate' type='text/html' href='http://gcminfo.blogspot.com/2011/03/migracao-linux-parte-4-apt-cacher.html' title='Migração Linux - parte 4: Apt-cacher'/><author><name>Guilherme</name><uri>http://www.blogger.com/profile/03589336606692745310</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiisfHGDJ7I_MeeEhaFYsXHFLSxSVQi7IIAOgq3XLtByZlsmm8d9K7_A_1e2ZH1ZijUVeLovYcFNzvYkQA79K3qSRMP1U4RMhzI-JqOGCV5upXoQAmmDzeetKPocGkJvdg/s220/tbav12100ew1.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7613478666243281200.post-3157512132437183717</id><published>2011-03-08T10:07:00.002-03:00</published><updated>2011-04-22T15:31:22.908-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="10.04"/><category scheme="http://www.blogger.com/atom/ns#" term="apt-cacher"/><category scheme="http://www.blogger.com/atom/ns#" term="automática"/><category scheme="http://www.blogger.com/atom/ns#" term="instalação"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="migração"/><category scheme="http://www.blogger.com/atom/ns#" term="mirror"/><category scheme="http://www.blogger.com/atom/ns#" term="netboot"/><category scheme="http://www.blogger.com/atom/ns#" term="preseed"/><category scheme="http://www.blogger.com/atom/ns#" term="pxe"/><category scheme="http://www.blogger.com/atom/ns#" term="rede"/><category scheme="http://www.blogger.com/atom/ns#" term="servidor"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Migração Linux - parte 3: Preseed</title><content type='html'>&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Saudações, pessoal!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Desculpem-me pela demora em postar esta segunda parte... planejava fazê-lo no último Sábado ou Domingo, mas a preguiça não permitiu.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Indo ao assunto deste post, a parte do preseed não é complicada (apesar de eu ter levado uns 2~3 dias para fazê-la funcionar devidamente, mas foi por problemas de &quot;burrice&quot; mesmo). No arquivo você define as respostas a todas as perguntas que são feitas durante a instalação do sistema, além de poder fazer algumas coisas mais, que não aparecem durante uma instalação convencional.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Quado gerei meu arquivo de preseed, utilizei como base o disponibilizado na própria &lt;a href=&quot;https://help.ubuntu.com/10.04/installation-guide/example-preseed.txt&quot;&gt;documentação do Ubuntu&lt;/a&gt; (que, por sinal, é o mesmo da documentação do Debian). Ele já está bem completo e todo comentado, então, se precisarem de alguma opção que não for tratada aqui e tiverem dúvidas, não exitem em perguntar através dos comentários, pois eu tentarei ajudar.&lt;br /&gt;&lt;br /&gt;Também gostaria de ressaltar que só falarei dos parâmetros que utilizei durante minha experiência com o assunto desta postagem. Não irei citar os demais, pois, além de não ter trabalhado com os mesmos, se fosse descrevê-los, o conteúdo iria ficar muito extenso, por isso recomendo a quem tiver dúvidas a fazer perguntas através dos comentários e também a dar uma olhada na própria documentação do Ubuntu, na parte que trata do &lt;a href=&quot;https://help.ubuntu.com/8.04/installation-guide/i386/preseed-contents.html&quot;&gt;conteúdo do arquivo de preseed&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Agora, vamos ao que realmente importa!&lt;br /&gt;A &lt;a href=&quot;https://help.ubuntu.com/10.04/installation-guide/i386/preseed-creating.html&quot;&gt;sintaxe dos comandos é a seguinte&lt;/a&gt;:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; &amp;lt;dono&amp;gt; &amp;lt;questão&amp;gt; &amp;lt;tipo&amp;gt; &amp;lt;valor&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;dono&gt;&lt;questão&gt;&lt;tipo&gt;&lt;valor&gt;&lt;br /&gt;Como exemplo, segue a linha abaixo.&lt;br /&gt;&lt;/valor&gt;&lt;/tipo&gt;&lt;/questão&gt;&lt;/dono&gt;&lt;/span&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt; d-i debian-installer/locale string en_US&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;br /&gt;No caso acima, o dono seria &quot;d-i&quot; (Debian Installer), a questão &quot;debian-installer/locale&quot;, o tipo &quot;string&quot; e o valor &quot;en_US&quot;.&lt;br /&gt;&lt;br /&gt;A estrutura também segue algumas regrinhas, tais como:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Deve haver apenas um espaço ou tabulação entre o &quot;dono&quot;, a &quot;questão&quot;, o &quot;tipo&quot; e o &quot;valor&quot;;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Uma linha pode ser quebrada em várias utilizando uma contra-barra (&quot;barra invertida&quot;) no local da divisão (muito útil se for particionar o disco através do preseed);&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Algumas questões recebem valores na forma de &quot;código&quot;, ao invés de seu valor em inglês, exibido em um instalação normal.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;br /&gt;Para mais informações quanto a essas regras, questões, etc, dê uma olhada na própria &lt;a href=&quot;https://help.ubuntu.com/10.04/installation-guide/i386/preseed-creating.html&quot;&gt;documentação do Ubuntu&lt;/a&gt;!&lt;br /&gt;&lt;br /&gt;Abaixo segue uma cópia de meu arquivo de preseed, sendo omitidos apenas os comentários e os valores de algumas questões:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; d-i debian-installer/locale string pt_BR&lt;br /&gt;d-i console-setup/ask_detect boolean false&lt;br /&gt;d-i console-setup/layoutcode string br&lt;br /&gt;d-i netcfg/choose_interface select auto&lt;br /&gt;d-i netcfg/get_hostname string unassigned-hostname&lt;br /&gt;d-i netcfg/get_domain string meudominio&lt;br /&gt;d-i netcfg/wireless_wep string&lt;br /&gt;#d-i mirror/protocol string ftp&lt;br /&gt;d-i mirror/country string enter information manually&lt;br /&gt;d-i mirror/http/hostname string [ipDoServidorDeNetBoot]&lt;br /&gt;d-i mirror/http/directory string /ubuntu/lucid/alternate&lt;br /&gt;d-i mirror/http/proxy string&lt;br /&gt;d-i mirror/suite string lucid&lt;br /&gt;d-i mirror/udeb/components multiselect main, restricted&lt;br /&gt;d-i clock-setup/utc boolean true&lt;br /&gt;d-i time/zone string America/Sao_Paulo&lt;br /&gt;d-i clock-setup/ntp boolean true&lt;br /&gt;d-i partman-auto/method string regular&lt;br /&gt;d-i partman-lvm/device_remove_lvm boolean true&lt;br /&gt;d-i partman-md/device_remove_md boolean true&lt;br /&gt;d-i partman-lvm/confirm boolean true&lt;br /&gt;d-i partman-auto/expert_recipe string boot-root :: 40 50 100 ext4 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext4 } mountpoint{ /boot } . 10000 100000 1000000000 ext4 method{ format } format{ } use_filesystem{ } filesystem{ ext4 } mountpoint{ / } . 7000 100000 1000000000 ext4 method{ format } format{ } use_filesystem{ } filesystem{ ext4 } mountpoint{ /home } . 512 2000 2000 linux-swap method{ swap } format{ } .&lt;br /&gt;d-i partman/default_filesystem string ext4&lt;br /&gt;d-i partman/confirm_write_new_label boolean true&lt;br /&gt;d-i partman/choose_partition select finish&lt;br /&gt;d-i partman/confirm boolean true&lt;br /&gt;d-i partman/confirm_nooverwrite boolean true&lt;br /&gt;d-i passwd/make-user boolean true&lt;br /&gt;d-i passwd/root-password-crypted password [hash MD5 da senha do root]&lt;br /&gt;d-i passwd/user-fullname string Nome Completo Do Usuario&lt;br /&gt;d-i passwd/username string nomeDoUsuario&lt;br /&gt;d-i passwd/user-password-crypted password [hash MD5 da senha do usuário]&lt;br /&gt;d-i user-setup/allow-password-weak boolean true&lt;br /&gt;d-i user-setup/encrypt-home boolean false&lt;br /&gt;d-i apt-setup/restricted boolean true&lt;br /&gt;d-i apt-setup/universe boolean true&lt;br /&gt;tasksel tasksel/first multiselect ubuntu-desktop&lt;br /&gt;d-i pkgsel/include string openssh-server build-essential&lt;br /&gt;d-i pkgsel/update-policy select none&lt;br /&gt;d-i pkgsel/updatedb boolean false&lt;br /&gt;d-i grub-installer/skip boolean false&lt;br /&gt;d-i grub-installer/only_debian boolean true&lt;br /&gt;d-i grub-installer/password password [senha]&lt;br /&gt;d-i grub-installer/password-again password [senha]&lt;br /&gt;d-i finish-install/reboot_in_progress note&lt;br /&gt;d-i cdrom-detect/eject boolean false&lt;br /&gt;xserver-xorg xserver-xorg/config/device/driver select vesa&lt;br /&gt;xserver-xorg xserver-xorg/autodetect_monitor boolean true&lt;br /&gt;xserver-xorg xserver-xorg/config/monitor/selection-method \&lt;br /&gt;select medium&lt;br /&gt;xserver-xorg xserver-xorg/config/monitor/mode-list \&lt;br /&gt;select 1024x768 @ 60 Hz &lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Agora, comentando as linhas:&lt;br /&gt;Nas questões abaixo eu passei a linguagem e o país (&quot;pt_BR&quot;), desativei a detecção automática do teclado e informei o código do layout do mesmo (&quot;br&quot;).&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; d-i debian-installer/locale string pt_BR&lt;br /&gt;d-i console-setup/ask_detect boolean false&lt;br /&gt;d-i console-setup/layoutcode string br&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Em seguida, &quot;configurei&quot; a rede, passando para o &quot;netcfg&quot; que a interface deve ser escolhida automaticamente, informando também uma entrada &quot;qualquer&quot; para o hostname (como todos os computadores utilizam o mesmo arquivo de preseed durante a instalação, não é interessante especificar o nome nele, senão todas possuirão o mesmo hostname), um domínio e desabilitei a questão sobre a chave WEP (no caso de haver uma interface wireless), passando uma chave &quot;em branco&quot;.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt;d-i netcfg/choose_interface select auto&lt;br /&gt;d-i netcfg/get_hostname string unassigned-hostname&lt;br /&gt;d-i netcfg/get_domain string meudominio&lt;br /&gt;d-i netcfg/wireless_wep string&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Depois, defini os mirrors da seguinte maneira:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Não informo o protolo, sendo considerado o valor padrão (não recordo se é ftp mesmo ou http);&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Também não informo o país;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Passo o hostname do mirror que, neste caso, é o ip do servidor utilizado para o NetBoot;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Informo o caminho para o mirror, que, considerando o que foi feito na parte 2, referente ao NetBoot, é &quot;ubuntu/lucid/alternate&quot; (o local onde foi montada a imagem do Ubuntu 10.04 alternate);&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Passo uma resposta em branco para  a questão do proxy;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Informo o nome da versão (neste caso, &quot;lucid&quot;), de modo a ele encontrar na imagem montada, se não me engano, dentro de &quot;dists&quot; (onde tem uma pasta lucid) o arquivo &quot;Releases&quot;; &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Digo de onde (de que &quot;repositórios&quot;) os componentes adicionais serão buscados/instalados.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span&gt;&lt;span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt;#d-i mirror/protocol string ftp&lt;br /&gt;d-i mirror/country string enter information manually&lt;br /&gt;d-i mirror/http/hostname string ipDoServidorDeNetBoot&lt;br /&gt;d-i mirror/http/directory string /ubuntu/lucid/alternate&lt;br /&gt;d-i mirror/http/proxy string&lt;br /&gt;d-i mirror/suite string lucid&lt;br /&gt;d-i mirror/udeb/components multiselect main, restricted&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;No bloco a seguir, defino o relógio como sendo baseado no &quot;fuso horário&quot; UTC, a time zone como sendo de São Paulo (as time zones podem ser encontradas em &quot;/usr/share/zoneinfo&quot;, em um sistema já instalado) e informo que será utilizado um servidor ntp para ajustar a hora (como não especifico um em especial, ele usará o padrão).&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt;d-i clock-setup/utc boolean true&lt;br /&gt;d-i time/zone string America/Sao_Paulo&lt;br /&gt;d-i clock-setup/ntp boolean true&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Agora vem o particionamento:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Eu o defini como &quot;regular&quot; (pode ser &quot;regular&quot;, &quot;&lt;a href=&quot;http://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%29&quot;&gt;lvm&lt;/a&gt;&quot; ou &quot;crypto&quot;);&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Permiti a remoção de uma configuração &lt;a href=&quot;http://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%29&quot;&gt;LVM&lt;/a&gt; que venha a existir (se fosse encontrada, haveria um alerta durante a instalação);&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Permiti também a remoção de um arranjo RAID que venha a existir;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Confirmei a escrita de partições &lt;a href=&quot;http://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%29&quot;&gt;LVM&lt;/a&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Passei uma &quot;receita&quot; (não encontrei forma melhor de dizer que não fosse a tradução literal de &quot;recipe&quot;) com as configurações das novas partições a serem criadas (entrarei em detalhers sobre isso em outro post, pois, se fosse fazê-lo aqui, este texto ficaria mais longo do que já está);&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Difini o sistema de arquivos padrão como sendo ext4 (talvez não fosse necessário fazer uso desta opção, pois no recipe eu já especifiquei o sistema de arquivos);&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Confirmei a escrita dos rótulos das partições e aquelas questões &quot;chatas&quot;, perguntando se eu realmente desejo efetuar as alterações, pedindo para confirmar isso e aquilo.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span&gt;&lt;span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt;d-i partman-auto/method string regular&lt;br /&gt;d-i partman-lvm/device_remove_lvm boolean true&lt;br /&gt;d-i partman-md/device_remove_md boolean true&lt;br /&gt;d-i partman-lvm/confirm boolean true&lt;br /&gt;d-i partman-auto/expert_recipe string boot-root :: 40 50 100 ext4 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext4 } mountpoint{ /boot } . 10000 100000 1000000000 ext4 method{ format } format{ } use_filesystem{ } filesystem{ ext4 } mountpoint{ / } . 7000 100000 1000000000 ext4 method{ format } format{ } use_filesystem{ } filesystem{ ext4 } mountpoint{ /home } . 512 2000 2000 linux-swap method{ swap } format{ } .&lt;br /&gt;d-i partman/default_filesystem string ext4&lt;br /&gt;d-i partman/confirm_write_new_label boolean true&lt;br /&gt;d-i partman/choose_partition select finish&lt;br /&gt;d-i partman/confirm boolean true&lt;br /&gt;d-i partman/confirm_nooverwrite boolean true&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Aqui, eu:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Confirmo a criação de um usuário normal (creio que não fosse necessário responder a questão, pois o valor padrão, se não me engano, é &quot;true&quot;);&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Informo a senha do root de forma criptografada (posteriormente explicarei como criar o hash MD5);&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Passo o nome completo do usuário normal;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Passo o log in dele (seu username propriamente dito);&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Informo a senha do mesmo de forma criptografada, assim como feito com o root;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Confirmo previamente aquele aviso chato de senha fraca;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Informo que o /home do usuário normal não deve ser criptografado.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span&gt;&lt;span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt;d-i passwd/make-user boolean true&lt;br /&gt;d-i passwd/root-password-crypted password [hash MD5 da senha do root]&lt;br /&gt;d-i passwd/user-fullname string Nome Completo Do Usuario&lt;br /&gt;d-i passwd/username string nomeDoUsuario&lt;br /&gt;d-i passwd/user-password-crypted password [hash MD5 da senha do usuário]&lt;br /&gt;d-i user-setup/allow-password-weak boolean true&lt;br /&gt;d-i user-setup/encrypt-home boolean false&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Nas linhas abaixo eu apenas adiciono ao apt os repositórios &quot;restricted&quot; e &quot;universe&quot;.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt;d-i apt-setup/restricted boolean true&lt;br /&gt;d-i apt-setup/universe boolean true&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Nesta parte eu selecionei os pacotes a serem instalados e indiquei como as atualizações serão efetuadas. Especificamente, escolho os pacotes do Ubuntu Desktop (instalo a versão Desktop), como adicionais tenho o Open SSH e o build-essential, e, com relação as atualizações, através do &quot;none&quot;, digo que as atualizações de segurança deve ser instaladas apenas manualmente. Quanto a &quot;questão&quot; pkgsel/updatebd&quot;, se receber true, pelo que entendi, ela atualiza o banco de dados do &lt;a href=&quot;http://manpages.ubuntu.com/manpages/lucid/man1/locate.findutils.1.html&quot;&gt;locate&lt;/a&gt;, o que pode levar algum tempo, então, respondi false, de modo a ganhar tempo. &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt;tasksel tasksel/first multiselect ubuntu-desktop&lt;br /&gt;d-i pkgsel/include string openssh-server build-essential&lt;br /&gt;d-i pkgsel/update-policy select none&lt;br /&gt;d-i pkgsel/updatedb boolean false&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Agora defini algumas questões quanto ao Boot Loader:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Não pulei a instalção do Grub (o que resultaria na instalação do lilo);&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Confirmei a instalação do mesmo na MBR apenas se nenhum outro sistema for encontrado (o HD já terá sido completamente formatado no momento, então, não haverá problemas);&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Por questões de segurança, optei por adicionar uma senha ao grub.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span&gt;&lt;span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt;d-i grub-installer/skip boolean false&lt;br /&gt;d-i grub-installer/only_debian boolean true&lt;br /&gt;d-i grub-installer/password password [senha]&lt;br /&gt;d-i grub-installer/password-again password [senha]&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Neste pequeno pedaço, eu pulo o aviso de que a instalação foi concluída, reiniciando de imediato o PC, além de instruí-lo a não ejetar o CD, tendo em vista que é uma instalação pela rede, logo, não há CD.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt;d-i finish-install/reboot_in_progress note&lt;br /&gt;d-i cdrom-detect/eject boolean false&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Por fim, eu respondo a algumas questões do X.&lt;br /&gt;Como é feita uma instalação utilizando preseed, supostamente a escolha do driver de vídeo feita pelo X é ignorada, não sendo instalado o driver devido, então, eu informo que deverá ser instalado o vesa, que &quot;funciona&quot; praticamente com tudo quanto é VGA. Também o instruo a detectar o monitor automaticamente e escolho a configuração &quot;medium&quot; (creio que seja quanto aos efeitos gráficos), informando, depois de tudo, que a resolução do monitor deve ser de 1024 x 768 @ 60Hz&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt;xserver-xorg xserver-xorg/config/device/driver select vesa&lt;br /&gt;xserver-xorg xserver-xorg/autodetect_monitor boolean true&lt;br /&gt;xserver-xorg xserver-xorg/config/monitor/selection-method \&lt;br /&gt;select medium&lt;br /&gt;xserver-xorg xserver-xorg/config/monitor/mode-list \&lt;br /&gt;select 1024x768 @ 60 Hz&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;br /&gt;Observações:&lt;br /&gt;Como o hostname recebeu apenas uma resposta &quot;provisória&quot;, torna-se necessário informá-lo como um parâmetro na hora da instalação.&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; hostname=nomeDaMaquina&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Devido o fato de os mirrors terem sido apontados para o CD (imagem montada), é preciso alterá-los após a instalação. Para isso, basta editar o arquivo &quot;/etc/apt/sources.list&quot; e corrigir as URLs dos repositórios (substituir o IP do servidor de NetBoot pelo endereço do repositório na WEB). Abaixo segue um exemplo:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; #Substituir:&lt;br /&gt;deb http://[ipDoServidorDeNetBoot]/ubuntu/lucid/alternate lucid multiverse&lt;br /&gt;#Por:&lt;br /&gt;deb http://br.archive.ubuntu.com/ubuntu/ lucid multiverse&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Estando com meu arquivo de preseed pronto, eu o salvei em &quot;/var/lib/tftpboot/ubuntu/&quot; com o nome de &quot;preseed.cfg&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&quot;. Após isso, bastou dar boot pela rede no Ubuntu 10.04 ALTERNATE, no menu com as opções de instalação apertar &lt;tab&gt;TAB e, no &quot;console&quot; que se abre na parte inferior da tela, passar informar os seguintes parâmetros de instalação:&lt;br /&gt;&lt;/tab&gt;&lt;/span&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt; auto=true priority=critical url=http://[servidorDeNetBoot]/ubuntu/preseed.cfg console-keymaps-at/keymap=br locale=pt_BR hostname=nomeDaMaquina&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Explicando os parâmtros passados:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;auto=true &amp;gt; Indica que a instalação será feita de maneira automática;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;priority=critical &amp;gt; Indica a prioridade do debconf como &quot;critical&quot; (prioridade crítica);&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;url=http://[servidorDeNetBoot]/ubuntu/preseed.cfg &amp;gt; especifica a localização do arquivo de preseed;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;console-keymaps-at/keymap=br &amp;gt; Indica o &quot;mapa de caracteres&quot; do teclado como sendo o do Brasil, pois, como foi dado boot pela rede e o arquivo de preseed ainda não foi carregado, ele usa uma configuração padrão (creio que seja o padrão norte-americano ou um &quot;internacional&quot;);&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;locale=pt_BR &amp;gt; praticamente o mesmo caso citado acima, mudando apenas que aqui se refere ao idioma a e localização;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;hostname=nomeDaMaquina &amp;gt; especifica o nome do computador, assim como eu, anteriormente, já havia citado que seria necessário ser feito.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;br /&gt;Tem como passar muitos outros parâmetros, mas esses foram os que usei.&lt;br /&gt;&lt;br /&gt;Depois disso é só apertar ENTER que a instalação irá se iniciar e seguirá de maneira completamente automática!&lt;br /&gt;&lt;br /&gt;Se encontrarem algum erro no que foi descrito acima, por favor, avisem através dos comentários! Sei que tem algumas entradas no arquivo de preseed que são redundantes, então, se quiserem resaltá-las, o façam! Não as removi ainda, pois não tive tempo (Ok... na realidade tive, porem não me lembrei) de testar o arquivo sem as mesmas.&lt;br /&gt;Se tiverem qualquer dúvida, novamente deixo a recomendação de recorrerem aos comentários (tentarei ajudar na medida do possível)!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Espero que este post tenha sido útil. Na próxima parte, descreverei a configuração de um servior &quot;apt-cacher&quot;, cuja função é criar um cache local dos pacotes baixados.&lt;br /&gt;&lt;hr /&gt;&lt;a href=&quot;http://gcminfo.blogspot.com/2011/02/migracao-linux-parte-2-netboot.html&quot;&gt;Migração Linux - parte 2&lt;/a&gt; / &lt;a href=&quot;http://gcminfo.blogspot.com/2011/03/migracao-linux-parte-4-apt-cacher.html&quot;&gt;Migração Linux - parte 4&lt;/a&gt;&lt;br /&gt;&lt;hr /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;As formatações efetuadas nos comandos e trechos de arquivos de configuração foram geradas utilizando a &quot;ferramenta&quot; Source Code Formatter, encontrada &lt;a href=&quot;http://codeformatter.blogspot.com/2009/06/about-code-formatter.html&quot;&gt;neste link&lt;/a&gt;.&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://gcminfo.blogspot.com/feeds/3157512132437183717/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://gcminfo.blogspot.com/2011/03/migracao-linux-parte-3-preseed.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/3157512132437183717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/3157512132437183717'/><link rel='alternate' type='text/html' href='http://gcminfo.blogspot.com/2011/03/migracao-linux-parte-3-preseed.html' title='Migração Linux - parte 3: Preseed'/><author><name>Guilherme</name><uri>http://www.blogger.com/profile/03589336606692745310</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiisfHGDJ7I_MeeEhaFYsXHFLSxSVQi7IIAOgq3XLtByZlsmm8d9K7_A_1e2ZH1ZijUVeLovYcFNzvYkQA79K3qSRMP1U4RMhzI-JqOGCV5upXoQAmmDzeetKPocGkJvdg/s220/tbav12100ew1.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7613478666243281200.post-2565865995719900698</id><published>2011-02-27T09:04:00.002-03:00</published><updated>2011-04-22T15:33:19.851-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="10.04"/><category scheme="http://www.blogger.com/atom/ns#" term="9.04"/><category scheme="http://www.blogger.com/atom/ns#" term="alternate"/><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="boot"/><category scheme="http://www.blogger.com/atom/ns#" term="dhcp"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="netboot"/><category scheme="http://www.blogger.com/atom/ns#" term="preseed"/><category scheme="http://www.blogger.com/atom/ns#" term="pxe"/><category scheme="http://www.blogger.com/atom/ns#" term="rede"/><category scheme="http://www.blogger.com/atom/ns#" term="servidor"/><category scheme="http://www.blogger.com/atom/ns#" term="tftp"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Migração Linux - parte 2: NetBoot</title><content type='html'>&lt;span style=&quot;font-family:arial;&quot;&gt;Olá pessoal!&lt;br /&gt;&lt;br /&gt;Assim como disse em minha última &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_0&quot;&gt;postagem&lt;/span&gt;, agora irei tratar do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_1&quot;&gt;netboot&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Bom, para ganhar tempo, o que eu precisava era de uma forma de dar &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_2&quot;&gt;boot&lt;/span&gt; no &quot;CD de instalação&quot; (na realidade, na imagem ISO do mesmo) através da rede e, a partir daí, instalar o sistema.&lt;br /&gt;&lt;br /&gt;A fonte que usei como base foi:&lt;br /&gt;Tópico &quot;&lt;a href=&quot;http://ubuntuforum-br.org/index.php/topic,60065.0.html&quot;&gt;Servidor de Instalação Automático &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_3&quot;&gt;Ubuntu&lt;/span&gt; para Windows e Linux&lt;/a&gt;&quot;, no &quot;&lt;a href=&quot;http://ubuntuforum-br.org/&quot;&gt;Fórum &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_4&quot;&gt;Ubuntu&lt;/span&gt; Linux - PT&lt;/a&gt;&quot;, criado pelo &lt;span class=&quot;blsp-spelling-corrected&quot; id=&quot;SPELLING_ERROR_5&quot;&gt;usuário&lt;/span&gt; &quot;Fernando &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_6&quot;&gt;Jonathan&lt;/span&gt;&quot;.&lt;br /&gt;&lt;br /&gt;A própria documentação do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_7&quot;&gt;Ubuntu&lt;/span&gt; tem informações sobre o assunto, mas da forma que lá estava não consegui ir muito adiante.&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;O que virá a seguir será basicamente uma &quot;cópia&quot; do conteúdo do tópico, da parte do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_8&quot;&gt;boot&lt;/span&gt; pela rede, possuindo apenas algumas alterações pelo fato de eu utilizar o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_9&quot;&gt;Ubuntu&lt;/span&gt; 10.04, não o 9.04. A parte (no tópico) que fala de &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_10&quot;&gt;preseed&lt;/span&gt; usando o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_11&quot;&gt;KickStart&lt;/span&gt; não me foi útil, pois o mesmo, ao menos no &lt;span class=&quot;blsp-spelling-corrected&quot; id=&quot;SPELLING_ERROR_12&quot;&gt;aplicativo&lt;/span&gt; gráfico (que gera o arquivo &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_13&quot;&gt;ks&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_14&quot;&gt;cfg&lt;/span&gt;&quot;), não oferecia tudo o que eu precisava.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;Mãos à obra!!!&lt;br /&gt;&lt;br /&gt;Primeiramente será necessário baixar a imagem do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_15&quot;&gt;Ubuntu&lt;/span&gt; 10.04 &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_16&quot;&gt;alternate&lt;/span&gt; (a versão &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_17&quot;&gt;desktop&lt;/span&gt;&quot; comum não serve para &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_18&quot;&gt;preseed&lt;/span&gt;), que pode ser encontrada &lt;a href=&quot;ttp://www.ubuntu.com/desktop/get-ubuntu/alternative-download&quot;&gt;aqui&lt;/a&gt;, e instalar o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_19&quot;&gt;dhcp&lt;/span&gt;3-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_20&quot;&gt;server&lt;/span&gt;, o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_21&quot;&gt;tftpd&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_22&quot;&gt;hpa&lt;/span&gt; e o apache2.&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_23&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_24&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_25&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_26&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_27&quot;&gt;dhcp&lt;/span&gt;3-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_28&quot;&gt;server&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_29&quot;&gt;tftpd&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_30&quot;&gt;hpa&lt;/span&gt; apache2&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Tendo sido terminado o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_31&quot;&gt;download&lt;/span&gt; e a instalação, agora vamos configurá-los.&lt;br /&gt;&lt;br /&gt;Começando pelo &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_32&quot;&gt;tftpd&lt;/span&gt;, vá até o arquivo /etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_33&quot;&gt;default&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_34&quot;&gt;tftpd&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_35&quot;&gt;hpa&lt;/span&gt; e adicione as seguintes linhas:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_36&quot;&gt;RUN&lt;/span&gt;_&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_37&quot;&gt;DAEMON&lt;/span&gt;=&quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_38&quot;&gt;yes&lt;/span&gt;&quot;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_39&quot;&gt;OPTIONS&lt;/span&gt;=&quot;-l -s /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_40&quot;&gt;var&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_41&quot;&gt;lib&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_42&quot;&gt;tftpboot&lt;/span&gt;&quot;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Já existem algumas opções no arquivo em questão, as quais não necessitam ser alteradas.&lt;br /&gt;&lt;br /&gt;Crie, dentro de &quot;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_43&quot;&gt;var&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_44&quot;&gt;lib&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_45&quot;&gt;tftpboot&lt;/span&gt;/&quot; o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_46&quot;&gt;diretório&lt;/span&gt; &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_47&quot;&gt;ubuntu&lt;/span&gt;&quot; (sem aspas), dentro deste último o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_48&quot;&gt;diretório&lt;/span&gt; &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_49&quot;&gt;lucid&lt;/span&gt;&quot; (sem aspas), e dentro dele o &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_50&quot;&gt;alternate&lt;/span&gt;&quot; (sem aspas).&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_51&quot;&gt;var&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_52&quot;&gt;lib&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_53&quot;&gt;tftpboot&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_54&quot;&gt;ubuntu&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_55&quot;&gt;lucid&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_56&quot;&gt;alternate&lt;/span&gt;/&lt;/code&gt;&lt;/pre&gt;Jogue a imagem do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_57&quot;&gt;Ubuntu&lt;/span&gt; 10.04 &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_58&quot;&gt;alternate&lt;/span&gt; dentro de &quot;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_59&quot;&gt;var&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_60&quot;&gt;lib&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_61&quot;&gt;tftpboot&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_62&quot;&gt;ubuntu&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_63&quot;&gt;lucid&lt;/span&gt;&quot; e monte-a na pasta &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_64&quot;&gt;alternate&lt;/span&gt;&quot;.&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_65&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_66&quot;&gt;mount&lt;/span&gt; -o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_67&quot;&gt;loop&lt;/span&gt; /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_68&quot;&gt;var&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_69&quot;&gt;lib&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_70&quot;&gt;tftpboot&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_71&quot;&gt;ubuntu&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_72&quot;&gt;lucid&lt;/span&gt;/[nome da imagem].&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_73&quot;&gt;iso&lt;/span&gt; /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_74&quot;&gt;var&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_75&quot;&gt;lib&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_76&quot;&gt;tftpboot&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_77&quot;&gt;ubuntu&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_78&quot;&gt;lucid&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_79&quot;&gt;alternate&lt;/span&gt;/&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Vale ressaltar que não é necessário seguir essa estrutura de &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_80&quot;&gt;diretórios&lt;/span&gt; da forma que foi citada (/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_81&quot;&gt;ubuntu&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_82&quot;&gt;lucid&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_83&quot;&gt;alternate&lt;/span&gt;/)! Você pode alterá-la como quiser, desde que as pastas estejam dentro de &quot;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_84&quot;&gt;var&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_85&quot;&gt;lib&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_86&quot;&gt;tftpboot&lt;/span&gt;/&quot; e você altere todas as referências para as mesmas. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Agora, com relação ao Apache, será necessário criar um atalho na pasta &quot;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_87&quot;&gt;var&lt;/span&gt;/www/&quot; (do apache) para &quot;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_88&quot;&gt;var&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_89&quot;&gt;lib&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_90&quot;&gt;tftpboot&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_91&quot;&gt;ubuntu&lt;/span&gt;/&quot;:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_92&quot;&gt;sudo&lt;/span&gt; ln -s /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_93&quot;&gt;var&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_94&quot;&gt;lib&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_95&quot;&gt;tftpboot&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_96&quot;&gt;ubuntu&lt;/span&gt;/ /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_97&quot;&gt;var&lt;/span&gt;/www&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Para testar se  está tudo certo, através do seu navegador, tente &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_98&quot;&gt;acessar&lt;/span&gt; &quot;http://[meu  &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_99&quot;&gt;ip&lt;/span&gt;]/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_100&quot;&gt;ubuntu&lt;/span&gt;&quot; (sem aspas). Se estiver aparecendo o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_101&quot;&gt;diretório&lt;/span&gt; &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_102&quot;&gt;lucid&lt;/span&gt;&quot;, até  aqui tudo &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_103&quot;&gt;OK&lt;/span&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;br /&gt;No caso do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_104&quot;&gt;DHCP&lt;/span&gt;, é preciso alterar os seguintes itens do arquivo &quot;/etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_105&quot;&gt;dhcp&lt;/span&gt;3/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_106&quot;&gt;dhcpd&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_107&quot;&gt;conf&lt;/span&gt;&quot; de modo a atender suas necessidades:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; ##Informação do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_108&quot;&gt;dominio&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_109&quot;&gt;option&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_110&quot;&gt;domain&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_111&quot;&gt;name&lt;/span&gt; &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_112&quot;&gt;meudominio&lt;/span&gt;.com&quot;;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_113&quot;&gt;option&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_114&quot;&gt;domain&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_115&quot;&gt;name&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_116&quot;&gt;servers&lt;/span&gt; 192.168.0.1;&lt;br /&gt;##Informação da Rede&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_117&quot;&gt;subnet&lt;/span&gt; 192.168.0.0 &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_118&quot;&gt;netmask&lt;/span&gt; 255.255.255.0 {&lt;br /&gt;range 192.168.0.10 192.168.0.250;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_119&quot;&gt;option&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_120&quot;&gt;routers&lt;/span&gt; 192.168.0.1;&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Não feche o editor ainda, pois será feita mais uma alteração! Caso tenha dúvidas sobre como configurar o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_121&quot;&gt;dhcpd&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_122&quot;&gt;conf&lt;/span&gt;, você pode dar uma olhada &lt;a href=&quot;http://www.linuxbsd.com.br/portal/?q=node/23&quot;&gt;aqui&lt;/a&gt; e/ou &lt;a href=&quot;http://www.vivaolinux.com.br/etc/dhcpd.conf-5&quot;&gt;aqui&lt;/a&gt; (especificamente sobre o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_123&quot;&gt;dhcp&lt;/span&gt;3-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_124&quot;&gt;server&lt;/span&gt;, que, pelo que pude ver, de diferente mesmo só tem a localização dos arquivos).&lt;br /&gt;&lt;br /&gt;Agora, logo após os &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_125&quot;&gt;ítens&lt;/span&gt; citados anteriormente, ainda no &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_126&quot;&gt;dhcpd&lt;/span&gt;.&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_127&quot;&gt;conf&lt;/span&gt;, adicione a seguinte linha, que aponta para o arquivo &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_128&quot;&gt;pxelinux&lt;/span&gt;.0&quot; da imagem montada:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_129&quot;&gt;filename&lt;/span&gt;=&quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_130&quot;&gt;ubuntu&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_131&quot;&gt;lucid&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_132&quot;&gt;alternate&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_133&quot;&gt;install&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_134&quot;&gt;netboot&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_135&quot;&gt;pxelinux&lt;/span&gt;.0&quot;;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Uma observação:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;No tópico utilizado como base para este &quot;passo-a-passo&quot; é dito para trocar o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_136&quot;&gt;ip&lt;/span&gt; do servidor para &quot;192.168.0.1&quot;, por ser uma definição padrão, sendo o &quot;1&quot; dentro da &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_137&quot;&gt;subrede&lt;/span&gt;, mas não precisa ser isso. No meu caso, por exemplo, usei &quot;192.168.[subrede local].[outro número]&quot;, até porque já existe um &quot;192.168.[subrede local].1&quot;, que é &quot;O&quot; servidor &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_138&quot;&gt;DHCP&lt;/span&gt; da rede. O que uso para o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_139&quot;&gt;netboot&lt;/span&gt; é apenas para tal função, sendo &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_140&quot;&gt;ativado&lt;/span&gt;&quot; só quando vou fazer uma instalação uma instalação automática, já que dois servidores &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_141&quot;&gt;DHCP&lt;/span&gt; em uma mesma rede, da forma que foi abordada, só resultaria em dor de cabeça.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Dando continuidade, agora é só reiniciar o servidor &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_142&quot;&gt;DHCP&lt;/span&gt;:&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_143&quot;&gt;sudo&lt;/span&gt; /etc/init.d/dhcp3-server &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_144&quot;&gt;restart&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Se tudo estiver correto até aqui, provavelmente você já será capaz de dar &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_145&quot;&gt;boot&lt;/span&gt; pela rede! &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_146&quot;&gt;Faça&lt;/span&gt; o teste!&lt;br /&gt;Se não conseguir, revise todos os pontos citados e veja se alguma coisa está &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_147&quot;&gt;incorreta&lt;/span&gt;. Caso tenha dúvidas, COMENTE! Se encontrar algum erro ou achar interessante adicionar algo a esta &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_148&quot;&gt;postagem&lt;/span&gt;, COMENTE!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Observação adicional:&lt;br /&gt;Para montar a imagem automaticamente ao iniciar o sistema, basta adicionar a seguinte linha ao arquivo &quot;/etc/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_149&quot;&gt;rc&lt;/span&gt;.local&quot; (para saber como ele funciona, basta ler os comentários presentes no mesmo... ele é um &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_150&quot;&gt;script&lt;/span&gt;, não há mistério):&lt;br /&gt;&lt;pre style=&quot;font-family: arial; font-size: 12px; border: 1px dashed rgb(204, 204, 204); width: 99%; height: auto; overflow: auto; background: url(&amp;quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzBuQHlPXb1TK6eRER_GGoJqiIsb28NzDrn6mWmy6HTpwmqch4r_TOrWVl-YrQFmb6J7Y90jw0d0mp4Si78pWeTL0m5zEghWo6IYDgO9mqOvMw4U_GmbxD5NBlkLEOwY_uNnmgWZltOMBA/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); padding: 0px; color: rgb(0, 0, 0); text-align: left; line-height: 20px;&quot;&gt;&lt;code style=&quot;color: rgb(0, 0, 0); word-wrap: normal;&quot;&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_151&quot;&gt;mount&lt;/span&gt; -o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_152&quot;&gt;loop&lt;/span&gt; /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_153&quot;&gt;var&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_154&quot;&gt;lib&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_155&quot;&gt;tftpboot&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_156&quot;&gt;ubuntu&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_157&quot;&gt;lucid&lt;/span&gt;/[nome da imagem].&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_158&quot;&gt;iso&lt;/span&gt; /&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_159&quot;&gt;var&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_160&quot;&gt;lib&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_161&quot;&gt;tftpboot&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_162&quot;&gt;ubuntu&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_163&quot;&gt;lucid&lt;/span&gt;/&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_164&quot;&gt;alternate&lt;/span&gt;/&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Bom, por enquanto é tudo. Logo aparecerei com o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_165&quot;&gt;preseed&lt;/span&gt;!&lt;br /&gt;&lt;br /&gt;Espero que tenham gostado e que as informações contidas neste &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_166&quot;&gt;post&lt;/span&gt; venham a ser úteis!&lt;br /&gt;&lt;hr /&gt;&lt;a href=&quot;http://gcminfo.blogspot.com/2011/02/migracao-linux-parte-1-situacao.html&quot;&gt;Migração Linux - parte 1&lt;/a&gt; / &lt;a href=&quot;http://gcminfo.blogspot.com/2011/03/migracao-linux-parte-3-preseed.html&quot;&gt;Migração Linux - parte 3&lt;/a&gt;&lt;br /&gt;&lt;hr /&gt;As formatações &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_167&quot;&gt;efetuadas&lt;/span&gt; nos comandos e trechos de arquivos de configuração foram geradas utilizando a &quot;ferramenta&quot; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_168&quot;&gt;Source&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_169&quot;&gt;Code&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_170&quot;&gt;Formatter&lt;/span&gt;, encontrada &lt;a href=&quot;http://codeformatter.blogspot.com/2009/06/about-code-formatter.html&quot;&gt;neste link&lt;/a&gt;.&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://gcminfo.blogspot.com/feeds/2565865995719900698/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://gcminfo.blogspot.com/2011/02/migracao-linux-parte-2-netboot.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/2565865995719900698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/2565865995719900698'/><link rel='alternate' type='text/html' href='http://gcminfo.blogspot.com/2011/02/migracao-linux-parte-2-netboot.html' title='Migração Linux - parte 2: NetBoot'/><author><name>Guilherme</name><uri>http://www.blogger.com/profile/03589336606692745310</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiisfHGDJ7I_MeeEhaFYsXHFLSxSVQi7IIAOgq3XLtByZlsmm8d9K7_A_1e2ZH1ZijUVeLovYcFNzvYkQA79K3qSRMP1U4RMhzI-JqOGCV5upXoQAmmDzeetKPocGkJvdg/s220/tbav12100ew1.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7613478666243281200.post-7636851970600268426</id><published>2011-02-26T13:36:00.001-03:00</published><updated>2011-04-22T15:34:20.286-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="10.04"/><category scheme="http://www.blogger.com/atom/ns#" term="9.04"/><category scheme="http://www.blogger.com/atom/ns#" term="apt-cacher"/><category scheme="http://www.blogger.com/atom/ns#" term="laboratorio"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="lts"/><category scheme="http://www.blogger.com/atom/ns#" term="migração"/><category scheme="http://www.blogger.com/atom/ns#" term="netboot"/><category scheme="http://www.blogger.com/atom/ns#" term="preseed"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Migração Linux - parte 1: A situação</title><content type='html'>&lt;span style=&quot;font-family:arial;&quot;&gt;Boa tarde a todos!&lt;br /&gt;&lt;br /&gt;Aproveitando que acabei de criar este blog, irei começar postando uma de minhas mais relevantes experiências na área de TI até o momento: a migração de um laboratório de informática para o Linux.&lt;br /&gt;&lt;br /&gt;Como já citei antes, faço estágio em uma escola particular do Rio de Janeiro, a qual desde o início da década de 90, quando inaugurou seu laboratório de Informática, sempre utilizou os sistemas operacionais Windows, contudo, no início do ano passado, por &lt;span class=&quot;blsp-spelling-corrected&quot; id=&quot;SPELLING_ERROR_0&quot;&gt;influência&lt;/span&gt; de um dos irmãos do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_1&quot;&gt;diretor&lt;/span&gt;, começou-se a &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_2&quot;&gt;planejar&lt;/span&gt; uma possível migração para sistemas Linux, a começar pelo já citado laboratório.&lt;br /&gt;&lt;br /&gt;Por já utilizar Linux desde 2009 &lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;(especificamente o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_3&quot;&gt;Ubuntu&lt;/span&gt;)&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;, mesmo sendo apenas um &quot;simples&quot; usuário, em meados de 2010 (ano passado), aproveitando-se do recesso de Julho, me encarregaram de instalar, em Dual &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_4&quot;&gt;Boot&lt;/span&gt; com o Windows XP, o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_5&quot;&gt;Ubuntu&lt;/span&gt; Linux (optei pelo 9.04, por já utilizar o mesmo em casa) para ver a &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_6&quot;&gt;reação&lt;/span&gt; dos alunos e a adaptação dos mesmos ao novo sistema.&lt;br /&gt;&lt;br /&gt;Pois bem, como já era de se esperar, poucos se aventuravam no sistema do pinguim. A grande maioria simplesmente ignorava sua existência e continuava a apenas utilizar o Windows. Mesmo assim, dos que &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_7&quot;&gt;experimentaram&lt;/span&gt;&quot;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt; a maior parte o recebeu bem (&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;apesar de terem algumas dificuldades)&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;, enquanto o resto, simplesmente por não conseguir realizar alguma função, o odiou.&lt;br /&gt;&lt;br /&gt;Tendo chegado o fim do ano e sido constatado de que seria viável uma migração completa, fui novamente encarregado da tarefa. Como estava tudo &quot;em minhas mãos&quot;, escolhi o 10.04, já que é a última versão &lt;a href=&quot;https://wiki.ubuntu.com/LTS&quot;&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_8&quot;&gt;LTS&lt;/span&gt;&lt;/a&gt; que saiu (até o momento da publicação deste &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_9&quot;&gt;post&lt;/span&gt;&quot;, é claro), e comecei a &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_10&quot;&gt;planejar&lt;/span&gt; como tudo seria feito.&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;O que seria necessário?&lt;br /&gt;&lt;br /&gt;A nível funcional (aplicativos), precisaria &quot;basicamente&quot; de um pacote de ferramentas de escritório, um navegador web, uma IDE para desenvolvimento em Pascal e &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_11&quot;&gt;Object&lt;/span&gt; Pascal, um software de desenvolvimento web e alguns jogos educativos.&lt;br /&gt;Para tais funções, escolhi, respectivamente, o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_12&quot;&gt;BrOffice&lt;/span&gt; 3.2.1 (removi os componentes do OpenOffice já existentes -sei que poderia simplesmente tê-lo &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_13&quot;&gt;atualizado&lt;/span&gt;- e instalei &quot;manualmente&quot; o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_14&quot;&gt;BrOffice&lt;/span&gt;), o FireFox (que já vem com o próprio &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_15&quot;&gt;Ubuntu&lt;/span&gt;), a IDE &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_16&quot;&gt;Lazarus&lt;/span&gt;, o Quanta+ e alguns pacotes de jogos educativos como o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_17&quot;&gt;GCompris&lt;/span&gt; e o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_18&quot;&gt;Childsplay&lt;/span&gt; (além de outros jogos).&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;hr /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Como iria fazê-lo?&lt;br /&gt;&lt;br /&gt;Esta é que foi a grande questão. Poderia simplesmente pegar o CD e ir instalando de máquina em máquina não só o sistema operacional, como também &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_19&quot;&gt;todos&lt;/span&gt; os aplicativos que fosse utilizar, mas iria tomar muito tempo. Também seria possível fazer uma imagem do sistema já instalado e ir aplicando a mesma de máquina em máquina, mas não encontrei um software para tal que suportasse &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_20&quot;&gt;ext&lt;/span&gt;4 sem que fosse necessário fazer uma imagem completa da partição, incluindo espaços vazios. Além disso, eu ainda teria de resolver os problemas de compatibilidade, pois o &quot;laboratório&quot; é bastante &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_21&quot;&gt;heterogêneo&lt;/span&gt;.&lt;br /&gt;Por fim, depois de muito procurar, veio a solução: &lt;a href=&quot;https://help.ubuntu.com/community/Installation/Netboot&quot;&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_22&quot;&gt;netboot&lt;/span&gt;&lt;/a&gt; + &lt;a href=&quot;https://help.ubuntu.com/10.04/installation-guide/i386/preseed-intro.html&quot;&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_23&quot;&gt;pressed&lt;/span&gt;&lt;/a&gt; + &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_24&quot;&gt;script&lt;/span&gt; para instalar os aplicativos automaticamente.&lt;br /&gt;&lt;br /&gt;Eu simplesmente daria &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_25&quot;&gt;boot&lt;/span&gt; em uma imagem da versão &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_26&quot;&gt;alternate&lt;/span&gt; do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_27&quot;&gt;Ubuntu&lt;/span&gt; 10.04 pela rede e iria realizar a instalação baseada em um arquivo de &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_28&quot;&gt;preseed&lt;/span&gt; &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_29&quot;&gt;disponibilizado&lt;/span&gt; também através rede. Estando o sistema instalado, eu iria rodar o tal &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_30&quot;&gt;script&lt;/span&gt; para instalar os programas, mas, &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_31&quot;&gt;exatamente&lt;/span&gt; neste momento, eu teria um grande problema. Eu acabaria detonando a conexão do colégio, que é de apenas 2&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_32&quot;&gt;mb&lt;/span&gt;.&lt;br /&gt;Como solução, decidi também fazer uso de um servidor &lt;a href=&quot;http://www.vivaolinux.com.br/dica/Aptcacher-Sistema-de-cache-para-pacotes-DEB&quot;&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_33&quot;&gt;apt&lt;/span&gt;-&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_34&quot;&gt;cacher&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;hr /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Apesar &quot;simples&quot;, quebrei bastante a cabeça até conseguir fazer com que tudo funcionasse da forma desejada, já que era a primeira vez que fazia algo do &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_35&quot;&gt;gênero&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Bom, acho que vou ficar por aqui! Nos próximos &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_36&quot;&gt;posts&lt;/span&gt;, darei sequência a este, descrevendo passo-a-passo como fiz a migração. O seguinte, creio eu, será sobre &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_37&quot;&gt;netboot&lt;/span&gt; + &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_38&quot;&gt;pressed&lt;/span&gt;!&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;a href=&quot;http://gcminfo.blogspot.com/2011/02/migracao-linux-parte-2-netboot.html&quot;&gt;Migração Linux - parte 2&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://gcminfo.blogspot.com/feeds/7636851970600268426/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://gcminfo.blogspot.com/2011/02/migracao-linux-parte-1-situacao.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/7636851970600268426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/7636851970600268426'/><link rel='alternate' type='text/html' href='http://gcminfo.blogspot.com/2011/02/migracao-linux-parte-1-situacao.html' title='Migração Linux - parte 1: A situação'/><author><name>Guilherme</name><uri>http://www.blogger.com/profile/03589336606692745310</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiisfHGDJ7I_MeeEhaFYsXHFLSxSVQi7IIAOgq3XLtByZlsmm8d9K7_A_1e2ZH1ZijUVeLovYcFNzvYkQA79K3qSRMP1U4RMhzI-JqOGCV5upXoQAmmDzeetKPocGkJvdg/s220/tbav12100ew1.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7613478666243281200.post-9019541695510706678</id><published>2011-02-26T13:23:00.001-03:00</published><updated>2011-02-26T16:37:53.975-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="curso"/><category scheme="http://www.blogger.com/atom/ns#" term="experiencias"/><category scheme="http://www.blogger.com/atom/ns#" term="informatica"/><category scheme="http://www.blogger.com/atom/ns#" term="informação"/><category scheme="http://www.blogger.com/atom/ns#" term="tecnico"/><category scheme="http://www.blogger.com/atom/ns#" term="tecnologia"/><category scheme="http://www.blogger.com/atom/ns#" term="ti"/><title type='text'>Apresentação</title><content type='html'>&lt;span style=&quot;font-family:arial;&quot;&gt;Saudações a todos que estiverem lendo esta &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_0&quot;&gt;postagem&lt;/span&gt;!&lt;br /&gt;Meu nome é Guilherme Caeiro e criei este blog com o &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_1&quot;&gt;objetivo&lt;/span&gt; de &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_2&quot;&gt;compartilhar&lt;/span&gt; minhas experiências na área de TI.&lt;br /&gt;No momento (02.2011) estou cursando o 3º ano do Curso Técnico de Informática e fazendo estágio em uma escola particular do RJ, então, caso encontrem qualquer equívoco em meus &quot;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_3&quot;&gt;posts&lt;/span&gt;&quot;, por favor, corrijam-no (comentem avisando sobre)!&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-corrected&quot; id=&quot;SPELLING_ERROR_4&quot;&gt;Enfim&lt;/span&gt;, espero poder contribuir com informações úteis!&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://gcminfo.blogspot.com/feeds/9019541695510706678/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://gcminfo.blogspot.com/2011/02/apresentacao.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/9019541695510706678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7613478666243281200/posts/default/9019541695510706678'/><link rel='alternate' type='text/html' href='http://gcminfo.blogspot.com/2011/02/apresentacao.html' title='Apresentação'/><author><name>Guilherme</name><uri>http://www.blogger.com/profile/03589336606692745310</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiisfHGDJ7I_MeeEhaFYsXHFLSxSVQi7IIAOgq3XLtByZlsmm8d9K7_A_1e2ZH1ZijUVeLovYcFNzvYkQA79K3qSRMP1U4RMhzI-JqOGCV5upXoQAmmDzeetKPocGkJvdg/s220/tbav12100ew1.gif'/></author><thr:total>0</thr:total></entry></feed>