<?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>Weblog di Luca Raciti</title>
	<atom:link href="http://lucaraciti.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://lucaraciti.wordpress.com</link>
	<description>Un pò di geeking...</description>
	<lastBuildDate>Thu, 15 Sep 2011 13:54:50 +0000</lastBuildDate>
	<language>it</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='lucaraciti.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Weblog di Luca Raciti</title>
		<link>http://lucaraciti.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://lucaraciti.wordpress.com/osd.xml" title="Weblog di Luca Raciti" />
	<atom:link rel='hub' href='http://lucaraciti.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Cycling anomalo testine su linux</title>
		<link>http://lucaraciti.wordpress.com/2011/09/15/cycling-anomalo-testine-su-linux/</link>
		<comments>http://lucaraciti.wordpress.com/2011/09/15/cycling-anomalo-testine-su-linux/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 13:54:41 +0000</pubDate>
		<dc:creator>lucaraciti</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Red Hat]]></category>

		<guid isPermaLink="false">http://lucaraciti.wordpress.com/?p=127</guid>
		<description><![CDATA[se dando un sudo smartctl -a /dev/sda &#124; grep Load_Cycle_Count &#38;&#38; sleep 300 &#38;&#38; sudo smartctl -a /dev/sda &#124; grep Load_Cycle_Count ed attendendo ca 30 secondi il valore nell&#8217;ultima colonna si incrementa il sistema è affetto da un bug, detto del cycling: le testine dell&#8217;hd vanno continuamente a riposo, riducendo il consumo ma anche riducendo [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucaraciti.wordpress.com&amp;blog=3742038&amp;post=127&amp;subd=lucaraciti&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>se dando un<code><br />
sudo smartctl -a /dev/sda | grep Load_Cycle_Count &amp;&amp; sleep 300 &amp;&amp; sudo smartctl -a /dev/sda | grep Load_Cycle_Count</code></p>
<p>ed attendendo ca 30 secondi il valore nell&#8217;ultima colonna si incrementa il sistema è affetto da un bug, detto del cycling: le testine dell&#8217;hd vanno continuamente a riposo, riducendo il consumo ma anche riducendo dresticamente la vita residua del vostro hard-disk. (il comando usa il package smartmontools)</p>
<p>cercare le corrispondenti linee nel file /etc/laptop-mode/laptop-mode.conf</p>
<p> e valorizzarle come segue<br />
<code><br />
ENABLE_LAPTOP_MODE_ON_BATTERY=0<br />
CONTROL_HD_POWERMGMT=1<br />
BATT_HD_POWERMGMT=254<br />
LM_BATT_HD_IDLE_TIMEOUT_SECONDS=400<br />
</code></p>
<p>Il file è collegato al pacchetto &#8220;laptop-mode-tools&#8221; che va aggiunto.</p>
<p><strong>Compatibilità</strong></p>
<p><em> distro Linux con kernel 2.6.32 </em><strong>)<br />
</strong></p>
<p>Attribuzione-Condividi allo stesso modo 2.5 Generico: le informazioni contenute in esso possono essere utilizzate e modificate liberamente. E’ obbligatorio invese mantenere la paternità a “<strong>Luca Raciti http:\\lucaraciti.wordpress.it</strong>” e di condividere allo stesso modo.</p>
<p><strong>Disclaimer</strong></p>
<p>Il weblog non ha carattere di perodico. Fatti salvi errori ed omissioni, non si assume responsabilità per eventuali problematiche derivanti dall’utilizzo delle informazioni contenute nell’articolo.</p>
<p><strong><em>Se ti piace o vuoi aggiungere qualcosa commenta pure!!!</em></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucaraciti.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucaraciti.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucaraciti.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucaraciti.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucaraciti.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucaraciti.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucaraciti.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucaraciti.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucaraciti.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucaraciti.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucaraciti.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucaraciti.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucaraciti.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucaraciti.wordpress.com/127/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucaraciti.wordpress.com&amp;blog=3742038&amp;post=127&amp;subd=lucaraciti&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucaraciti.wordpress.com/2011/09/15/cycling-anomalo-testine-su-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/279e8645e39f7af2398f7a9c075ebc5f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucaraciti</media:title>
		</media:content>
	</item>
		<item>
		<title>etichettare un disco usb fat32 da linux (label)</title>
		<link>http://lucaraciti.wordpress.com/2011/09/15/etichettare-un-disco-usb-fat32-da-linux-label/</link>
		<comments>http://lucaraciti.wordpress.com/2011/09/15/etichettare-un-disco-usb-fat32-da-linux-label/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 13:51:06 +0000</pubDate>
		<dc:creator>lucaraciti</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Enterprise Linux]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Red Hat]]></category>

		<guid isPermaLink="false">http://lucaraciti.wordpress.com/?p=148</guid>
		<description><![CDATA[Utilizzando un disco USB, che trovo più utile formattare in fat32, capita di aver l&#8217;esigenza di applicare una label (etichetta). In fat32 per gestire le label è necessario utilizzare il package mtools. Lo strumento per etichettare è mlabel, in particolare con l&#8217;opzione -s per leggere le label e -vcsn per settarla. mlabel si basa su [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucaraciti.wordpress.com&amp;blog=3742038&amp;post=148&amp;subd=lucaraciti&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Utilizzando un disco USB, che trovo più utile formattare in fat32, capita di aver l&#8217;esigenza di applicare una label (etichetta).</p>
<p>In fat32 per gestire le label è necessario utilizzare il package mtools.</p>
<p>Lo strumento per etichettare è mlabel, in particolare con l&#8217;opzione -s per leggere le label e -vcsn per settarla.</p>
<p>mlabel si basa su un file di configurazione che è <em>/etc/mtools.conf</em>. Occorre aprirlo con un editor e quindi settare una unità ms windows-like (C:, D: &#8230;)per ciascuna delle partizioni che si intende modificare.</p>
<p>Quindi supponendo di avere una partizione /dev/sda1 da etichettare<br />
<code>vi /etc/mtools.conf</code></p>
<p>comporre una riga così<br />
<code>drive c: file="/dev/sda1"</code></p>
<p>per leggere l&#8217;etichetta<br />
<code>mlabel -s /dev/sda1</code></p>
<p>per applicare una nuova etichetta<br />
<code>mlabel -vcsn c:ORABACKUP</code><br />
<strong>Compatibilità</strong></p>
<p><em>Sistemi linux </em></p>
<p>Attribuzione-Condividi allo stesso modo 2.5 Generico: le informazioni contenute in esso possono essere utilizzate e modificate liberamente. E’ obbligatorio invese mantenere la paternità a “<strong>Luca Raciti http:\\lucaraciti.wordpress.it</strong>” e di condividere allo stesso modo.</p>
<p><strong>Disclaimer</strong></p>
<p>Il weblog non ha carattere di perodico. Fatti salvi errori ed omissioni, non si assume responsabilità per eventuali problematiche derivanti dall’utilizzo delle informazioni contenute nell’articolo.</p>
<p><strong><em>Se ti piace o vuoi aggiungere qualcosa commenta pure!!!</em></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucaraciti.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucaraciti.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucaraciti.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucaraciti.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucaraciti.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucaraciti.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucaraciti.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucaraciti.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucaraciti.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucaraciti.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucaraciti.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucaraciti.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucaraciti.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucaraciti.wordpress.com/148/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucaraciti.wordpress.com&amp;blog=3742038&amp;post=148&amp;subd=lucaraciti&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucaraciti.wordpress.com/2011/09/15/etichettare-un-disco-usb-fat32-da-linux-label/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/279e8645e39f7af2398f7a9c075ebc5f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucaraciti</media:title>
		</media:content>
	</item>
		<item>
		<title>TOra (con supporto oracle), sqldeveloper ed instantclient 11.2 su Debian Squeeze AMD64</title>
		<link>http://lucaraciti.wordpress.com/2011/08/26/tora-con-supporto-oracle-sqldeveloper-ed-instantclient-11-2-su-debian-squeeze-amd64/</link>
		<comments>http://lucaraciti.wordpress.com/2011/08/26/tora-con-supporto-oracle-sqldeveloper-ed-instantclient-11-2-su-debian-squeeze-amd64/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 09:18:40 +0000</pubDate>
		<dc:creator>lucaraciti</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[ORACLE]]></category>
		<category><![CDATA[Oracle 11]]></category>

		<guid isPermaLink="false">http://lucaraciti.wordpress.com/?p=139</guid>
		<description><![CDATA[Il presente articolo descrive come installare il client oracle (oracle instantclient 11.2), TOra (strumento di sviluppo open source, simile al commerciale TOAD) e Oracle Sqldeveloper su Linux Debian Squeeze AMD64 (Debian 6.0.1). Purtroppo la versione di TOra presente nei repository ufficiali Debian non include il supporto al db Oracle per incompatibilità della licenza proprietaria Installazione [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucaraciti.wordpress.com&amp;blog=3742038&amp;post=139&amp;subd=lucaraciti&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>Il presente articolo descrive come installare il client oracle (oracle instantclient 11.2), TOra (strumento di sviluppo open source, simile al commerciale TOAD) e Oracle Sqldeveloper su Linux Debian Squeeze AMD64 (Debian 6.0.1). Purtroppo la versione di TOra presente nei repository ufficiali Debian non include il supporto al db Oracle per incompatibilità della licenza proprietaria</em></p>
<p><strong>Installazione Oracle InstantClient 11.2</strong></p>
<p>Prelevare dal <a href="http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html">sito Oracle</a> </p>
<p>i seguenti software:<br />
- Instantclient Basic 11.2<br />
- Instantclient Sql*Plus 11.2<br />
- Instantclient SDK 11.2</p>
<p>a scelta è possibile o prendere l&#8217;installato o prendere gli rpm.</p>
<p>Io ho preferito usare gli RPM.</p>
<p>In tal caso, creare una directory dedicata e copiare gli rpm.<br />
Quindi convertiamo rpm in deb ed installiamo:<br />
<code><br />
$ for n in $(ls oracle-*.rpm); do fakeroot alien $n; done;<br />
# dpkg -i *.deb<br />
</code><br />
Ora eseguiamo le seguenti operazioni post-installazione<br />
- Link a directory del client oracle<br />
<code><br />
#ln -s /usr/include/oracle/11.2/client64 /usr/lib/oracle/11.2/client64/include<br />
</code></p>
<p>- Valorizziamo le variabili Oracle<br />
<code><br />
# vi $HOME/.bashrc<br />
</code><br />
aggiungendo quanto segue:<br />
<code><br />
export ORACLE_BASE=/usr/lib/oracle/11.2<br />
export ORACLE_HOME=$ORACLE_BASE/client64<br />
export PATH=$PATH:$ORACLE_HOME/bin<br />
export TNS_ADMIN=/etc/oracle<br />
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/include/oracle/11.2/client64:/usr/lib/oracle/11.2/client64/lib<br />
</code></p>
<p>da root aggiungiamo quanto segue:<br />
<code><br />
# mkdir /etc/oracle<br />
# touch /etc/oracle/tnsnames.ora<br />
# chown utente:gruppo /etc/oracle/tnsnames.ora<br />
# su - user<br />
$ vi /etc/oracle/tnsnames.ora<br />
</code></p>
<p>da user modifichiamo il tnsnames.ora (nb. metti i tuoi valori):<br />
<code><br />
ORA11 =<br />
 (DESCRIPTION =<br />
   (ADDRESS_LIST =<br />
     (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))<br />
   )<br />
 (CONNECT_DATA =<br />
   (SERVICE_NAME = ORA11)<br />
 )<br />
)<br />
</code></p>
<p>aggiorniamo le variabili<br />
<code><br />
$ source ~/.bashrc<br />
</code><br />
quindi procedere con il login a oracle per essere certi che nulla manchi<br />
<code><br />
$:sqlplus       </p>
<p>SQL*Plus: Release 11.2.0.2.0 Production on Fri Aug 26 10:28:57 2011</p>
<p>Copyright (c) 1982, 2010, Oracle.  All rights reserved.</p>
<p>Enter user-name:<br />
</code></p>
<p><strong>Installazione Oracle Sqldeveloper</strong><br />
Prelevare dal <a href="http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html">sito Oracle</a><br />
il software Sqldeveloper ed eseguire l&#8217;installazione. Non ci sono particolari formalità, è necessaria la Java SDK 6.</p>
<p><strong>Installazione TOra</strong><br />
E&#8217; possibile installare TOra in 3 modi.<br />
a) prendendo il package rpm e convertendolo in deb<br />
b) scaricando il package sorgente e compilandolo<br />
c) scaricando tutto il sorgente dal sito di TOra.</p>
<p>Ho avuto grossi problemi con le opzioni b) e c) pertanto visto che sono analoghe io ho seguito l&#8217;opzione a)</p>
<p>Scaricare le dipendenze<br />
<code># apt-get build-dep tora</code></p>
<p>Dal <a href="http://sourceforge.net/projects/tora/files/tora/2.1.2/red-hat-el/">sito di TOra</a> scaricare l&#8217;rpm di TOra 2.1.2 per RedHat EL5 _x64.</p>
<p>eseguiamo la conversione di TOra da rpm a deb:<br />
<code><br />
$ for n in $(ls TOra-*.rpm); do fakeroot alien $n; done;<br />
# dpkg -i *.deb<br />
</code></p>
<p>ed eseguiamolo<br />
<code><br />
$ tora<br />
</code><br />
Dovrebbe essere andato tutto a buon fine, accertarsi che ci sia la parte Oracle attiva.<br />
<strong>Risorse esterne</strong><br />
<a href="https://cassianoleal.wordpress.com/2011/02/21/tora-with-oracle/">Blog di Cassiano Leal articolo seguito in parte</a><br />
<a href="http://www.bekatul.info/content/rebuilding-tora-support-oracle-debian-squeeze"></a><br />
<a href="http://torasql.com/">Sito di TOra</a></p>
<p><strong>Compatibilità</strong></p>
<p><em>Sistemi linux Debian 6.0 Squeeze e derivati </em></p>
<p>Attribuzione-Condividi allo stesso modo 2.5 Generico: le informazioni contenute in esso possono essere utilizzate e modificate liberamente. E’ obbligatorio invese mantenere la paternità a “<strong>Luca Raciti http:\\lucaraciti.wordpress.it</strong>” e di condividere allo stesso modo.</p>
<p><strong>Disclaimer</strong></p>
<p>Il weblog non ha carattere di perodico. Fatti salvi errori ed omissioni, non si assume responsabilità per eventuali problematiche derivanti dall’utilizzo delle informazioni contenute nell’articolo.</p>
<p><strong><em>Se ti piace o vuoi aggiungere qualcosa commenta pure!!!</em></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucaraciti.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucaraciti.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucaraciti.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucaraciti.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucaraciti.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucaraciti.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucaraciti.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucaraciti.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucaraciti.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucaraciti.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucaraciti.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucaraciti.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucaraciti.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucaraciti.wordpress.com/139/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucaraciti.wordpress.com&amp;blog=3742038&amp;post=139&amp;subd=lucaraciti&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucaraciti.wordpress.com/2011/08/26/tora-con-supporto-oracle-sqldeveloper-ed-instantclient-11-2-su-debian-squeeze-amd64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/279e8645e39f7af2398f7a9c075ebc5f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucaraciti</media:title>
		</media:content>
	</item>
		<item>
		<title>settare default gateway su linux RedHat e CentOS</title>
		<link>http://lucaraciti.wordpress.com/2011/08/24/settare-default-gateway-su-linux-redhat-e-centos/</link>
		<comments>http://lucaraciti.wordpress.com/2011/08/24/settare-default-gateway-su-linux-redhat-e-centos/#comments</comments>
		<pubDate>Wed, 24 Aug 2011 07:43:58 +0000</pubDate>
		<dc:creator>lucaraciti</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Red Hat]]></category>

		<guid isPermaLink="false">http://lucaraciti.wordpress.com/?p=132</guid>
		<description><![CDATA[Per settare il default gateway in maniera definitiva sul server linux RedHat # vi /etc/sysconfig/network a questo punto editare il valore &#8220;GATEWAY&#8221; come sotto: NETWORKING=yes NETWORKING_IPV6=no HOSTNAME=hostname.local GATEWAY=192.168.0.1 salvare e riavviare il demone di rete. Per metterlo temporaneamente route add default gateway 10.10.1.10 Compatibilità Sistemi linux RedHat, CentOS e loro derivati ) Attribuzione-Condividi allo stesso [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucaraciti.wordpress.com&amp;blog=3742038&amp;post=132&amp;subd=lucaraciti&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Per settare il default gateway in maniera definitiva sul server linux RedHat</p>
<p><code># vi /etc/sysconfig/network</code><br />
a questo punto editare il valore &#8220;GATEWAY&#8221; come sotto:</p>
<blockquote><p>NETWORKING=yes<br />
NETWORKING_IPV6=no<br />
HOSTNAME=hostname.local<br />
GATEWAY=192.168.0.1
</p></blockquote>
<p>salvare e riavviare il demone di rete.<br />
Per metterlo temporaneamente</p>
<p><code>route add default gateway 10.10.1.10</code></p>
<p><strong>Compatibilità</strong></p>
<p><em>Sistemi linux RedHat, CentOS e loro derivati </em><strong>)<br />
</strong></p>
<p>Attribuzione-Condividi allo stesso modo 2.5 Generico: le informazioni contenute in esso possono essere utilizzate e modificate liberamente. E’ obbligatorio invese mantenere la paternità a “<strong>Luca Raciti http:\\lucaraciti.wordpress.it</strong>” e di condividere allo stesso modo.</p>
<p><strong>Disclaimer</strong></p>
<p>Il weblog non ha carattere di perodico. Fatti salvi errori ed omissioni, non si assume responsabilità per eventuali problematiche derivanti dall’utilizzo delle informazioni contenute nell’articolo.</p>
<p><strong><em>Se ti piace o vuoi aggiungere qualcosa commenta pure!!!</em></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucaraciti.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucaraciti.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucaraciti.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucaraciti.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucaraciti.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucaraciti.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucaraciti.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucaraciti.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucaraciti.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucaraciti.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucaraciti.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucaraciti.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucaraciti.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucaraciti.wordpress.com/132/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucaraciti.wordpress.com&amp;blog=3742038&amp;post=132&amp;subd=lucaraciti&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucaraciti.wordpress.com/2011/08/24/settare-default-gateway-su-linux-redhat-e-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/279e8645e39f7af2398f7a9c075ebc5f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucaraciti</media:title>
		</media:content>
	</item>
		<item>
		<title>failed command: READ FPDMA QUEUED</title>
		<link>http://lucaraciti.wordpress.com/2011/08/19/failed-command-read-fpdma-queued/</link>
		<comments>http://lucaraciti.wordpress.com/2011/08/19/failed-command-read-fpdma-queued/#comments</comments>
		<pubDate>Fri, 19 Aug 2011 10:31:21 +0000</pubDate>
		<dc:creator>lucaraciti</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://lucaraciti.wordpress.com/?p=121</guid>
		<description><![CDATA[Errore di I/O sull&#8217;interfaccia SATA, bug del kernel 2.6.32 a 64bit abbastanza odioso. Dettaglio errore: [ 5719.816349] ata1.00: exception Emask 0x0 SAct 0x10000 SErr 0x0 action 0x6 frozen [ 5719.816364] ata1.00: failed command: READ FPDMA QUEUED [ 5719.816379] ata1.00: cmd 60/08:80:33:80:fa/00:00:0d:00:00/40 tag 16 ncq 4096 in [ 5719.816382] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) [ 5719.816389] [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucaraciti.wordpress.com&amp;blog=3742038&amp;post=121&amp;subd=lucaraciti&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Errore di I/O sull&#8217;interfaccia SATA, bug del kernel 2.6.32 a 64bit abbastanza odioso.</p>
<p>Dettaglio errore:<br />
<code>[ 5719.816349] ata1.00: exception Emask 0x0 SAct 0x10000 SErr 0x0 action 0x6 frozen<br />
[ 5719.816364] ata1.00: failed command: READ FPDMA QUEUED<br />
[ 5719.816379] ata1.00: cmd 60/08:80:33:80:fa/00:00:0d:00:00/40 tag 16 ncq 4096 in<br />
[ 5719.816382]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)<br />
[ 5719.816389] ata1.00: status: { DRDY }<br />
[ 5719.816399] ata1: hard resetting link<br />
[ 5729.260168] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)<br />
[ 5729.272277] ata1.00: configured for UDMA/133<br />
[ 5729.272288] ata1.00: device reported invalid CHS sector 0<br />
[ 5729.272302] ata1: EH complete<br />
[11728.207368] atkbd.c: Unknown key pressed (translated set 2, code 0x94 on isa0060/serio0).<br />
</code><br />
Io sono intervenuto sul file /etc/default/grub aggiungendo GRUB_CMDLINE_LINUX=&#8221;libata.force=1.00:noncq&#8221;</p>
<p>come si vede nello stralcio sotto.</p>
<p><code>...<br />
GRUB_DEFAULT=0<br />
GRUB_TIMEOUT=5<br />
GRUB_DISTRIBUTOR=`lsb_release -i -s 2&gt; /dev/null || echo Debian`<br />
GRUB_CMDLINE_LINUX_DEFAULT=""<br />
GRUB_CMDLINE_LINUX="libata.force=1.00:noncq"<br />
...<br />
</code></p>
<p>e quindi dare un bel </p>
<blockquote><p>
sudo update-grub
</p></blockquote>
<p>Info su https://answers.launchpad.net/ubuntu/+question/122588</p>
<p><strong>Compatibilità</strong></p>
<p><em> distro Linux con kernel 2.6.32 </em><strong><br />
</strong></p>
<p>Attribuzione-Condividi allo stesso modo 2.5 Generico: le informazioni contenute in esso possono essere utilizzate e modificate liberamente. E’ obbligatorio invese mantenere la paternità a “<strong>Luca Raciti http:\\lucaraciti.wordpress.it</strong>” e di condividere allo stesso modo.</p>
<p><strong>Disclaimer</strong></p>
<p>Il weblog non ha carattere di perodico. Fatti salvi errori ed omissioni, non si assume responsabilità per eventuali problematiche derivanti dall’utilizzo delle informazioni contenute nell’articolo.</p>
<p><strong><em>Se ti piace o vuoi aggiungere qualcosa commenta pure!!!</em></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucaraciti.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucaraciti.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucaraciti.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucaraciti.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucaraciti.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucaraciti.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucaraciti.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucaraciti.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucaraciti.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucaraciti.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucaraciti.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucaraciti.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucaraciti.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucaraciti.wordpress.com/121/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucaraciti.wordpress.com&amp;blog=3742038&amp;post=121&amp;subd=lucaraciti&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucaraciti.wordpress.com/2011/08/19/failed-command-read-fpdma-queued/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/279e8645e39f7af2398f7a9c075ebc5f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucaraciti</media:title>
		</media:content>
	</item>
		<item>
		<title>attivare SSH e FTP su ESXi 4</title>
		<link>http://lucaraciti.wordpress.com/2011/07/27/attivare-ssh-e-ftp-su-esxi-4/</link>
		<comments>http://lucaraciti.wordpress.com/2011/07/27/attivare-ssh-e-ftp-su-esxi-4/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 10:17:03 +0000</pubDate>
		<dc:creator>lucaraciti</dc:creator>
				<category><![CDATA[ESX]]></category>

		<guid isPermaLink="false">http://lucaraciti.wordpress.com/?p=115</guid>
		<description><![CDATA[FTP e SSH sono protocolli non ufficialmente implementati in ESX. SSH è attivabile da console, FTP invece con un download ed una serie di workaround. Attivazione manuale di SSH Aprire in VI il file /etc/inetd.conf e rimuovere il cancelletto (#) nella riga che inizia per ssh. Attivazione manuale di SSH e FTP server scaricare http://www.vm-help.com/esx/esx3i/ftp/proftpd.zip [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucaraciti.wordpress.com&amp;blog=3742038&amp;post=115&amp;subd=lucaraciti&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>FTP e SSH sono protocolli non ufficialmente implementati in ESX. </p>
<p>SSH è attivabile da console, FTP invece con un download ed una serie di workaround.</p>
<p><strong>Attivazione manuale di SSH</strong><br />
Aprire in VI il file /etc/inetd.conf e rimuovere il cancelletto (#) nella riga che inizia per ssh.</p>
<p><strong>Attivazione manuale di SSH e FTP server</strong><br />
scaricare http://www.vm-help.com/esx/esx3i/ftp/proftpd.zip e decomprimerlo.</p>
<p>seguire le info su : http://www.vm-help.com/esx/esx3i/ESXi_enable_FTP.php</p>
<p><strong>Attivazione manuale di  TELNET ed FTP client su ESX</strong><br />
E&#8217; impossibile eseguire chiamate a FTP server esterni perchè il firewall ci blocca.</p>
<p>Nel caso di necessità eseguire un<br />
esxcfg-firewall -U</p>
<p>(https://theregime.wordpress.com/2008/01/28/ftp-with-firewall-on-esx-350/ e http://communities.vmware.com/thread/80491)<br />
<strong>Compatibilità</strong></p>
<p><em>ESXi 3.5 e 4 </em><strong>)<br />
</strong></p>
<p>Attribuzione-Condividi allo stesso modo 2.5 Generico: le informazioni contenute in esso possono essere utilizzate e modificate liberamente. E’ obbligatorio invese mantenere la paternità a “<strong>Luca Raciti http:\\lucaraciti.wordpress.it</strong>” e di condividere allo stesso modo.</p>
<p><strong>Disclaimer</strong></p>
<p>Il weblog non ha carattere di perodico. Fatti salvi errori ed omissioni, non si assume responsabilità per eventuali problematiche derivanti dall’utilizzo delle informazioni contenute nell’articolo.</p>
<p><strong><em>Se ti piace o vuoi aggiungere qualcosa commenta pure!!!</em></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucaraciti.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucaraciti.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucaraciti.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucaraciti.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucaraciti.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucaraciti.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucaraciti.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucaraciti.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucaraciti.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucaraciti.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucaraciti.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucaraciti.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucaraciti.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucaraciti.wordpress.com/115/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucaraciti.wordpress.com&amp;blog=3742038&amp;post=115&amp;subd=lucaraciti&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucaraciti.wordpress.com/2011/07/27/attivare-ssh-e-ftp-su-esxi-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/279e8645e39f7af2398f7a9c075ebc5f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucaraciti</media:title>
		</media:content>
	</item>
		<item>
		<title>aggiungere un wait in batch windows</title>
		<link>http://lucaraciti.wordpress.com/2011/06/24/aggiungere-un-wait-in-batch-windows/</link>
		<comments>http://lucaraciti.wordpress.com/2011/06/24/aggiungere-un-wait-in-batch-windows/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 07:51:27 +0000</pubDate>
		<dc:creator>lucaraciti</dc:creator>
				<category><![CDATA[Batch Script]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://lucaraciti.wordpress.com/?p=110</guid>
		<description><![CDATA[In Windows spesso affidiamo al sistema di avvio automatico il lancio di alcuni comandi. Nel caso in cui questi siano correlati con altre operazioni è possibile che il mancato sincronismo lanci il comando prima di qualche attività preliminare (spesso montaggio unità di rete ma anche servizio). Vediamo le ipotesi che ho preso in considerazione: a) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucaraciti.wordpress.com&amp;blog=3742038&amp;post=110&amp;subd=lucaraciti&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In Windows spesso affidiamo al sistema di avvio automatico il lancio di alcuni comandi. Nel caso in cui questi siano correlati con altre operazioni è possibile che il mancato sincronismo lanci il comando prima di qualche attività preliminare (spesso montaggio unità di rete ma anche servizio).</p>
<p>Vediamo le ipotesi che ho preso in considerazione:<br />
a) elementare ping per perdere 2 secondi di tempo</p>
<pre>ping 127.0.0.1 -n 2 -w 1000 &gt; nul </pre>
<p>b) comando sleep (da reperire nel resource kit di windows 2003 (http://www.microsoft.com/windowsserver2003/downloads/tools/default.mspx)</p>
<pre>sleep 5 </pre>
<p>c) comando choice<br />
creare un wait.bat con la seguente riga
<pre>CHOICE /T:N,%1% &gt; NUL</pre>
<p>quindi per una attesa di 5 secondi</p>
<pre>wait 5 </pre>
<p><strong>Compatibilità</strong></p>
<p><em>Ms Windows 98,2000,2003,2008 </em><strong>)<br />
</strong></p>
<p><strong>Risorse on-line</strong></p>
<p><a title="http://malektips.com/dos0017.html">http://malektips.com/dos0017.html</a></p>
<p>Attribuzione-Condividi allo stesso modo 2.5 Generico: le informazioni contenute in esso possono essere utilizzate e modificate liberamente. E’ obbligatorio invese mantenere la paternità a “<strong>Luca Raciti http:\\lucaraciti.wordpress.it</strong>” e di condividere allo stesso modo.</p>
<p><strong>Disclaimer</strong></p>
<p>Il weblog non ha carattere di perodico. Fatti salvi errori ed omissioni, non si assume responsabilità per eventuali problematiche derivanti dall’utilizzo delle informazioni contenute nell’articolo.</p>
<p><strong><em>Se ti piace o vuoi aggiungere qualcosa commenta pure!!!</em></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucaraciti.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucaraciti.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucaraciti.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucaraciti.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucaraciti.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucaraciti.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucaraciti.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucaraciti.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucaraciti.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucaraciti.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucaraciti.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucaraciti.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucaraciti.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucaraciti.wordpress.com/110/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucaraciti.wordpress.com&amp;blog=3742038&amp;post=110&amp;subd=lucaraciti&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucaraciti.wordpress.com/2011/06/24/aggiungere-un-wait-in-batch-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/279e8645e39f7af2398f7a9c075ebc5f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucaraciti</media:title>
		</media:content>
	</item>
		<item>
		<title>brevi tips sul montaggio di condivisioni via CIFS su linux</title>
		<link>http://lucaraciti.wordpress.com/2011/06/17/brevi-tips-su-cifs-su-linux/</link>
		<comments>http://lucaraciti.wordpress.com/2011/06/17/brevi-tips-su-cifs-su-linux/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 08:30:20 +0000</pubDate>
		<dc:creator>lucaraciti</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://lucaraciti.wordpress.com/?p=103</guid>
		<description><![CDATA[Cifs (Common Internet File System) è un protocollo generico che via tcp-ip permette di accedere a partizioni Microsoft, come NTFS, principalmente da linux. Pacchetti necessari per debian e ubuntu (ma analogamente per fedora,red hat,centos,suse ecc con yum) # aptitude install cifs-utils quindi creiamo un file con le credenziali: # vi /etc/cifsid username=winUsername password=winPassword diamo le [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucaraciti.wordpress.com&amp;blog=3742038&amp;post=103&amp;subd=lucaraciti&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Cifs (Common Internet File System) è un protocollo generico che via tcp-ip permette di accedere a partizioni Microsoft, come NTFS, principalmente da linux.</p>
<p>Pacchetti necessari per debian e ubuntu (ma analogamente per fedora,red hat,centos,suse ecc con yum)</p>
<pre># aptitude install cifs-utils
</pre>
<p>quindi creiamo un file con le credenziali:</p>
<pre># vi /etc/cifsid
username=winUsername
password=winPassword
</pre>
<p>diamo le giuste regole di sicurezza:</p>
<pre># chown utente:gruppo /etc/cifsid
# chmod 600 /etc/cifsid
</pre>
<p>ora viene il montaggio</p>
<pre>
//SERVER/CONDIVISIONE /media/MOUNT_POINT cifs rw,user,noauto,noexec,nosuid,credentials=/etc/cifsid,nodev 0 0
</pre>
<p>In questo caso il montaggio avverrà da utente semplice, ma non automaticamente!</p>
<p><strong>Compatibilità</strong></p>
<p><em>Linux </em><strong>)<br />
</strong></p>
<p><strong>Risorse on-line</strong></p>
<p><a title="http://www.visoracle.com/vm/debian40/cifs.html" href="http://www.visoracle.com/vm/debian40/cifs.html">http://www.visoracle.com/vm/debian40/cifs.html</a><br />
<a title="http://thats-not-working.blogspot.com/2008/02/cifssmb-mount-problem-on-debian.html" href="http://thats-not-working.blogspot.com/2008/02/cifssmb-mount-problem-on-debian.html">http://thats-not-working.blogspot.com/2008/02/cifssmb-mount-problem-on-debian.html</a></p>
<p>Attribuzione-Condividi allo stesso modo 2.5 Generico: le informazioni contenute in esso possono essere utilizzate e modificate liberamente. E’ obbligatorio invese mantenere la paternità a “<strong>Luca Raciti http:\\lucaraciti.wordpress.it</strong>” e di condividere allo stesso modo.</p>
<p><strong>Disclaimer</strong></p>
<p>Il weblog non ha carattere di perodico. Fatti salvi errori ed omissioni, non si assume responsabilità per eventuali problematiche derivanti dall’utilizzo delle informazioni contenute nell’articolo.</p>
<p><strong><em>Se ti piace o vuoi aggiungere qualcosa commenta pure!!!</em></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucaraciti.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucaraciti.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucaraciti.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucaraciti.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucaraciti.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucaraciti.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucaraciti.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucaraciti.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucaraciti.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucaraciti.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucaraciti.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucaraciti.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucaraciti.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucaraciti.wordpress.com/103/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucaraciti.wordpress.com&amp;blog=3742038&amp;post=103&amp;subd=lucaraciti&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucaraciti.wordpress.com/2011/06/17/brevi-tips-su-cifs-su-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/279e8645e39f7af2398f7a9c075ebc5f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucaraciti</media:title>
		</media:content>
	</item>
		<item>
		<title>generazione e firma chiavi User/Server</title>
		<link>http://lucaraciti.wordpress.com/2011/06/14/generazione-e-firma-chiavi-userserver/</link>
		<comments>http://lucaraciti.wordpress.com/2011/06/14/generazione-e-firma-chiavi-userserver/#comments</comments>
		<pubDate>Tue, 14 Jun 2011 13:49:29 +0000</pubDate>
		<dc:creator>lucaraciti</dc:creator>
				<category><![CDATA[Certificazione]]></category>

		<guid isPermaLink="false">http://lucaraciti.wordpress.com/?p=97</guid>
		<description><![CDATA[La generazione di chiavi user/server e la loro firma sono operazioni abbastanza banali. Generazione server.key (supponiamo di usare la codifica a 1024 bit): # openssl genrsa -des3 -out keys/ca.key 1024 Generating RSA private key, 1024 bit long modulus ................................................................++++++ ..++++++ e is 65537 (0x10001) Enter pass phrase for keys/ca.key: Verifying - Enter pass phrase for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucaraciti.wordpress.com&amp;blog=3742038&amp;post=97&amp;subd=lucaraciti&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>La generazione di chiavi user/server e la loro firma sono operazioni abbastanza banali.</p>
<p>Generazione server.key (supponiamo di usare la codifica a 1024 bit):</p>
<pre># openssl genrsa -des3 -out keys/ca.key 1024
Generating RSA private key, 1024 bit long modulus
................................................................++++++
..++++++
e is 65537 (0x10001)
Enter pass phrase for keys/ca.key:
Verifying - Enter pass phrase for keys/ca.key:
</pre>
<p>quindi generiamo il file .csr:</p>
<pre>
# openssl req -new -key ./keys/ca.key -out user.csr
Enter pass phrase for ./keys/ca.key:
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [GB]:IT
State or Province Name (full name) [Berkshire]:Italy
Locality Name (eg, city) [Newbury]:CITTA
Organization Name (eg, company) [My Company Ltd]:NOME_AZIENDA
Organizational Unit Name (eg, section) []:CED
Common Name (eg, your name or your server's hostname) []:WWW.MIOSITO.IT
Email Address []:ced@MIOSITO.IT

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:PASSWORD
An optional company name []:</pre>
<p><strong>Compatibilità</strong></p>
<p><em>Linux e Windows, con prerequisito openssl</em><strong>)<br />
</strong></p>
<p><strong>Risorse on-line</strong></p>
<p><a title="http://ospkibook.sourceforge.net/docs/OSPKI-2.4.6/OSPKI/keygensign.htm" href="http://ospkibook.sourceforge.net/docs/OSPKI-2.4.6/OSPKI/keygensign.htm">http://ospkibook.sourceforge.net/docs/OSPKI-2.4.6/OSPKI/keygensign.htm</a></p>
<p>Attribuzione-Condividi allo stesso modo 2.5 Generico: le informazioni contenute in esso possono essere utilizzate e modificate liberamente. E’ obbligatorio invese mantenere la paternità a “<strong>Luca Raciti http:\\lucaraciti.wordpress.it</strong>” e di condividere allo stesso modo.</p>
<p><strong>Disclaimer</strong></p>
<p>Il weblog non ha carattere di perodico. Fatti salvi errori ed omissioni, non si assume responsabilità per eventuali problematiche derivanti dall’utilizzo delle informazioni contenute nell’articolo.</p>
<p><strong><em>Se ti piace o vuoi aggiungere qualcosa commenta pure!!!</em></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucaraciti.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucaraciti.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucaraciti.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucaraciti.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucaraciti.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucaraciti.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucaraciti.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucaraciti.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucaraciti.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucaraciti.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucaraciti.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucaraciti.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucaraciti.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucaraciti.wordpress.com/97/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucaraciti.wordpress.com&amp;blog=3742038&amp;post=97&amp;subd=lucaraciti&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucaraciti.wordpress.com/2011/06/14/generazione-e-firma-chiavi-userserver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/279e8645e39f7af2398f7a9c075ebc5f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucaraciti</media:title>
		</media:content>
	</item>
		<item>
		<title>Dropbox su Debian Wheezy</title>
		<link>http://lucaraciti.wordpress.com/2011/06/06/dropbox-su-debian-wheezy/</link>
		<comments>http://lucaraciti.wordpress.com/2011/06/06/dropbox-su-debian-wheezy/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 12:37:18 +0000</pubDate>
		<dc:creator>lucaraciti</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://lucaraciti.wordpress.com/?p=90</guid>
		<description><![CDATA[Dropbox è giunto alla 0.6.7 su linux e forse è giunta l&#8217;ora di iniziare ad usarlo. Premetto che sono tendenzialmente contrario ad usare uno strumento così debole con la mia privacy, tuttavia è una soluzione che può tornare utile e comoda. Intanto è necessario verificarei prerequisiti necessari: $ sudo aptitude update $ sudo aptitude upgrade [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucaraciti.wordpress.com&amp;blog=3742038&amp;post=90&amp;subd=lucaraciti&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Dropbox è giunto alla 0.6.7 su linux e forse è giunta l&#8217;ora di iniziare ad usarlo. Premetto che sono tendenzialmente contrario ad usare uno strumento così debole con la mia privacy, tuttavia è una soluzione che può tornare utile e comoda.</p>
<p>Intanto è necessario verificarei prerequisiti necessari:</p>
<pre>$ sudo aptitude update
$ sudo aptitude upgrade
$ sudo aptitude install libnautilus-extension-dev
$ sudo aptitude install python-docutils
$ sudo aptitude install build-essential</pre>
<p>quindi scarichiamo ed installiamo il sergente:</p>
<pre>$ wget http://www.dropbox.com/download?dl=packages/nautilus-dropbox-0.6.7.tar.bz2&amp;src=index
$ tar  jxvf nautilus-dropbox-0.6.7.tar.bz2
$ cd nautilus-dropbox
$ ./configure
$ make
$ sudo make install</pre>
<p>Se è andato tutto bene in applicazioni-&gt;internet vedremo  &#8220;dropbox &#8221; e sarà sufficiente un doppio click per eseguire il download residuo e registrarsi. Il programma ad un certo puntro vi chiederà quali saranno le directory private-pubbliche per cui si raccomanda la massima attenzione.</p>
<p><strong>Compatibilità</strong></p>
<p><em>plugin Dropbox 0.6.7 per Linux Debian Wheezy  (Dropbox su Debian o Ubuntu in genere</em><strong>)<br />
</strong></p>
<p><strong>Risorse on-line</strong></p>
<p><a title="https://secure.wikimedia.org/wikipedia/it/wiki/Dropbox" href="https://secure.wikimedia.org/wikipedia/it/wiki/Dropbox">https://secure.wikimedia.org/wikipedia/it/wiki/Dropbox</a></p>
<address><a title="https://www.dropbox.com/downloading?src=index" href="https://www.dropbox.com/downloading?src=index">https://www.dropbox.com/downloading?src=index</a></address>
<address> </address>
<p><strong>Licenza</strong></p>
<p>Attribuzione-Condividi allo stesso modo 2.5 Generico: le informazioni contenute in esso possono essere utilizzate e modificate liberamente. E’ obbligatorio invese mantenere la paternità a “<strong>Luca Raciti http:\\lucaraciti.wordpress.it</strong>” e di condividere allo stesso modo.</p>
<p><strong>Disclaimer</strong></p>
<p>Il weblog non ha carattere di perodico. Fatti salvi errori ed omissioni, non si assume responsabilità per eventuali problematiche derivanti dall’utilizzo delle informazioni contenute nell’articolo.</p>
<p><strong><em>Se ti piace o vuoi aggiungere qualcosa commenta pure!!!</em></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucaraciti.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucaraciti.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucaraciti.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucaraciti.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucaraciti.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucaraciti.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucaraciti.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucaraciti.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucaraciti.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucaraciti.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucaraciti.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucaraciti.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucaraciti.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucaraciti.wordpress.com/90/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucaraciti.wordpress.com&amp;blog=3742038&amp;post=90&amp;subd=lucaraciti&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucaraciti.wordpress.com/2011/06/06/dropbox-su-debian-wheezy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/279e8645e39f7af2398f7a9c075ebc5f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucaraciti</media:title>
		</media:content>
	</item>
	</channel>
</rss>
