<?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>Everlinux's Blog &#187; Mandriva</title>
	<atom:link href="http://everlinux.com/blog/category/mandriva/feed" rel="self" type="application/rss+xml" />
	<link>http://everlinux.com/blog</link>
	<description>Sempre vivendo, aprendendo e blogando... :)</description>
	<lastBuildDate>Fri, 30 Jul 2010 18:13:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Redimencionando um NTFS com Bad Blocks</title>
		<link>http://everlinux.com/blog/2009/03/10/redimencionando-um-ntfs-com-bad-blocks</link>
		<comments>http://everlinux.com/blog/2009/03/10/redimencionando-um-ntfs-com-bad-blocks#comments</comments>
		<pubDate>Tue, 10 Mar 2009 20:11:34 +0000</pubDate>
		<dc:creator>Tiago Cruz</dc:creator>
				<category><![CDATA[Dicas]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[NTFS]]></category>

		<guid isPermaLink="false">http://www.everlinux.com/blog/?p=274</guid>
		<description><![CDATA[Ontem descobri uma coisa muito interessante: Que o instalador do Mandriva 2009 não consegue fazer o redimencionamento de uma partição NTFS com Bad Blocks. O Mandriva ainda avisa que a partição está com problemas, pede para passar um &#8220;scandisk&#8221; no Windows, rebootar duas vezes e continuar a instalação. Porém no meu caso foi somente tempo [...]]]></description>
			<content:encoded><![CDATA[<p>Ontem descobri uma coisa muito interessante: Que o instalador do Mandriva 2009 não consegue fazer o redimencionamento de uma partição NTFS com Bad Blocks. O Mandriva ainda avisa que a partição está com problemas, pede para passar um &#8220;scandisk&#8221; no Windows, rebootar duas vezes e continuar a instalação. Porém no meu caso foi somente tempo perdido, o instalador continuava acusando erros na partição.</p>
<p>Tentei com o Ubuntu 8.10 e foi pior ainda: O instalador não redimensionava e não fala o motivo. Portanto, fui para a shell resolver este problema:</p>
<p>Primeiro os dados do disco rígido em questão:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">root<span style="color: #000000; font-weight: bold;">@</span>ubuntu:~<span style="color: #666666; font-style: italic;"># fdisk -l</span>
&nbsp;
Disk <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda: <span style="color: #000000;">40.0</span> GB, <span style="color: #000000;">40007761920</span> bytes
<span style="color: #000000;">255</span> heads, <span style="color: #000000;">63</span> sectors<span style="color: #000000; font-weight: bold;">/</span>track, <span style="color: #000000;">4864</span> cylinders
Units = cylinders of <span style="color: #000000;">16065</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000;">512</span> = <span style="color: #000000;">8225280</span> bytes
Disk identifier: 0xd5bc9254
&nbsp;
   Device Boot      Start         End      Blocks   Id  System
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda1               <span style="color: #000000;">1</span>           <span style="color: #000000;">6</span>       <span style="color: #000000;">48163</span>+  de  Dell Utility
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda2   <span style="color: #000000; font-weight: bold;">*</span>           <span style="color: #000000;">7</span>        <span style="color: #000000;">4864</span>    <span style="color: #000000;">39021885</span>    <span style="color: #000000;">7</span>  HPFS<span style="color: #000000; font-weight: bold;">/</span>NTFS</pre></div></div>

<p>Agora, tentei buscar informações acerca do filesystem em questão:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">root<span style="color: #000000; font-weight: bold;">@</span>ubuntu:~<span style="color: #666666; font-style: italic;"># ntfsresize -v -i /dev/sda2</span>
ntfsresize v2.0.0 <span style="color: #7a0874; font-weight: bold;">&#40;</span>libntfs <span style="color: #000000;">10</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
ERROR: Volume is scheduled <span style="color: #000000; font-weight: bold;">for</span> check.
Run chkdsk <span style="color: #000000; font-weight: bold;">/</span>f and please try again, or see option -f.</pre></div></div>

<p>Uma forçadinha aqui, outra ali&#8230;:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">root<span style="color: #000000; font-weight: bold;">@</span>ubuntu:~<span style="color: #666666; font-style: italic;"># ntfsresize -f -v -i /dev/sda2</span>
ntfsresize v2.0.0 <span style="color: #7a0874; font-weight: bold;">&#40;</span>libntfs <span style="color: #000000;">10</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
Device name        : <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda2
NTFS volume version: <span style="color: #000000;">3.1</span>
Cluster <span style="color: #c20cb9; font-weight: bold;">size</span>       : <span style="color: #000000;">4096</span> bytes
Current volume <span style="color: #c20cb9; font-weight: bold;">size</span>: <span style="color: #000000;">39958410240</span> bytes <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">39959</span> MB<span style="color: #7a0874; font-weight: bold;">&#41;</span>
Current device <span style="color: #c20cb9; font-weight: bold;">size</span>: <span style="color: #000000;">39958410240</span> bytes <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">39959</span> MB<span style="color: #7a0874; font-weight: bold;">&#41;</span>
Checking <span style="color: #000000; font-weight: bold;">for</span> bad sectors ...
Checking filesystem consistency ...
<span style="color: #000000;">100.00</span> percent completed
Accounting clusters ...
Space <span style="color: #000000; font-weight: bold;">in</span> use       : <span style="color: #000000;">11926</span> MB <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">39.8</span><span style="color: #000000; font-weight: bold;">%</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
Collecting resizing constraints ...
Estimating smallest shrunken <span style="color: #c20cb9; font-weight: bold;">size</span> supported ...
File feature         Last used at      By inode
<span style="color: #007800;">$MFT</span>               :      <span style="color: #000000;">3268</span> MB             <span style="color: #000000;">0</span>
Multi-Record       :     <span style="color: #000000;">28482</span> MB         <span style="color: #000000;">44661</span>
<span style="color: #007800;">$MFTMirr</span>           :     <span style="color: #000000;">19980</span> MB             <span style="color: #000000;">1</span>
Compressed         :     <span style="color: #000000;">28942</span> MB         <span style="color: #000000;">44664</span>
Ordinary           :     <span style="color: #000000;">30000</span> MB         <span style="color: #000000;">42006</span>
You might resize at <span style="color: #000000;">11925831680</span> bytes or <span style="color: #000000;">11926</span> MB <span style="color: #7a0874; font-weight: bold;">&#40;</span>freeing <span style="color: #000000;">18074</span> MB<span style="color: #7a0874; font-weight: bold;">&#41;</span>.
Please <span style="color: #c20cb9; font-weight: bold;">make</span> a <span style="color: #7a0874; font-weight: bold;">test</span> run using both the <span style="color: #660033;">-n</span> and <span style="color: #660033;">-s</span> options before real resizing<span style="color: #000000; font-weight: bold;">!</span></pre></div></div>

<p>Depois disso ficou fácil. Primeiro um teste para ver se vai tudo OK, e depois o comando propriamente dito que irá diminuir a partição de ~40 GB para ~30 GB:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">root<span style="color: #000000; font-weight: bold;">@</span>ubuntu <span style="color: #666666; font-style: italic;"># ntfsresize -v -f -b -n -s 30G /dev/sda2</span>
root<span style="color: #000000; font-weight: bold;">@</span>ubuntu <span style="color: #666666; font-style: italic;"># ntfsresize -v -f -b -s 30G /dev/sda2</span></pre></div></div>

<p>Após isso, diminua o tamanho da partição usando o <strong>fdisk</strong> ou o <strong>gparted</strong>, dê um boot no Windows para ele passar um scandisk e ver se ficou tudo sob controle <img src='http://everlinux.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Depois disso, você pode continuar a instalar o seu sabor preferido do Linux (Mandriva ou Ubuntu), pois ambos irão instalar sem problemas =)</p>
<p>Segue um screenshoot do Mandriva 2009 Free Edition rodando o KDE 4.x, de mais um usuário catequizado com sucesso!</p>
<p><a href="http://www.everlinux.com/blog/wp-content/uploads/2009/03/mandriva2009.png"><img src="http://www.everlinux.com/blog/wp-content/uploads/2009/03/mandriva2009-300x225.png" alt="mandriva2009" title="mandriva2009" width="300" height="225" class="alignnone size-medium wp-image-280" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://everlinux.com/blog/2009/03/10/redimencionando-um-ntfs-com-bad-blocks/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Dicas para Certificação (LPI/Mandriva)</title>
		<link>http://everlinux.com/blog/2009/01/28/dicas-para-certificacao-lpimandriva</link>
		<comments>http://everlinux.com/blog/2009/01/28/dicas-para-certificacao-lpimandriva#comments</comments>
		<pubDate>Wed, 28 Jan 2009 20:52:13 +0000</pubDate>
		<dc:creator>Tiago Cruz</dc:creator>
				<category><![CDATA[Certificação]]></category>
		<category><![CDATA[Dicas]]></category>
		<category><![CDATA[LPI]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mandriva]]></category>

		<guid isPermaLink="false">http://www.everlinux.com/blog/?p=233</guid>
		<description><![CDATA[Recentemente migrei meu desktop corporativo de um Dell Optiplex 755 para um HP Compaq dx7400 (6144 KB de cache size, animal!) e achei um arquivo texto perdido no meu /home que pode ser útil para mais alguém. São algumas dicas que reuní na época em que estava estudando para tira a certificação &#8220;Mandriva Conectiva PRO [...]]]></description>
			<content:encoded><![CDATA[<p>Recentemente migrei meu desktop corporativo de um <a href="http://www.dell.com/content/products/productdetails.aspx/optix_755?c=us&#038;l=en&#038;s=bsd&#038;cs=04">Dell Optiplex 755</a> para um <a href="https://h20285.www2.hp.com/estore/families.aspx?co=brz&#038;chassis=desktop&#038;value=22&#038;p_family_id=119&#038;family_id=760">HP Compaq dx7400</a> (6144 KB de cache size, animal!) e achei um arquivo texto perdido no meu /home que pode ser útil para mais alguém.</p>
<p>São algumas dicas que reuní na época em que estava estudando para tira  a certificação &#8220;<em>Mandriva Conectiva PRO Certified Linux Instructor</em>&#8220;, porém o material também serve para estudantes da LPI.</p>
<p>São vários lembretes e exemplos de coisas simples que eu sempre acabo esquecendo no dia-a-dia, portanto espero que tenha alguma utilidade online :-p</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#################################################</span>
<span style="color: #666666; font-style: italic;"># Shell</span>
<span style="color: #007800;">a</span>=tiago; <span style="color: #007800;">b</span>=tiago
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$a</span> = <span style="color: #007800;">$b</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;string igual&quot;</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #007800;">c</span>=<span style="color: #000000;">10</span>; <span style="color: #007800;">d</span>=<span style="color: #000000;">10</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$c</span> <span style="color: #660033;">-eq</span> <span style="color: #007800;">$d</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;integer igual&quot;</span>
<span style="color: #000000; font-weight: bold;">fi</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#################################################</span>
<span style="color: #666666; font-style: italic;"># LVM</span>
- PV <span style="color: #7a0874; font-weight: bold;">&#40;</span>Physical Volume<span style="color: #7a0874; font-weight: bold;">&#41;</span>: pvcreate <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdb1 <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sbd2
- VG <span style="color: #7a0874; font-weight: bold;">&#40;</span>Volume Group<span style="color: #7a0874; font-weight: bold;">&#41;</span>: vgcreate vg00 <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdb1 <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdb2
- LV <span style="color: #7a0874; font-weight: bold;">&#40;</span>Logical Volume<span style="color: #7a0874; font-weight: bold;">&#41;</span>: lvcreate <span style="color: #660033;">-L200M</span> <span style="color: #660033;">-nlvteste</span> vg00
- FileSystem: mke2fs <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>vg00<span style="color: #000000; font-weight: bold;">/</span>lv_teste
- Montar: <span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>vg00<span style="color: #000000; font-weight: bold;">/</span>lv_teste <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>lvm
&nbsp;
PG -<span style="color: #000000; font-weight: bold;">&gt;</span> VG -<span style="color: #000000; font-weight: bold;">&gt;</span> LV</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># RAID</span>
Redundant Array of Inexpensive Disks - RAID0 e Linear não tem redundância
Hot Spare: Disco reserva ja existente que entra automaticamente.
Hot Swap: Discos que podem ser substituidos <span style="color: #ff0000;">&quot;on the fly&quot;</span> sem parar a maquina.</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#################################################</span>
<span style="color: #666666; font-style: italic;"># Uso do sed</span>
<span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>tiago <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s,foda,muito bobo,g'</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Uso do find</span>
<span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">-type</span> f <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.sh'</span> <span style="color: #660033;">-exec</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-l</span> <span style="color: #ff0000;">' tr '</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span> \;
&nbsp;
<span style="color: #666666; font-style: italic;"># Uso do awk</span>
<span style="color: #c20cb9; font-weight: bold;">ps</span> aux <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #660033;">-F</span><span style="color: #ff0000;">' '</span> <span style="color: #ff0000;">'{print $8}'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sort</span> <span style="color: #660033;">-n</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">uniq</span> <span style="color: #660033;">-c</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sort</span> <span style="color: #660033;">-n</span>
<span style="color: #c20cb9; font-weight: bold;">ifconfig</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> HWaddr <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #660033;">-F</span> <span style="color: #ff0000;">&quot; &quot;</span> <span style="color: #ff0000;">'{print $5}'</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">##################################################</span>
<span style="color: #666666; font-style: italic;"># PAM</span>
required: resultado apresentado após todos os módulos da classe
requisite: se falhar, os demais módulos da classe não são executados
sufficient: se retorna com sucesso, os demais módulos da classe não são executados
optional: seu resultado não importante no processo de autenticação
&nbsp;
auth: autenticação
account: contas e autorização
<span style="color: #c20cb9; font-weight: bold;">passwd</span>: senhas
session: ambiente</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">##################################################</span>
<span style="color: #666666; font-style: italic;"># While</span>
<span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #000000; font-weight: bold;">/</span>home <span style="color: #660033;">-type</span> <span style="color: #660033;">-d</span> <span style="color: #660033;">-perm</span> <span style="color: #000000;">1777</span> <span style="color: #660033;">-print</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #000000; font-weight: bold;">while</span> <span style="color: #c20cb9; font-weight: bold;">read</span> i; <span style="color: #000000; font-weight: bold;">do</span>
        <span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #007800;">$i</span> <span style="color: #660033;">-mtime</span> +<span style="color: #000000;">5</span> <span style="color: #660033;">-exec</span> <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span> \;
<span style="color: #000000; font-weight: bold;">done</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Parametro</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;$#&quot;</span> <span style="color: #660033;">-lt</span> <span style="color: #ff0000;">&quot;2&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Uso: $0 &lt;arquivo a procurar&gt; &lt;arquivos.rpm&gt;&quot;</span>
        <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># For</span>
<span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">*</span>.zip; <span style="color: #000000; font-weight: bold;">do</span>
        <span style="color: #c20cb9; font-weight: bold;">tar</span> cvf - <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">gzip</span> <span style="color: #660033;">-9c</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;../<span style="color: #780078;">`basename $i .zip`</span>.tar.gz&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #000000; font-weight: bold;">done</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">##################################################</span>
<span style="color: #666666; font-style: italic;"># Serviços</span>
chkconfig <span style="color: #660033;">--add</span> httpd
chkconfig <span style="color: #660033;">--level</span> <span style="color: #000000;">2</span> httpd off
&nbsp;
<span style="color: #666666; font-style: italic;"># Processos (ps aux)</span>
d = espera <span style="color: #7a0874; font-weight: bold;">&#40;</span>IO<span style="color: #7a0874; font-weight: bold;">&#41;</span>
r = executando <span style="color: #7a0874; font-weight: bold;">&#40;</span>runnable<span style="color: #7a0874; font-weight: bold;">&#41;</span>
s = espera <span style="color: #7a0874; font-weight: bold;">&#40;</span>sleeping<span style="color: #7a0874; font-weight: bold;">&#41;</span>
t = parado <span style="color: #7a0874; font-weight: bold;">&#40;</span>traced<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #c20cb9; font-weight: bold;">w</span> = paginando
x = morto
z = zundi <span style="color: #7a0874; font-weight: bold;">&#40;</span>defunct<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">##################################################</span>
<span style="color: #666666; font-style: italic;"># Syslog</span>
- Multiplos categorias.prioridade separada por ponto-e-virgula:
kern.err;mail.warning                   <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>teste.log
&nbsp;
-  Prioridade: Todos os erros menos os de email:
<span style="color: #000000; font-weight: bold;">*</span>.err;mail.none                         <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>teste.log
&nbsp;
- Nomes de usuário, se logados
<span style="color: #000000; font-weight: bold;">*</span>.emerg                                         root,joao,maria
&nbsp;
- Maquina da rede
mail.<span style="color: #000000; font-weight: bold;">*</span>                                          <span style="color: #000000; font-weight: bold;">@</span>maillogger
&nbsp;
Prioridade      <span style="color: #666666; font-style: italic;">#       Descrição</span>
none            <span style="color: #000000;">0</span>       Não envia mensagens
debug           <span style="color: #000000;">1</span>       Mensagens de depuração
info            <span style="color: #000000;">2</span>       Mensagens informativas
notice          <span style="color: #000000;">3</span>       Mensagens que merecem atenção
warning         <span style="color: #000000;">4</span>       Mensagens de advertencia
err             <span style="color: #000000;">5</span>       Mensagens de erro
crit            <span style="color: #000000;">6</span>       Situação crítica, erro de hardware
alert           <span style="color: #000000;">7</span>       Alerta, corrigir imediatamente
emerg           <span style="color: #000000;">8</span>       Emergencia, pane no sistema
<span style="color: #000000; font-weight: bold;">*</span>               <span style="color: #000000;">1</span>       Todas, mesmo que debug</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">##################################################</span>
<span style="color: #666666; font-style: italic;"># Agendamento</span>
at <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">updatedb</span> <span style="color: #000000;">17</span>:00
<span style="color: #666666; font-style: italic;"># Listagem</span>
atq
<span style="color: #666666; font-style: italic;"># Remove</span>
atrm <span style="color: #000000;">3</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Crontab</span>
minuto  - hora  - dia mes - mes - dia semana - usuario - comando
<span style="color: #000000;">42</span>         <span style="color: #000000;">4</span>        <span style="color: #000000;">1</span>        <span style="color: #000000; font-weight: bold;">*</span>          <span style="color: #000000; font-weight: bold;">*</span>       root    renice <span style="color: #660033;">-19</span> <span style="color: #c20cb9; font-weight: bold;">run-parts</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>cron.monthly
&nbsp;
dia semana: <span style="color: #000000;">0</span> ou <span style="color: #000000;">7</span> eh domingo, segunda eh <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000;">1</span>-<span style="color: #000000;">5</span>     = <span style="color: #000000;">1</span> a <span style="color: #000000;">5</span>
<span style="color: #000000;">1</span>,<span style="color: #000000;">3</span>,<span style="color: #000000;">5</span>,<span style="color: #000000;">7</span> = numero <span style="color: #000000;">1</span>, <span style="color: #000000;">3</span>, <span style="color: #000000;">5</span> e <span style="color: #000000;">7</span>
<span style="color: #000000; font-weight: bold;">*/</span><span style="color: #000000;">5</span>     = de <span style="color: #000000;">5</span> em <span style="color: #000000;">5</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Converter arquivo</span>
mencoder ballmer_developers.flv <span style="color: #660033;">-ovc</span> xvid <span style="color: #660033;">-xvidencopts</span> <span style="color: #007800;">fixed_quant</span>=<span style="color: #000000;">5</span> <span style="color: #660033;">-oac</span> mp3lame <span style="color: #660033;">-lameopts</span> <span style="color: #007800;">br</span>=<span style="color: #000000;">128</span> <span style="color: #660033;">-o</span> ballmer_developers.avi</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://everlinux.com/blog/2009/01/28/dicas-para-certificacao-lpimandriva/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FAUS versão 1.4.5 lançada</title>
		<link>http://everlinux.com/blog/2008/02/11/faus-versao-145-lancada</link>
		<comments>http://everlinux.com/blog/2008/02/11/faus-versao-145-lancada#comments</comments>
		<pubDate>Mon, 11 Feb 2008 13:07:54 +0000</pubDate>
		<dc:creator>Tiago Cruz</dc:creator>
				<category><![CDATA[FAUS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.everlinux.com/blog/2008/02/11/faus-versao-145-lancada/</guid>
		<description><![CDATA[FAUS significa &#8220;Ferramenta de Administração de Usuários do Samba&#8221; e é um CGI escrito em Perl para permitir a administração de usuários via uma interface web. A versão 1.4.5, além dos bugs corrigidos, trouxe também algumas novidades como por exemplo o suporte completo ao SaMBa 3.x, inclusive alterando de base de dados smbpasswd para tdbsam. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://faus.sourceforge.net/">FAUS</a> significa &#8220;<em>Ferramenta de Administração de Usuários do Samba</em>&#8221; e é um CGI escrito em Perl para permitir a administração de usuários via uma interface web.</p>
<p><a href='http://www.everlinux.com/blog/wp-content/uploads/2008/02/faus.jpg' title='FAUS versão 1.4.5 lançada'><img src='http://www.everlinux.com/blog/wp-content/uploads/2008/02/faus.thumbnail.jpg' alt='FAUS versão 1.4.5 lançada' /></a></p>
<p>A versão 1.4.5, além dos bugs corrigidos, trouxe também algumas novidades como por exemplo o suporte completo ao SaMBa 3.x, inclusive alterando de base de dados smbpasswd para tdbsam. Foi possível fazer isso deixando de editar o smbpasswd diretamente e voltando a usar os programas do SaMba. Com isso, foi retirado o suporte ao SaMBa 2.x.</p>
<p>Também é possível agora alterar o nome de usuário, sem precisar deletar e cria-lo novamente <img src='http://everlinux.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  O FAUS se encarrega de alterar no sistema e no SaMBa.</p>
<p>O instalador, anteriormente só funcionava em Debian agora funciona em suas variações (Kurumin, xUbuntu) e também em distribuiçoes baseadas em RPM (testada no Mandriva 2007, fácilmente portado à outros). E todos aqueles módulos perl chatos de instalar estão agora incluídos no próprio tarball do FAUS para evitar problemas com falta de conexão ou versões incompatíveis dos módulos com o FAUS.</p>
<p>Em caso de problemas, críticas ou sugestões procure-nos na lista <a href="https://lists.sourceforge.net/lists/listinfo/faus-users">faus-users</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://everlinux.com/blog/2008/02/11/faus-versao-145-lancada/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mini-curso: História e Instalação do Linux</title>
		<link>http://everlinux.com/blog/2007/11/09/mini-curso-historia-e-instalacao-do-linux</link>
		<comments>http://everlinux.com/blog/2007/11/09/mini-curso-historia-e-instalacao-do-linux#comments</comments>
		<pubDate>Fri, 09 Nov 2007 17:55:42 +0000</pubDate>
		<dc:creator>Tiago Cruz</dc:creator>
				<category><![CDATA[Apresentação]]></category>
		<category><![CDATA[Eventos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.everlinux.com/blog/2007/11/09/mini-curso-historia-e-instalacao-do-linux/</guid>
		<description><![CDATA[Estou disponibilizando a apresentação utilizada durante o Simpósio de Tecnologia da Informação, realizado na FAENAC durante esta semana de Novembro de 2007. Durante o mini-curso, veremos o processo de instalação e particionamento do disco de Sistemas Operacionais Proprietários (Windows) e também de Softwares Livres, como as distribuições Mandriva e Ubuntu Linux. Todos os temas serão [...]]]></description>
			<content:encoded><![CDATA[<p>Estou disponibilizando a apresentação utilizada durante o <a href="http://www.everlinux.com/blog/2007/11/05/simposio-em-tecnologia-da-informacao-na-faenac/">Simpósio de Tecnologia da Informação</a>, realizado na FAENAC durante esta semana de Novembro de 2007.</p>
<p>Durante o mini-curso, veremos o processo de instalação e particionamento do disco de Sistemas Operacionais Proprietários (Windows) e também de Softwares Livres, como as distribuições Mandriva e Ubuntu Linux.</p>
<p>Todos os temas serão previamente abordados e esclarecidos antes do particionamento e instalação do Linux em si.</p>
<p>Link para download: <a href='http://www.everlinux.com/blog/wp-content/uploads/2007/11/simposio-faenac-download.pdf' title='Simpósio Faenac 2007'>Simpósio Faenac 2007</a></p>
<p>Espero que a mesma seja útil para introduzir novos usuários ao mundo Livre.</p>
<p>Abraços</p>
]]></content:encoded>
			<wfw:commentRss>http://everlinux.com/blog/2007/11/09/mini-curso-historia-e-instalacao-do-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Breve análise do Mandriva Spring (2007.1)</title>
		<link>http://everlinux.com/blog/2007/05/07/breve-analise-do-mandriva-spring-20071</link>
		<comments>http://everlinux.com/blog/2007/05/07/breve-analise-do-mandriva-spring-20071#comments</comments>
		<pubDate>Mon, 07 May 2007 23:44:33 +0000</pubDate>
		<dc:creator>Tiago Cruz</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mandriva]]></category>

		<guid isPermaLink="false">http://www.everlinux.com/blog/2007/05/07/breve-analise-do-mandriva-spring-20071/</guid>
		<description><![CDATA[Esses dias eu baixei para um conhecido o DVD do Mandriva 2007 Spring, versão Free e resolvi dar uma testada para ver o que melhorou nos últimos meses no quesito integração 3D para um desktop comum. Em outra ocasião, pretendo dar uma olhada em como anda a parte de virtualização da mesma, o que me [...]]]></description>
			<content:encoded><![CDATA[<p>Esses dias eu baixei para um conhecido o DVD do Mandriva 2007 Spring, versão Free e resolvi dar uma testada para ver o que melhorou nos últimos meses no quesito integração 3D para um desktop comum. Em outra ocasião, pretendo dar uma olhada em como anda a parte de virtualização da mesma, <a href="http://www.everlinux.com/blog/category/virtualizacao/">o que me interessa e muito</a>.</p>
<p> Para quem não sabe, a Mandriva atualmente está se organizada nesta forma de distribuição:</p>
<p><em>- Mandriva Free:</em><br />
Esse pack vem com 04 CD&#8217;s ou 1 DVD feita somente de softwares livres, portanto, sem plugins proprietários (como o Java ou Flash) e nem drivers proprietários (como Ati ou Nvidia).</p>
<p><em>- Mandriva One:</em><br />
Essa é a versão &#8220;Live-CD&#8221; do Mandriva (estilo o Kurumin ou o Ubuntu) que não é necessário instalar para usar, pode ser usada diretamente do CD-ROM. Geralmente ele tem uns drivers proprietários no meio para poder ativar o &#8220;Desktop 3D&#8221; rodando direto pelo CD.</p>
<p><em>- Discovery, Powerpack e Powerpack+</em>:<br />
São produtos comerciais, vendidos nas &#8220;caixinhas&#8221; com direito a suporte deles, acesso ao Mandriva Club e tem todos os drivers proprietários, assim como ao Java e ao Flash. A diferença entre eles você pode ver no link abaixo, mas basicamente é a <a href="http://www.mandriva.com/pt_br/linux/spring/choose_your_distribution">quantidade de tecnologias</a> suportadas mesmo:</p>
<p>O valor varia de 44,00-EUR (discovery) até 179,00-EUR (PowerPack+), sendo que o Euro vale atualmente uns R$ 2,70.</p>
<p>Como baixei a versão Free, e não a Power Pack, minha Nvidia foi reconhecida mas usando o driver genérico &#8220;nv&#8221;, sem aceleração 3D. Também como o esperado, o sistema não veio com os plugins proprietários de Java nem de Flash, mas o suporte a multimídia (vídeos em Div-X com legenda e músicas em MP3) vieram funcionando logo após a instalação. Isso não era esperado <img src='http://everlinux.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p>Bom, na tentativa de instalar minha placa, fui até o gerenciador de pacotes dele e não encontrei nada sobre nVidia&#8230; então pensei em ir até o <a href="http://easyurpmi.zarb.org/">EasyURPMI</a> e adicionar aqueles montes de repositórios, mas antes resolvi tentar pela interface gráfica &#8220;Media Manager&#8221; para ver se ele digitava aqueles comandos enormes para mim. E não é que funciona?</p>
<p><a href='http://www.everlinux.com/blog/wp-content/uploads/2007/05/add_dist_sources.png' title='Media Manager'><img src='http://www.everlinux.com/blog/wp-content/uploads/2007/05/add_dist_sources.thumbnail.png' alt='Media Manager' /></a></p>
<p>Como você pode ver, ele se oferece para instalar os &#8220;Updates Oficiais&#8221; que seriam os tais do &#8216;<em>main</em>&#8216; e &#8216;<em>update_sources</em>&#8216;. Clicando nele aparece a lista de mirros, com um Brasileiro sugerido por padrão&#8230; clicando nele realmente o /etc/urpmi/urpmi.cfg é atualizado corretamente com o repositório novo. Mas e aqueles pacotes restritos, que são os mais legais? Bom&#8230; clicando então de novo no &#8220;Media Manager&#8221;, e depois clicando em &#8220;Distribuition Sources&#8221; ele irá inserir vários repositórios como os <em>Testings, Backports, Contribs, Non-free e o Restricted</em>. Todos esses devem ser o suficiente para instalar o que um usuário desktop comum precisa para sobreviver. Apenas lembre-se de clicar em &#8220;Enabled&#8221; pois não vem por padrão.</p>
<p><a href='http://www.everlinux.com/blog/wp-content/uploads/2007/05/nvidia.png' title='Reconhecendo e instalando uma placa Nvidia'><img src='http://www.everlinux.com/blog/wp-content/uploads/2007/05/nvidia.thumbnail.png' alt='Reconhecendo e instalando uma placa Nvidia' /></a></p>
<p>Agora sim, com os repositórios &#8216;<em>non-free</em>&#8216; habilitados fui no Mandriva Control Center e mandei ele detectar minha placa de vídeo novamente. Com o modelo correto detectado, foi possível baixar vários pacotes para minha Nvidia funcionar. Note que eu não escolhi o pacote a ser instalado porque tinha muitos, como você pode ver no screen shoot abaixo. A seleção do pacote correto para a minha placa (dkms96xx) assim como suas dependências para compilação do módulo (gcc, kernel-source, glibc-devel e libncurses5-devel) foram todas feitas automaticamente pela Mandriva. Isso é ótimo! <img src='http://everlinux.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><a href='http://www.everlinux.com/blog/wp-content/uploads/2007/05/drak3d.png' title='Painel de controle (Drak3d)'><img src='http://www.everlinux.com/blog/wp-content/uploads/2007/05/drak3d.thumbnail.png' alt='Painel de controle (Drak3d)' /></a></p>
<p>Depois de um logout/login ja pude desfrutar de minha plaquinha 3D, jogando alguns joguinhos só para testar. E fui novamente ao Mandriva Control Center, na parte de &#8220;3D Desktop effects&#8221;, agora sim com todas as opções habilitadas para uso.</p>
<p>Testei as duas opções, uma de cada vez: Primeiro o conjunto Beryl+AIGLX, que funcionou muito bem depois de um login/ logout e sem ter a necessidade de baixar nada da Internet. Só o <em>beryl-manager</em> que não iniciado automaticamente, mas de resto tudo funcionou como o esperado até mesmo os vídeos Div-X funcionaram sem problemas junto com o Beryl (embora a screenshot tenha saído toda estranha, o vídeo estava certinho!)</p>
<p><a href='http://www.everlinux.com/blog/wp-content/uploads/2007/05/drak3d_beryl_video.png' title='Vídeo avi com legenda com o beryl ativado'><img src='http://www.everlinux.com/blog/wp-content/uploads/2007/05/drak3d_beryl_video.thumbnail.png' alt='Vídeo avi com legenda com o beryl ativado' /></a></p>
<p>Por último, testei e <a href="http://www.mandriva.com/projects/metisse/">Metisse</a>. Achei estranho de começo esse lançe de entortar as janelas em todos os ângulos/ eixos possíveis e imagináveis, mas não consegui trazer nenhuma screenshoot do mesmo, porque simplesmente não saia (nem pelo import nem pelo gnome-screenshot) <img src='http://everlinux.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  Ainda não li toda sua <a href="http://www.mandriva.com/en/projects/metisse/functionalities">documentação</a> mas você pode ver uma imagem do mesmo em ação <a href="http://polishlinux.org/reviews/metisse/rys2.jpg">aqui</a> e entender melhor o que estou falando.</p>
<p>Bom, por enquanto eu fico por aqui! Só queria mostrar mesmo como não é tão complicado fazer uma plaquinha antiga de 64 MB (nVidia Corporation NV18 [GeForce4 MX 4000] ) funcionar no Linux, e ter os tão desejados ambientes 3D funcionando em seu micro.</p>
<p>Até +!</p>
]]></content:encoded>
			<wfw:commentRss>http://everlinux.com/blog/2007/05/07/breve-analise-do-mandriva-spring-20071/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  everlinux.com/blog/category/mandriva/feed ) in 0.85016 seconds, on Jul 30th, 2010 at 8:41 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Jul 30th, 2010 at 9:41 pm UTC -->