<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Carmine Sorrentino&#039;s Blog</title>
	<atom:link href="http://carminesorrentino.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://carminesorrentino.wordpress.com</link>
	<description>Just another Linuxiano blogger!</description>
	<lastBuildDate>Sat, 18 Dec 2010 19:15:34 +0000</lastBuildDate>
	<language>it</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='carminesorrentino.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Carmine Sorrentino&#039;s Blog</title>
		<link>http://carminesorrentino.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://carminesorrentino.wordpress.com/osd.xml" title="Carmine Sorrentino&#039;s Blog" />
	<atom:link rel='hub' href='http://carminesorrentino.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Installare e configurare il bluetooth con ArchLinux</title>
		<link>http://carminesorrentino.wordpress.com/2010/11/02/installare-e-configurare-il-bluetooth-con-archlinux/</link>
		<comments>http://carminesorrentino.wordpress.com/2010/11/02/installare-e-configurare-il-bluetooth-con-archlinux/#comments</comments>
		<pubDate>Tue, 02 Nov 2010 10:15:39 +0000</pubDate>
		<dc:creator>Carmine</dc:creator>
				<category><![CDATA[ArchLinux]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://carminesorrentino.wordpress.com/?p=53</guid>
		<description><![CDATA[Da tempo possiedo una Belkin F8T012 che uso con il mio Nokia 6630. L’avevo già provata conUbuntu, l’altro giorno provandola con ArchLinux non è stata riconosciuta, vediamo insieme le varie peripizie da eseguire per farla andare. Per prima cosa bisogna inserire il modulo &#8230; <a href="http://carminesorrentino.wordpress.com/2010/11/02/installare-e-configurare-il-bluetooth-con-archlinux/">Leggi l'articolo completo <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=carminesorrentino.wordpress.com&amp;blog=14000992&amp;post=53&amp;subd=carminesorrentino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Da tempo possiedo una <a rel="external nofollow" href="http://www.belkin.com/it/support/article/?lid=it&amp;pid=F8T012ef&amp;aid=8407&amp;scid=703" target="_blank">Belkin F8T012</a> che uso con il mio <strong>Nokia 6630</strong>. L’avevo già provata con<strong>Ubuntu</strong>, l’altro giorno provandola con <strong>ArchLinux</strong> non è stata riconosciuta, vediamo insieme le varie peripizie da eseguire per farla andare.<br />
Per prima cosa bisogna inserire il modulo in blacklist, perchè l’adattatore viene scambiato per altro. Quindi aprimo il file gestore della Blacklist:<br />
<code>nano /etc/modprobe.d/framebuffer_blacklist.conf</code></p>
<p>ed in fondo inseriamo:<br />
<code>blacklist pegasus</code><br />
Senza questa modifica il boot si blocca quando tenta di leggere l’adattatore. Oppure disabilitare il modulo pegasus nell’rc.conf con:<br />
<code>MODULES=(!pegasus)</code></p>
<p><em>Reboot… [DONE]</em>!</p>
<p>Bene il riconoscimento al boot è stato superato, ora apprestiamoci ad installare i pacchetti per il funzionamento:<br />
<code>pacman -Sy gnome-bluetooth bluez-libs bluez-utils bluez-gnome<br />
</code><br />
Carichiamo il modulo <strong>bluetooth</strong> del kernel:</p>
<p><code>modprobe bluetooth<br />
</code><br />
Ed infine avviamo <strong>bluetooth</strong>:<br />
<code>bluetooth-applet &amp;<br />
/etc/rc.d/bluetooth start</code></p>
<p>Ora tutto è filato liscio! Facciamo una scansione per trovare il nostro cellulare:<br />
<code>hcitool scan<br />
</code>Nel mio caso:<br />
<code>[carmine@archbox ~]$ hcitool scan</p>
<p>Scanning ...<br />
00:1C:D4:84:B8:6E carmine</code></p>
<p>Per avviare il riconoscimento automatico del dispositivo all’avvio basta inserire <strong>bluetooth</strong> nei demoni di <strong>rc.conf</strong>. Quindi:<br />
<code>nano /etc/rc.conf<br />
</code>E modifichiamo questa riga:<br />
<em>DAEMONS=(syslog-ng dbus !network netfs crond alsa hal networkmanager bluetooth)</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/carminesorrentino.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/carminesorrentino.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/carminesorrentino.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/carminesorrentino.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/carminesorrentino.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/carminesorrentino.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/carminesorrentino.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/carminesorrentino.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/carminesorrentino.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/carminesorrentino.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/carminesorrentino.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/carminesorrentino.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/carminesorrentino.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/carminesorrentino.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=carminesorrentino.wordpress.com&amp;blog=14000992&amp;post=53&amp;subd=carminesorrentino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://carminesorrentino.wordpress.com/2010/11/02/installare-e-configurare-il-bluetooth-con-archlinux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5291a272a3e2db18014a6bec229622fe?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Carmine</media:title>
		</media:content>
	</item>
		<item>
		<title>Creare un ambiente di test ArchLinux con chroot!</title>
		<link>http://carminesorrentino.wordpress.com/2010/11/02/creare-un-ambiente-di-test-archlinux-con-chroot-2/</link>
		<comments>http://carminesorrentino.wordpress.com/2010/11/02/creare-un-ambiente-di-test-archlinux-con-chroot-2/#comments</comments>
		<pubDate>Tue, 02 Nov 2010 10:15:14 +0000</pubDate>
		<dc:creator>Carmine</dc:creator>
				<category><![CDATA[ArchLinux]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://carminesorrentino.wordpress.com/?p=51</guid>
		<description><![CDATA[Questo articolo è uno spunto dal post di Bl@ster, ossia prepare un sistema per effettuare i nostri test con Arch Linux basato su chroot. Per prima cosa creiamo la base del nostro sistema, supponiamo di creare una cartella in /mnt/arch-test/ quindi: mkdir &#8230; <a href="http://carminesorrentino.wordpress.com/2010/11/02/creare-un-ambiente-di-test-archlinux-con-chroot-2/">Leggi l'articolo completo <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=carminesorrentino.wordpress.com&amp;blog=14000992&amp;post=51&amp;subd=carminesorrentino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Questo articolo è uno spunto dal <a rel="external nofollow" href="http://dottorblaster.it/2009/11/chroot-una-breve-introduzione/" target="_blank">post</a> di <a rel="external nofollow" href="http://dottorblaster.it/" target="_blank">Bl@ster</a>, ossia prepare un sistema per effettuare i nostri test con Arch Linux basato su chroot.</p>
<p>Per prima cosa creiamo la base del nostro sistema, supponiamo di creare una cartella in <em>/mnt/arch-test/</em> quindi:<br />
<code>mkdir -p /mnt/arch-test/<br />
mkdir -p /mnt/arch-test/var/cache/pacman/<br />
mkdir /mnt/arch-test/etc/<br />
mkdir /mnt/arch-test/dev/<br />
mkdir /mnt/arch-test/proc/<br />
mkdir /mnt/arch-test/sys/</code></p>
<p>Una volta costruite le fondamenta del nostro sistema, passiamo a copiare i file di configurazione:<br />
<code>cp -rf /etc/pacman.conf /etc/pacman.d/ /mnt/arch-test/etc/</code></p>
<p>Bene, il grosso è fatto, adesso bisogna solo montare i filesystem, quindi:<br />
<code>mount -o bind /dev /mnt/arch-test/dev/<br />
mount -t proc none /mnt/arch-test/proc/<br />
mount -t sysfs none /mnt/arch-test/sys/</code></p>
<p>La configurazione è finita, ora non ci resta che scaricare i pacchetti per creare il nostro ambiente Arch, con questo comando aggiorniamo Pacman:<br />
<code>pacman -Svy \<br />
--dbpath /mnt/arch-test/var/lib/pacman/ \<br />
--cachedir /mnt/arch-test/var/cache/pacman/ \<br />
--config /mnt/arch-test/etc/pacman.conf \<br />
-r /mnt/arch-test/</code></p>
<p>Ed installiamo il sistema base:<br />
<code>pacman -Svf base base-devel \<br />
--dbpath /mnt/arch-test/var/lib/pacman/ \<br />
--cachedir /mnt/arch-test/var/cache/pacman/ \<br />
--config /mnt/arch-test/etc/pacman.conf \<br />
-r /mnt/arch-test/</code></p>
<p>Ok, adesso possiamo smontare i filesystem:<br />
<code>umount /mnt/arch-test/dev/<br />
umount /mnt/arch-test/proc/<br />
umount /mnt/arch-test/sys/</code></p>
<p>Finito! Adesso passiamo a creare l’ambiente chroot.</p>
<p><code>sudo chmod +x /mnt/arch-test/</code></p>
<p>Poi facciamo il chroot di <em>/usr/bin/arch-test/</em> nella cartella ./chroot (Facoltativa la cartella chroot, è modificabile a vostro piacimento).<br />
<code>sudo arch-test ./chroot</code></p>
<p>Bene avete creato il vostro sistema chroot con dentro Arch Linux base installato, e adesso sbizzarritevi a testare i vostri test<br />
Ah dimenticavo… per avviare il chroot, ovviamente da terminale date un bel:<br />
<code>sudo chroot ./chroot</code></p>
<p>Fate attenzione a ciò che fate con questa guida, se non sapete ciò che state facendo, potete causare seri danni al sistema operativo.<br />
Per la guida ringrazio <a rel="external nofollow" href="http://dottorblaster.it/" target="_blank">Bl@ster</a> e <a rel="external nofollow" href="http://lanziani.com/blog" target="_blank">Nss</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/carminesorrentino.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/carminesorrentino.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/carminesorrentino.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/carminesorrentino.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/carminesorrentino.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/carminesorrentino.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/carminesorrentino.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/carminesorrentino.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/carminesorrentino.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/carminesorrentino.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/carminesorrentino.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/carminesorrentino.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/carminesorrentino.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/carminesorrentino.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=carminesorrentino.wordpress.com&amp;blog=14000992&amp;post=51&amp;subd=carminesorrentino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://carminesorrentino.wordpress.com/2010/11/02/creare-un-ambiente-di-test-archlinux-con-chroot-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5291a272a3e2db18014a6bec229622fe?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Carmine</media:title>
		</media:content>
	</item>
		<item>
		<title>Qualche piccolo trucco per GNOME</title>
		<link>http://carminesorrentino.wordpress.com/2010/11/02/qualche-piccolo-trucco-per-gnome-2/</link>
		<comments>http://carminesorrentino.wordpress.com/2010/11/02/qualche-piccolo-trucco-per-gnome-2/#comments</comments>
		<pubDate>Tue, 02 Nov 2010 10:14:40 +0000</pubDate>
		<dc:creator>Carmine</dc:creator>
				<category><![CDATA[ArchLinux]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://carminesorrentino.wordpress.com/?p=49</guid>
		<description><![CDATA[Oggi ho deciso di svelarvi un po di trucchetti per rendere il vostro gnome ancora più invitante. Installare i font Liberation Ecco come installare il font della RedHat, come prima cosa scarichiamo l’archivio: clicca qui per scaricare!. Una volta estratto rechiamoci &#8230; <a href="http://carminesorrentino.wordpress.com/2010/11/02/qualche-piccolo-trucco-per-gnome-2/">Leggi l'articolo completo <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=carminesorrentino.wordpress.com&amp;blog=14000992&amp;post=49&amp;subd=carminesorrentino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Oggi ho deciso di svelarvi un po di trucchetti per rendere il vostro gnome ancora più invitante.</p>
<h2>Installare i font Liberation</h2>
<p>Ecco come installare il font della RedHat, come prima cosa scarichiamo l’archivio: <a rel="external nofollow" href="http://www.dfalanga.net/files/liberation-fonts-ttf-3.tar.gz" target="_blank">clicca qui per scaricare!</a>. Una volta estratto rechiamoci nella cartella estratta (da terminale) e digitiamo i comandi che vi sto per dire da root:</p>
<p><code>$: sudo mkdir /usr/share/fonts/truetype/ttf-liberation</p>
<p>$: sudo mv liberation-fonts-ttf-3.tar.gz /usr/share/fonts/truetype/ttf-liberation</p>
<p>$: cd /usr/share/fonts/truetype/ttf-liberation</p>
<p>$: sudo gunzip liberation-fonts-ttf-3.tar.gz</p>
<p>$: sudo tar -xvf liberation-fonts-ttf-3.tar</p>
<p>$: sudo chown root.root *.ttf</p>
<p>$: sudo fc-cache</p>
<p>$: sudo rm liberation-fonts-ttf-3.tar</code></p>
<p>Ora riavviamo GNOME, e per impostarli nel pannello di GNOME andiamo su Sistema -&gt; Preferenze -&gt; Tipi di caratteri, e scegliamo quelli che più ci piacciono.</p>
<p>Oppure se siamo in ArchLinux possiamo affidarci al nostro fido Pacman:</p>
<p><code>pacman -S ttf-liberation<br />
</code></p>
<h2>Utilizzare i temi GTK+ anche per le applicazioni lanciate come utente root</h2>
<p>Vi è mai capitato di lanciare un applicazione con privilegi di root e di vedere che utilizza un altro tema? Questo avviene perchè i temi installati col proprio utente non vengono utilizzati anche per l’ utente root, ma c’è una soluzione:</p>
<p><code>$: sudo ln -s /home/vostroutente/.themes /root/.themes</p>
<p>$: sudo ln -s /home/vostroutente/.icons /root/.icons</p>
<p>$: sudo ln -s /home/vostroutente/.fonts /root/.fonts</code></p>
<p>Ora anche da root abbiamo le nostre GTK+ preferite.</p>
<h2>Avere un terminale trasparente</h2>
<p>Avere una trasparenza nel nostro terminale è molto semplice, apriamo il terminale, clicchiamo in alto su Modifica -&gt; Profilo attuale -&gt; Effetti e scegliamo sfondo trasparente. Possiamo scegliere anche il livello di trasparenza che preferiamo =)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/carminesorrentino.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/carminesorrentino.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/carminesorrentino.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/carminesorrentino.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/carminesorrentino.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/carminesorrentino.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/carminesorrentino.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/carminesorrentino.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/carminesorrentino.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/carminesorrentino.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/carminesorrentino.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/carminesorrentino.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/carminesorrentino.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/carminesorrentino.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=carminesorrentino.wordpress.com&amp;blog=14000992&amp;post=49&amp;subd=carminesorrentino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://carminesorrentino.wordpress.com/2010/11/02/qualche-piccolo-trucco-per-gnome-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5291a272a3e2db18014a6bec229622fe?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Carmine</media:title>
		</media:content>
	</item>
		<item>
		<title>Rilascio e Compilazione del Kernel 2.6.36</title>
		<link>http://carminesorrentino.wordpress.com/2010/11/02/rilascio-e-compilazione-del-kernel-2-6-36/</link>
		<comments>http://carminesorrentino.wordpress.com/2010/11/02/rilascio-e-compilazione-del-kernel-2-6-36/#comments</comments>
		<pubDate>Tue, 02 Nov 2010 10:14:06 +0000</pubDate>
		<dc:creator>Carmine</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://carminesorrentino.wordpress.com/?p=47</guid>
		<description><![CDATA[Salve a tutti; inauguro questa nuova avventura con un post/guida riguardante il kernel linux, il cuore del pinguino! È stata finalmente rilasciata la nuova versione del noto sistema operativo open source, la scorsa settimana c&#8217;èrano stato alcuni problemi riguardante permessi &#8230; <a href="http://carminesorrentino.wordpress.com/2010/11/02/rilascio-e-compilazione-del-kernel-2-6-36/">Leggi l'articolo completo <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=carminesorrentino.wordpress.com&amp;blog=14000992&amp;post=47&amp;subd=carminesorrentino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Salve a tutti;<br />
inauguro questa nuova avventura con un post/guida riguardante il kernel linux, il cuore del pinguino!<br />
È stata finalmente rilasciata la nuova versione del noto sistema operativo open source, la scorsa settimana c&#8217;èrano stato alcuni problemi riguardante permessi root <i>irregolari</i>, infatti il bug critico è stato <a href="https://lists.ubuntu.com/archives/ubuntu-security-announce/2010-October/001181.html">scoperto</a> su Ubuntu 10.10, ma per fortuna è stato tutto risolto, risolvendo con un semplice aggiornamento del sistema.<br />
La nuova versione stabile del kernel è la <a href="http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.36">2.6.36</a>.<br />
Questa release migliora infatti la gestione dei filesystem, driver vari, ma soprattutto <a href="http://www.linuxplanet.com/linuxplanet/reports/7203/1/">sicurezza</a>.</p>
<h2>Come compilarlo</h2>
<p>Questa guida è ambientata su distribuzioni <em>debian-based</em> col metodo <i>Debian-way</i> o <i>Alla Debian</i>.<br />
Innanzi tutto dobbiamo preparare l&#8217;ambiente alla compilazione, quindi installiamo qualche pacchetto vitale:<br />
<code>apt-get install module-init-tools kernel-package libncurses5-dev fakeroot</code></p>
<p>Ora scarichiamo i sorgenti del kernel:<br />
<code>cd /usr/src/ &amp;&amp; wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.36.tar.bz2</code></p>
<p>Ed estraiamoli:<br />
<code>tar jxvf linux-2.6.36.tar.bz2</code></p>
<p>Ora per semplificare alcuni passaggi linkiamo la cartella estratta ad una cartella immaginaria, ed entriamo:<br />
<code>ln -s linux-2.6.19.1 linux &amp;&amp; cd linux</code></p>
<p>A questo punto passiamo alla vera e propria compilazione del kernel, e lanciate il comando:<br />
<code>make menuconfig</code><br />
Vi apparirà un&#8217;interfaccia testuale dalla quale sarà possibile configurare le opzioni del kernel. Questo è il passaggio più delicato, nonché il più lungo e difficile.<br />
Quindi se avete fretta o non siete concentrati non iniziate la compilazione, è una fase molto importante e delicata. Se siete in dubbio su qualcosa, seguete l&#8217;ottima guida di <a href="http://guide.debianizzati.org/index.php/Esempio_configurazione_kernel">Debianizzati</a>.</p>
<h2>Come ricompilarlo</h2>
<p>Se avete già un kernel preinstallato e volete solo ricompilare ad una versione più aggiornata, per prima cosa bisogna copiare la vecchia conf situata in <i>/boot/</i> nella cartella del nuovo kernel, e lanciare<br />
<code>make oldconfig</code><br />
in questo modo verranno fatte delle domande su come configurare le sole nuove voci presenti nel kernel.</p>
<p>Ora che avete ottimizzato il vostro kernel passiamo alla compilazione fisica:<br />
<code>fakeroot make-kpkg --append-to-version -nomepersonalizzato --revision=1 kernel_image</code><br />
Soffermiamoci sulle opzioni del comando:<br />
<b>&#8211;append-to-version</b>: serve a dare un nome personalizzato al kernel, in questo caso verrà: 2.6.36-nomepersonalizzato.<br />
<b>&#8211;revision</b>: permette di impostare un numero di revisione del kernel.<br />
<b>kernel_image</b>: dice a make-kpkg di compilare l&#8217;immagine del kernel creare il pacchetto Debian.</p>
<p>Se tutto è andato bene non ci resta che dare questo bel comando:<br />
<code>cd ..<br />
dpkg -i *.deb</code></p>
<p>Così abbiamo un bel kernel ottimizzato, ed installato senza tante sofferenze dai!</p>
<p>Alla prossima <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/carminesorrentino.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/carminesorrentino.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/carminesorrentino.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/carminesorrentino.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/carminesorrentino.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/carminesorrentino.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/carminesorrentino.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/carminesorrentino.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/carminesorrentino.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/carminesorrentino.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/carminesorrentino.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/carminesorrentino.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/carminesorrentino.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/carminesorrentino.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=carminesorrentino.wordpress.com&amp;blog=14000992&amp;post=47&amp;subd=carminesorrentino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://carminesorrentino.wordpress.com/2010/11/02/rilascio-e-compilazione-del-kernel-2-6-36/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5291a272a3e2db18014a6bec229622fe?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Carmine</media:title>
		</media:content>
	</item>
	</channel>
</rss>
