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

<channel>
	<title>The Blog of a WebDeveloper &#187; linux</title>
	<atom:link href="http://joaopedropereira.com/blog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://joaopedropereira.com/blog</link>
	<description>Um novo estilo de desenvolvimento</description>
	<lastBuildDate>Fri, 27 Aug 2010 10:39:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Processamento Paralelo com xargs</title>
		<link>http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/</link>
		<comments>http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 22:54:35 +0000</pubDate>
		<dc:creator>João Pedro Pereira</dc:creator>
				<category><![CDATA[Bash Scripting]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[cp]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[man]]></category>
		<category><![CDATA[nmap]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[processamento]]></category>
		<category><![CDATA[rm]]></category>
		<category><![CDATA[xargs]]></category>

		<guid isPermaLink="false">http://joaopedropereira.com/blog/?p=695</guid>
		<description><![CDATA[Com processadores multi-core semi-parados na maior parte das nossas tarefas e com a necessidade de processar grandes quantidades de informação / ficheiros é importante aproveitar toda a potencialidade de todos os núcleos. Nos sistemas Unix (neste caso testei num sistema Linux com a distro Ubuntu) é possível separar uma tarefa em vários processos de forma [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fjoaopedropereira.com%2Fblog%2F2010%2F02%2F22%2Fprocessamento-paralelo-xargs%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fjoaopedropereira.com%2Fblog%2F2010%2F02%2F22%2Fprocessamento-paralelo-xargs%2F&amp;source=joaoppereira&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Com processadores multi-core semi-parados na maior parte das nossas tarefas e com a necessidade de processar grandes quantidades de informação / ficheiros é importante aproveitar toda a potencialidade de todos os núcleos.</p>
<p>Nos sistemas Unix (neste caso testei num sistema Linux com a distro Ubuntu) é possível separar uma tarefa em vários processos de forma a que a tarefa seja distribuida por mais que um núcleo do processador (no caso dos processadores multi-core) e por vários processos (jobs) que podem ser executados em simultâneo não dependendo que o primeiro acabe para executar o segundo podendo ter vários a correr ao mesmo tempo aumentando assim a performance da acção.</p>
<p>Este comando suporta a opção -P com a qual podemos especificar a quantidade de processos (jobs) a correr em paralelo.</p>
<pre>$ man xargs
(...)
<strong> --max-procs=max-procs
-P max-procs</strong>
Run  up  to max-procs processes at a time; the default is 1.
If max-procs is 0, xargs will run as many processes as possible  at a  time.
Use the -n option with -P; otherwise chances are that only one exec will be done.
(...)</pre>
<h2>Exemplo de Utilização</h2>
<pre>$ ls . | xargs -P 0 -i -t cp -R {} ../novo/</pre>
<h3>Decompondo o Exemplo</h3>
<p><strong>Listagem dos ficheiros da pasta</strong></p>
<pre>$ ls .</pre>
<p><strong>Xargs</strong></p>
<pre>xargs -P 0 -i -t</pre>
<p>&#8220;-P 0&#8243; utiliza o número máximo de processos<br />
&#8220;-t&#8221; verbose mode activo</p>
<p><strong>Cópia</strong></p>
<pre>cp -R {} ../novo/</pre>
<p>&#8220;-R&#8221; copia de forma recursiva as pastas existentes<br />
&#8220;{}&#8221; existe devido ao parâmetro &#8220;-i&#8221; do comando xargs utilizado, que corresponde a cada ficheiro/pasta que queremos copiar<br />
&#8220;../novo&#8221; pasta de destino</p>
<h2>Mais exemplos</h2>
<p>Apagar todos os ficheiros com a extensão pdf</p>
<pre>find ./ -name "*.pdf" | xargs -t -Istr rm str</pre>
<p>Converter ficheiros pdf (.pdf) para ficheiros de texto simples (.txt)</p>
<pre>find ./ -name "*.pdf" | xargs -Istr pdftotext str</pre>
<p>Nestes exemplos podem acrescentar sempre a opção &#8220;-P x&#8221; em que x é o valor de processos que querem a correr em paralelo, em algumas situações permite-nos aumentar a performance do processamento através da resolução de tarefas em paralelo como veremos a seguir.</p>
<h2>Testes de Performance</h2>
<pre>:~/teste$ ls
teste1  teste2
~/teste$ ls teste1/ | wc
33      58    1036
~/teste$ ls teste2/ | wc
33      58    1036

~/teste$ time find ./teste1/ -name "*.pdf" | xargs -Istr pdftotext str
real	1m9.805s
user	0m44.795s
sys	0m6.564s

~/teste$ time find ./teste2/ -name "*.pdf" | xargs -P 6 -Istr pdftotext str
real	0m39.911s
user	0m44.523s
sys	0m6.304s</pre>
<p>Utilizando exactamente os mesmos ficheiros vemos alguma diferença a executar a mesma operação com e sem processamento distribuído da tarefa, que é realizada por diversos processos executados em paralelo.</p>
<pre>~/teste$ time find ./teste1/ -name "*.pdf" | xargs -Istr rm str
real	0m0.296s
user	0m0.060s
sys	0m0.088s

~/teste$ time find ./teste2/ -name "*.pdf" | xargs -P 6 -Istr rm str
real	0m0.163s
user	0m0.060s
sys	0m0.084s</pre>
<p>Novamente podemos verificar um aumento na performance das acções com o processamento em paralelo.</p>
<h2>Outras utilizações</h2>
<p>Além destas tarefas que foram mostradas em cima digamos, do dia-a-dia de qualquer utilizador de um sistema Unix que tenha descoberto as maravilhas da consola, podem ser destacadas utilizações mais direccionadas a áreas de trabalho:</p>
<ul>
<li>utilização do xargs em conjunto com o ping para detectar vários hosts simultaneamente diminuindo o tempo de espera para grandes pesquisas</li>
<li>utilização do xargs em conjunto com o nmap. O nmap nos scans não utiliza muita bandwidth para não ser detectado e então podemos fazer scan a mais que um host em simultâneo aproveitando as capacidades da ligação e da máquina</li>
<li>conversão de discografias completas ou de albuns inteiros de fotos</li>
</ul>
<p>Mais ideias diferentes?</p>
<h2>Man Pages</h2>
<p><a title="Man cp" href="http://unixhelp.ed.ac.uk/CGI/man-cgi?cp" target="_blank">$ man cp</a><br />
<a title="Man rm" href="http://unixhelp.ed.ac.uk/CGI/man-cgi?rm" target="_blank">$ man rm</a><br />
<a title="Man xargs" href="http://unixhelp.ed.ac.uk/CGI/man-cgi?xargs" target="_blank">$ man xargs</a><br />
<a title="Man ls" href="http://unixhelp.ed.ac.uk/CGI/man-cgi?ls" target="_blank">$ man ls</a><br />
<a title="Man find" href="http://unixhelp.ed.ac.uk/CGI/man-cgi?find" target="_blank">$ man find</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/&amp;n=Processamento+Paralelo+com+xargs&amp;pli=1" rel="" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/&amp;title=Processamento+Paralelo+com+xargs" rel="" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/&amp;title=Processamento+Paralelo+com+xargs" rel="" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/&amp;t=Processamento+Paralelo+com+xargs" rel="" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Processamento+Paralelo+com+xargs&amp;link=http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/" rel="" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/&amp;imageurl=" rel="" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/&amp;title=Processamento+Paralelo+com+xargs&amp;srcUrl=http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/&amp;srcTitle=Processamento+Paralelo+com+xargs&amp;snippet=Com%20processadores%20multi-core%20semi-parados%20na%20maior%20parte%20das%20nossas%20tarefas%20e%20com%20a%20necessidade%20de%20processar%20grandes%20quantidades%20de%20informa%C3%A7%C3%A3o%20%2F%20ficheiros%20%C3%A9%20importante%20aproveitar%20toda%20a%20potencialidade%20de%20todos%20os%20n%C3%BAcleos.%0D%0A%0D%0ANos%20sistemas%20Unix%20%28neste%20caso%20testei%20num%20sistema%20Linux%20com%20a%20distro%20Ubu" rel="" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/&amp;title=Processamento+Paralelo+com+xargs&amp;summary=Com%20processadores%20multi-core%20semi-parados%20na%20maior%20parte%20das%20nossas%20tarefas%20e%20com%20a%20necessidade%20de%20processar%20grandes%20quantidades%20de%20informa%C3%A7%C3%A3o%20%2F%20ficheiros%20%C3%A9%20importante%20aproveitar%20toda%20a%20potencialidade%20de%20todos%20os%20n%C3%BAcleos.%0D%0A%0D%0ANos%20sistemas%20Unix%20%28neste%20caso%20testei%20num%20sistema%20Linux%20com%20a%20distro%20Ubu&amp;source=The Blog of a WebDeveloper" rel="" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Processamento%20Paralelo%20com%20xargs%22&amp;body=Link: http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Com%20processadores%20multi-core%20semi-parados%20na%20maior%20parte%20das%20nossas%20tarefas%20e%20com%20a%20necessidade%20de%20processar%20grandes%20quantidades%20de%20informa%C3%A7%C3%A3o%20%2F%20ficheiros%20%C3%A9%20importante%20aproveitar%20toda%20a%20potencialidade%20de%20todos%20os%20n%C3%BAcleos.%0D%0A%0D%0ANos%20sistemas%20Unix%20%28neste%20caso%20testei%20num%20sistema%20Linux%20com%20a%20distro%20Ubu" rel="" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/&amp;title=Processamento+Paralelo+com+xargs" rel="" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-netvibes">
			<a href="http://www.netvibes.com/share?title=Processamento+Paralelo+com+xargs&amp;url=http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/" rel="" class="external" title="Submit this to Netvibes">Submit this to Netvibes</a>
		</li>
		<li class="shr-newsvine">
			<a href="http://www.newsvine.com/_tools/seed&amp;save?u=http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/&amp;h=Processamento+Paralelo+com+xargs" rel="" class="external" title="Seed this on Newsvine">Seed this on Newsvine</a>
		</li>
		<li class="shr-orkut">
			<a href="http://promote.orkut.com/preview?nt=orkut.com&amp;tt=Processamento+Paralelo+com+xargs&amp;du=http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/&amp;cn=Com%20processadores%20multi-core%20semi-parados%20na%20maior%20parte%20das%20nossas%20tarefas%20e%20com%20a%20necessidade%20de%20processar%20grandes%20quantidades%20de%20informa%C3%A7%C3%A3o%20%2F%20ficheiros%20%C3%A9%20importante%20aproveitar%20toda%20a%20potencialidade%20de%20todos%20os%20n%C3%BAcleos.%0D%0A%0D%0ANos%20sistemas%20Unix%20%28neste%20caso%20testei%20num%20sistema%20Linux%20com%20a%20distro%20Ubu" rel="" class="external" title="Promote this on Orkut">Promote this on Orkut</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/&amp;title=Processamento+Paralelo+com+xargs" rel="" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/&amp;title=Processamento+Paralelo+com+xargs" rel="" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-sphinn">
			<a href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/" rel="" class="external" title="Sphinn this on Sphinn">Sphinn this on Sphinn</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/&amp;title=Processamento+Paralelo+com+xargs" rel="" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-techmeme">
			<a href="http://twitter.com/home/?status=Tip+@Techmeme+http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/+&quot;Processamento+Paralelo+com+xargs&quot;&amp;source=shareaholic" rel="" class="external" title="Tip this to TechMeme">Tip this to TechMeme</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/" rel="" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fjoaopedropereira.com%2Fblog%2F2010%2F02%2F22%2Fprocessamento-paralelo-xargs%2F&amp;t=Processamento+Paralelo+com+xargs" rel="" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Processamento+Paralelo+com+xargs+-+http://bit.ly/cO6nMc&amp;source=shareaholic" rel="" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/&amp;submitHeadline=Processamento+Paralelo+com+xargs&amp;submitSummary=Com%20processadores%20multi-core%20semi-parados%20na%20maior%20parte%20das%20nossas%20tarefas%20e%20com%20a%20necessidade%20de%20processar%20grandes%20quantidades%20de%20informa%C3%A7%C3%A3o%20%2F%20ficheiros%20%C3%A9%20importante%20aproveitar%20toda%20a%20potencialidade%20de%20todos%20os%20n%C3%BAcleos.%0D%0A%0D%0ANos%20sistemas%20Unix%20%28neste%20caso%20testei%20num%20sistema%20Linux%20com%20a%20distro%20Ubu&amp;submitCategory=science&amp;submitAssetType=text" rel="" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-yahoomail">
			<a href="http://compose.mail.yahoo.com/?Subject=Processamento+Paralelo+com+xargs&amp;body=Link: http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Com%20processadores%20multi-core%20semi-parados%20na%20maior%20parte%20das%20nossas%20tarefas%20e%20com%20a%20necessidade%20de%20processar%20grandes%20quantidades%20de%20informa%C3%A7%C3%A3o%20%2F%20ficheiros%20%C3%A9%20importante%20aproveitar%20toda%20a%20potencialidade%20de%20todos%20os%20n%C3%BAcleos.%0D%0A%0D%0ANos%20sistemas%20Unix%20%28neste%20caso%20testei%20num%20sistema%20Linux%20com%20a%20distro%20Ubu" rel="" class="external" title="Email this via Yahoo! Mail">Email this via Yahoo! Mail</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://joaopedropereira.com/blog/2010/02/22/processamento-paralelo-xargs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configurar SSH para Diferentes Usernames</title>
		<link>http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/</link>
		<comments>http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 19:36:31 +0000</pubDate>
		<dc:creator>João Pedro Pereira</dc:creator>
				<category><![CDATA[Tecnologia]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ssh_config]]></category>

		<guid isPermaLink="false">http://joaopedropereira.com/blog/?p=620</guid>
		<description><![CDATA[Neste post o serão abordadas ligações por SSH, Secure Shell ou SSH que é além de um programa, um protocolo de rede que permite a ligação a outra máquina. Possui as mesmas funcionalidades do telnet, no entanto, tem a vantagem de ter a ligação encriptada. E é hoje uma ferramenta utilizada diariamente por SysAdmins (administradores [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fjoaopedropereira.com%2Fblog%2F2009%2F12%2F29%2Fconfigurar-ssh-para-diferentes-usernames%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fjoaopedropereira.com%2Fblog%2F2009%2F12%2F29%2Fconfigurar-ssh-para-diferentes-usernames%2F&amp;source=joaoppereira&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Neste post o serão abordadas ligações por SSH, Secure Shell ou SSH que é além de um programa, um protocolo de rede que permite a ligação a outra máquina. Possui as mesmas funcionalidades do telnet, no entanto, tem a vantagem de ter a ligação encriptada. E é hoje uma ferramenta utilizada diariamente por SysAdmins (administradores de sistemas) ou por qualquer pessoa que tenha a necessidade de se ligar a um computador remotamente.</p>
<p><a href="http://joaopedropereira.com/blog/wp-content/uploads/2009/12/img001.jpg"><img class="aligncenter size-medium wp-image-637" title="How SSH works" src="http://joaopedropereira.com/blog/wp-content/uploads/2009/12/img001-300x213.jpg" alt="How SSH works" width="300" height="213" /></a></p>
<p>Esta dica é especialmente importante para aqueles que utilizam a linha de comandos em sistemas Linux e não aplicações como o Putty, por exemplo.</p>
<p>Para aqueles que precisam de se ligar por SSH a máquinas com diferentes credenciais, existe uma alternativa ao</p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">$ ssh -l joaopedropereira maquina.dominio.com</pre></div></div>

<p>Podemos configurar o SSH para que para cada domínio determine diferentes credenciais e configurações.</p>
<p>Exemplo Ficheiro: ~/.ssh/config <span style="font-size: 6px;">(pode ser necessário criar)</span><span style="font-size: 6px;"> </span></p>
<pre>Host *.fe.up.pt
User login_feup

Host 192.168.1.150
Compression Yes
User login_deskop

Host *.remote.shell.com
User  xpto</pre>
<p>Existem imensas opções para configurar a ligação, só é preciso dar uma vista de olhos aos man files<br />
ssh_config, por exemplo:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">man</span> ssh_config</pre></div></div>

<p>Para mim é extremamente útil isto. Espero que a dica seja útil para vocês <img src='http://joaopedropereira.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/&amp;n=Configurar+SSH+para+Diferentes+Usernames&amp;pli=1" rel="" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/&amp;title=Configurar+SSH+para+Diferentes+Usernames" rel="" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/&amp;title=Configurar+SSH+para+Diferentes+Usernames" rel="" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/&amp;t=Configurar+SSH+para+Diferentes+Usernames" rel="" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Configurar+SSH+para+Diferentes+Usernames&amp;link=http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/" rel="" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/&amp;imageurl=" rel="" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/&amp;title=Configurar+SSH+para+Diferentes+Usernames&amp;srcUrl=http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/&amp;srcTitle=Configurar+SSH+para+Diferentes+Usernames&amp;snippet=Neste%20post%20o%20ser%C3%A3o%20abordadas%20liga%C3%A7%C3%B5es%20por%20SSH%2C%20Secure%20Shell%20ou%20SSH%20que%20%C3%A9%20al%C3%A9m%20de%20um%20programa%2C%20um%20protocolo%20de%20rede%20que%20permite%20a%20liga%C3%A7%C3%A3o%20a%20outra%20m%C3%A1quina.%20Possui%20as%20mesmas%20funcionalidades%20do%20telnet%2C%20no%20entanto%2C%20tem%20a%20vantagem%20de%20ter%20a%20liga%C3%A7%C3%A3o%20encriptada.%20E%20%C3%A9%20hoje%20uma%20ferramenta%20utilizada%20d" rel="" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/&amp;title=Configurar+SSH+para+Diferentes+Usernames&amp;summary=Neste%20post%20o%20ser%C3%A3o%20abordadas%20liga%C3%A7%C3%B5es%20por%20SSH%2C%20Secure%20Shell%20ou%20SSH%20que%20%C3%A9%20al%C3%A9m%20de%20um%20programa%2C%20um%20protocolo%20de%20rede%20que%20permite%20a%20liga%C3%A7%C3%A3o%20a%20outra%20m%C3%A1quina.%20Possui%20as%20mesmas%20funcionalidades%20do%20telnet%2C%20no%20entanto%2C%20tem%20a%20vantagem%20de%20ter%20a%20liga%C3%A7%C3%A3o%20encriptada.%20E%20%C3%A9%20hoje%20uma%20ferramenta%20utilizada%20d&amp;source=The Blog of a WebDeveloper" rel="" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Configurar%20SSH%20para%20Diferentes%20Usernames%22&amp;body=Link: http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Neste%20post%20o%20ser%C3%A3o%20abordadas%20liga%C3%A7%C3%B5es%20por%20SSH%2C%20Secure%20Shell%20ou%20SSH%20que%20%C3%A9%20al%C3%A9m%20de%20um%20programa%2C%20um%20protocolo%20de%20rede%20que%20permite%20a%20liga%C3%A7%C3%A3o%20a%20outra%20m%C3%A1quina.%20Possui%20as%20mesmas%20funcionalidades%20do%20telnet%2C%20no%20entanto%2C%20tem%20a%20vantagem%20de%20ter%20a%20liga%C3%A7%C3%A3o%20encriptada.%20E%20%C3%A9%20hoje%20uma%20ferramenta%20utilizada%20d" rel="" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/&amp;title=Configurar+SSH+para+Diferentes+Usernames" rel="" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-netvibes">
			<a href="http://www.netvibes.com/share?title=Configurar+SSH+para+Diferentes+Usernames&amp;url=http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/" rel="" class="external" title="Submit this to Netvibes">Submit this to Netvibes</a>
		</li>
		<li class="shr-newsvine">
			<a href="http://www.newsvine.com/_tools/seed&amp;save?u=http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/&amp;h=Configurar+SSH+para+Diferentes+Usernames" rel="" class="external" title="Seed this on Newsvine">Seed this on Newsvine</a>
		</li>
		<li class="shr-orkut">
			<a href="http://promote.orkut.com/preview?nt=orkut.com&amp;tt=Configurar+SSH+para+Diferentes+Usernames&amp;du=http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/&amp;cn=Neste%20post%20o%20ser%C3%A3o%20abordadas%20liga%C3%A7%C3%B5es%20por%20SSH%2C%20Secure%20Shell%20ou%20SSH%20que%20%C3%A9%20al%C3%A9m%20de%20um%20programa%2C%20um%20protocolo%20de%20rede%20que%20permite%20a%20liga%C3%A7%C3%A3o%20a%20outra%20m%C3%A1quina.%20Possui%20as%20mesmas%20funcionalidades%20do%20telnet%2C%20no%20entanto%2C%20tem%20a%20vantagem%20de%20ter%20a%20liga%C3%A7%C3%A3o%20encriptada.%20E%20%C3%A9%20hoje%20uma%20ferramenta%20utilizada%20d" rel="" class="external" title="Promote this on Orkut">Promote this on Orkut</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/&amp;title=Configurar+SSH+para+Diferentes+Usernames" rel="" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/&amp;title=Configurar+SSH+para+Diferentes+Usernames" rel="" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-sphinn">
			<a href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/" rel="" class="external" title="Sphinn this on Sphinn">Sphinn this on Sphinn</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/&amp;title=Configurar+SSH+para+Diferentes+Usernames" rel="" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-techmeme">
			<a href="http://twitter.com/home/?status=Tip+@Techmeme+http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/+&quot;Configurar+SSH+para+Diferentes+Usernames&quot;&amp;source=shareaholic" rel="" class="external" title="Tip this to TechMeme">Tip this to TechMeme</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/" rel="" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fjoaopedropereira.com%2Fblog%2F2009%2F12%2F29%2Fconfigurar-ssh-para-diferentes-usernames%2F&amp;t=Configurar+SSH+para+Diferentes+Usernames" rel="" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Configurar+SSH+para+Diferentes+Usernames+-+http://bit.ly/bK5l8Q&amp;source=shareaholic" rel="" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/&amp;submitHeadline=Configurar+SSH+para+Diferentes+Usernames&amp;submitSummary=Neste%20post%20o%20ser%C3%A3o%20abordadas%20liga%C3%A7%C3%B5es%20por%20SSH%2C%20Secure%20Shell%20ou%20SSH%20que%20%C3%A9%20al%C3%A9m%20de%20um%20programa%2C%20um%20protocolo%20de%20rede%20que%20permite%20a%20liga%C3%A7%C3%A3o%20a%20outra%20m%C3%A1quina.%20Possui%20as%20mesmas%20funcionalidades%20do%20telnet%2C%20no%20entanto%2C%20tem%20a%20vantagem%20de%20ter%20a%20liga%C3%A7%C3%A3o%20encriptada.%20E%20%C3%A9%20hoje%20uma%20ferramenta%20utilizada%20d&amp;submitCategory=science&amp;submitAssetType=text" rel="" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-yahoomail">
			<a href="http://compose.mail.yahoo.com/?Subject=Configurar+SSH+para+Diferentes+Usernames&amp;body=Link: http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Neste%20post%20o%20ser%C3%A3o%20abordadas%20liga%C3%A7%C3%B5es%20por%20SSH%2C%20Secure%20Shell%20ou%20SSH%20que%20%C3%A9%20al%C3%A9m%20de%20um%20programa%2C%20um%20protocolo%20de%20rede%20que%20permite%20a%20liga%C3%A7%C3%A3o%20a%20outra%20m%C3%A1quina.%20Possui%20as%20mesmas%20funcionalidades%20do%20telnet%2C%20no%20entanto%2C%20tem%20a%20vantagem%20de%20ter%20a%20liga%C3%A7%C3%A3o%20encriptada.%20E%20%C3%A9%20hoje%20uma%20ferramenta%20utilizada%20d" rel="" class="external" title="Email this via Yahoo! Mail">Email this via Yahoo! Mail</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://joaopedropereira.com/blog/2009/12/29/configurar-ssh-para-diferentes-usernames/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.10 &#8211; Karmic Koala</title>
		<link>http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/</link>
		<comments>http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 22:34:54 +0000</pubDate>
		<dc:creator>João Pedro Pereira</dc:creator>
				<category><![CDATA[Tecnologia]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://joaopedropereira.com/blog/?p=524</guid>
		<description><![CDATA[O Ubuntu 9.10 já ai está à algum tempo e eu decidi fazer o upgrade pois estava ainda com a versão 8.04 LTS do Ubuntu, e 14 (catorze) dias depois de instalar na minha máquina o Ubuntu 9.10 &#8211; Karmic Koala (instalada dia 4 de Novembro de 2009) vou deixar aqui a minha opinião sobre [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fjoaopedropereira.com%2Fblog%2F2009%2F11%2F18%2Fubuntu-9-10-karmic-koala%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fjoaopedropereira.com%2Fblog%2F2009%2F11%2F18%2Fubuntu-9-10-karmic-koala%2F&amp;source=joaoppereira&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p style="text-align: justify;">O Ubuntu 9.10 já ai está à algum tempo e eu decidi fazer o upgrade pois estava ainda com a versão 8.04 LTS do Ubuntu, e 14 (catorze) dias depois de instalar na minha máquina o Ubuntu 9.10 &#8211; Karmic Koala (instalada dia 4 de Novembro de 2009) vou deixar aqui a minha opinião sobre ele, tal como prometido: <a href="http://tr.im/Ff89" target="_blank">http://tr.im/Ff89</a> .</p>
<p style="text-align: center;"><a href="http://www.ubuntu.com" target="_blank"><img class="aligncenter size-full wp-image-525" title="Ubuntu 9.10" src="http://joaopedropereira.com/blog/wp-content/uploads/2009/11/910-header.jpg" alt="910-header" width="499" height="111" /></a></p>
<p style="text-align: justify;">O gestor de arranque System-V foi substituído pelo Upstart, o USplash foi substituído pelo XSplash, o que tornou o boot mais rápido. O reboot já não demora tanto como antigamente, desligando o computador completamente em cerca de 3 segundos, o que é óptimo para os utilizadores de computadores portáteis.</p>
<p style="text-align: justify;">O Karmic Koala, traz a versão do Kernel Linux 2.6.31, e o sistema de ficheiros ext4 está agora disponível por omissão.</p>
<p style="text-align: justify;">O Ubuntu é uma das primeiras distribuições a incluir o Gnome 2.28, que proporciona notórias melhorias no ambiente gráfico. O gdm foi também totalmente rescrito, tornando o ambiente de login muito mais acessível e intuitivo. Ao sistema de notificações foram introduzidas melhorias significativas.</p>
<p style="text-align: justify;">Está também mais seguro, o AppArmor foi também melhorado, tendo agora a integração com a <a title="Libvirt The virtualization API" href="http://www.libvirt.org/" target="_blank">Libvirt</a>.<span id="more-524"></span></p>
<h2>Software Center</h2>
<p style="text-align: center"><img class="aligncenter size-full wp-image-534" title="Ubuntu 9.10 Sofware Center" src="http://joaopedropereira.com/blog/wp-content/uploads/2009/11/ubuntu-910-software-center.jpg" alt="Ubuntu 9.10 Sofware Center" width="514" height="246" /></p>
<p style="text-align: justify;">Os utilizadores que migram de Windows para Linux, ou que testam um sistema Linux pela primeira vez têm normalmente dificuldades na instalação de aplicações.</p>
<p style="text-align: justify;">A consola parece ser muito complicada e o software center de versões anteriores do Linux também era confuso e complexo. Mas esta última versão não sofre do mesmo problema, tem um repositório de software bem organizado, intuitivo e de fácil utilização. Sem dúvida uma excelente introdução/modificação no sistema pois pode facilmente fixar novos utilizadores.</p>
<h2>Gestor de Redes</h2>
<p style="text-align: justify;">O gestor de redes também está mais intuitivo, completo e organizado facilitando as operações.</p>
<p style="text-align: center;"><img class="alignleft size-full wp-image-543" title="Gestor de Redes Ubuntu 9.10" src="http://joaopedropereira.com/blog/wp-content/uploads/2009/11/gestorredesubuntu910-2.png" alt="Gestor de Redes Ubuntu 9.10" width="225" height="164" /><img class="size-full wp-image-539 aligncenter" title="Gestor de Redes Ubuntu 9.10" src="http://joaopedropereira.com/blog/wp-content/uploads/2009/11/gestorredesubuntu910.png" alt="Gestor de Redes Ubuntu 9.10" width="232" height="174" /></p>
<h2>Hardware e Estabilidade</h2>
<p style="text-align: justify;">Ao nível de detecção e compatibilidade com hardware também existem melhorias introduzidas pelo Ubuntu 9.10, quando instalei o Ubuntu 8.04 no meu Toshiba A200 foi-me necessário instalar os drivers da WebCam, da placa wireless e da placa de som.</p>
<p style="text-align: justify;">O mesmo não foi necessário desta vez, foi tudo reconhecido e está tudo a funcionar perfeitamente sem qualquer tipo de configuração ou instalação de extras.</p>
<p style="text-align: justify;">Está também mais estável. Antes na reprodução de vídeos existiam por vezes crashes completos do sistema, coisa que agora não acontece.</p>
<h2>Mas nem tudo é bom&#8230;</h2>
<p style="text-align: justify;">O meu leitor preferido era e continua a ser o Amarok, até agora utilizava a versão 1.4, no entanto, o Ubuntu trouxe a versão 2.2.0 que provavelmente não foi testada correctamente pois apenas funcionava correctamente a tocar streams pois não tocava música a correr directamente do computador. Foi necessário fazer um downgrade do phonon-backend-xine para que tudo ficasse correctamente.</p>
<p><strong>Download Ubuntu:</strong> <a title="Dowload Ubuntu" href="http://www.ubuntu.com/getubuntu/download " target="_blank">http://www.ubuntu.com/getubuntu/download </a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/&amp;n=Ubuntu+9.10+-+Karmic+Koala&amp;pli=1" rel="" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/&amp;title=Ubuntu+9.10+-+Karmic+Koala" rel="" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/&amp;title=Ubuntu+9.10+-+Karmic+Koala" rel="" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/&amp;t=Ubuntu+9.10+-+Karmic+Koala" rel="" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Ubuntu+9.10+-+Karmic+Koala&amp;link=http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/" rel="" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/&amp;imageurl=" rel="" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/&amp;title=Ubuntu+9.10+-+Karmic+Koala&amp;srcUrl=http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/&amp;srcTitle=Ubuntu+9.10+-+Karmic+Koala&amp;snippet=O%20Ubuntu%209.10%20j%C3%A1%20ai%20est%C3%A1%20%C3%A0%20algum%20tempo%20e%20eu%20decidi%20fazer%20o%20upgrade%20pois%20estava%20ainda%20com%20a%20vers%C3%A3o%208.04%20LTS%20do%20Ubuntu%2C%20e%2014%20%28catorze%29%20dias%20depois%20de%20instalar%20na%20minha%20m%C3%A1quina%20o%20Ubuntu%209.10%20-%20Karmic%20Koala%20%28instalada%20dia%204%20de%20Novembro%20de%202009%29%20vou%20deixar%20aqui%20a%20minha%20opini%C3%A3o%20sobre%20ele%2C%20tal%20como%20p" rel="" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/&amp;title=Ubuntu+9.10+-+Karmic+Koala&amp;summary=O%20Ubuntu%209.10%20j%C3%A1%20ai%20est%C3%A1%20%C3%A0%20algum%20tempo%20e%20eu%20decidi%20fazer%20o%20upgrade%20pois%20estava%20ainda%20com%20a%20vers%C3%A3o%208.04%20LTS%20do%20Ubuntu%2C%20e%2014%20%28catorze%29%20dias%20depois%20de%20instalar%20na%20minha%20m%C3%A1quina%20o%20Ubuntu%209.10%20-%20Karmic%20Koala%20%28instalada%20dia%204%20de%20Novembro%20de%202009%29%20vou%20deixar%20aqui%20a%20minha%20opini%C3%A3o%20sobre%20ele%2C%20tal%20como%20p&amp;source=The Blog of a WebDeveloper" rel="" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Ubuntu%209.10%20-%20Karmic%20Koala%22&amp;body=Link: http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A O%20Ubuntu%209.10%20j%C3%A1%20ai%20est%C3%A1%20%C3%A0%20algum%20tempo%20e%20eu%20decidi%20fazer%20o%20upgrade%20pois%20estava%20ainda%20com%20a%20vers%C3%A3o%208.04%20LTS%20do%20Ubuntu%2C%20e%2014%20%28catorze%29%20dias%20depois%20de%20instalar%20na%20minha%20m%C3%A1quina%20o%20Ubuntu%209.10%20-%20Karmic%20Koala%20%28instalada%20dia%204%20de%20Novembro%20de%202009%29%20vou%20deixar%20aqui%20a%20minha%20opini%C3%A3o%20sobre%20ele%2C%20tal%20como%20p" rel="" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/&amp;title=Ubuntu+9.10+-+Karmic+Koala" rel="" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-netvibes">
			<a href="http://www.netvibes.com/share?title=Ubuntu+9.10+-+Karmic+Koala&amp;url=http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/" rel="" class="external" title="Submit this to Netvibes">Submit this to Netvibes</a>
		</li>
		<li class="shr-newsvine">
			<a href="http://www.newsvine.com/_tools/seed&amp;save?u=http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/&amp;h=Ubuntu+9.10+-+Karmic+Koala" rel="" class="external" title="Seed this on Newsvine">Seed this on Newsvine</a>
		</li>
		<li class="shr-orkut">
			<a href="http://promote.orkut.com/preview?nt=orkut.com&amp;tt=Ubuntu+9.10+-+Karmic+Koala&amp;du=http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/&amp;cn=O%20Ubuntu%209.10%20j%C3%A1%20ai%20est%C3%A1%20%C3%A0%20algum%20tempo%20e%20eu%20decidi%20fazer%20o%20upgrade%20pois%20estava%20ainda%20com%20a%20vers%C3%A3o%208.04%20LTS%20do%20Ubuntu%2C%20e%2014%20%28catorze%29%20dias%20depois%20de%20instalar%20na%20minha%20m%C3%A1quina%20o%20Ubuntu%209.10%20-%20Karmic%20Koala%20%28instalada%20dia%204%20de%20Novembro%20de%202009%29%20vou%20deixar%20aqui%20a%20minha%20opini%C3%A3o%20sobre%20ele%2C%20tal%20como%20p" rel="" class="external" title="Promote this on Orkut">Promote this on Orkut</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/&amp;title=Ubuntu+9.10+-+Karmic+Koala" rel="" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/&amp;title=Ubuntu+9.10+-+Karmic+Koala" rel="" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-sphinn">
			<a href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/" rel="" class="external" title="Sphinn this on Sphinn">Sphinn this on Sphinn</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/&amp;title=Ubuntu+9.10+-+Karmic+Koala" rel="" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-techmeme">
			<a href="http://twitter.com/home/?status=Tip+@Techmeme+http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/+&quot;Ubuntu+9.10+-+Karmic+Koala&quot;&amp;source=shareaholic" rel="" class="external" title="Tip this to TechMeme">Tip this to TechMeme</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/" rel="" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fjoaopedropereira.com%2Fblog%2F2009%2F11%2F18%2Fubuntu-9-10-karmic-koala%2F&amp;t=Ubuntu+9.10+-+Karmic+Koala" rel="" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Ubuntu+9.10+-+Karmic+Koala+-+http://bit.ly/dpEUdo&amp;source=shareaholic" rel="" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/&amp;submitHeadline=Ubuntu+9.10+-+Karmic+Koala&amp;submitSummary=O%20Ubuntu%209.10%20j%C3%A1%20ai%20est%C3%A1%20%C3%A0%20algum%20tempo%20e%20eu%20decidi%20fazer%20o%20upgrade%20pois%20estava%20ainda%20com%20a%20vers%C3%A3o%208.04%20LTS%20do%20Ubuntu%2C%20e%2014%20%28catorze%29%20dias%20depois%20de%20instalar%20na%20minha%20m%C3%A1quina%20o%20Ubuntu%209.10%20-%20Karmic%20Koala%20%28instalada%20dia%204%20de%20Novembro%20de%202009%29%20vou%20deixar%20aqui%20a%20minha%20opini%C3%A3o%20sobre%20ele%2C%20tal%20como%20p&amp;submitCategory=science&amp;submitAssetType=text" rel="" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-yahoomail">
			<a href="http://compose.mail.yahoo.com/?Subject=Ubuntu+9.10+-+Karmic+Koala&amp;body=Link: http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A O%20Ubuntu%209.10%20j%C3%A1%20ai%20est%C3%A1%20%C3%A0%20algum%20tempo%20e%20eu%20decidi%20fazer%20o%20upgrade%20pois%20estava%20ainda%20com%20a%20vers%C3%A3o%208.04%20LTS%20do%20Ubuntu%2C%20e%2014%20%28catorze%29%20dias%20depois%20de%20instalar%20na%20minha%20m%C3%A1quina%20o%20Ubuntu%209.10%20-%20Karmic%20Koala%20%28instalada%20dia%204%20de%20Novembro%20de%202009%29%20vou%20deixar%20aqui%20a%20minha%20opini%C3%A3o%20sobre%20ele%2C%20tal%20como%20p" rel="" class="external" title="Email this via Yahoo! Mail">Email this via Yahoo! Mail</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://joaopedropereira.com/blog/2009/11/18/ubuntu-9-10-karmic-koala/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Instalar Windows Seven e manter Boot Ubuntu</title>
		<link>http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/</link>
		<comments>http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 14:10:48 +0000</pubDate>
		<dc:creator>João Pedro Pereira</dc:creator>
				<category><![CDATA[Tecnologia]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[seven]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://joaopedropereira.com/blog/?p=364</guid>
		<description><![CDATA[Recentemente decidi fazer update do sistema operativo secundário do meu portátil, o Windows Vista, pois este para além da lentidão própria do sistema, estava a dar-me muitos problemas e não me permitia trabalhar correctamente. Então decidi experimentar o Windows Seven. Depois de fazer a instalação do Windows Seven, tal como estava à espera fiquei sem [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fjoaopedropereira.com%2Fblog%2F2009%2F06%2F28%2Finstalar-windows-seven-manter-boot-ubuntu%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fjoaopedropereira.com%2Fblog%2F2009%2F06%2F28%2Finstalar-windows-seven-manter-boot-ubuntu%2F&amp;source=joaoppereira&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Recentemente decidi fazer update do sistema operativo secundário do meu portátil, o Windows Vista, pois este para além da lentidão própria do sistema, estava a dar-me muitos problemas e não me permitia trabalhar correctamente.</p>
<p>Então decidi experimentar o Windows Seven. Depois de fazer a instalação do Windows Seven, tal como estava à espera fiquei sem o boot menu ao qual acedia anteriormente, e não conseguia aceder ao meu sistema principal, Linux distribuição Ubuntu.  Fiz boot do sistema normalmente com Windows Seven e comecei à procura de como solucionar isto, há muito que não tinha de resolver estas questões&#8230; E nada encontrei talvez por ainda o problema ser recente, não o caso geral mas o caso particular. Depois de alguma pesquisa e tentativas cheguei a uma solução.</p>
<h3>Como solucionar o problema</h3>
<ul>
<li>Correr o Ubuntu em LiveCD</li>
<li>Abrir a consola</li>
<li>escrever sudo grub</li>
<li>escrever find /boot/grub/stage1</li>
<li>Verificar output [meu ex.: hd(0,5)]</li>
<li>escrever root(hd(0,5)</li>
<li>escrever setup(hd0)</li>
</ul>
<p>E com estes passos já deve estar o problema solucionado e devem novamente conseguir aceder à listagem dos vários sistemas operativos.</p>
<p>Alguém teve a mesma situação? Conhecem outra forma de o fazer?</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/&amp;n=Instalar+Windows+Seven+e+manter+Boot+Ubuntu&amp;pli=1" rel="" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/&amp;title=Instalar+Windows+Seven+e+manter+Boot+Ubuntu" rel="" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/&amp;title=Instalar+Windows+Seven+e+manter+Boot+Ubuntu" rel="" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/&amp;t=Instalar+Windows+Seven+e+manter+Boot+Ubuntu" rel="" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Instalar+Windows+Seven+e+manter+Boot+Ubuntu&amp;link=http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/" rel="" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/&amp;imageurl=" rel="" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/&amp;title=Instalar+Windows+Seven+e+manter+Boot+Ubuntu&amp;srcUrl=http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/&amp;srcTitle=Instalar+Windows+Seven+e+manter+Boot+Ubuntu&amp;snippet=Recentemente%20decidi%20fazer%20update%20do%20sistema%20operativo%20secund%C3%A1rio%20do%20meu%20port%C3%A1til%2C%20o%20Windows%20Vista%2C%20pois%20este%20para%20al%C3%A9m%20da%20lentid%C3%A3o%20pr%C3%B3pria%20do%20sistema%2C%20estava%20a%20dar-me%20muitos%20problemas%20e%20n%C3%A3o%20me%20permitia%20trabalhar%20correctamente.%0D%0A%0D%0AEnt%C3%A3o%20decidi%20experimentar%20o%20Windows%20Seven.%20Depois%20de%20fazer%20a%20in" rel="" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/&amp;title=Instalar+Windows+Seven+e+manter+Boot+Ubuntu&amp;summary=Recentemente%20decidi%20fazer%20update%20do%20sistema%20operativo%20secund%C3%A1rio%20do%20meu%20port%C3%A1til%2C%20o%20Windows%20Vista%2C%20pois%20este%20para%20al%C3%A9m%20da%20lentid%C3%A3o%20pr%C3%B3pria%20do%20sistema%2C%20estava%20a%20dar-me%20muitos%20problemas%20e%20n%C3%A3o%20me%20permitia%20trabalhar%20correctamente.%0D%0A%0D%0AEnt%C3%A3o%20decidi%20experimentar%20o%20Windows%20Seven.%20Depois%20de%20fazer%20a%20in&amp;source=The Blog of a WebDeveloper" rel="" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Instalar%20Windows%20Seven%20e%20manter%20Boot%20Ubuntu%22&amp;body=Link: http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Recentemente%20decidi%20fazer%20update%20do%20sistema%20operativo%20secund%C3%A1rio%20do%20meu%20port%C3%A1til%2C%20o%20Windows%20Vista%2C%20pois%20este%20para%20al%C3%A9m%20da%20lentid%C3%A3o%20pr%C3%B3pria%20do%20sistema%2C%20estava%20a%20dar-me%20muitos%20problemas%20e%20n%C3%A3o%20me%20permitia%20trabalhar%20correctamente.%0D%0A%0D%0AEnt%C3%A3o%20decidi%20experimentar%20o%20Windows%20Seven.%20Depois%20de%20fazer%20a%20in" rel="" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/&amp;title=Instalar+Windows+Seven+e+manter+Boot+Ubuntu" rel="" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-netvibes">
			<a href="http://www.netvibes.com/share?title=Instalar+Windows+Seven+e+manter+Boot+Ubuntu&amp;url=http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/" rel="" class="external" title="Submit this to Netvibes">Submit this to Netvibes</a>
		</li>
		<li class="shr-newsvine">
			<a href="http://www.newsvine.com/_tools/seed&amp;save?u=http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/&amp;h=Instalar+Windows+Seven+e+manter+Boot+Ubuntu" rel="" class="external" title="Seed this on Newsvine">Seed this on Newsvine</a>
		</li>
		<li class="shr-orkut">
			<a href="http://promote.orkut.com/preview?nt=orkut.com&amp;tt=Instalar+Windows+Seven+e+manter+Boot+Ubuntu&amp;du=http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/&amp;cn=Recentemente%20decidi%20fazer%20update%20do%20sistema%20operativo%20secund%C3%A1rio%20do%20meu%20port%C3%A1til%2C%20o%20Windows%20Vista%2C%20pois%20este%20para%20al%C3%A9m%20da%20lentid%C3%A3o%20pr%C3%B3pria%20do%20sistema%2C%20estava%20a%20dar-me%20muitos%20problemas%20e%20n%C3%A3o%20me%20permitia%20trabalhar%20correctamente.%0D%0A%0D%0AEnt%C3%A3o%20decidi%20experimentar%20o%20Windows%20Seven.%20Depois%20de%20fazer%20a%20in" rel="" class="external" title="Promote this on Orkut">Promote this on Orkut</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/&amp;title=Instalar+Windows+Seven+e+manter+Boot+Ubuntu" rel="" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/&amp;title=Instalar+Windows+Seven+e+manter+Boot+Ubuntu" rel="" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-sphinn">
			<a href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/" rel="" class="external" title="Sphinn this on Sphinn">Sphinn this on Sphinn</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/&amp;title=Instalar+Windows+Seven+e+manter+Boot+Ubuntu" rel="" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-techmeme">
			<a href="http://twitter.com/home/?status=Tip+@Techmeme+http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/+&quot;Instalar+Windows+Seven+e+manter+Boot+Ubuntu&quot;&amp;source=shareaholic" rel="" class="external" title="Tip this to TechMeme">Tip this to TechMeme</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/" rel="" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fjoaopedropereira.com%2Fblog%2F2009%2F06%2F28%2Finstalar-windows-seven-manter-boot-ubuntu%2F&amp;t=Instalar+Windows+Seven+e+manter+Boot+Ubuntu" rel="" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Instalar+Windows+Seven+e+manter+Boot+Ubuntu+-+http://bit.ly/c3jKri&amp;source=shareaholic" rel="" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/&amp;submitHeadline=Instalar+Windows+Seven+e+manter+Boot+Ubuntu&amp;submitSummary=Recentemente%20decidi%20fazer%20update%20do%20sistema%20operativo%20secund%C3%A1rio%20do%20meu%20port%C3%A1til%2C%20o%20Windows%20Vista%2C%20pois%20este%20para%20al%C3%A9m%20da%20lentid%C3%A3o%20pr%C3%B3pria%20do%20sistema%2C%20estava%20a%20dar-me%20muitos%20problemas%20e%20n%C3%A3o%20me%20permitia%20trabalhar%20correctamente.%0D%0A%0D%0AEnt%C3%A3o%20decidi%20experimentar%20o%20Windows%20Seven.%20Depois%20de%20fazer%20a%20in&amp;submitCategory=science&amp;submitAssetType=text" rel="" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-yahoomail">
			<a href="http://compose.mail.yahoo.com/?Subject=Instalar+Windows+Seven+e+manter+Boot+Ubuntu&amp;body=Link: http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Recentemente%20decidi%20fazer%20update%20do%20sistema%20operativo%20secund%C3%A1rio%20do%20meu%20port%C3%A1til%2C%20o%20Windows%20Vista%2C%20pois%20este%20para%20al%C3%A9m%20da%20lentid%C3%A3o%20pr%C3%B3pria%20do%20sistema%2C%20estava%20a%20dar-me%20muitos%20problemas%20e%20n%C3%A3o%20me%20permitia%20trabalhar%20correctamente.%0D%0A%0D%0AEnt%C3%A3o%20decidi%20experimentar%20o%20Windows%20Seven.%20Depois%20de%20fazer%20a%20in" rel="" class="external" title="Email this via Yahoo! Mail">Email this via Yahoo! Mail</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://joaopedropereira.com/blog/2009/06/28/instalar-windows-seven-manter-boot-ubuntu/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
