<?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>Vincent Mazenod, aka mazenovi, aka voisin de gennetines &#187; open source</title>
	<atom:link href="http://blog.mazenod.fr/tag/open-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mazenod.fr</link>
	<description>#ispcp #php #symfony #social_networking #cornemuse</description>
	<lastBuildDate>Wed, 23 Nov 2011 09:46:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>forcer l&#8217;utilisation de ssl sur un sous domaine avec ispcp</title>
		<link>http://blog.mazenod.fr/2011/03/forcer-lutilisation-de-ssl-sur-un-sous-domaine-avec-ispcp/</link>
		<comments>http://blog.mazenod.fr/2011/03/forcer-lutilisation-de-ssl-sur-un-sous-domaine-avec-ispcp/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 12:11:56 +0000</pubDate>
		<dc:creator>mazenovi</dc:creator>
				<category><![CDATA[bricolage]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[libre]]></category>
		<category><![CDATA[Non classé]]></category>
		<category><![CDATA[securité]]></category>
		<category><![CDATA[gratuit]]></category>
		<category><![CDATA[ispcp]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[sécurité]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://blog.mazenod.fr/?p=1878</guid>
		<description><![CDATA[<p><a href="http://blog.mazenod.fr/wp-content/uploads/2011/03/isp-control-panel_bigger.jpg"><img class="alignleft" style="margin-left: 20px; margin-right: 20px;" title="isp-control-panel_bigger" src="http://blog.mazenod.fr/wp-content/uploads/2011/03/isp-control-panel_bigger.jpg" alt="" width="73" height="73" /></a>Apprenez comment ajouter et même forcer l'utilisation de ssl sur les domaines ou sous domaines que vous hébergez ispcp, un control panel simple et complet</p>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.mazenod.fr%2F2011%2F03%2Fforcer-lutilisation-de-ssl-sur-un-sous-domaine-avec-ispcp%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.mazenod.fr%2F2011%2F03%2Fforcer-lutilisation-de-ssl-sur-un-sous-domaine-avec-ispcp%2F&amp;style=normal&amp;b=2" height="61" width="50" title="forcer lutilisation de ssl sur un sous domaine avec ispcp" alt=" forcer lutilisation de ssl sur un sous domaine avec ispcp" /><br />
			</a>
		</div>
<p>Tout d&#8217;abord il faut activer ssl sur votre serveur et générer vos certificats ssl (à moins que vous en ayez déjà).</p>
<p>Le how to officiel d&#8217;ispcp <a href="http://isp-control.net/documentation/howto/security/ssl_made_easy">How to: SSL made easy</a> est très bien fait et vous apprendra en premier lieu comment sécuriser votre control panel.</p>
<p><a href="http://blog.mazenod.fr/wp-content/uploads/2011/03/ispcp.png" rel="lightbox[1878]"><img class="aligncenter size-full wp-image-1880" title="ispcp" src="http://blog.mazenod.fr/wp-content/uploads/2011/03/ispcp.png" alt="ispcp forcer lutilisation de ssl sur un sous domaine avec ispcp" width="502" height="256" /></a></p>
<p>Ayant un peu plus cherché pour mettre la même chose en place avec un sous domaine géré par ispcp, je me permets de relayer la solution (en allemand) que<a href="http://isp-control.net/forum/printthread.php?tid=9450"> j&#8217;ai trouvé dans un forum</a>.</p>
<p>le but est de créer un virtual host sub.domain.tld accessible en ssl (sachant que le virtual host est simplement créé avec ispcp)</p>
<p>il faut d&#8217;abord créer vhost en écoute sur le port 443 en éditant</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>site-available<span style="color: #000000; font-weight: bold;">/</span>sub-ssl</div></div>
<p>et en y ajoutant</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;</span>VirtualHost XXX.XXX.XXX.XXX:<span style="color: #000000;">443</span><span style="color: #000000; font-weight: bold;">&gt;</span><br />
<br />
&nbsp; &nbsp; SSLEngine On<br />
<br />
&nbsp; &nbsp; SSLCertificateFile <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ssl<span style="color: #000000; font-weight: bold;">/</span>certs<span style="color: #000000; font-weight: bold;">/</span>domain.tld.crt<br />
&nbsp; &nbsp; SSLCertificateKeyFile <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ssl<span style="color: #000000; font-weight: bold;">/</span>certs<span style="color: #000000; font-weight: bold;">/</span>domain.tld.key<br />
<br />
&nbsp; &nbsp; SSLProtocol All <span style="color: #660033;">-SSLv2</span><br />
&nbsp; &nbsp; SSLCipherSuite ALL:<span style="color: #000000; font-weight: bold;">!</span>EXP:<span style="color: #000000; font-weight: bold;">!</span>NULL:<span style="color: #000000; font-weight: bold;">!</span>ADH:<span style="color: #000000; font-weight: bold;">!</span>LOW<br />
&nbsp; &nbsp; SetEnvIf User-Agent “.<span style="color: #000000; font-weight: bold;">*</span>MSIE.<span style="color: #000000; font-weight: bold;">*</span>” nokeepalive ssl-unclean-shutdown<br />
<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">&lt;</span>IfModule suexec_module<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SuexecUserGroup vu2001 vu2001<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">&lt;/</span>IfModule<span style="color: #000000; font-weight: bold;">&gt;</span><br />
<br />
&nbsp; &nbsp; ServerAdmin &nbsp; &nbsp; webmestre.cerdi<span style="color: #000000; font-weight: bold;">@</span>u-clermont1.fr<br />
&nbsp; &nbsp; DocumentRoot &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>virtual<span style="color: #000000; font-weight: bold;">/</span>domain.tld<span style="color: #000000; font-weight: bold;">/</span>sub<span style="color: #000000; font-weight: bold;">/</span>htdocs<br />
<br />
&nbsp; &nbsp; ServerName &nbsp; &nbsp; &nbsp;pssi.domain.tld<br />
<br />
&nbsp; &nbsp; Alias <span style="color: #000000; font-weight: bold;">/</span>errors <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>virtual<span style="color: #000000; font-weight: bold;">/</span>domain.tld<span style="color: #000000; font-weight: bold;">/</span>errors<span style="color: #000000; font-weight: bold;">/</span><br />
<br />
&nbsp; &nbsp; ErrorDocument <span style="color: #000000;">401</span> <span style="color: #000000; font-weight: bold;">/</span>errors<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">401</span>.html<br />
&nbsp; &nbsp; ErrorDocument <span style="color: #000000;">403</span> <span style="color: #000000; font-weight: bold;">/</span>errors<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">403</span>.html<br />
&nbsp; &nbsp; ErrorDocument <span style="color: #000000;">404</span> <span style="color: #000000; font-weight: bold;">/</span>errors<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">404</span>.html<br />
&nbsp; &nbsp; ErrorDocument <span style="color: #000000;">500</span> <span style="color: #000000; font-weight: bold;">/</span>errors<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">500</span>.html<br />
&nbsp; &nbsp; ErrorDocument <span style="color: #000000;">503</span> <span style="color: #000000; font-weight: bold;">/</span>errors<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">503</span>.html<br />
<br />
&nbsp; &nbsp; ErrorLog <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>ssl_error_log<br />
&nbsp; &nbsp; CustomLog <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>ssl_request_log &nbsp; ssl_combined<br />
<br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;"># httpd sub entry cgi support BEGIN.</span><br />
&nbsp; &nbsp; ScriptAlias <span style="color: #000000; font-weight: bold;">/</span>cgi-bin<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>virtual<span style="color: #000000; font-weight: bold;">/</span>domain.tld<span style="color: #000000; font-weight: bold;">/</span>sub<span style="color: #000000; font-weight: bold;">/</span>cgi-bin<span style="color: #000000; font-weight: bold;">/</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">&lt;</span>Directory <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>virtual<span style="color: #000000; font-weight: bold;">/</span>domain.tld<span style="color: #000000; font-weight: bold;">/</span>sub<span style="color: #000000; font-weight: bold;">/</span>cgi-bin<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; AllowOverride AuthConfig<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">#Options ExecCGI</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Order allow,deny<br />
&nbsp; &nbsp; &nbsp; &nbsp; Allow from all<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">&lt;/</span>Directory<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;"># httpd sub entry cgi support END.</span><br />
<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">&lt;</span>Directory <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>virtual<span style="color: #000000; font-weight: bold;">/</span>domain.tld<span style="color: #000000; font-weight: bold;">/</span>sub<span style="color: #000000; font-weight: bold;">/</span>htdocs<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;"># httpd sub entry PHP support BEGIN.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;"># httpd sub entry PHP support END.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Options <span style="color: #660033;">-Indexes</span> Includes FollowSymLinks MultiViews<br />
&nbsp; &nbsp; &nbsp; &nbsp; AllowOverride All<br />
&nbsp; &nbsp; &nbsp; &nbsp; Order allow,deny<br />
&nbsp; &nbsp; &nbsp; &nbsp; Allow from all<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">&lt;/</span>Directory<span style="color: #000000; font-weight: bold;">&gt;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;"># httpd sub entry PHP2 support BEGIN.</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">&lt;</span>IfModule mod_php5.c<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; php_admin_value open_basedir <span style="color: #ff0000;">&quot;/var/www/virtual/domain.tld/:/var/www/virtual/domain.tld/phptmp/:/usr/share/php/&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; php_admin_value upload_tmp_dir <span style="color: #ff0000;">&quot;/var/www/virtual/domain.tld/phptmp/&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; php_admin_value session.save_path <span style="color: #ff0000;">&quot;/var/www/virtual/domain.tld/phptmp/&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; php_admin_value sendmail_path <span style="color: #ff0000;">'/usr/sbin/sendmail -f vu2001 -t -i'</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">&lt;/</span>IfModule<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">&lt;</span>IfModule mod_fastcgi.c<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; ScriptAlias <span style="color: #000000; font-weight: bold;">/</span>php5<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>fcgi<span style="color: #000000; font-weight: bold;">/</span>domain.tld<span style="color: #000000; font-weight: bold;">/</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">&lt;</span>Directory <span style="color: #ff0000;">&quot;/var/www/fcgi/domain.tld&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AllowOverride None<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Options +ExecCGI <span style="color: #660033;">-MultiViews</span> <span style="color: #660033;">-Indexes</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Order allow,deny<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Allow from all<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">&lt;/</span>Directory<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">&lt;/</span>IfModule<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">&lt;</span>IfModule mod_fcgid.c<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Include <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>mods-available<span style="color: #000000; font-weight: bold;">/</span>fcgid_ispcp.conf<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">&lt;</span>Directory <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>virtual<span style="color: #000000; font-weight: bold;">/</span>domain.tld<span style="color: #000000; font-weight: bold;">/</span>sub<span style="color: #000000; font-weight: bold;">/</span>htdocs<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FCGIWrapper <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>fcgi<span style="color: #000000; font-weight: bold;">/</span>domain.tld<span style="color: #000000; font-weight: bold;">/</span>php5-fcgi-starter .php<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Options +ExecCGI<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">&lt;/</span>Directory<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">&lt;</span>Directory <span style="color: #ff0000;">&quot;/var/www/fcgi/domain.tld&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AllowOverride None<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Options +ExecCGI MultiViews <span style="color: #660033;">-Indexes</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Order allow,deny<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Allow from all<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">&lt;/</span>Directory<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">&lt;/</span>IfModule<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;"># httpd sub entry PHP2 support END.</span><br />
<br />
<span style="color: #000000; font-weight: bold;">&lt;/</span>VirtualHost<span style="color: #000000; font-weight: bold;">&gt;</span></div></div>
<p>activer le virtual host</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> a2ensite sub-ssl</div></div>
<p>et recharger la configuration d&#8217;apache</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>apache2 reload</div></div>
<p>reste à interdire l&#8217;utilisation du http non sécurisé, ce qui revient à forcer le https via un règle de rewriting qui peut par exemple être mise dans un .htaccess à la racine du sous domaine</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>virtual<span style="color: #000000; font-weight: bold;">/</span>domain.tld<span style="color: #000000; font-weight: bold;">/</span>sub<span style="color: #000000; font-weight: bold;">/</span>htdocs<span style="color: #000000; font-weight: bold;">/</span>.htaccess</div></div>
<p>et ajouter quelque chose du genre<a href="http://blog.mazenod.fr/wp-content/uploads/2011/03/isp-control-panel_bigger.jpg" rel="lightbox[1878]"><br />
</a></p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;</span>IfModule mod_rewrite.c<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp;RewriteEngine On<br />
&nbsp; &nbsp;RewriteCond <span style="color: #000000; font-weight: bold;">%</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>SERVER_PORT<span style="color: #7a0874; font-weight: bold;">&#125;</span> <span style="color: #000000;">80</span><br />
&nbsp; &nbsp;RewriteRule ^<span style="color: #7a0874; font-weight: bold;">&#40;</span>.<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>$ https:<span style="color: #000000; font-weight: bold;">//</span>sub.domain.tld<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$1</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>R,L<span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
<span style="color: #000000; font-weight: bold;">&lt;/</span>IfModule<span style="color: #000000; font-weight: bold;">&amp;</span>gt<span style="color: #000000; font-weight: bold;">&gt;</span></div></div>
<p><a href="http://blog.mazenod.fr/wp-content/uploads/2011/03/ispcp-box.jpg" rel="lightbox[1878]"><img class="aligncenter size-full wp-image-1882" title="ispcp-box" src="http://blog.mazenod.fr/wp-content/uploads/2011/03/ispcp-box.jpg" alt="ispcp box forcer lutilisation de ssl sur un sous domaine avec ispcp" width="219" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mazenod.fr/2011/03/forcer-lutilisation-de-ssl-sur-un-sous-domaine-avec-ispcp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>postgreSQL &amp; xampp portable sous windows</title>
		<link>http://blog.mazenod.fr/2011/03/postgresql-xampp-portable-sous-windows/</link>
		<comments>http://blog.mazenod.fr/2011/03/postgresql-xampp-portable-sous-windows/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 18:09:41 +0000</pubDate>
		<dc:creator>mazenovi</dc:creator>
				<category><![CDATA[bricolage]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[libre]]></category>
		<category><![CDATA[portable apps]]></category>
		<category><![CDATA[doctrine]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://blog.mazenod.fr/?p=1862</guid>
		<description><![CDATA[<p><a href="http://blog.mazenod.fr/wp-content/uploads/2011/03/03568004-photo-logo-postgresql.jpg"><img class="alignleft" style="margin-left: 20px; margin-right: 20px;" title="03568004-photo-logo-postgresql" src="http://blog.mazenod.fr/wp-content/uploads/2011/03/03568004-photo-logo-postgresql.jpg" alt="" width="220" height="170" /></a>PostgreSQL est une alternative libre et professionnelle à MySQL. Si il est répandu dans le monde UNIX il l'est un peu moins dans le monde windows, et encore moins en tant qu'application portable. Le propos de ce post est donc de pouvoir installer ce SGBD afin de l'intégrer à un XAMPP portable déjà installé</p>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.mazenod.fr%2F2011%2F03%2Fpostgresql-xampp-portable-sous-windows%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.mazenod.fr%2F2011%2F03%2Fpostgresql-xampp-portable-sous-windows%2F&amp;style=normal&amp;b=2" height="61" width="50" title="postgreSQL & xampp portable sous windows" alt=" postgreSQL & xampp portable sous windows" /><br />
			</a>
		</div>
<p>Tout est dans le titre je crois. Je suis parti de ce billet <a href="http://notepad.patheticcockroach.com/628/adding-postgresql-portable-to-xampp-on-windows/">http://notepad.patheticcockroach.com/628/adding-postgresql-portable-to-xampp-on-windows/</a>et je vous livre ce qui a fonctionné pour moi. J&#8217;ai déjà expliqué sur ce blog <a href="http://blog.mazenod.fr/2009/11/environnement-de-developpement-portable-pour-symfony-framakey/">comment installer une plateforme xampp portable sous windows</a>.</p>
<p>Le prérequis est donc d&#8217;en avoir une fonctionnelle pour la suite <img src='http://blog.mazenod.fr/wp-includes/images/smilies/icon_wink.gif' alt="icon wink postgreSQL & xampp portable sous windows" class='wp-smiley' title="postgreSQL & xampp portable sous windows" /> </p>
<p>Tout d&#8217;abord il vous faudra une version portable de postrgre, que vous trouverez sur <a href="http://www.postgresql.org/download/windows">http://www.postgresql.org/download/windows</a>. En tant qu&#8217;<em>&laquo;&nbsp;Advanced user&nbsp;&raquo; </em>vous téléchagerez l&#8217; <a href="http://www.enterprisedb.com/products/pgbindownload.do">archive zip</a> sans l&#8217;installeur (la version portable quoi). J&#8217;ai opté pour la <em> 9.0.3-1</em> qui semble être la stable du moment.</p>
<p>Une fois l&#8217;archive décompressée, copier / coller le répertoire pgsql qu&#8217;elle contient dans Z:/MyApps/xampp/.</p>
<p><a href="http://blog.mazenod.fr/wp-content/uploads/2011/03/images.jpg" rel="lightbox[1862]"><img class="aligncenter size-full wp-image-1874" title="images" src="http://blog.mazenod.fr/wp-content/uploads/2011/03/images.jpg" alt="images postgreSQL & xampp portable sous windows" width="259" height="194" /></a></p>
<p>La première des choses à faire est ensuite de créer un cluster en tapant</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Z:\MyApps\xampp\pgsql\bin\initdb.exe <span style="color: #660033;">-D</span> ..\data<br />
<br />
Les fichiers de ce cluster appartiendront à l<span style="color: #ff0000;">'utilisateur « mazenovi».<br />
Le processus serveur doit également lui appartenir.<br />
<br />
Le cluster sera initialisé avec la locale French_France.1252.<br />
L'</span>encodage par défaut des bases de données a été configuré en conséquence<br />
avec WIN1252.<br />
La configuration de la recherche plein texte a été initialisée à « french ».<br />
<br />
correction des droits sur le répertoire existant ..<span style="color: #000000; font-weight: bold;">/</span>data... ok<br />
création des sous-répertoires... ok<br />
sélection de la valeur par défaut de max_connections... <span style="color: #000000;">100</span><br />
sélection des valeurs par défaut de shared_buffers<span style="color: #000000; font-weight: bold;">/</span>max_fsm_pages... 32MB<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">204800</span><br />
création des fichiers de configuration... ok<br />
création de la base de données template1 dans ..<span style="color: #000000; font-weight: bold;">/</span>data<span style="color: #000000; font-weight: bold;">/</span>base<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1</span>... ok<br />
initialisation de pg_authid... ok<br />
initialisation des dépendances... ok<br />
création des vues système... ok<br />
chargement de la description des objets système... ok<br />
création des conversions... ok<br />
création des dictionnaires... ok<br />
initialisation des droits sur les objets internes... ok<br />
création <span style="color: #c20cb9; font-weight: bold;">du</span> schéma d<span style="color: #ff0000;">'informations... ok<br />
lancement du vacuum sur la base de données template1... ok<br />
copie de template1 vers template0... ok<br />
copie de template1 vers postgres... ok<br />
<br />
ATTENTION : active l'</span>authentification « trust » pour les connexions<br />
locales.<br />
Vous pouvez modifier ceci en éditant pg_hba.conf ou en utilisant l<span style="color: #ff0000;">'option -A<br />
au prochain lancement d'</span>initdb.<br />
<br />
Succès. Vous pouvez maintenant lancer le serveur de bases de données par :<br />
<br />
<span style="color: #ff0000;">&quot;postgres&quot;</span> <span style="color: #660033;">-D</span> <span style="color: #ff0000;">&quot;../data&quot;</span><br />
ou<br />
<span style="color: #ff0000;">&quot;pg_ctl&quot;</span> <span style="color: #660033;">-D</span> <span style="color: #ff0000;">&quot;../data&quot;</span> <span style="color: #660033;">-l</span> journal_applicatif start</div></div>
<p><strong>N.B. </strong>le cluster appartient à l&#8217;utilisateur système avec lequel il est créé c&#8217;est important pour la suite!</p>
<p>pour lancer le serveur</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">cd</span> Z:\MyApps\xampp\pgsql\bin<br />
<br />
<span style="color: #ff0000;">&quot;pg_ctl&quot;</span> <span style="color: #660033;">-D</span> <span style="color: #ff0000;">&quot;../data&quot;</span> <span style="color: #660033;">-l</span> journal_applicatif start</div></div>
<p>vous pouvez déjà jouer avec pgAdmin3 en entrant l&#8217;adresse de votre serveur (127.0.01 ou localhost) et le login mot de passe de l&#8217;utilisateur que vous avez utilisez pour créer le cluster. Mais il s&#8217;agit ici de faire fonctionner postgreSQL avec php. On va donc décommenter deux extensions dans le Z:\MyApps\xampp\php\php.ini</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">; php driver to use postgreSQL databases<br />
<span style="color: #007800;">extension</span>=php_pgsql.dll<br />
; abstraction layer <span style="color: #000000; font-weight: bold;">for</span> PDO<br />
<span style="color: #007800;">extension</span>=php_pdo_pgsql.dll</div></div>
<p>Mais là vous risquez d&#8217;être victime de message d&#8217;erreur car PostgreSQl a besoin de quelques dll pour fonctionner sous windows. Afin de garder l&#8217;installation portable il faut ajouter \MyApps\xampp\pgsql\bin au path, car ce répertoire contient les dll nécessaires (et évite du coup d&#8217;avoir à les copier dans c:\windows\system32).</p>
<p><a href="http://blog.mazenod.fr/wp-content/uploads/2011/03/environnement.png" rel="lightbox[1862]"><img class="aligncenter size-full wp-image-1864" title="environnement" src="http://blog.mazenod.fr/wp-content/uploads/2011/03/environnement.png" alt="environnement postgreSQL & xampp portable sous windows" width="578" height="420" /></a></p>
<p>Afin de tester que postgreSQL fonctionne bien avec php je vous propose d&#8217;installer phpPgAdmin en le téléchargeant sur le site officiel http://phppgadmin.sourceforge.net/ puis en le décompressant dans Z:/MyApps/xampp/phpPgAdmin/</p>
<p>Afin de le rendre visible ajouter dans Z:\MyApps\xampp\apache\conf\extra\httpd-xampp.conf</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Alias <span style="color: #000000; font-weight: bold;">/</span>phppgadmin <span style="color: #ff0000;">&quot;Z:/MyApps/xampp/phpPgAdmin/&quot;</span><br />
<br />
<span style="color: #000000; font-weight: bold;">&amp;</span>lt;Directory <span style="color: #ff0000;">&quot;Z:/MyApps/xampp/phpPgAdmin&quot;</span><span style="color: #000000; font-weight: bold;">&amp;</span>gt;<br />
AllowOverride AuthConfig<br />
<span style="color: #000000; font-weight: bold;">&amp;</span>lt;<span style="color: #000000; font-weight: bold;">/</span>Directory<span style="color: #000000; font-weight: bold;">&amp;</span>gt;</div></div>
<p>et modifier</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&amp;</span>lt;LocationMatch <span style="color: #ff0000;">&quot;^/(?i:(?:xampp|security|licenses|phpmyadmin|phppgadmin|webalizer|server-status|server-info))&quot;</span><span style="color: #000000; font-weight: bold;">&amp;</span>gt;<br />
Order deny,allow<br />
Deny from all<br />
Allow from 127.0.0.0<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">8</span><br />
ErrorDocument <span style="color: #000000;">403</span> <span style="color: #000000; font-weight: bold;">/</span>error<span style="color: #000000; font-weight: bold;">/</span>HTTP_XAMPP_FORBIDDEN.html.var<br />
<span style="color: #000000; font-weight: bold;">&amp;</span>lt;<span style="color: #000000; font-weight: bold;">/</span>LocationMatch<span style="color: #000000; font-weight: bold;">&amp;</span>gt;</div></div>
<p>éditer également selon vos besoins le fichier de configuration de phpPgAdmin Z:\MyApps\xampp\phpPgAdmin\conf\config.inc.php</p>
<p>ouvrez maintenant http://localhost/phppgadmin dans votre navigateur et saisissez les login mot de passe de l&#8217;utilisateur associé au cluster</p>
<p><a href="http://blog.mazenod.fr/wp-content/uploads/2011/03/phppgadmin.png" rel="lightbox[1862]"><img class="aligncenter size-full wp-image-1867" title="phppgadmin" src="http://blog.mazenod.fr/wp-content/uploads/2011/03/phppgadmin.png" alt="phppgadmin postgreSQL & xampp portable sous windows" width="591" height="183" /></a></p>
<p>&nbsp;</p>
<p>A vous postgreSQL</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mazenod.fr/2011/03/postgresql-xampp-portable-sous-windows/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>activer la couleur pour la commande symfony dans un bash cygwin portable</title>
		<link>http://blog.mazenod.fr/2011/03/activer-la-couleur-pour-la-commande-symfony-dans-un-bash-cygwin-portable/</link>
		<comments>http://blog.mazenod.fr/2011/03/activer-la-couleur-pour-la-commande-symfony-dans-un-bash-cygwin-portable/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 10:24:47 +0000</pubDate>
		<dc:creator>mazenovi</dc:creator>
				<category><![CDATA[bricolage]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[libre]]></category>
		<category><![CDATA[portable apps]]></category>
		<category><![CDATA[gratuit]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.mazenod.fr/?p=1423</guid>
		<description><![CDATA[<p><a href="../wp-content/uploads/2011/08/cygwin_logo.png"><img class="alignleft" style="margin-left: 30px; margin-right: 30px;" title="cygwin_logo" src="../wp-content/uploads/2011/08/cygwin_logo.png" alt="" width="64" height="64" /></a>Une petite astuce pour les développeurs symfony en environnement windows qui vous permettra de bénéficier des couelurs produites par la commande symfony. Vous verrez qu'il est aussi possible de configurer un environnement UnixLike dans une console agréable et personnalisée</p>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.mazenod.fr%2F2011%2F03%2Factiver-la-couleur-pour-la-commande-symfony-dans-un-bash-cygwin-portable%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.mazenod.fr%2F2011%2F03%2Factiver-la-couleur-pour-la-commande-symfony-dans-un-bash-cygwin-portable%2F&amp;style=normal&amp;b=2" height="61" width="50" title="activer la couleur pour la commande symfony dans un bash cygwin portable" alt=" activer la couleur pour la commande symfony dans un bash cygwin portable" /><br />
			</a>
		</div>
<h2>symfony en couleur</h2>
<p>Les utilisateurs windows ont longtemps été privés des couleurs qu&#8217;affichent la sortie de la commande symfony. Mais depuis<a href="http://www.symfony-project.org/tutorial/1_4/fr/whats-new"> symfony 1.3/1.4 les choses se sont beaucoup améliorées</a>.</p>
<p>C&#8217;est le jour où j&#8217;ai voulu <a href="http://www.willdurand.fr/faut-il-tester-les-tests/">tester les tests</a>, que le besoin de couleur c&#8217;est vraiment fait ressentir: j&#8217;ai d&#8217;abord perdu pas mal de temps à essayer d&#8217;activer <a href="http://fr.wikipedia.org/wiki/ANSI.SYS">ansi.sys</a> sur mon windows 7 &#8230;</p>
<p>sans succés!</p>
<p>La solution je l&#8217;ai trouvé chez  <a href="http://www.jnieto.org/article/colorize_your_windows_console_life_with_symfony">Jonathan Nieto : Colorize your Windows console life with symfony</a> (et aussi grâce à <a href="http://twitter.com/couac">@couac</a>) et elle s&#8217;appelle <a href="http://adoxa.110mb.com/ansicon/index.html">ANSICON</a> il suffit donc de</p>
<ul>
<li>télécharger le zip</li>
<li>dézipper</li>
<li>copier / coller les fichiers ansi.dll et ansicon.exe dans c:\windows \system32</li>
<li>taper ansicon -i dans un prompt de commande</li>
</ul>
<p><strong>N.B.</strong> vous devez rouvrir une autre fenêtre MS-DOS pour que la couleur soit</p>
<p><strong>N.B2.</strong> si comme moi vous disposez d&#8217;un environnement de développement portable xampp ou UwAmp, cette manipulation est à faire sur chacun des postes que vous utilisez.</p>
<p>Ca marche aussi bien dans une bête commande MS-DOS que dans un cygwin, sans avoir à utiliser l&#8217;option &#8211;force de la commande symfony, du coup j&#8217;ai tenté</p>
<h2>cygwin portable</h2>
<p>J&#8217;avais déjà joué un peu à modifier le path au lancement de la console, lors de l&#8217;installation portable de Git afin de changer éventuellement d&#8217;intrerpréteur en ligne de commande PHP lors d&#8217;une même session par exemple. Mais ayant un bout de commande <a href="http://www.itefix.no/i2/node/10650">cwrsync</a> par là, un bout d&#8217;install <a href="http://blog.mazenod.fr/2011/02/git-portable-console2-sous-windows/">git</a> par ailleurs, je me suis itéressé à cygwin et à son potentiel portable, afin de tout unifier.</p>
<ul>
<li>J&#8217;ai en fait installé cygwin sur mon disque dur usb (dans z:\MyApps\cygwin), mais la démarche est la même en partant d&#8217;un <a href="http://sourceforge.net/projects/cygwinportable/">cygwin portable</a> (pas super à jour :/) <a href="http://bitsofwizardry.wordpress.com/2010/01/29/cygwin-portable-some-linux-power-on-a-usb-for-windows/">comme l&#8217;explique ce post </a></li>
<li> J&#8217;ai ensuite créé un home dir dans z:\MyApps\cygwin\home\mazenovi qui me permet de rendre mes préférences (.ssh, .bashrc) portables elles aussi.</li>
<li>Enfin j&#8217;ai simplement modifié le batch de lancement Cygwin.bat en CygwinPortable.bat comme suit</li>
</ul>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">@</span><span style="color: #7a0874; font-weight: bold;">echo</span> off<br />
<br />
chdir \MyApps\Cygwin\bin<br />
<span style="color: #000000; font-weight: bold;">set</span> <span style="color: #007800;">path</span>=<span style="color: #000000; font-weight: bold;">%</span>WD<span style="color: #000000; font-weight: bold;">%</span>\cygwin\bin;<span style="color: #000000; font-weight: bold;">%</span>WD<span style="color: #000000; font-weight: bold;">%</span>\cygwin\usr\X11R6\bin;\MyApps\xampp\php;\MyApps\xampp\mysql\bin;<span style="color: #000000; font-weight: bold;">%</span>path<span style="color: #000000; font-weight: bold;">%</span><br />
<span style="color: #000000; font-weight: bold;">set</span> <span style="color: #007800;">SHELL</span>=<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">bash</span><br />
<span style="color: #000000; font-weight: bold;">set</span> <span style="color: #007800;">HOME</span>=<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>mazenovi<br />
<span style="color: #000000; font-weight: bold;">set</span> <span style="color: #007800;">DISPLAY</span>=:<span style="color: #000000;">0</span><br />
<span style="color: #c20cb9; font-weight: bold;">bash</span> <span style="color: #660033;">--login</span> <span style="color: #660033;">-i</span></div></div>
<p>L&#8217;idée est simplement d&#8217;enlever les lettres de lecteur pour avoir des path partant de la racine de la clé, et de rajouter quelques variables d&#8217;environnement (ici le path vers le php et le mysql de mon installation xampp portable). Une fois fait il suffit d&#8217;installer les commandes dont vous avez besoin (git et rsync dans mon cas) via cygwin en relançant le setup.exe (si vous êtes partis de la version portable de cycgwin n&#8217;oubliez pas de remplacer cygwinsetup.exe par un setup.exe à jour).</p>
<p>Pour finir j&#8217;ai ensuite créé un onglet dans <a href="http://sourceforge.net/projects/console/">console2</a> une petite console libre, permettant entre autre d&#8217;utiliser la font consolas et de gérer la transparence de votre ligne de commande</p>
<p><a href="http://blog.mazenod.fr/wp-content/uploads/2011/08/cygwin.png" rel="lightbox[1423]"><img class="aligncenter size-medium wp-image-1476" title="cygwin" src="http://blog.mazenod.fr/wp-content/uploads/2011/08/cygwin-300x227.png" alt="cygwin 300x227 activer la couleur pour la commande symfony dans un bash cygwin portable" width="300" height="227" /></a></p>
<p>de quoi réconcilier les windoziens avec la ligne de commande :p</p>
<h2>Sale Geek kro$oft!</h2>
<p>Vous me traiterez sans doute de sale bricolo car j&#8217;utilise des installations Apache MySQL PHP windows (xampp ou UwAmp) à l&#8217;intèrieur d&#8217;un Cygwin qui est un pseudo Unix. Ce à quoi je répondrai, &laquo;&nbsp;c&#8217;est vrai! c&#8217;est un mélange des genres!&nbsp;&raquo;, mais grâce à UwAmp par exemple, je peux utiliser des versions de PHP différentes simplement en ouvrant un nouvel onglet dans ma console &#8230;</p>
<p>&lt;troll&gt;Et puis j&#8217;ai déjà vu des système Unix like (à base de BSD par exemple) largement aussi fermé qu&#8217;un windows&lt;/troll&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mazenod.fr/2011/03/activer-la-couleur-pour-la-commande-symfony-dans-un-bash-cygwin-portable/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ne pas se faire trahir par son mot de passe en utilisant KeePass</title>
		<link>http://blog.mazenod.fr/2011/03/ne-pas-se-faire-trahir-par-son-mot-de-passe-en-utilisant-keepass/</link>
		<comments>http://blog.mazenod.fr/2011/03/ne-pas-se-faire-trahir-par-son-mot-de-passe-en-utilisant-keepass/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 15:57:48 +0000</pubDate>
		<dc:creator>mazenovi</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[libre]]></category>
		<category><![CDATA[portable apps]]></category>
		<category><![CDATA[securité]]></category>
		<category><![CDATA[anonymat]]></category>
		<category><![CDATA[gratuit]]></category>
		<category><![CDATA[hadopi]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[sécurité]]></category>

		<guid isPermaLink="false">http://blog.mazenod.fr/?p=1780</guid>
		<description><![CDATA[<p><a href="http://blog.mazenod.fr/wp-content/uploads/2011/03/keepass-logo.png"><img class="alignleft size-full wp-image-1781" style="margin-left: 20px; margin-right: 20px;" title="keepass-logo" src="http://blog.mazenod.fr/wp-content/uploads/2011/03/keepass-logo.png" alt="" width="91" height="91" /></a>Les mots de passes sont le nerf de la guerre de la confidentialité. Au delà du simple vol de compte en série, utiliser toujours le même mot de passe pour tout ses comptes peut désormais nuire gravement à votre anonymat, quelque soit l'identité factice que vous utilisez ... Voici un petit logiciel qui permet de jongler avec les mots de passe sans se surcharger la mémoire</p>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.mazenod.fr%2F2011%2F03%2Fne-pas-se-faire-trahir-par-son-mot-de-passe-en-utilisant-keepass%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.mazenod.fr%2F2011%2F03%2Fne-pas-se-faire-trahir-par-son-mot-de-passe-en-utilisant-keepass%2F&amp;style=normal&amp;b=2" height="61" width="50" title="Ne pas se faire trahir par son mot de passe en utilisant KeePass" alt=" Ne pas se faire trahir par son mot de passe en utilisant KeePass" /><br />
			</a>
		</div>
<p>Avec le nouveau décret d&#8217;application de la LCEN on peut se demander<a href="http://www.numerama.com/magazine/18214-pourquoi-les-mots-de-passe-peuvent-servir-a-identifier-un-internaute.html"> en quoi le mot de passe peut servir à l&#8217;identification</a>?</p>
<p>L&#8217;idée est assez vicieuse mais valide en pratique: si vous voulez  garder l&#8217;anonymat vous penserez en premier lieu à vous créer  un compte  bidon avec un identifiant bidon du genre <em>papillon63</em> et pour ne pas  vous surcharger les neurones vous mettrez  votre mot de passe habituel:  <em>gro$$3cr3t</em>. Si on a des soupçons sur le fait que <em>mazenovi</em> est  <em>papillon 63</em> (et que <em>papillon63</em> est recherché pour cybercrime contre la cyber humanité), il est évident que le fait que ces deux comptes aient le même  mot de passe où le même hash de mot de passe, va alourdir le dossier.</p>
<p><strong> N.B.</strong> Comme le rappelait Korben <a href="http://www.korben.info/votre-mot-de-passe-na-plus-de-secret-pour-le-gouvernement.html">la plus part des mot de passe sont stockés hachés</a>, ce qui signifie qu&#8217;on ne peut pas connaitre le mot de passe original,  mais qu&#8217;on peut comparer la signature (le hash) de deux mots de passe, dans la mesure où une chaîne de caractère hachée avec la même <a href="http://fr.wikipedia.org/wiki/Fonction_de_hachage">fonction de hachage </a>donne toujours la même signature &#8230;</p>
<p>Bref il est temps d&#8217;arrêter le mot de passe unique qui ouvre les portes de tous ses  comptes, qu&#8217;on ne révèlera jamais à personne même sous la torture, et  d&#8217;utiliser un gestionnaire de mots de passe digne de ce nom.</p>
<h1>KeePass</h1>
<p><a href="http://keepass.info/">KeePass</a> va vous permettre de centraliser  vos mots de passe et d&#8217;y accéder via un mot de passe unique. Bien  entendu on pourra discuter le caractère sécuritaire de cette approche  qui n&#8217;est valable que tant que le mot de passe principal n&#8217;est pas  violé.</p>
<p>Si le mot de passe général est deviné là c&#8217;est la vraie  catastrophe puisque TOUS vos mots de passe deviennent accessibles. Notez bien  que ce mot de passe n&#8217;est stocké en clair nulle part et qu&#8217;il est haché  via SHA-256 réputé inviolé à ce jour.</p>
<p>Une autre méthode d&#8217;ouverture, plus sécurisée, de la base de données  de mot de passe, est l&#8217;ouverture par fichier. vous devez avoir le  fichier pour ouvrir la base, ce fichier est alors bien entendu  confidentiel.</p>
<p>Encore plus sécurisé mais plus risqué mot de passe et fichier  peuvent être combinés.</p>
<p>D&#8217;un point de vue pratique <a href="http://keepass.info/">KeePass</a> crypte le fichier complet de mot  de passe (.kdb) et pas seulement les mots de passe, via Only Rijndael  (AES) ou Twofish. Tous les mots de passes manipulés sont également cryptés en  mémoire.</p>
<p><img class="aligncenter" src="http://keepass.info/screenshots/main_big.png" alt="main big Ne pas se faire trahir par son mot de passe en utilisant KeePass" width="668" height="459" title="Ne pas se faire trahir par son mot de passe en utilisant KeePass" /></p>
<p><a href="http://keepass.info/">KeePass</a> est portable (&lt;3) et est disponible sur la <a href="http://www.liberkey.com/">LiberKey</a>. J&#8217;en  fait la promotion sous cette forme car il est l&#8217;auto type est  automatiquement configurer avec le FireFox portable de la <a href="http://www.liberkey.com/">LiberKey</a> ce qui permt de réduire les traces laissées sur la machine hôte.</p>
<p>Autrement dit</p>
<ul>
<li>ouvrez la page  d&#8217;authentification à la quelle vous voulez vous connecter</li>
<li>Placer le  curseur dans le champs du username</li>
<li>Faites un clic droit sur le compte  associé dans KeePass, cliquez sur &laquo;&nbsp;saisie semi automatique&nbsp;&raquo;</li>
<li>laissez  Keepass faire le reste &#8230;</li>
</ul>
<p>Pour plus de sécurité <a href="http://keepass.info/">KeePass</a> permet de générer des mots de passe de  complexité variable.</p>
<p>Plus besoin de les retenir maintenant puisqu&#8217;ils  sont gérés de manière centralisée &#8230;</p>
<p>Voilà il sera dorénavant difficile de vous confondre avec deux mots de passe identiques</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mazenod.fr/2011/03/ne-pas-se-faire-trahir-par-son-mot-de-passe-en-utilisant-keepass/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>_-_ familha Artús-_ musique radicale de Gascogne</title>
		<link>http://blog.mazenod.fr/2010/11/_-_-familha-artus-_-musique-radicale-de-gascogne/</link>
		<comments>http://blog.mazenod.fr/2010/11/_-_-familha-artus-_-musique-radicale-de-gascogne/#comments</comments>
		<pubDate>Thu, 18 Nov 2010 07:41:38 +0000</pubDate>
		<dc:creator>mazenovi</dc:creator>
				<category><![CDATA[libre]]></category>
		<category><![CDATA[son]]></category>
		<category><![CDATA[gratuit]]></category>
		<category><![CDATA[hadopi]]></category>
		<category><![CDATA[musique]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://blog.mazenod.fr/?p=1680</guid>
		<description><![CDATA[<p><a href="http://blog.mazenod.fr/2010/11/_-_-familha-artus-_-musique-radicale-de-gascogne"><img class="alignleft" style="margin: 0px 30px;" title="1353891809-1" src="../wp-content/uploads/2010/11/1353891809-1.jpg" alt="" width="151" height="151" /></a>Il y a un mois sortait Drac, le dernier album de la Familha Artús. Après une bonne cinquantaine d'écoutes, l'enregistrement continue de se révéler, petit bout par petit bout, à la manière d'un tableau de Soulages sur lequel on ferait jouer la lumière. Petite présentation d'un son unique fait par des gens pas comme les autres ....</p>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.mazenod.fr%2F2010%2F11%2F_-_-familha-artus-_-musique-radicale-de-gascogne%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.mazenod.fr%2F2010%2F11%2F_-_-familha-artus-_-musique-radicale-de-gascogne%2F&amp;style=normal&amp;b=2" height="61" width="50" title="    familha Artús   musique radicale de Gascogne" alt="     familha Artús   musique radicale de Gascogne" /><br />
			</a>
		</div>
<h1>L&#8217;expression d&#8217;une culture minorisée ne peut être modérée</h1>
<p>La familha Artús c&#8217;est de la musique qui reste à inventer. Des racines aussi profondes que celles qui enchainent les <a href="http://www.dailymotion.com/video/x4ar6m_les-soeurs-goadec_music">soeurs goadec</a> à la Bretagne et aussi tortueuses que celles qui poussent les frères cavalera des favelas vers les forêts d&#8217;Amazonie quand ils commettent <a href="http://www.dailymotion.com/video/xvjgo_sepultura-roots-bloody-roots_music">Roots Bloody Roots</a>. De la matière sonore qui sait d&#8217;où elle vient et où elle va. Des barils de goudron bourdonnant. Des esseins de bourdons goudronnés.</p>
<p style="text-align: center;"><a href="http://vlom.fr/wp-content/uploads/2010/10/roots.jpg" rel="lightbox[1680]"><img class="aligncenter size-full wp-image-93" title="roots" src="http://vlom.fr/wp-content/uploads/2010/10/roots.jpg" alt="roots     familha Artús   musique radicale de Gascogne" width="646" height="484" /></a>&laquo;&nbsp;Víver libre o se morir !&nbsp;&raquo; comme on dit là bas en gascoonie</p>
<h2>Du death metal de bigoudaine landaise?</h2>
<p>Ce serait bien trop simple, et on serait bien trop content de pouvoir ranger la Familha Artús dans une petite case, taguée par un enchevêtrement alambiqué de genres. On pourrait ranger ça dans dans du trans-metal-core-acoutsic, ou de l&#8217;ethno-death-ambiant &#8230; on étalerait nos références musicales en y cherchant des paternités, des similitudes avec celui ci ou avec celle là.</p>
<p>On serait tenter &#8230; mais la Familha ne laisse aucune prise à ces discussions! dans sa présentation en forme de manifeste, la familha précise</p>
<p><em><a href="http://vlom.fr/wp-content/uploads/2010/10/golum.jpg" rel="lightbox[1680]"><img class="alignleft size-medium wp-image-94" style="margin: 20px;" title="golum" src="http://vlom.fr/wp-content/uploads/2010/10/golum-225x300.jpg" alt="golum 225x300     familha Artús   musique radicale de Gascogne" width="225" height="300" /></a>&laquo;&nbsp;<a href="http://familha.artus.free.fr/pages/ecoute.php?lg=Fr">Drac</a></em><a href="http://familha.artus.free.fr/pages/ecoute.php?lg=Fr"> (Dragon)</a> est le nouvel opus de ce groupe hors norme, véritable décomposition sonore, brut et indomptable. <a href="http://familha.artus.free.fr/pages/ecoute.php?lg=Fr"><em>Drac</em></a> ne se sent pas concerné par le mouvement folk actuel  déracinant ou par la world-showbiz-music acculturante. Il est sauvage,  insoumis, militant, utopiste, il n&#8217;est pas prosélitique, il n&#8217;explique  rien, ne se justifie pas, il agit.&nbsp;&raquo;</p>
<h2>Des keupons de Gascoonie?</h2>
<p>&laquo;&nbsp;Cette façon de faire dépasse l&#8217;aspect musical, c&#8217;est une façon d&#8217;être.&nbsp;&raquo;</p>
<p>Et c&#8217;est parce qu&#8217;ils sont sans conscession qu&#8217;ils se retrouvent naturellement au milieu des alternatifs qui durent, qui durent &#8230; vraiment plus longtemps.</p>
<p>C&#8217;est la <a href="http://www.fzm.fr/">FZM</a> qui produit cet album! <a href="http://www.fzm.fr/">FZM aka Folklore de la Zone Modiale</a> ce n&#8217;est rien d&#8217;autre que le label de feu les bérurier noir. La <a href="http://www.fzm.fr/">FZM</a> a su garder le point levé pendant de longues années qui ont vu la disparission ou l&#8217;inhibition  de pas mal de leurs cousins indépendants (Boucherie Prod, Bondage record &#8230;). La <a href="http://www.fzm.fr/">FZM</a> c&#8217;est le bordel ethnico-culturel dans lequel la Familha évolue désormais aux cotés des <a href="http://www.myspace.com/lesramoneursdemenhirs">Ramoneurs de menhirs</a>, d&#8217;<a href="http://ethnopaire.over-blog.fr/">Ethnopaire</a> , de <a href="http://www.myspace.com/cellulex">CelluleX</a> et des <a href="http://www.fzm.fr/lorspider/">autres</a> &#8230;<a href="http://vlom.fr/wp-content/uploads/2010/10/loran.jpg" rel="lightbox[1680]"><img class="alignright size-medium wp-image-95" style="margin: 20px;" title="loran" src="http://vlom.fr/wp-content/uploads/2010/10/loran-300x200.jpg" alt="loran 300x200     familha Artús   musique radicale de Gascogne" width="240" height="160" /></a></p>
<p>La familha fusionne également avec d&#8217;autres tailleurs de son &#8211; <a href="http://www.myspace.com/francismounier">Francis Mounier</a> et les <a href="http://www.myspace.com/nioubardophones">niou bardophones</a> &#8211; dans un projet nommé <a href="http://www.myspace.com/lechocdeselectronslibres">le choc des électrons libres</a></p>
<p>Forcément les démarches radicales, pour qu&#8217;elles fassent sens, se doivent d&#8217;être visibles et diffusées. Là encore la familha est résolument en phase avec ses valeurs et avec son temps puisque c&#8217;est sous licence <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.fr" target="_blank">creative commons by-nc-sa</a>, qu&#8217;elle délivre dorénavant ses sons &#8230;  avec des <a href="http://www.pagansmusica.net/">albums en écoute intégrale</a> et des<a href="http://www.pagansmusica.net/album/laborat-ri-1"> impros en téléchargement gratuit. </a></p>
<div style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="360" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://www.dailymotion.com/swf/video/xdm27z?additionalInfos=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="360" src="http://www.dailymotion.com/swf/video/xdm27z?additionalInfos=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
<h2>&laquo;&nbsp;nous jouons ce que nous sommes.&nbsp;&raquo;</h2>
<p>Alors merci d&#8217;être ce que vous êtes</p>
<ul>
<li>site officiel : <a href="http://familha.artus.free.fr">http://familha.artus.free.fr</a></li>
<li>acheter Drac en Vinyl / CD / mp3 : <a href="http://www.pagansmusica.net/album/drac">http://www.pagansmusica.net/album/drac</a></li>
<li>MySpace : <a href="http://www.myspace.com/familhaartus">http://www.myspace.com/familhaartus</a></li>
<li>wikipedia : <a href="http://fr.wikipedia.org/wiki/Familha_Art%C3%BAs">http://fr.wikipedia.org/wiki/Familha_Art%C3%BAs</a></li>
<li>fan page : <a href="http://www.facebook.com/pages/familha-Artus/154776927763">http://www.facebook.com/pages/familha-Artus/154776927763</a></li>
<li>credits photos Nico Shapetwo :<a href="http://www.facebook.com/shape2"> http://www.facebook.com/shape2</a></li>
</ul>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 1600px; width: 1px; height: 1px; overflow: hidden;">
<h1 id="profile_name" class="fn org">Nico ShapetwoNico Shapetwo</h1>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.mazenod.fr/2010/11/_-_-familha-artus-_-musique-radicale-de-gascogne/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Live USB (portable) virtualisé sans limitation de persistance avec partition casper</title>
		<link>http://blog.mazenod.fr/2010/10/linux-live-usb-portable-virtualise-sans-limitation-de-persistance-avec-partition-casper/</link>
		<comments>http://blog.mazenod.fr/2010/10/linux-live-usb-portable-virtualise-sans-limitation-de-persistance-avec-partition-casper/#comments</comments>
		<pubDate>Thu, 28 Oct 2010 16:24:08 +0000</pubDate>
		<dc:creator>mazenovi</dc:creator>
				<category><![CDATA[bricolage]]></category>
		<category><![CDATA[libre]]></category>
		<category><![CDATA[portable apps]]></category>
		<category><![CDATA[gratuit]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[maze]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.mazenod.fr/?p=1651</guid>
		<description><![CDATA[<p><a href="http://blog.mazenod.fr/2010/10/linux-live-usb-portable-virtualise-sans-limitation-de-persistance-avec-partition-casper"><img class="alignleft" style="margin: 20px;" title="Install-Ubuntu-904-on-a-Flash-Drive-Usbuntu" src="../wp-content/uploads/2010/10/Install-Ubuntu-904-on-a-Flash-Drive-Usbuntu.jpg" alt="" width="151" height="113" /></a></p>
<p>Ballader un GNU/Linux Ubuntu sur une clé USB présente beaucoup d'avantages. Vous découvrirez quelles sont les limitations liées à ce mode d'utilisation et comment en contourner certaines ... Vous pourrez également utiliser votre ubuntu à partir de windows via virtualbox.</p>
<p>C'est un excellent moyen de (faire) tester Ubuntu sans toucher à la machine hôte, alors laissez vous guidez par le screencast ...</p>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.mazenod.fr%2F2010%2F10%2Flinux-live-usb-portable-virtualise-sans-limitation-de-persistance-avec-partition-casper%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.mazenod.fr%2F2010%2F10%2Flinux-live-usb-portable-virtualise-sans-limitation-de-persistance-avec-partition-casper%2F&amp;style=normal&amp;b=2" height="61" width="50" title="Linux Live USB (portable) virtualisé sans limitation de persistance avec partition casper" alt=" Linux Live USB (portable) virtualisé sans limitation de persistance avec partition casper" /><br />
			</a>
		</div>
<h2>Petit rappel</h2>
<p>Un <a href="http://ubuntu-fr.org/">Ubuntu</a> portable c&#8217;est forcément un dérivé d&#8217;un <a href="http://ubuntu-fr.org/">Ubuntu</a> live. Et un <a href="http://ubuntu-fr.org/">Ubuntu</a> live c&#8217;est un système d&#8217;exploitation (de type GNU/Linux, distribution<a href="http://ubuntu-fr.org/">Ubuntu</a>) assez générique pour fonctionner sans soucis sur la plupart des machines, sans avoir à l&#8217;installer.  En gros on boote sur le CD ROM et un <a href="http://ubuntu-fr.org/">Ubuntu</a> se lance, prêt à l&#8217;utilisation (avec quelques restrictions majeures mais nous verrons cela plus tard), et surtout prêt à l&#8217;installation de GNU/Linux sur la machine hôte. Le support royal était historiquement le CD ROM, on parlait alors de live CD et maintenant que les clés USB font des tailles raisonnables et que la plupart des cartes mères sont capables de booter à partir d&#8217;un périphérique USB, on peut avantageusement remplacer le support optique par le périphérique de stockage USB &#8230; J&#8217;ai l&#8217;impression de parler comme une notification système des fois o_0&#8242;.</p>
<p><a href="http://blog.mazenod.fr/wp-content/uploads/2010/10/geek-porno.jpg" rel="lightbox[1651]"><img class="size-full wp-image-1657 alignleft" style="margin-right: 20px;" title="geek-porno" src="http://blog.mazenod.fr/wp-content/uploads/2010/10/geek-porno.jpg" alt="geek porno Linux Live USB (portable) virtualisé sans limitation de persistance avec partition casper" width="176" height="254" /></a>L&#8217;<a href="http://ubuntu-fr.org/">Ubuntu</a> live c&#8217;est l&#8217;ultime fantasme du barbu libriste &#8230; Dans ses rêves les plus fous il réparerait le PC de sa voisine (blonde, à forte poitrine, en nuisette rose) infesté de virus, gavé d&#8217;erreur de base de registre, qui met 3 plombes à démarrer et crachote message d&#8217;erreur sur message d&#8217;erreur. Là le barbu arriverait, le sourire en coin, vêtu de son T-Shirt noir &laquo;&nbsp;scan my network and die&nbsp;&raquo; acheté sur <a href="http://www.thinkgeek.com/">http://thinkgeek.com</a> et d&#8217;un geste assuré il rebooterait la machine malade, que sa propriétaire croit morte, avec une clé USB minuscule. Ubuntu se lancerait, le bureau s&#8217;afficherait et en quelques secondes la néophyte se repèrerait instantanément: &laquo;&nbsp;oh c&#8217;est comme dans windows! Y a firefox aussi. Et je peux relever mes mails? Je peux faire du MSN? je peux skyper? Je peux regarder des films? Ecouter deezer? Et Word? Et PowerPoint? &#8230;&nbsp;&raquo;. Et là le barbu la larme à l&#8217;oeil lui répondrait que oui elle pourra  le faire.  Finalement le barbu cliquerait sur l&#8217;icône installer unbuntu 10.10, un PC de plus de serait libéré, il irait se coucher le <a href="http://blog.mazenod.fr/wp-content/uploads/2010/10/installUbuntu.png" rel="lightbox[1651]"><img class="size-full wp-image-1672 alignright" style="margin: 30px;" title="installUbuntu" src="http://blog.mazenod.fr/wp-content/uploads/2010/10/installUbuntu.png" alt="installUbuntu Linux Live USB (portable) virtualisé sans limitation de persistance avec partition casper" width="169" height="117" /></a>coeur léger avec le sentiment d&#8217;avoir participer à l&#8217;avènement du libre, cette longue mission d&#8217;évangélisation qui lui tient tant à coeur</p>
<h2>casper le gentil fantôme</h2>
<p>Bref Sans rentrer dans les détails (que j&#8217;ignore d&#8217;ailleurs), un <a href="http://ubuntu-fr.org/">Ubuntu</a> live sur clé USB se confectionne uniquement sur une partition formater en FAT32. Un <a href="http://ubuntu-fr.org/">Ubuntu</a> Live présente également un inconvénient majeur, en cela qu&#8217;il n&#8217;a pas de mémoire: tout ce que vous ferez comme personnalisations, installations de programmes ou mises à jour seront perdues à chaque redémarrage.</p>
<p>Comme le barbu est joueur il s&#8217;est dit que tant qu&#8217;à être sur un support supportant la ré-écriture (la clé USB si vous suivez) ça pourrait être sympa d&#8217;avoir un live &laquo;&nbsp;personnalisable&nbsp;&raquo;, comme ça on pourrait faire un peu <span style="text-decoration: line-through;">de facebook</span> d&#8217;<a href="http://identi.ca/">identica</a> avec <a href="http://gwibber.com/">Gwibber</a> ou relever ces mails avec <a href="http://www.mozillamessaging.com/fr/thunderbird/">thunderbird</a>, sans avoir à tout renconfigurer à chaque fois &#8230;</p>
<p><a href="http://blog.mazenod.fr/wp-content/uploads/2010/10/pp-casper.jpg" rel="lightbox[1651]"><img class="alignright size-full wp-image-1659" style="margin: 20px;" title="pp-casper" src="http://blog.mazenod.fr/wp-content/uploads/2010/10/pp-casper.jpg" alt="pp casper Linux Live USB (portable) virtualisé sans limitation de persistance avec partition casper" width="258" height="289" /></a>Alors il a rajouté un petit fichier nommé casper-rw à côté des fichiers d&#8217;<a href="http://ubuntu-fr.org/">Ubuntu</a> et a dit à l&#8217;<a href="http://ubuntu-fr.org/">Ubuntu</a> live d&#8217;écrire tout ce qui était de l&#8217;ordre de la personnalisation ou de la vie du système (les mises à jour etc &#8230;) dans casper-rw. Ca commence à devenir vraiment intéressant car on peut songer à une nouvelle vie, portable, libre, sous GNU/Linux &#8230; hélas il reste encore un inconvénient majeur : le système de fichier Fat32 ne sait gérer que des fichiers dont la taille est inférieure à 4Gb. On ne pourra donc pas avoir plus de 4Gb de données de personnalisation /-) Autrement dit un petit &laquo;&nbsp;aptitude safe-upgrade &nbsp;&raquo; et vous avez rempli casper!</p>
<p>Et bien j&#8217;ai découvert une colossale ruse qui permet de contourner cette limitation sur <a href="http://www.pendrivelinux.com/create-a-larger-than-4gb-casper-partition/">pendrive</a></p>
<p>En fait il s&#8217;agit simplement de créer  une partition ayant pour file system ext2 ou ext3 et pour label casper-rw. Et là vous lui donnez la taille que vous voulez, vous pourrez ainsi installer toutes les applications dont vous avez besoins!</p>
<p>Deux limitations au moins toutefois</p>
<ul>
<li>Pas de mise à jour du Kernel Linux</li>
<li>Pas de gestion des utilisateurs (même pas possible de mettre un mot de passe à l&#8217;utilisateur live)</li>
</ul>
<p>Pour ma part j&#8217;ai opté pour une partition de 30 Go sur un DD USB de 500Go. Il me reste plus de 450Go pour <a href="http://blog.mazenod.fr/2010/09/framatuning-a-base-de-liberkey/">une suite d&#8217;appli portable du genre de la LiberKey ou FramaKey et mes données perso</a>, je vous livre ma méthode à partir de windows 7 pour que vous puissiez le faire tout seul et que vous aussi vous finissiez enfin par choper votre voisine. En gros, pour ne pas avoir à graver un CD Live pour faire l&#8217;opération (comme c&#8217;est suggéré dans le tuto pendrive)</p>
<p><script src="http://blog.mazenod.fr/wp-content/uploads/5.3/swfobject.js" type="text/javascript"></script></p>
<div id="ubuntu-1" style="text-align: center;">This text will be replaced</div>
<p><script type="text/javascript">// <![CDATA[
     var so = new SWFObject('http://blog.mazenod.fr/wp-content/uploads/5.3/player.swf','ply','470','320','9','#000000');   so.addParam('allowfullscreen','true');   so.addParam('allowscriptaccess','always');   so.addParam('wmode','opaque');   so.addVariable('file','http://blog.mazenod.fr/wp-content/uploads/2010/11/ubuntu-1.flv');   so.write('ubuntu-1');
// ]]&gt;</script></p>
<ul>
<li>créer un partition de 6Go FAT 32 avec diskmgmt.msc sous windows</li>
<li>télécharger <a href="http://old.linuxliveusb.com/index.php">LiliUSB creator</a></li>
<li>télécharger la dernière version d&#8217;<a href="http://ubuntu-fr.org/telechargement">Ubuntu</a></li>
<li>installer et lancer <a href="http://old.linuxliveusb.com/index.php">LiliUSB creator</a></li>
<li><a href="http://old.linuxliveusb.com/index.php">LiliUSB creator</a> Etape1 : Sélectionner la partition que vous venez de créer</li>
<li><a href="http://old.linuxliveusb.com/index.php">LiliUSB creator</a> Etape2 : Sélectionner l&#8217;image iso d&#8217;<a href="http://ubuntu-fr.org/telechargement">Ubuntu</a> que vous venez de télécharger</li>
<li><a href="http://old.linuxliveusb.com/index.php">LiliUSB creator</a> Etape3 : régler la persistance à fond</li>
<li><a href="http://old.linuxliveusb.com/index.php">LiliUSB creator</a> Etape4 :
<ul>
<li>décochez &laquo;&nbsp;Cacher les fichiers sur la clé&nbsp;&raquo;</li>
<li>cochez &laquo;&nbsp;Formater la clé en FAT32&#8243;</li>
<li>cochez &laquo;&nbsp;Permettre de lancer LinuxLive directement sous windows (nécessite Internet)&nbsp;&raquo; pour avoir VirtualBox</li>
</ul>
</li>
<li>lancez VirtualBox.exe dans le dossier VirtualBox qui se trouve sur la partition où l&#8217;Ubuntu live a été installé</li>
<li>augmentez un peu la RAM</li>
<li>lancez la machine virtuelle</li>
<li>une fois sous Ubuntu
<ul>
<li>lancez Gparted</li>
<li>créez un partition ext2 ou ext3 de la taille que vous souhaitez en lui donnant pour nom casper-rw</li>
<li>appliquez les modifications</li>
</ul>
</li>
<li>éteignez la machine virtuelle</li>
<li>renommez le fichier casper-rw sur la partition où l&#8217;ubuntu Live a été installé en casper-rw.old par exemple</li>
</ul>
<ul>
<li>relancer la machine virtuelle avec Virtualize_This_Key.exe dans le dossier Virtual Box</li>
<li>optionnel (mais bien pratique): installez les guest additions</li>
</ul>
<div id="ubuntu-2" style="text-align: center;">This text will be replaced</div>
<p><script type="text/javascript">// <![CDATA[
     var so = new SWFObject('http://blog.mazenod.fr/wp-content/uploads/5.3/player.swf','ply','470','320','9','#000000');   so.addParam('allowfullscreen','true');   so.addParam('allowscriptaccess','always');   so.addParam('wmode','opaque');   so.addVariable('file','http://blog.mazenod.fr/wp-content/uploads/2010/11/ubuntu-2.flv');   so.write('ubuntu-2');
// ]]&gt;</script></p>
<p><a href="http://blog.mazenod.fr/2010/09/comment-creer-des-copies-decran-animees-screencast-legeres-et-gratuites-pour-le-web/">Les screencasts ont été réalisés avec des logiciels libres</a> et le montage avec <a href="http://www.virtualdub.org/">virutalDub</a> (libre lui aussi). Ils sont hébergés sur mon serveur donc soyez patients ou téléchargez directement les flv <a href="http://blog.mazenod.fr/wp-content/uploads/2010/11/ubuntu-1.flv">1</a> et <a href="http://blog.mazenod.fr/wp-content/uploads/2010/11/ubuntu-2.flv">2</a> pour les regarder offline.</p>
<h2>Vous connaissiez dejà?</h2>
<p>Ah ouai? depuis quand? je viens de découvrir ça dans <a href="http://old.linuxliveusb.com/fr/faq-persistence/117-how-can-i-have-more-than-4gb-of-persistent-datas-.html">la FAQ de Lili US</a>B &#8230; alors soit c&#8217;est récent, soit j&#8217;étais passé à côté &#8230; Mais dans tous les cas c&#8217;est un outil supplémentair pour faire essayer <a href="http://ubuntu-fr.org/">Ubuntu</a> au plus grand nombre sans toucher à leur machine dans un premier temps. Une fois convaincu y a plus qu&#8217;à cliquer pour libérer leur PC!!! #VLOM</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mazenod.fr/2010/10/linux-live-usb-portable-virtualise-sans-limitation-de-persistance-avec-partition-casper/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
<enclosure url="http://blog.mazenod.fr/wp-content/uploads/2010/11/ubuntu-1.flv" length="713909882" type="video/x-flv" />
<enclosure url="http://blog.mazenod.fr/wp-content/uploads/2010/11/ubuntu-2.flv" length="690302291" type="video/x-flv" />
		</item>
		<item>
		<title>Comment se familiariser avec RDF en créant son profil FOAF</title>
		<link>http://blog.mazenod.fr/2010/09/comment-se-familiariser-avec-rdf-en-creant-son-profil-foaf/</link>
		<comments>http://blog.mazenod.fr/2010/09/comment-se-familiariser-avec-rdf-en-creant-son-profil-foaf/#comments</comments>
		<pubDate>Tue, 28 Sep 2010 16:08:10 +0000</pubDate>
		<dc:creator>mazenovi</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[bricolage]]></category>
		<category><![CDATA[libre]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[RDF]]></category>
		<category><![CDATA[réseaux sociaux]]></category>
		<category><![CDATA[Semantic Web]]></category>

		<guid isPermaLink="false">http://blog.mazenod.fr/?p=1589</guid>
		<description><![CDATA[<p><a href="comment-se-familiariser-avec-rdf-en-creant-son-profil-foaf"><img class="alignleft" style="margin-left: 30px; margin-right: 30px;" title="foaf" src="/wp-content/uploads/2010/09/foaf.gif" alt="" width="150" height="86" /></a>Après avoir exposé les <a href="http://blog.mazenod.fr/2010/09/le-web-semantique/">concepts de base inhérents au Web Sémantique</a>, je vous propose de passer à la pratique en écrivant un document RDF vous décrivant en tant que personne. Cela nous donnera l'occasion de découvrir une ontologie spécialisée dans la description de peronnes et des liens qui les unissent : <a href="http://www.foaf-project.org/">FOAF</a></p>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.mazenod.fr%2F2010%2F09%2Fcomment-se-familiariser-avec-rdf-en-creant-son-profil-foaf%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.mazenod.fr%2F2010%2F09%2Fcomment-se-familiariser-avec-rdf-en-creant-son-profil-foaf%2F&amp;style=normal&amp;b=2" height="61" width="50" title="Comment se familiariser avec RDF en créant son profil FOAF" alt=" Comment se familiariser avec RDF en créant son profil FOAF" /><br />
			</a>
		</div>
<div style="text-align: center">
<a href="http://blog.mazenod.fr/wp-content/uploads/2010/09/foaf.gif" rel="lightbox[1589]"><img src="http://blog.mazenod.fr/wp-content/uploads/2010/09/foaf.gif" alt="foaf Comment se familiariser avec RDF en créant son profil FOAF" width="200" title="Comment se familiariser avec RDF en créant son profil FOAF" /></a></div>
<p>Une fois qu&#8217;on a compris <a href="http://blog.mazenod.fr/2010/09/le-web-semantique/">l&#8217;intérêt et les concepts de base du web sémantique</a>, on est en droit de se poser la question de la mise en oeuvre effective. Pour ce qui est de mettre à disposition des données structurées il y a déjà les projets impliqués dans <a href="http://linkeddata.org/">linked data</a> qui s&#8217;en chargent. Aussi je vous propose de créer une ressource RDF inédite, celle qui vous représente (sémantiquement!) en tant que personne, en utilisant l&#8217;ontologie <a href="http://www.foaf-project.org/">FOAF (Friend Of a Friend)</a>.</p>
<p><a href="http://blog.mazenod.fr/wp-content/uploads/2010/09/foafspec.jpg" rel="lightbox[1589]"><img class="aligncenter size-medium wp-image-1591" title="foafspec" src="http://blog.mazenod.fr/wp-content/uploads/2010/09/foafspec-300x235.jpg" alt="foafspec 300x235 Comment se familiariser avec RDF en créant son profil FOAF" width="300" height="235" /></a></p>
<p>Au vu de ce diagramme de classe, il apparaît qu&#8217;une personne est une spécialisation d&#8217;un concept plus général : l&#8217;agent. L&#8217;agent est une chose géolocalisable, qui est une spécialisation de la classe racine owl:Thing l&#8217;équivalent de la classe objet java dont je parlais dans mon <a href="http://blog.mazenod.fr/2010/09/le-web-semantique/">billet précédent</a>.</p>
<p>Nous utiliserons donc également <a href="http://www.geonames.org">GEO</a>, une ontologie permettant de décrire des points géolocalisés.</p>
<h1>écrire son FOAF profile</h1>
<p>Tout d&#8217;abord comme je l&#8217;avais déjà dit dans ma brève <a href="http://blog.mazenod.fr/2010/09/le-web-semantique/">présentation du web sémantique</a> le RDF n&#8217;est pas vraiment un language en tant que tel mais plutôt un modèle de descritpion.</p>
<p>Il dérive de XML, aussi la première ligne RDF du fichier n&#8217;a rien de surprenant</p>
<p><div class="codecolorer-container xml blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span></div></div>
</p>
<p>Il s&#8217;agit ensuite de définir l&#8217;élément racine: le document RDF lui même. Ici chaque ontolige est aliasée par une chaîne de caractères (à la manière d&#8217;un name space), ce qui permet d&#8217;avoir un code RDF plus clair. Notez que ce n&#8217;est pas une obligation et que chaque élément d&#8217;une ontologie peut être exprimé par son URI complète, en &laquo;&nbsp;nom de balise complet&nbsp;&raquo;, à tout moment dans le fichier RDF.</p>
<p><div class="codecolorer-container xml blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;rdf:RDF</span><span style="color: #000000; font-weight: bold;">&lt;br</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp;xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;br</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp;xmlns:foaf=&quot;http://xmlns.com/foaf/0.1/&quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;br</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp;xmlns:geo=&quot;http://www.w3.org/2003/01/geo/wgs84_pos#&quot;&gt;</div></div>
</p>
<p>On décrit ici un élément <a href="http://xmlns.com/foaf/spec/#term_Person">foaf:Person</a>, et on spécifie l&#8217;URI qui lui est associée. Si l&#8217;URI n&#8217;est pas spécifiée c&#8217;est l&#8217;URL du document RDF courant qui lui sera attribuée</p>
<p><div class="codecolorer-container xml blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;p<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;foaf:Person</span> <span style="color: #000066;">rdf:about</span>=<span style="color: #ff0000;">&quot;http://vincent.mazenod.fr/oim.rdf#VM&quot;</span> &nbsp;<span style="color: #000066;">foaf:name</span>=<span style="color: #ff0000;">&quot;Vincent Mazenod&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;br</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;foaf:nick<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>mazenovi<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/foaf:nick<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;br</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/foaf:Person<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
</p>
<p>Ce triplet a pour <strong>sujet</strong> foaf:Person, pour <strong>prédicat</strong> rdf:about, et pour <strong>objet</strong> <a href="http://vincent.mazenod.fr/oim.rdf#VM">http://vincent.mazenod.fr/oim.rdf#VM</a><br />
il est équivalent au triplet</p>
<p><div class="codecolorer-container xml blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;p<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;Description</span> <span style="color: #000066;">rdf:about</span>=<span style="color: #ff0000;">&quot;http://vincent.mazenod.fr/oim.rdf#VM&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;br</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;rdf:type</span> <span style="color: #000066;">rdf:resource</span>=<span style="color: #ff0000;">&quot;http://xmlns.com/foaf/0.1/Person&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;br</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;foaf:name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Vincent Mazenod<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/foaf:name<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;br</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;foaf:nick<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>mazenovi<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/foaf:nick<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;br</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/rdf:Description<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
</p>
<p>Dans ce dernier exemple, le sujet est exprimé à l&#8217;intérieur, de la balise rdf:Description qui spécifie le prédicat et l&#8217;objet.</p>
<p>Afin de vous décrire de manière exhaustive vous pouvez chercher dans la <a href="http://xmlns.com/foaf/spec/">liste de propriétés mises à disposiiton par l&#8217;ontologie FOAF</a>.</p>
<p>Notez que pour chacune d&#8217;elles il est possible de spécifier explicitement le type de données que l&#8217;ont fournies à une propriété. Par défaut un type de données est associé à chaque propriété.</p>
<p><div class="codecolorer-container xml blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;p<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;foaf:name</span> <span style="color: #000066;">rdf:datatype</span>=<span style="color: #ff0000;">&quot;http://www.w3.org/2001/XMLSchema#string&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;br</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp;Vincent Mazenod<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;br</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/foaf:name<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
</p>
<p>Ici le type est forcé en litteral string, qui est le type du contenu de la balise. Evidemment dans ce cas là, forcer le type ne sert à rien puisque ce sont des données de type srting qui sont attendues par la propriété <a href="http://xmlns.com/foaf/spec/#term_name">foaf:name</a>.</p>
<p>Pour toute propriété il est également possible de spécifier la langue pour laquelle on donne une valeur</p>
<p><div class="codecolorer-container xml blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;foaf:gender</span> <span style="color: #000066;">xml:lang</span>=<span style="color: #ff0000;">&quot;en&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>male<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/foaf:gender<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
</p>
<p>on pourrait écrire pour traduire la description en français</p>
<p><div class="codecolorer-container xml blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;foaf:gender</span> <span style="color: #000066;">xml:lang</span>=<span style="color: #ff0000;">&quot;fr&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>homme<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/foaf:gender<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
</p>
<p>Le <strong>sujet</strong> implicite de chacune de ces propriétés est son parent direct, ici l&#8217;élément foaf:Person. Le <strong>prédicat</strong> est la propriété foaf elle même (symbolisée par le nom de la balise), et l&#8217;<strong>objet</strong> est la valeur de la propriété, le contenu de la balise dans le cas d&#8217;un chaîne de caractère. En revanche si l&#8217;<strong>objet</strong> est une ressource on y fera référence par son URI dans l&#8217;attribut rdf:resoucre. Les centres d&#8217;intérêtes notamment s&#8217;écrivent comme suit</p>
<p><div class="codecolorer-container xml blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;foaf:interest</span> <span style="color: #000066;">rdf:resource</span>=<span style="color: #ff0000;">&quot;http://dbpedia.org/resource/Bagpipes&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></div></div>
</p>
<p>si l&#8217;<strong>objet</strong> est une ressource il est introduit par l&#8217;attribut rdf:resource.</p>
<p><a href="http://blog.mazenod.fr/wp-content/uploads/2010/09/Hendrik_ter_Brugghen_-_De_doedelzakspeler.jpg" rel="lightbox[1589]"><img class="aligncenter size-medium wp-image-1601" title="Hendrik_ter_Brugghen_-_De_doedelzakspeler" src="http://blog.mazenod.fr/wp-content/uploads/2010/09/Hendrik_ter_Brugghen_-_De_doedelzakspeler-246x300.jpg" alt="Hendrik ter Brugghen   De doedelzakspeler 246x300 Comment se familiariser avec RDF en créant son profil FOAF" width="246" height="300" /></a></p>
<p>On pourra procéder de cette façon pour fair référence à sa homepage, son blog, sa photo etc &#8230;</p>
<p>Attention toutefois de bien identifier la ressource par son URI et non par son URL, les deux peuvent être différentes. Imaginons que je veuille faire référence à Symfony dans mes centres d&#8217;intérêts: si sa page wikipedia est <a href="http://en.wikipedia.org/wiki/Symfony">http://en.wikipedia.org/wiki/Symfony</a>, alors son URL sur dbpedia est <a href="http://dbpedia.org/page/Symfony">http://dbpedia.org/page/Symfony</a>, mais cette URL n&#8217;est pas la version RDF de la ressource à laquelle  je veux faire référence, l&#8217;URI de la ressource est  <a href="http://dbpedia.org/ressource/Symfony">http://dbpedia.org/ressource/Symfony</a>. Pour passer facilement de wikipedia à l&#8217;URI dpedia il existe un <a href="http://www.snee.com/bobdc.blog/2009/07/modeling-your-data-with-dbpedi.html">bookmarklet</a> qui fait la transformation d&#8217;url automatiquement.</p>
<p>Il arrive parfois que les balises (qu&#8217;on peut aussi appeler les noeuds du graphe) n&#8217;expriment pas un triplet, elles ne sont alors là que pour structurer les données. On parle de noeud blanc. C&#8217;est le rôle de la balise <a href="http://xmlns.com/foaf/spec/#term_based_near">foaf:based_near</a> qui permet de géolocaliser le profil</p>
<p><div class="codecolorer-container xml blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;p<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;foaf:based_near<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;br</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;geo:Point</span> <span style="color: #000066;">geo:lat</span>=<span style="color: #ff0000;">&quot;48.837&quot;</span> <span style="color: #000066;">geo:long</span>=<span style="color: #ff0000;">&quot;2.404&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;br</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/foaf:based_near<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
</p>
<p>qui pourrait encore s&#8217;écrire avec 2 noeuds blanc comme ceci</p>
<p><div class="codecolorer-container xml blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;p<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;foaf:based_near<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;br</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;geo:Point<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;br</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;geo:lat<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>48.837<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/geo:lat<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;br</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;geo:long<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>2.404<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/geo:long<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;br</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/geo:Point<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;br</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;foaf:based_near<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
</p>
<p>Pour me géolocaliser (c&#8217;est à dire trouver ma longitude et ma latitude) j&#8217;ai utilisé <a href="http://maps.google.fr/">google maps</a>, et j&#8217;ai déduit la latitude et la longitude de l&#8217;url. J&#8217;aurais aussi pu utiliser <a href="http://www.geonames.org/">http://www.geonames.org</a> et récupérer <a href="http://sws.geonames.org/3024635/about.rdf">les informations au format RDF</a> à parir des <a href="http://www.geonames.org/maps/google_45.783_3.083.html">résultats de recherche</a></p>
<h1>RDF et l&#8217;XHTML</h1>
<p>vous noterez qu&#8217;une fois le fichier RDF bien formé et validé, il apparaît comme un fichier xml dans votre navigateur (au moins dans firefox), ce qui n&#8217;est pas très sexy. Pour être à la fois semantic et HTML compliant, il y a plusieurs solutions:</p>
<p>La première est de créer une feuille de style xml au format xsl, qui va simplement permettre de définir une série de règle de conversion, pour que le navigateur puisse créé un rendu du document RDF au format HTML. Pour faire référence à ce fichier xsl dans votre fichier rdf il suffit d&#8217;ajouter à l&#8217;en-tête du fichier rdf</p>
<p><div class="codecolorer-container xml blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;p<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #000000; font-weight: bold;">&lt;br</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml-stylesheet</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/xsl&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;./rdf2html.xsl&quot;</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
</p>
<p>Le fihcier <a href="http://vincent.mazenod.fr/rdf2html.xsl">rdf2html.xsl</a> que j&#8217;utilise est une adaptation simplifiée de celui de <a href="http://www.lespetitescases.net/foaf_got.rdf">Gautier Poupeau</a> qui l&#8217;a lui même adapté de celui de <a href="http://plindenbaum.blogspot.com">Pierre Lindenbaum</a></p>
<p>La deuxième solution consiste à créé une</p>
<h2>Version RDFa</h2>
<p>L&#8217;approche du RDFa est l&#8217;approche inverse de celle que je viens de présenter. Elle consiste non pas en la représentation d&#8217;un document structuré en RDF, en HTML, mais elle plutot en l&#8217;injection de triplets RDF directement au sein du code XHTML.  On peut ainsi &laquo;&nbsp;donner du sens&nbsp;&raquo; au texte que l&#8217;on écrit dans une page web.</p>
<p><div class="codecolorer-container html4strict blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span><span style="color: #00bbdd;">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML+RDFa 1.0//EN&quot;&lt;br /&gt;</span><br />
&quot;http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd&quot;&gt;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;&lt;html&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a> <span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; &nbsp;xmlns:foaf=&quot;http://xmlns.com/foaf/0.1/&quot;<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a> <span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; &nbsp;xmlns=&quot;http://www.w3.org/1999/xhtml&quot;<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a> <span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; &nbsp;xmlns:dc=&quot;http://purl.org/dc/terms/&quot;&gt;<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a> <span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span> &nbsp; &nbsp;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a> <span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> typeof<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;foaf:person&quot;</span> about<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://vincent.mazenod.fr/oim.rdf#VM&quot;</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; je m'appelle <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a> property<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;foaf:name&quot;</span>&gt;</span>Vincent Mazenod<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a> <span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; et je suis surnommé <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a> property<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;foaf:nick&quot;</span>&gt;</span>mazenovi<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span>.<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span> &nbsp; &nbsp;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a>&gt;&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">html</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span></div></div>
</p>
<p>Quelques remarques:</p>
<ul>
<li>le <strong>sujet</strong> d&#8217;un triplet se rapporte toujours à l&#8217;élément rdf parent, si le parent est la racine le <strong>sujet</strong> c&#8217;est l&#8217;url du document</li>
<li>on utilise l&#8217;attribut <strong>property</strong> comme prédicat  si l&#8217;<strong>objet</strong> (le contenu de la balise ou le contenu de l&#8217;attribut <strong>content</strong>) est un litteral</li>
<li>le contenu de l&#8217;attribut <strong>content</strong> est prioritaire sur la valeur entre les balises</li>
<li>on utilise l&#8217;attrbiut <strong>rel</strong> comme prédicat  si l&#8217;<strong>objet</strong> est une ressource. L&#8217;attribut <strong>href</strong> est alors utilisé pour faire référence à la ressource &#8211; l&#8217;équivalent du rdf:ressource en RDF pure</li>
<li>la langue est déterminé par défaut sauf contrindication</li>
</ul>
<h1>En guise de conclusion</h1>
<p><span style="text-decoration: line-through;">Tant que le rdf n&#8217;est pas exploité par des moteurs grand public, tout ça ne sert pas à grand chose</span>.</p>
<p><a href="http://blog.mazenod.fr/wp-content/uploads/2010/09/rdf_alert.png" rel="lightbox[1589]"><img class="aligncenter size-medium wp-image-1599" title="rdf_alert" src="http://blog.mazenod.fr/wp-content/uploads/2010/09/rdf_alert-300x175.png" alt="rdf alert 300x175 Comment se familiariser avec RDF en créant son profil FOAF" width="300" height="175" /></a></p>
<p>Le sujet a l&#8217;air bouillant d&#8217;actualité puisque Google commence à indexer le RDF! Il propose d&#8217;ailleurs déjà les <a href="http://googlewebmastercentral.blogspot.com/2009/05/introducing-rich-snippets.html">Google Rich Snippet</a> depuis plus d&#8217;un an. Il ne faut pas perdre de vue, que bien que les données structurées facilitent grandement le travail d&#8217;indexation de Google, elles représentent également un grand danger pour lui, puisque ce qui fait la force de Google actuellement, c&#8217;est d&#8217;être le meilleur pour rechercher au sein de données peu ou pas structurées (avec du XHTML dans le meilleur des cas). Les fonctionnalités d&#8217;un <a href="http://www.siteduzero.com/news-62-37536-decouvrez-fise-un-moteur-semantique-open-source.html">moteur de recherche sémantique</a> sont a priori tout à fait différentes de celles d&#8217;un moteur de recherche traditionnel, un domaine qui resterait à conquérir pour le géant accompli de la recherche qu&#8217;est Google.</p>
<p>Facebook, l&#8217;autre géant, utilise également le RDFa avec une ontologie propre pour son projet <a href="http://developers.facebook.com/docs/opengraph">open graph</a>, qui permet d&#8217;ajouter des données structurées dans les méta données de vos pages web.</p>
<p>A noter que <a href="http://www.joindiaspora.com/">diaspora le projet facebook killer open source et décentralisé</a> utilise FOAF+SSL pour l&#8217;authentification si j&#8217;ai bien compris ce qui est écrit <a href="http://conjoint.biz/diaspora-part-four">ici</a></p>
<p>Pour finir, si vous mettez votre profil FOAF en ligne n&#8217;hésitez pas à me linker (<a href="http://vincent.mazenod.fr/oim.rdf#VM">http://vincent.mazenod.fr/oim.rdf#VM</a>) et à me le faire savoir afin que je fasse de même <img src='http://blog.mazenod.fr/wp-includes/images/smilies/icon_smile.gif' alt="icon smile Comment se familiariser avec RDF en créant son profil FOAF" class='wp-smiley' title="Comment se familiariser avec RDF en créant son profil FOAF" />  </p>
<h1>Boite à outils</h1>
<ul>
<li><a href="http://www.ldodds.com/foaf/foaf-a-matic.fr.html">générateur FOAF/a></li>
<li><a href="http://www.w3.org/RDF/Validator/">RDF validator</a> : valide le fait que le flux rdf xml a bien des triplets</li>
<li><a href="http://check.rdfa.info/">Check RDFa</a></li>
<li><a href="http://www.w3.org/2007/08/pyRdfa/">RDFa Distiller</a> :  extrait les triplet RDF d&#8217;un document RDFa</li>
<li><a href="http://www.snee.com/bobdc.blog/2009/07/modeling-your-data-with-dbpedi.html">Bookmarklet de passage automatique de wikipedia à dbpedia</a></li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/195085/">RDFa Developper</a> :  une extension de validation du RDF et un endpoint SPARQL</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.mazenod.fr/2010/09/comment-se-familiariser-avec-rdf-en-creant-son-profil-foaf/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>quitter PuTTY pour KiTTY</title>
		<link>http://blog.mazenod.fr/2010/09/quitter-putty-pour-kitty/</link>
		<comments>http://blog.mazenod.fr/2010/09/quitter-putty-pour-kitty/#comments</comments>
		<pubDate>Thu, 09 Sep 2010 18:55:30 +0000</pubDate>
		<dc:creator>mazenovi</dc:creator>
				<category><![CDATA[bricolage]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[libre]]></category>
		<category><![CDATA[portable apps]]></category>
		<category><![CDATA[gratuit]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.mazenod.fr/?p=1271</guid>
		<description><![CDATA[<p><a href="../wp-content/uploads/2010/07/a-hellokitty.gif"><img class="alignleft" style="margin-left: 30px; margin-right: 30px;" title="a-hellokitty" src="../wp-content/uploads/2010/07/a-hellokitty.gif" alt="" width="112" height="115" /></a>Ami Barbu, mais pas trop (puisqu'il s'agit d'un article concernant un client SSH mais sous windows), toi qui gère moulte serveurs *NIX, avec aisance, peut-être comme moi ne connais tu pas encore les bienfaits de KiTTY par rappport à PuTTY ...</p>
<p>Si tu veux améliorer ton quotidien sans perdre de temps à reconfigurer les sessions de tes 3243 serveurs un par un, cet article est pour toi</p>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.mazenod.fr%2F2010%2F09%2Fquitter-putty-pour-kitty%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.mazenod.fr%2F2010%2F09%2Fquitter-putty-pour-kitty%2F&amp;style=normal&amp;b=2" height="61" width="50" title="quitter PuTTY pour KiTTY" alt=" quitter PuTTY pour KiTTY" /><br />
			</a>
		</div>
<p><a href="http://blog.mazenod.fr/wp-content/uploads/2010/07/HELLO1.gif" rel="lightbox[1271]"><img class="alignleft size-full wp-image-1273" style="margin: 20px;" title="HELLO1" src="http://blog.mazenod.fr/wp-content/uploads/2010/07/HELLO1.gif" alt="HELLO1 quitter PuTTY pour KiTTY" width="203" height="201" /></a>Des années que <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">PuTTY</a> est mon meilleur ami pour la gestion de mes serveurs UNIX. Jusque là je n&#8217;avais jamais remis ce petit soft en question et c&#8217;est en <a href="http://blog.mazenod.fr/2010/09/framatuning-a-base-de-liberkey/">installant conjointement la dernière version de la Framakey et de la Liberkey </a>que je me suis intéressé à <a href="http://www.9bis.net/kitty/">KiTTY</a>. Ce dernier ne présente en effet QUE des améliorations par rapport à  à son ancêtre</p>
<h2>Migrer</h2>
<p>Hélas il n&#8217;y a pas de solutions miracles pour importer les sessions de PuTTY vers KiTTY. L&#8217;idée de base est que ces deux softs écrivent les paramètres des sessions dans la base de registre, de manière temporaire s&#8217;ils sont en version portable et de manière permanente sinon.</p>
<p>PuTTY dans la clé HKCU/Software/SimonTatham/PuTTY</p>
<p>et KiTTY dans HKCU/Software/9bis.com/KiTTY</p>
<p>Si vous utilisez PuTTY portable vous devez avoir un répertoire Data/settings/putty.reg dans le répertoire de l&#8217;application. Pour la version non portable il vous faudra exporter manuellement à partir de la base de registre (avec regedit puis clic droit -&gt; exporter sur la clé à exporter) la clé</p>
<p><a href="http://blog.mazenod.fr/wp-content/uploads/2011/07/regedit.png" rel="lightbox[1271]"><img class="aligncenter size-medium wp-image-1538" title="regedit" src="http://blog.mazenod.fr/wp-content/uploads/2011/07/regedit-239x300.png" alt="regedit 239x300 quitter PuTTY pour KiTTY" width="239" height="300" /></a></p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">&#91;</span>HKEY_CURRENT_USER\Software\SimonTatham\PuTTY<span style="color: #7a0874; font-weight: bold;">&#93;</span></div></div>
<p>Il faut ensuite éditer cette clé avec un éditeur de texte et faire en rechercher / remplacer de l&#8217;expression &laquo;&nbsp;\SimonTatham\PuTTY&nbsp;&raquo; par &laquo;&nbsp;\9bis.com\KiTTY&nbsp;&raquo;, puis sauvegarder le fichier transformé en kitty.reg sur le bureau. Il n&#8217;y a ensuite qu&#8217;à double cliquer sur ce fichier pour importer les clés que l&#8217;on vient de modifier.</p>
<p>A partir de là il faut maintenant utiliser KiTTY en ligne de commande pour qu&#8217;il aille chercher la configuration dans la base de registre et qu&#8217;il la convertisse en fichier locaux pour que la configuration soit pleinement portable, ce qui se fait via la commande</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">kitty.exe <span style="color: #660033;">-convert-dir</span></div></div>
<p>Normalement 6 répertoires sont créés dans le répertoire de l&#8217;application KiTTY</p>
<h2><a href="http://blog.mazenod.fr/wp-content/uploads/2010/07/Kitty.png" rel="lightbox[1271]"><img class="aligncenter size-full wp-image-1272" title="Kitty" src="http://blog.mazenod.fr/wp-content/uploads/2010/07/Kitty.png" alt="Kitty quitter PuTTY pour KiTTY" width="284" height="240" /></a>Fonctionnalités</h2>
<p>le fichier kitty.ini, dans le répertoire de l&#8217;application permet d&#8217;ajouter <a href="http://www.9bis.net/kitty/">quelques options sympas</a>, dont</p>
<div class="codecolorer-container dos blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">[KiTTY]<br />
icon=yes            ;permet d'avoir une <span style="color: #33cc33;">&lt;</span>a href=&quot;http://www.9bis.net/kitty/?page=That<span style="color: #33cc33;">%</span><span style="color: #448888;">2</span>7s<span style="color: #33cc33;">%</span><span style="color: #448888;">2</span>0all<span style="color: #33cc33;">%</span><span style="color: #448888;">2</span>0folks<span style="color: #33cc33;">&amp;</span>amp;zone=fr&quot;<span style="color: #33cc33;">&gt;</span>icone par session<span style="color: #33cc33;">&lt;</span>/a<span style="color: #33cc33;">&gt;</span><br />
transparency=yes ;permet de faire le cake en réglant la <span style="color: #33cc33;">&lt;</span>a href=&quot;http://www.9bis.net/kitty/?page=Transparence<span style="color: #33cc33;">&amp;</span>amp;zone=fr&quot;<span style="color: #33cc33;">&gt;</span>transparence de la fenêtre avec ctrl + et ctrl -<span style="color: #33cc33;">&lt;</span>/a<span style="color: #33cc33;">&gt;</span></div></div>
<h2>à Voir aussi</h2>
<ul>
<li><a href="http://www.9bis.net/kitty/">site officiel de KiTTY</a></li>
<li><a href="http://www.thegeekstuff.com/2008/08/turbocharge-putty-with-12-powerful-add-ons-software-for-geeks-3/">Turbocharge PuTTY with 12 Powerful Add-Ons – Software for Geeks #3</a></li>
<li><a href="http://puttycm.free.fr/cms/">PuTTY Connection Manager website</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.mazenod.fr/2010/09/quitter-putty-pour-kitty/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>FramaTuning à base de LiberKey</title>
		<link>http://blog.mazenod.fr/2010/09/framatuning-a-base-de-liberkey/</link>
		<comments>http://blog.mazenod.fr/2010/09/framatuning-a-base-de-liberkey/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 20:04:42 +0000</pubDate>
		<dc:creator>mazenovi</dc:creator>
				<category><![CDATA[bricolage]]></category>
		<category><![CDATA[libre]]></category>
		<category><![CDATA[portable apps]]></category>
		<category><![CDATA[gratuit]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.mazenod.fr/?p=1259</guid>
		<description><![CDATA[<p><a href="../wp-content/uploads/2010/07/2t_liberkey-th.jpg.png"><img class="alignleft" style="margin-left: 30px; margin-right: 30px;" title="2t_liberkey-th.jpg" src="../wp-content/uploads/2010/07/2t_liberkey-th.jpg.png" alt="" width="100" height="100" /></a>La <a href="http://www.framakey.org/">Framakey</a> est une suite libre d'applications libres. Malgré tout elle se révèle parfois insuffisante et peut être complétée avantageusement par une autre suite d'application portable: la <a href="http://www.liberkey.com/">LiberKey</a>.</p>
<p>Vous verrez dans ce post comment faire cohabiter les deux suites sur une même clé USB</p>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.mazenod.fr%2F2010%2F09%2Fframatuning-a-base-de-liberkey%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.mazenod.fr%2F2010%2F09%2Fframatuning-a-base-de-liberkey%2F&amp;style=normal&amp;b=2" height="61" width="50" title="FramaTuning à base de LiberKey" alt=" FramaTuning à base de LiberKey" /><br />
			</a>
		</div>
<p><a href="http://blog.mazenod.fr/wp-content/uploads/2010/07/liberkey.jpg" rel="lightbox[1259]"><img class="alignleft size-medium wp-image-1285" style="margin: 30px;" title="liberkey" src="http://blog.mazenod.fr/wp-content/uploads/2010/07/liberkey-156x300.jpg" alt="liberkey 156x300 FramaTuning à base de LiberKey" width="156" height="300" /></a>La <a href="http://www.framakey.org/">Framakey</a> est un projet très fonctionnel, je ne le répèterai jamais assez. C&#8217;est également un projet entièrement open source qui s&#8217;adresse au large public des windowsiens (et un peu celui des macistes également). En celà la Framakey est probablement l&#8217;une des meilleures promotions pour le logiciel libre &#8230;</p>
<p>La philosophie  proposée par Richard Stallmann est complètement respecté dans ce projet en ce sens qu&#8217;il n&#8217;intègre que des logiciels libre et qu&#8217;il est lui même libre. Dans sa biographie &laquo;&nbsp;Richard Stallman et la révolution du logiciel libre&nbsp;&raquo;, la prise de position est claire: &laquo;&nbsp;Si j’ai besoin d’une chose et qu’elle n’existe pas dans sa forme libre  alors je ne l’utilise pas. Je contribue si je le peux à la création de  la version libre de cette chose&nbsp;&raquo;.</p>
<p>C&#8217;est probablement parce qu&#8217;il est si tranché que RMS est effectivement le ché d&#8217;une révolution. De mon modeste point de vue si un simple gratuit suffit à mes besoins, je vais l&#8217;utiliser &#8230; Or cette philosophie si elle n&#8217;est pas celle de la <a href="http://www.framakey.org/">framakey</a>, est celle de la <a href="http://www.liberkey.com/">liberkey</a> qui est plus orientée vers le gratuit que vers le libre (plus vers les &laquo;&nbsp;free beers&nbsp;&raquo; que vers la &laquo;&nbsp;freedom&nbsp;&raquo; <img src='http://blog.mazenod.fr/wp-includes/images/smilies/icon_wink.gif' alt="icon wink FramaTuning à base de LiberKey" class='wp-smiley' title="FramaTuning à base de LiberKey" />  )</p>
<p>Comme j&#8217;aime bien les hybrides,  et que j&#8217;ai du mal à me déicder entre les grandes idées et les outils pratiques, je vous propose une cohabitation de ses deux suites d&#8217;applications portables.</p>
<p>Comme vous êtes d&#8217;un naturel curieux et sceptique (si si je le sens bien!) vous me demanderez:</p>
<h1>Pourquoi faire cohabiter la FramaKey et la LiberKey?</h1>
<p>Pour deux raisons esssentielles:</p>
<p>La première que j&#8217;ai partiellement évoquée en introduction qui est une manière de ne pas trancher entre la liberté (pure <img src='http://blog.mazenod.fr/wp-includes/images/smilies/icon_wink.gif' alt="icon wink FramaTuning à base de LiberKey" class='wp-smiley' title="FramaTuning à base de LiberKey" />  ) de la FramaKey et <a href="http://www.liberkey.com/fr/catalogue/parcourir.html"><span style="text-decoration: line-through;">le gros</span> l&#8217;énorme catalogue d&#8217;applications de la LiberKey</a> incluant tout un tas de simples gratuits bien pratiques</p>
<p>La deuxième raison est le système de mise à jour des applications: si synapps l&#8217;application qui gère la mise à jour des applications installées sur la framakey est un beau projet, il est pour le moment moins fonctionnel que le système de mise à jour de la LiberKey. Dans la mesure où synapps est complètement ouvert et en python alors que le code de l&#8217;équivalent liberkey n&#8217;est pas accessible, je ne peux me satisfaire ni de l&#8217;un ni de l&#8217;autre pour le moment</p>
<h1><a href="http://blog.mazenod.fr/wp-content/uploads/2010/07/saintignucius.jpg" rel="lightbox[1259]"><img class="size-medium wp-image-1276 alignright" style="margin: 20px;" title="saintignucius" src="http://blog.mazenod.fr/wp-content/uploads/2010/07/saintignucius-216x300.jpg" alt="saintignucius 216x300 FramaTuning à base de LiberKey" width="216" height="300" /></a></h1>
<h1>Ma démarche</h1>
<p>sera donc une &laquo;&nbsp;adaptation&nbsp;&raquo; de la pensée de St IGNUcius (qu&#8217;il me pardonne de prendre mes aises avec sa philosophie):</p>
<ul>
<li>Tout ce qui pourra être installer et mis à jour sur la FramaKey via Synapps le sera</li>
<li>Tout ce qui n&#8217;est pas disponible via synapps sera installé et synchronisé via la LiberKey</li>
<li>Tout ce qui n&#8217;est géré ni par l&#8217;un ni par l&#8217;autre, sera installé dans un répertoire à part, qui contiendradonc toutes les applications à mettre à jour manuellement</li>
</ul>
<h1>Pourquoi privilégier la FramaKey?</h1>
<p>Outre l&#8217;aspect philosophique, le FramaLauncher, est un peu plus souple que le launcher de la LiberKey, comme lui</p>
<ul>
<li>Il permet de faire référence à des applications portables non FramaKey</li>
<li>Il permet de créer des réccourcis (portables) vers n&#8217;importe quel dossier ou fichier de la clé</li>
<li>Il permet également d&#8217;ajouter des paramètres au lancement d&#8217;une application</li>
</ul>
<p>Mais en plus</p>
<ul>
<li>Il permet de lancer un groupe d&#8217;applications: du genre un éditeur de texte + un navigateur + un environnement XAMPP ou UwAmp par exemple</li>
</ul>
<h1>Comme va se passer la cohabitation?</h1>
<p>Le plus simplement du monde. Le seul problème à résoudre est le répertoire des applications qui est le même pour la FramaKey et la LiberKey &laquo;&nbsp;\Apps&nbsp;&raquo;. L&#8217;idée est de ne pas toucher aux paramètres de la framakey et de changer le path de la liberKey en &laquo;&nbsp;\LiberKeyApps&nbsp;&raquo;, en remplaçant ..\..\Apps par ..\..\LiberKeyApps dans</p>
<ul>
<li>\LiberKeyTools\LiberKeyMenu\LiberKeyMenu.xml</li>
<li>\LiberKeyTools\Installer\LKInst.xml</li>
</ul>
<p>La LiberKey créé un répertoire &laquo;&nbsp;\MyApps&nbsp;&raquo; pour les applications non LiberKey, que je propose de garder pour les applications gérées ni par la FramaKey, ni par la LiberKey.</p>
<h1>Et maintenant?</h1>
<p>Il reste à faire son marché, et à installer et configurer les applications dont vous vous servez, messagerie, navigateur, outil de diagnostique, suite bureautique, jeux et pourquoi pas un <a href="http://blog.mazenod.fr/2009/11/environnement-de-developpement-portable-pour-symfony-framakey/">environnement de développement</a> ?</p>
<p>Personellement j&#8217;utilise en plus deux launchers supplémentaires</p>
<h2>CircleDock</h2>
<p><a href="http://circledock.wikidot.com/">circledock</a> est un launcher extrêment souple et personnalisable, qui permet d&#8217;accéder à vos applications préférées en 1 clic, ou en utilisant les bords réactifs de votre écran, ou encore une touche de votre clavier. Une fois installé sur votre ordianteur, il propose une version portable qui permet de créer des raccourcis (portables) vers les programmes gérés par la LiberKey et ou la FramaKey avec un simple glisser / déposer</p>
<div style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/9ko36ebOg9U?fs=1&amp;hl=fr_FR" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/9ko36ebOg9U?fs=1&amp;hl=fr_FR" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
<h2>RocketDock</h2>
<p><a href="http://www.youtube.com/watch?v=d6UVb15it6A&amp;feature=player_embedded">RocketDock</a> lui permet d&#8217;avoir un dock à la manière de mac os X, il est également assez souple et bénéficie surtout de tout un tas de <a href="http://rocketdock.com/addons/skins">skins</a> qui raviront les plus geeks d&#8217;entre vous!</p>
<div style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="align" value="center" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/d6UVb15it6A?fs=1&amp;hl=fr_FR" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/d6UVb15it6A?fs=1&amp;hl=fr_FR" allowscriptaccess="always" allowfullscreen="true" align="center"></embed></object></div>
<h1>En guise de conclusion</h1>
<p>Bien entendu vous pouvez installer soit la Framakey, soit la LiberKey cet article n&#8217;est qu&#8217;une proposition permettant de suivre et d&#8217;utiliser les deux suites &#8230; Faites en ce que vous voulez <img src='http://blog.mazenod.fr/wp-includes/images/smilies/icon_biggrin.gif' alt="icon biggrin FramaTuning à base de LiberKey" class='wp-smiley' title="FramaTuning à base de LiberKey" /> </p>
<p>Dans un cas comme dans l&#8217;autre il est possible de coupler votre suite d&#8217;application portable à un <a href="http://blog.mazenod.fr/2010/09/framakey-ubuntu-remix-performance-securite/">linux avec les profils firefox et thunderbird partagés</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mazenod.fr/2010/09/framatuning-a-base-de-liberkey/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Framakey Ubuntu Remix – sécurité &amp; performance</title>
		<link>http://blog.mazenod.fr/2010/09/framakey-ubuntu-remix-performance-securite/</link>
		<comments>http://blog.mazenod.fr/2010/09/framakey-ubuntu-remix-performance-securite/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 18:00:02 +0000</pubDate>
		<dc:creator>mazenovi</dc:creator>
				<category><![CDATA[bricolage]]></category>
		<category><![CDATA[libre]]></category>
		<category><![CDATA[portable apps]]></category>
		<category><![CDATA[gratuit]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.mazenod.fr/?p=1158</guid>
		<description><![CDATA[<p><a href="http://blog.mazenod.fr/wp-content/uploads/2010/07/stallman.jpg"><img class="alignleft" style="margin-left: 20px; margin-right: 20px;" title="KONICA MINOLTA DIGITAL CAMERA" src="http://blog.mazenod.fr/wp-content/uploads/2010/07/stallman.jpg" alt="" width="193" height="180" /></a>Après un an d'utilisation intensive de la  Framakey, j'ai profité de la dernière version de la suite  d'applications portables de Framasoft, pour réfléchir un peu à comment  tirer les meilleures performances de cette suite applicative, et comment la rendre un  peu plus sécurisée, en cas de perte ou de vol ...</p>
<p>Si vous avez envie de bricoler utile, ce post est fait pour vous!</p>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.mazenod.fr%2F2010%2F09%2Fframakey-ubuntu-remix-performance-securite%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.mazenod.fr%2F2010%2F09%2Fframakey-ubuntu-remix-performance-securite%2F&amp;style=normal&amp;b=2" height="61" width="50" title="Framakey Ubuntu Remix – sécurité & performance" alt=" Framakey Ubuntu Remix – sécurité & performance" /><br />
			</a>
		</div>
<h2>Sécurité</h2>
<p>Après un an d&#8217;utilisation, ma FramaKey contient un arsenal d&#8217;applications complet, toutes configurées, du simple éditeur de texte, à la messagerie, en passant par l&#8217;IM, et les accès SSH à mes serveurs, ainsi que TOUTES mes données persos: des archives, de la documentation, des factures, mes déclarations d&#8217;impots, des scans de ma carte d&#8217;identité, de ma carte vitale &#8230;</p>
<p>En gros accéder à ma framaKey équivaut simplement à la possibilité d&#8217;emprunter mon identité &#8230; numérique et plus si affinité! Sous ces conditions crypter ces données paraît une bonne idée.</p>
<p>Vu le caractère multiplateforme de la FramaKey, <a href="http://www.truecrypt.org/">TrueCrypt</a> disponible  sous linux / windows / MAC OS semble l&#8217;outil le plus approprié. Ca  tombe bien d&#8217;ailleurs puisque Framasoft a dèjà fait un tuto sur l&#8217;<a href="http://www.framakey.org/Tutoriels/SecuriserAvecTrueCrypt">installation  de la Framakey avec TrueCrypt</a>.</p>
<h2>Performances</h2>
<p>La rapidité d&#8217;exécution des applications portables est cruciale, pour l&#8217;améliorer il convient de prendre en compte deux paramètres : le système de fchier (FAT/FAT32/NTFS/ &#8230;) et la nature du support (clé USB ou disque dur USB)</p>
<p>Si vous voulez vous faire une idée voici à titre indicatif les <a href="http://framakey.org/Utils/FramakeyDriveBenchmarkTest">perfs obtenues sur les différentes marques de clés USB</a>. Sachant que vous pouvez faire vous même vos propres tests avec l&#8217;application <a href="http://framakey.org/Utils/FramakeyDriveBenchmark">Framakey Drive Benchamrk</a>.</p>
<p>Voici les miens à partir d&#8217;un DD USB Iomega et d&#8217;une clé USB Corsair Flash Voyager GT 16Go.</p>
<table border="1">
<thead>
<tr>
<td style="border: 1px solid #7f8080;"></td>
<td style="border: 1px solid #7f8080; background-color: #f5f5f5;" colspan="6">File system</td>
</tr>
<tr>
<td style="border: 1px solid #7f8080; background-color: #f5f5f5;" rowspan="4">Device</td>
<td style="border: 1px solid #7f8080;" colspan="3">FAT32</td>
<td style="border: 1px solid #7f8080;" colspan="3">NTFS</td>
</tr>
<tr>
<td style="border: 1px solid #7f8080;" rowspan="2">normal</td>
<td style="border: 1px solid #7f8080;" colspan="2">encrypted</td>
<td style="border: 1px solid #7f8080;" rowspan="2">normal</td>
<td style="border: 1px solid #7f8080;" colspan="2">encrypted</td>
</tr>
<tr>
<td style="border: 1px solid #7f8080;">FAT32</td>
<td style="border: 1px solid #7f8080;">NTFS</td>
<td style="border: 1px solid #7f8080;">FAT32</td>
<td style="border: 1px solid #7f8080;">NTFS</td>
</tr>
</thead>
<tbody>
<tr>
<td style="border: 1px solid #7f8080; background-color: #f5f5f5;">Iomega</td>
<td style="border: 1px solid #7f8080;">13007,14kb/s (4.78s)</td>
<td style="border: 1px solid #7f8080;">67362,51kb/s (0.92s)</td>
<td style="border: 1px solid #7f8080;">64851,34kb/s (0.96s)</td>
<td style="border: 1px solid #7f8080;">14375,32kb/s (4.33s)</td>
<td style="border: 1px solid #7f8080;">137385.14kb/s (0.45s)</td>
<td style="border: 1px solid #7f8080;">87738.25kb/s (0.71s)</td>
</tr>
<tr>
<td style="border: 1px solid #7f8080; background-color: #f5f5f5;">Voyager</td>
<td style="border: 1px solid #7f8080;">3953.63kb/s (15.74s)</td>
<td style="border: 1px solid #7f8080;">144511.99kb/s (0.43s)</td>
<td style="border: 1px solid #7f8080;">81822.81kb/s (0.76s)</td>
<td style="border: 1px solid #7f8080;">3350.64kb/s (18.57s)</td>
<td style="border: 1px solid #7f8080;">148863.05kb/s (0.42s)</td>
<td style="border: 1px solid #7f8080;">57178.41kb/s (1.09s)</td>
</tr>
</tbody>
</table>
<p>J&#8217;ai tenu à mesurer les performances obtenues avec des partitions cryptées avec TrueCrypt (en FAT32 et en NTFS), mais je trouve les résultats assez surréalistes!! Je ne m&#8217;attendais pas à ce que les temps d&#8217;accès diminuent pour les partitions cryptées o_O&#8217;</p>
<p>Un résultat attendu, en revanche, qui justifie en parti l&#8217;écriture de ce post, est que les temps d&#8217;accès sont considérablement réduits sur un DD USB par  rapport à une clé USB (même performante) &#8230;</p>
<p>Le choix du Filesystem NTFS est également une bonne idée, mais il &laquo;&nbsp;casse&nbsp;&raquo; les profils partagés avec l&#8217;Ubuntu portable qui lui est forcément sur une partition FAT32, donc séparée!</p>
<h2>Réflexion</h2>
<p>Pour satisafire à mes exigences de performance (, d&#8217;espace) et de sécurité je vais utiliser un disque dur USB 500Go, plus rapide en écriture qu&#8217;une simple clé et le partitionner. Sur une petite partition 10Go formater en FAT, je vais installer un Ubuntu persistent. Sur le reste du disque partitionné en NTFS, je vais créer une partition cryptée avec TrueCrypt qui contiendra ma suite d&#8217;applications portables et mes données personnelles.</p>
<h2>Prérequis</h2>
<ul>
<li>un disque dur USB, prêt à être formaté (pas de données dessus donc)</li>
<li>La dernière version de la <a href="http://www.framakey.org/Pack/Framakey-Ubuntu">Framakey Ubuntu Remix</a> (dézipper, dans un coin de votre ordinateur)</li>
<li>Le logiciel <a href="http://www.framakey.org/Pack/Framakey-Ubuntu">TrueCrypt</a> en version windows</li>
</ul>
<h2>Action</h2>
<p>L&#8217;idée est donc de partitionner un disque dur USB (une partition USBuntu pour le linux, et une partition FRAMAKEY pour la suite d&#8217;application portable du même nom) et de rendre l&#8217;une de ses partitions bootable. Pour le partitionnement je vous propose d&#8217;utiliser l&#8217;utilitaire de gestion des disques intégré à windows : diskmgmt.msc</p>
<p style="text-align: center;"><br /><img src="http://blog.mazenod.fr/wp-content/uploads/2010/07/partition.png" alt="partition Framakey Ubuntu Remix – sécurité & performance"  title="Framakey Ubuntu Remix – sécurité & performance" /><br />
</p>
<h3>Installation d&#8217;Ubuntu portable et persistant sur la partition USBuntu</h3>
<p>Là il y a une grosse feinte &#8230; en effet l&#8217;utilitaire framaboot proposé par framasoft ne permet pas de rendre bootable un disque dur USB, il ne marche QUE pour les clés. Si vous souhaitez vraiment utiliser le linux livré avec la FramaKey vous pouvez lire cette <a href="http://forum.framasoft.org/viewtopic.php?f=73&amp;t=32674">petite astuce sur Framagora</a>.</p>
<p>Sinon je vous propose cette solution, qui utilise une application  nommée <a href="http://www.linuxliveusb.com/">LiLiUsbCreator</a>Portable, disponible dans le répertoire Apps de la Framakey que vous avez téléchargé</p>
<ul>
<li>Etape1 : choisissez la partition de 10Go que vous venez de créer</li>
<li>Etape2 : choisissez « télécharger » puis sélectionnez « ubuntu  10.0.4″ puis cliquez sur automatiquement</li>
<li>Eatpe3 : réglez la persistance à fond 3950Mo</li>
<li>Etape4 : cochez toutes les options</li>
<li>Etape 5 : cliquez sur l’éclair</li>
</ul>
<p>Vous devez avoir quelque chose comme ça au final …</p>
<p><a href="http://blog.mazenod.fr/wp-content/uploads/2010/07/liliUSBCreator.png" rel="lightbox[1158]"><br />
</a><a href="http://blog.mazenod.fr/wp-content/uploads/2010/07/liliUSBCreator.png" rel="lightbox[1158]"><img class="aligncenter size-medium wp-image-1229" title="liliUSBCreator" src="http://blog.mazenod.fr/wp-content/uploads/2010/07/liliUSBCreator-176x300.png" alt="liliUSBCreator 176x300 Framakey Ubuntu Remix – sécurité & performance" width="176" height="300" /></a></p>
<h3>Installation de la framakey sur une partition cryptée</h3>
<p>L’idée est de suivre pas à pas le tuto d’<a href="http://www.framakey.org/Tutoriels/SecuriserAvecTrueCrypt">installation   de la Framakey avec TrueCrypt</a>, sur la partition FRAMAKEY</p>
<h2>Le temps de test est venu</h2>
<p>connectez votre disque dur USB à votre PC, démarrez votre machine, règlez le BIOS pour booter sur le disque dur USB, et vous devriez voir apparaître un menu Ubutnu, sélectionner le &laquo;&nbsp;mode persistant&nbsp;&raquo;, vous êtes sur votre Ubuntu portable  &#8230; vous pouvez monter votre partition cryptée en installant <a href="http://doc.ubuntu-fr.org/truecrypt">truecrypt sur votre linux</a>, comme indiqué dans la section &laquo;&nbsp;monter un dossier crypté&nbsp;&raquo;:</p>
<ul>
<li>faites un clic droit sur le premier icone de disqur dur</li>
<li>sélectionner&nbsp;&raquo;Select File and Mount &#8230;&nbsp;&raquo;</li>
<li>Aller chercher le fichier fk sur la partition framakey</li>
<li>Taper le mot de passe</li>
<li>enjoy <img src='http://blog.mazenod.fr/wp-includes/images/smilies/icon_smile.gif' alt="icon smile Framakey Ubuntu Remix – sécurité & performance" class='wp-smiley' title="Framakey Ubuntu Remix – sécurité & performance" /> </li>
</ul>
<h2>Virtualisation</h2>
<p>Vous ne pourrez pas virtualiser l&#8217;Ubuntu persistant installé sur la  première partition du disque. <a href="http://www.linuxliveusb.com/fr/step3.html">VirtualBox ne  fonctionne pas dans le contexte d&#8217;un linux persistant sous Vista ni  seven</a> (je suis sous seven) &#8230; Dommage!</p>
<p>Si  vous êtes sous XP, ou que vous utilisez un Ubuntu Live vous pouvez vous  référer à ce <a href="http://www.pendrivelinux.com/boot-a-usb-flash-drive-in-virtualbox/">tuto  pour  virtualiser votre système portable avec virtualbox</a>, ou utiliser l&#8217;exécutable présent sur la clé nommé &laquo;&nbsp;virtualize_this_key.exe&nbsp;&raquo;.</p>
<h2>Sécuriser Ubuntu</h2>
<p>Je n&#8217;ai pas vraiment trouvé comment faire &#8230; en effet je n&#8217;ai pas été en mesure de créer un nouvel utilisateur (auquel j&#8217;aurais pu affecté des dossiers personnels cryptés) et pire je n&#8217;ai pas réussi à mettre de mot de passe à l&#8217;utilisateur live par défaut (ubuntu) &#8230; J&#8217;imagine que c&#8217;est une des limitations des Linux portables, mais je n&#8217;ai trouvé nul part d&#8217;explication &#8230; si vous en avez une : les commentaires sont ouverts!</p>
<h2>Profils partagés</h2>
<p>La fonctionnalité qui a été &laquo;&nbsp;cassé&nbsp;&raquo; donc, c&#8217;est la synchro de  FireFox et Thunderbird en environnement Windows / Linux / Mac. On doit  pouvoir récupérer ça en configurant correctement les préférences de l&#8217;utilisateur ubuntu que nous venons de créer, vu qu&#8217;il n&#8217;y a <a href="http://forum.framasoft.org/viewtopic.php?f=133&amp;t=32571&amp;p=264611&amp;hilit=profils+partag%C3%A9s">pas de mystère quant au partage des profils de Firefox et Thunderbird avec la Framakey</a>.</p>
<p>Imaginons que le volume crypter soit monter sur /truecrypt/</p>
<p>pour firefox :</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>truecrypt<span style="color: #000000; font-weight: bold;">/</span>Apps<span style="color: #000000; font-weight: bold;">/</span>FramafoxPortable<span style="color: #000000; font-weight: bold;">/</span>Data<span style="color: #000000; font-weight: bold;">/</span>profile<span style="color: #000000; font-weight: bold;">/</span> .mozilla<span style="color: #000000; font-weight: bold;">/</span>firefox<span style="color: #000000; font-weight: bold;">/</span>9ixdkipx.default</div></div>
<p>pour thunderbird :</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>truecrypt<span style="color: #000000; font-weight: bold;">/</span>Apps<span style="color: #000000; font-weight: bold;">/</span>FramabirdPortable<span style="color: #000000; font-weight: bold;">/</span>Data<span style="color: #000000; font-weight: bold;">/</span>profile<span style="color: #000000; font-weight: bold;">/</span> &nbsp;.mozilla-thunderbird<span style="color: #000000; font-weight: bold;">/</span>9ixdkipx.default</div></div>
<p>pour pidgin</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>truecrypt<span style="color: #000000; font-weight: bold;">/</span>Apps<span style="color: #000000; font-weight: bold;">/</span>PortablePidgin<span style="color: #000000; font-weight: bold;">/</span>Data<span style="color: #000000; font-weight: bold;">/</span>settings<span style="color: #000000; font-weight: bold;">/</span>.purple .purple</div></div>
<p>Pour vos documents</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>truecrypt<span style="color: #000000; font-weight: bold;">/</span>Data<span style="color: #000000; font-weight: bold;">/</span>  Data</div></div>
<p>etc &#8230;</p>
<p>Nous y voilà! vous avez un disque dur entièrement crypté, rempli d&#8217;applications portables et multiplateformes &#8230; de quoi ballader votre vie numérique en toute sécurité!</p>
<p>Notez que maintenant tout n&#8217;est plus qu&#8217;une question de goût dans la mesure ou vous pouvez coupler n&#8217;importe quelle suite d&#8217;application portable à n&#8217;importe quelle distro linux gérées par <a href="http://www.linuxliveusb.com/">LinuxLiveUsbCreator</a>.</p>
<h2>Plus d&#8217;applications portables &#8230;</h2>
<ul>
<li><a href="http://framakey.org/Portables/Index">http://framakey.org/Portables/Index</a></li>
<li><a href="http://www.liberkey.com/fr/catalogue/parcourir.html">http://www.liberkey.com/fr/catalogue/parcourir.html</a></li>
<li><a href="http://portableapps.com/apps">http://portableapps.com/apps</a></li>
<li><a href="http://www.portablefreeware.com/">http://www.portablefreeware.com/</a></li>
<li><a href="http://www.pendriveapps.com/">http://www.pendriveapps.com/</a></li>
<li><a href="http://web5s.over-blog.com/">SansBurOFixe</a></li>
<li><a href="http://usbsoft.org/">http://usbsoft.org/</a></li>
<li><a href="http://www.winpenpack.com">http://www.winpenpack.com</a></li>
<li><a href="http://portablelinuxapps.org/">http://portablelinuxapps.org/</a></li>
<li><a href="http://www.makeuseof.com/tag/portable-software-usb/">100 Portable Apps for your USB Stick (for Mac and Win)</a></li>
</ul>
<p>PS: faites des sauvegardes régulières hein?!?</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 2645px; width: 1px; height: 1px; overflow: hidden;">
<h1>100 Portable Apps for your USB Stick (for Mac and Win)</h1>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.mazenod.fr/2010/09/framakey-ubuntu-remix-performance-securite/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

