<?xml
version="1.0" encoding="utf-8"?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
>

<channel xml:lang="fr">

	<title>Blog notes Aternatik</title>
	<link>http://www.aternatik.org/</link>
	<description>&lt;p&gt;Le blog notes Aternatik : articles, documentation et tutoriaux d'installation de logiciels libres dans diff&#233;rents domaines : serveur web, messagerie, LDAP, d&#233;veloppement....&lt;/p&gt;</description>
	<language>fr</language>
	<generator>SPIP - www.spip.net</generator>

	<image>
		<title>Blog notes Aternatik</title>
		<url>http://www.aternatik.org/local/cache-vignettes/L150xH26/siteon0-72b24.jpg</url>
		<link>http://www.aternatik.org/</link>
		<height>26</height>
		<width>150</width>
	</image>



	<item xml:lang="fr">
		<title>Mise &#224; jour de s&#233;curite PhpMyvisites</title>
		<link>http://www.aternatik.org/articles-et-ressources/breve/mise-a-jour-de-securite</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/breve/mise-a-jour-de-securite</guid>
		<dc:date>2009-12-28T22:54:28Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		

		<description>Une faille importante a &#233;t&#233; d&#233;couverte sur le logiciel de statistiques PhpMyVistes a &#233;t&#233; d&#233;voil&#233;e r&#233;cemment. Sans rentrer dans les d&#233;tails, du code est inject&#233; dans les fichiers php du site et lorsqu'on le consulte, on est redirig&#233; vers une page &quot;malveillante&quot;... La commande qui va bien pour &quot;r&#233;parer&quot; les (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/" rel="directory"&gt;Articles et ressources&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;Une faille importante a &#233;t&#233; d&#233;couverte sur le logiciel de statistiques PhpMyVistes a &#233;t&#233; d&#233;voil&#233;e r&#233;cemment. Sans rentrer dans les d&#233;tails, du code est inject&#233; dans les fichiers php du site et lorsqu'on le consulte, on est redirig&#233; vers une page &quot;malveillante&quot;...&lt;/p&gt; &lt;p&gt;La commande qui va bien pour &quot;r&#233;parer&quot; les fichiers incrimin&#233;s :&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_bash code&quot;&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;find&lt;/span&gt; .&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-type&lt;/span&gt; f &lt;span style=&quot;color: #660033;&quot;&gt;-print0&lt;/span&gt; | &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;xargs&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-0&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;grep&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-rl&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;/**/eval(base64_decode&quot;&lt;/span&gt; | &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;xargs&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sed&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-i&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;1d&quot;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Autre solution recommand&#233;e : installer Piwik, le concurrent open source de Google Analytics.&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>

	</item>

	<item xml:lang="fr">
		<title>Suivre les ventes THELIA dans Google Analytics</title>
		<link>http://www.aternatik.org/articles-et-ressources/breve/suivre-les-ventes-thelia-dans</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/breve/suivre-les-ventes-thelia-dans</guid>
		<dc:date>2009-12-08T01:06:57Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		
<dc:subject>Google</dc:subject>
<dc:subject>Spip</dc:subject>
<dc:subject>THELIA</dc:subject>

		<description>L'outil de statistiques et d'analyses de sites Google Analytics propose un suivi des transaction effectu&#233;es sur un site ecommerce. Voici comment faire pour activer ce suivi dans une boutique THELIA . L'op&#233;ration consiste &#224; modifier le code standard de suivi fourni par Google. Lire avant tout la doc (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/" rel="directory"&gt;Articles et ressources&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/Google" rel="tag"&gt;Google&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/Spip" rel="tag"&gt;Spip&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/mot/thelia" rel="tag"&gt;THELIA&lt;/a&gt;

		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;L'outil de statistiques et d'analyses de sites Google Analytics propose un suivi des transaction effectu&#233;es sur un site ecommerce. Voici comment faire pour activer ce suivi dans une boutique THELIA&lt;!-- htmlA --&gt; [&lt;a href='#nb1' class='spip_note' rel='footnote' title='Solution Ecommerce open source' id='nh1'&gt;1&lt;/a&gt;]&lt;!-- htmlB --&gt;.&lt;/p&gt; &lt;p&gt;L'op&#233;ration consiste &#224; modifier le code standard de suivi fourni par Google. Lire avant tout la &lt;a href='http://www.google.com/support/googleanalytics/bin/answer.py?hl=fr&amp;answer=55528' class='spip_out' rel='external'&gt;doc sur le suivi des transactions&lt;/a&gt;.&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;Version THELIA&lt;/h3&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_javascript code&quot;&gt; &lt;br /&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&lt;&lt;/span&gt;script type&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;var&lt;/span&gt; gaJsHost &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;https:&quot;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;==&lt;/span&gt; document.&lt;span style=&quot;color: #660066;&quot;&gt;location&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;protocol&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;?&lt;/span&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;https://ssl.&quot;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;http://www.&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; document.&lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;unescape&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;%3Cscript src='&quot;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;+&lt;/span&gt; gaJsHost &lt;span style=&quot;color: #339933;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&lt;/&lt;/span&gt;script&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&lt;&lt;/span&gt;script type&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;try&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;var&lt;/span&gt; pageTracker &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; _gat._getTracker&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;UA-XXXXXXX-X&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; pageTracker._initData&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; pageTracker._trackPageview&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&lt;&lt;/span&gt;THELIA_cmdgg type&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;COMMANDE&quot;&lt;/span&gt; ref&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#COMMANDE_REF&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt; &lt;br /&gt; pageTracker._addTrans&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#COMMANDE_REF&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Order ID&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;CHQ&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Affiliation&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#TOTALCMD&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Total&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;19.6&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Tax&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#PORT&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Shipping&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&lt;&lt;/span&gt;THELIA_adresslivraison type&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;ADRESSE&quot;&lt;/span&gt; adresse&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#ADRESSE_ACTIVE&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#VILLE&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// City&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;n/a&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// State &lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&lt;&lt;/span&gt;THELIA_pays type&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;PAYS&quot;&lt;/span&gt; id&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#PAYS&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#TITRE&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&lt;/&lt;/span&gt;THELIA_pays&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Country&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&lt;/&lt;/span&gt;THELIA_adresslivraison&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; &lt;br /&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&lt;&lt;/span&gt;THELIA_item type&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;VENTEPROD&quot;&lt;/span&gt; commande&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#ID&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;br /&gt; pageTracker._addItem&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#COMMANDE_REF&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Order ID &lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#REF&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// SKU&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#TITRE&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Product Name&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;boutique&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Category&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#PRIXU&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Price&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#QUANTITE&quot;&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Quantity&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&lt;/&lt;/span&gt;THELIA_item&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;br /&gt; pageTracker._trackTrans&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; &lt;br /&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&lt;/&lt;/span&gt;THELIA_cmdgg&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;catch&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;err&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&lt;/&lt;/span&gt;script&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://www.aternatik.org/local/cache-code/a1446cc5a8c019f65e9aad9f0c63a171.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Ce code javascript contient les boucles n&#233;cessaires et un peu de PHP pour recueillir les donn&#233;es demand&#233;es par Google Analytics.&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;Version SPIP / Thelia&lt;/h3&gt;
&lt;p&gt;La m&#234;me fonction adapt&#233; pour l'utilisation du plugin THELIA :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_javascript code&quot;&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&lt;&lt;/span&gt;script type&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;var&lt;/span&gt; gaJsHost &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;https:&quot;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;==&lt;/span&gt; document.&lt;span style=&quot;color: #660066;&quot;&gt;location&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;protocol&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;?&lt;/span&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;https://ssl.&quot;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;http://www.&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; document.&lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;unescape&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;%3Cscript src='&quot;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;+&lt;/span&gt; gaJsHost &lt;span style=&quot;color: #339933;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&lt;/&lt;/span&gt;script&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&lt;&lt;/span&gt;script type&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;try&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;var&lt;/span&gt; pageTracker &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; _gat._getTracker&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;UA-XXXXXXX-X&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; pageTracker._initData&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; pageTracker._trackPageview&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&lt;&lt;/span&gt;THELIA_cmdgg type&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;COMMANDE&quot;&lt;/span&gt; ref&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;THELIA-COMMANDE_REF&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;br /&gt; pageTracker._addTrans&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;THELIA-COMMANDE_REF&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Order ID&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;CHQ&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Affiliation&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;THELIA-TOTALCMD&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Total&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;19.6&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Tax&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;THELIA-PORT&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Shipping&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&lt;&lt;/span&gt;THELIA_adresslivraison type&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;ADRESSE&quot;&lt;/span&gt; adresse&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;THELIA-ADRESSE_ACTIVE&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;THELIA-VILLE&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// City&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// State &lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&lt;&lt;/span&gt;THELIA_pays type&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;PAYS&quot;&lt;/span&gt; id&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;THELIA-PAYS&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;THELIA-TITRE&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&lt;/&lt;/span&gt;THELIA_pays&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Country&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&lt;/&lt;/span&gt;THELIA_adresslivraison&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; &lt;br /&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&lt;&lt;/span&gt;THELIA_item type&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;VENTEPROD&quot;&lt;/span&gt; commande&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;THELIA-ID&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;br /&gt; pageTracker._addItem&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;THELIA-COMMANDE_REF&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Order ID &lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;THELIA-REF&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// SKU&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;THELIA-TITRE&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Product Name&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;boutique&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Category&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;THELIA-PRIXU&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Price&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;THELIA-QUANTITE&quot;&lt;/span&gt; &lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;// Quantity&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&lt;/&lt;/span&gt;THELIA_item&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;br /&gt; pageTracker._trackTrans&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; &lt;br /&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&lt;/&lt;/span&gt;THELIA_cmdgg&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;catch&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;err&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&lt;/&lt;/span&gt;script&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://www.aternatik.org/local/cache-code/88f40edb3d93af2f75f52d2e96cf3706.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
		&lt;hr /&gt;
		&lt;div class='rss_notes'&gt;&lt;p&gt;&lt;!-- htmlA --&gt;[&lt;a href='#nh1' id='nb1' class='spip_note' title='Notes 1' rev='footnote'&gt;1&lt;/a&gt;] &lt;!-- htmlB --&gt;Solution Ecommerce open source&lt;/p&gt;&lt;/div&gt;
		</content:encoded>

	</item>

	<item xml:lang="fr">
		<title>Thelia : voir les meilleures ventes de produits en sql</title>
		<link>http://www.aternatik.org/articles-et-ressources/breve/thelia-voir-les-meilleures-ventes</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/breve/thelia-voir-les-meilleures-ventes</guid>
		<dc:date>2009-12-04T17:16:32Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		
<dc:subject>THELIA</dc:subject>

		<description>Le logiciel ecommerce open source THELIA ne dispose pas (encore) d'outil de reporting ni de de tableau de bord (bien souvent effectu&#233; par un logiciel de comptabilit&#233;) N&#233;anmoins, on peut acc&#233;der aux diff&#233;rentes infos stock&#233;es en base de donn&#233;es et ainsi faire des traitements en sql. Un exemple pour (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/" rel="directory"&gt;Articles et ressources&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/mot/thelia" rel="tag"&gt;THELIA&lt;/a&gt;

		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;Le logiciel ecommerce open source &lt;a href='http://thelia.fr/' class='spip_out' rel='external'&gt;THELIA&lt;/a&gt; ne dispose pas (encore) d'outil de reporting ni de de tableau de bord (bien souvent effectu&#233; par un logiciel de comptabilit&#233;)&lt;/p&gt; &lt;p&gt;N&#233;anmoins, on peut acc&#233;der aux diff&#233;rentes infos stock&#233;es en base de donn&#233;es et ainsi faire des traitements en sql.&lt;/p&gt; &lt;p&gt;Un exemple pour avoir le top vente des produits depuis le lancement du site :&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_mysql code&quot;&gt;&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;SELECT&lt;/span&gt; SUM&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; v.quantite &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; AS qte, v.ref, p.id, pdesc.titre&lt;br /&gt;
&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;FROM&lt;/span&gt; `venteprod` AS v, `produitdesc` AS pdesc, `produit` AS p&lt;br /&gt;
&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;WHERE&lt;/span&gt; pdesc.id &lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt; p.id&lt;br /&gt;
&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;AND&lt;/span&gt; v.ref &lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt; p.ref&lt;br /&gt;
&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;GROUP&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;BY&lt;/span&gt; ref&lt;br /&gt;
&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ORDER&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;BY&lt;/span&gt; qte DESC&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://www.aternatik.org/local/cache-code/cf380167a6b896b27d5a77bf450864c6.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;h3 class=&quot;spip&quot;&gt;Ca mensuel sur l'ann&#233;e&lt;/h3&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt; SELECT sum( v.prixu ) AS value, MONTH( c.datefact ) AS mois, YEAR( c.datefact ) AS annee&lt;br /&gt; FROM venteprod AS v&lt;br /&gt; JOIN commande AS c ON c.id = v.commande&lt;br /&gt; WHERE c.statut = '4'&lt;br /&gt; GROUP BY annee, mois&lt;br /&gt; ORDER BY annee DESC , mois DESC&lt;br /&gt; LIMIT 1 , 12 &lt;/code&gt;&lt;/div&gt;&lt;/div&gt;
		
		</content:encoded>

	</item>

	<item xml:lang="fr">
		<title>Convertir des fichiers eps en jpg </title>
		<link>http://www.aternatik.org/articles-et-ressources/Convertir-des-fichiers-eps-en-jpg</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/Convertir-des-fichiers-eps-en-jpg</guid>
		<dc:date>2009-07-23T11:08:53Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		

		<description>Une s&#233;rie d'image au format eps &#224; convertir en jpeg ? Une ligne de commande suffit : find ./repdesimages -iname *.eps -exec convert &quot;&quot; &quot;.jpg&quot; \; Param&#232;tres suppl&#233;mentaires : -density 72 : indique la r&#233;solution de l'image de sortie (72dpi pour du web) -size 300 : (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/" rel="directory"&gt;Articles et ressources&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;Une s&#233;rie d'image au format eps &#224; convertir en jpeg ? Une ligne de commande suffit :&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_bash code&quot;&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;find&lt;/span&gt; .&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;repdesimages &lt;span style=&quot;color: #660033;&quot;&gt;-iname&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;*&lt;/span&gt;.eps &lt;span style=&quot;color: #660033;&quot;&gt;-exec&lt;/span&gt; convert &lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;{}&quot;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;{}.jpg&quot;&lt;/span&gt; \;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Param&#232;tres suppl&#233;mentaires :&lt;/strong&gt;&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; -density 72 : indique la r&#233;solution de l'image de sortie (72dpi pour du web)&lt;/li&gt;&lt;li&gt; -size 300 : redimensionner les images &#224; 300px de large&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
		
		</content:encoded>

	</item>

	<item xml:lang="fr">
		<title>Dolibarr : Sauvegarder les donn&#233;es</title>
		<link>http://www.aternatik.org/articles-et-ressources/Dolibarr-Sauvegarder-les-donnees</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/Dolibarr-Sauvegarder-les-donnees</guid>
		<dc:date>2009-05-08T08:27:24Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		

		<description>Accueil -&gt; Outils syst&#232;me -&gt; Sauvegarde V&#233;rifier les options : et cliquer sur g&#233;n&#233;rer la sauvegarde. Il faut ensuite sauvegarder le fichier g&#233;n&#233;r&#233; dans un r&#233;pertoire s&#251;r... La base de donn&#233;es est sauvegard&#233;es, il sera possibla par la suite de la (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/" rel="directory"&gt;Articles et ressources&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;Accueil -&gt; Outils syst&#232;me -&gt; Sauvegarde&lt;/p&gt; &lt;p&gt;V&#233;rifier les options :&lt;/p&gt; &lt;p&gt;&lt;!-- htmlA --&gt;&lt;span class='spip_document_50 spip_documents spip_documents_center'&gt;
&lt;img src='http://www.aternatik.org/IMG/jpg/backup_dolibarr.jpg' width=&quot;870&quot; height=&quot;611&quot; alt=&quot;&quot; /&gt;&lt;/span&gt;&lt;!-- htmlB --&gt;&lt;/p&gt; &lt;p&gt;et cliquer sur g&#233;n&#233;rer la sauvegarde. Il faut ensuite sauvegarder le fichier g&#233;n&#233;r&#233; dans un r&#233;pertoire s&#251;r...&lt;/p&gt; &lt;p&gt;La base de donn&#233;es est sauvegard&#233;es, il sera possibla par la suite de la r&#233;importer.&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>

	</item>

	<item xml:lang="fr">
		<title>Asterisk et vserver</title>
		<link>http://www.aternatik.org/articles-et-ressources/Asterisk-et-vserver</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/Asterisk-et-vserver</guid>
		<dc:date>2008-08-07T23:13:02Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		
<dc:subject>Asterisk</dc:subject>
<dc:subject>vserver</dc:subject>

		<description>Installer Asterisk dans un vserver (server virtuel) offre beaucoup d'avantage (s&#233;curit&#233;, ind&#233;pendance dans la configuration, etc...) mais demande un peu d'attention pour fonctionner correctement. Probl&#232;me rencontr&#233;s Erreur lors du lancement d'asterisk : Starting asterisk : Cannot find your TTY (9) (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/" rel="directory"&gt;Articles et ressources&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/Asterisk" rel="tag"&gt;Asterisk&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/vserver" rel="tag"&gt;vserver&lt;/a&gt;

		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;Installer Asterisk dans un vserver (server virtuel) offre beaucoup d'avantage (s&#233;curit&#233;, ind&#233;pendance dans la configuration, etc...) mais demande un peu d'attention pour fonctionner correctement.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Probl&#232;me rencontr&#233;s&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Erreur lors du lancement d'asterisk :&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;Starting asterisk: Cannot find your TTY (9)&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Dans le fichier /usr/sbin/safe_asterisk : commenter la ligne &lt;strong&gt;TTY=9&lt;/strong&gt;&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;Unable to set high priority&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Deux solutions :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; ajouter CAP_SYS_NICE au vserver &lt;/li&gt;&lt;li&gt; ne pas d&#233;marrer asterisk en priorit&#233; haute : dans le fichier /etc/default/asterisk d&#233;commenter et &#233;diter ce param&#232;tres : PARAMS=&quot;-p&quot;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Dans le fichier /etc/asterisk/h323.conf, sp&#233;cifier l'adresse du vserver :&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;[general]&lt;br /&gt; port = 1720&lt;br /&gt; bindaddr = 192.168.28.124&lt;/code&gt;&lt;/div&gt;
&lt;h3 class=&quot;spip&quot;&gt;S&#233;curisation du vserver&lt;/h3&gt;
&lt;p&gt;Cette page contient pas mal d'infos pour utiliser Asterisk install&#233; sur un serveur virtuel vserver.
Un script permet de configurer un syst&#232;me sp&#233;cialement pour asterisk : &lt;a href='http://www.telephreak.org/papers/vpa/' class='spip_out' rel='external'&gt;http://www.telephreak.org/papers/vpa/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>

	</item>

	<item xml:lang="fr">
		<title>V&#233;rifier un num&#233;ro de t&#233;l&#233;phone en PHP</title>
		<link>http://www.aternatik.org/articles-et-ressources/Verifier-un-numero-de-telephone-en</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/Verifier-un-numero-de-telephone-en</guid>
		<dc:date>2008-06-01T16:03:08Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		
<dc:subject>Internet</dc:subject>

		<description>Cette fonction permet de v&#233;rifier un num&#233;ro de t&#233;l&#233;phone que ce soit un num&#233;ro de t&#233;l&#233;phone fixe (0...) ou un num&#233;ro gsm (06...) Le traitement du num&#233;ro est fait avec la fonction preg_match() // V&#233;rifie un num&#233;ro de t&#233;l&#233;phone function checkTel($type=&quot;tous&quot;,$str) // on cherche si le num&#233;ro est bien un (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/" rel="directory"&gt;Articles et ressources&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/Internet" rel="tag"&gt;Internet&lt;/a&gt;

		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;Cette fonction permet de v&#233;rifier un num&#233;ro de t&#233;l&#233;phone que ce soit un num&#233;ro de t&#233;l&#233;phone fixe (0...) ou un num&#233;ro gsm (06...)&lt;/p&gt; &lt;p&gt;Le traitement du num&#233;ro est fait avec la fonction &lt;a href='http://www.php.net/manual/fr/function.preg-match.php' class='spip_out' rel='external'&gt;preg_match()&lt;/a&gt;&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_php code&quot;&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// V&#233;rifie un num&#233;ro de t&#233;l&#233;phone&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;function&lt;/span&gt; checkTel&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$type&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&quot;tous&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$str&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// on cherche si le num&#233;ro est bien un portable pour confirmation sms&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$type&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;==&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&quot;gsm&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;!&lt;/span&gt;&lt;a href=&quot;http://www.php.net/preg_match&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;preg_match&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&quot;#06&lt;span style=&quot;color: #000099; font-weight: bold;&quot;&gt;\d&lt;/span&gt;{7,9}#&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$str&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;br /&gt; &lt;a href=&quot;http://www.php.net/echo&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;&quot;Confirmation SMS indisponible pour ce num&#233;ro : &quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$str&lt;/span&gt;;&lt;br /&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$sms&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;false&lt;/span&gt;;&lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;br /&gt; &lt;a href=&quot;http://www.php.net/echo&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$str&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&quot; : Num&#233;ro ok pour la confirmation par SMS ! &quot;&lt;/span&gt;;&lt;br /&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$sms&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;true&lt;/span&gt;;&lt;br /&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;true&lt;/span&gt;;&lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;!&lt;/span&gt;&lt;a href=&quot;http://www.php.net/preg_match&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;preg_match&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&quot;#0&lt;span style=&quot;color: #000099; font-weight: bold;&quot;&gt;\d&lt;/span&gt;{8,9}#&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$str&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;br /&gt; &lt;a href=&quot;http://www.php.net/echo&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;&quot;Le num&#233;ro doit commencer par un 0 et &#234;tre compos&#233; de 10 chiffres.&quot;&lt;/span&gt;;&lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;br /&gt; &lt;a href=&quot;http://www.php.net/echo&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;&quot;Num&#233;ro valide : &quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$str&lt;/span&gt;;&lt;br /&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;true&lt;/span&gt;;&lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;false&lt;/span&gt;;&lt;br /&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://www.aternatik.org/local/cache-code/0df7f7969d53016dddea132138131b02.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Exemple d'emploi pour v&#233;rifier le num&#233;ro d'un t&#233;l&#233;phone portable :&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_php code&quot;&gt;checkTel&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&quot;gsm&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&quot;0623456789&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
		
		</content:encoded>

	</item>

	<item xml:lang="fr">
		<title>Remplacer des mots dans une arborescence</title>
		<link>http://www.aternatik.org/articles-et-ressources/Remplacer-des-mots-dans-une</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/Remplacer-des-mots-dans-une</guid>
		<dc:date>2008-05-09T23:38:46Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		
<dc:subject>Console</dc:subject>
<dc:subject>Shell</dc:subject>

		<description>Des chemins en dur dans des centaines de fichiers identiques ? (ici des .htaccess) Voila un script surement utile&#8230; #!/bin/bash # Usage : replace-arbo.sh AREMPLACER REMPLACEMENT # On remplace AREMPLACER par REMPLACEMENT dans les fichiers .htaccess for i in `find . -name (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/" rel="directory"&gt;Articles et ressources&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/Console" rel="tag"&gt;Console&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/Shell" rel="tag"&gt;Shell&lt;/a&gt;

		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;Des chemins en dur dans des centaines de fichiers identiques ? (ici des .htaccess) Voila un script surement utile&#8230;&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_bash code&quot;&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;#!/bin/bash&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# Usage : replace-arbo.sh AREMPLACER REMPLACEMENT &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# On remplace AREMPLACER par REMPLACEMENT dans les fichiers .htaccess&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; i &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;in&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;`&lt;/span&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;find&lt;/span&gt; . &lt;span style=&quot;color: #660033;&quot;&gt;-name&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;.htaccess&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;`&lt;/span&gt;;&lt;br /&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;do&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sed&lt;/span&gt; s&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;$&lt;span style=&quot;color: #000000;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;$&lt;span style=&quot;color: #000000;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;g &lt;span style=&quot;color: #007800;&quot;&gt;$i&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&gt;&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;$i&lt;/span&gt;.tmp;&lt;br /&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;rm&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;$i&lt;/span&gt;; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;mv&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;$i&lt;/span&gt;.tmp &lt;span style=&quot;color: #007800;&quot;&gt;$i&lt;/span&gt;;&lt;br /&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;done&lt;/span&gt;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://www.aternatik.org/local/cache-code/b6150975bea6ca356736efa07ac767eb.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;A adapter bien s&#251;r &#224; votre configuration et sans aucune garantie de fonctionnement ^^&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>

	</item>

	<item xml:lang="fr">
		<title>Supprimer dernier caract&#232;re d'une chaine</title>
		<link>http://www.aternatik.org/articles-et-ressources/Supprimer-dernier-caractere-d-une</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/Supprimer-dernier-caractere-d-une</guid>
		<dc:date>2008-04-17T11:46:25Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		
<dc:subject>Console</dc:subject>
<dc:subject>Syst&#232;me</dc:subject>

		<description>Juste pour m&#233;moire ! echo &quot;truc&quot; | sed 's/.\1\$//g'

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/" rel="directory"&gt;Articles et ressources&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/Console" rel="tag"&gt;Console&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/Systeme" rel="tag"&gt;Syst&#232;me&lt;/a&gt;

		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;Juste pour m&#233;moire !&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;echo &quot;truc&quot; | sed 's/.\{1\}$//g'&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;
		
		</content:encoded>

	</item>

	<item xml:lang="fr">
		<title>Variables de configuration SAMBA</title>
		<link>http://www.aternatik.org/articles-et-ressources/Variables-de-configuration-SAMBA</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/Variables-de-configuration-SAMBA</guid>
		<dc:date>2008-03-26T16:34:48Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		
<dc:subject>Serveur</dc:subject>
<dc:subject>Debian</dc:subject>

		<description>Liste des variables qui peuvent &#234;tre utilis&#233;es dans le fichier /etc/samba/smb.conf pour param&#233;trer un serveur de fichier SAMBA : %u. Nom d'utilisateur pour le service courant. %g. Nom du groupe primaire de l'utilisateur %u. %U. Nom d'utilisateur pour le service courant. Ceci est le nom demand&#233; (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/" rel="directory"&gt;Articles et ressources&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/Serveur" rel="tag"&gt;Serveur&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/Debian" rel="tag"&gt;Debian&lt;/a&gt;

		</description>


 <content:encoded>&lt;img class='spip_logos' alt=&quot;&quot; align=&quot;right&quot; src=&quot;http://www.aternatik.org/local/cache-vignettes/L150xH76/breveon31-d2bdc.jpg&quot; width='150' height='76' style='height:76px;width:150px;' /&gt;
		&lt;div class='rss_texte'&gt;&lt;p&gt;Liste des variables qui peuvent &#234;tre utilis&#233;es dans le fichier /etc/samba/smb.conf pour param&#233;trer un serveur de fichier SAMBA :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; %u. Nom d'utilisateur pour le service courant.&lt;/li&gt;&lt;li&gt; %g. Nom du groupe primaire de l'utilisateur %u.&lt;/li&gt;&lt;li&gt; %U. Nom d'utilisateur pour le service courant. Ceci est le nom demand&#233; par l'utilisateur, pas forcement le nom utilis&#233; par Samba (cf. mappage sur autre utilisateur)&lt;/li&gt;&lt;li&gt; %G. Nom du groupe primaire de l'utilisateur %U.&lt;/li&gt;&lt;li&gt; %H. R&#233;pertoire personnel (home) de %u.&lt;/li&gt;&lt;li&gt; %v. Version de Samba.&lt;/li&gt;&lt;li&gt; %S. Le nom du service courant (par exemple le nom du partage).&lt;/li&gt;&lt;li&gt; %P. Le r&#233;pertoire principal du service courant.&lt;/li&gt;&lt;li&gt; %h. Le nom Internet de la machine (hostname) sur laquelle tourne Samba.&lt;/li&gt;&lt;li&gt; %m. Le nom Netbios de la machine cliente.&lt;/li&gt;&lt;li&gt; %L. Le nom Netbios du serveur Samba. C'est le nom utilis&#233; par le client, peut &#234;tre utile pour diff&#233;rencier le comportement de Samba avec plusieurs noms Netbios.&lt;/li&gt;&lt;li&gt; %R. Niveau de protocole utilis&#233; (CORE, COREPLUS, LANMAN1, LANMAN2 ou NT1).&lt;/li&gt;&lt;li&gt; %d. Num&#233;ro de process du processus serveur courant.&lt;/li&gt;&lt;li&gt; %a. Architecture du syst&#232;me client. Reconnait actuellement Samba, WfWg, WinNT et Win95. Le reste renvoie UNKOWN&lt;/li&gt;&lt;li&gt; %I. Adresse IP de la machine cliente&lt;/li&gt;&lt;li&gt; %T. La date et l'heure courante&lt;/li&gt;&lt;li&gt; %$(envar). La valeur de la variable d'environnement envar.&lt;/li&gt;&lt;li&gt; %N. (? ??) Nom du serveur h&#233;bergeant le r&#233;pertoire personnel (home) NIS.&lt;/li&gt;&lt;li&gt; %p. (? ??) Chemin du r&#233;pertoire personnel NIS, obtenu &#224; partir de l'entr&#233;e NIS auto.map.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
		
		</content:encoded>

	</item>

	<item xml:lang="fr">
		<title>R&#233;-indexer une base LDAP</title>
		<link>http://www.aternatik.org/articles-et-ressources/Re-indexer-une-base-LDAP</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/Re-indexer-une-base-LDAP</guid>
		<dc:date>2007-09-18T15:25:19Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		
<dc:subject>Shell</dc:subject>
<dc:subject>Ldap</dc:subject>

		<description>Les index LDAP doivent &#234;tre indiqu&#233;s avant le premier lancement du serveur LDAP. Pour r&#233;-indexer la base, il faut lancer la commande slapindex ap&#232;s avoir supprimer les fichiers d'index. Ces fichiers ont comme extension .bdb et poss&#232;dent le m&#234;me nom que l'attribut ind&#233;x&#233;s. Exemple : # Arreter le (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/" rel="directory"&gt;Articles et ressources&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/Shell" rel="tag"&gt;Shell&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/Ldap" rel="tag"&gt;Ldap&lt;/a&gt;

		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;Les index LDAP doivent &#234;tre indiqu&#233;s avant le premier lancement du serveur LDAP.&lt;/p&gt; &lt;p&gt;Pour r&#233;-indexer la base, il faut lancer la commande slapindex ap&#232;s avoir supprimer les fichiers d'index. Ces fichiers ont comme extension .bdb et poss&#232;dent le m&#234;me nom que l'attribut ind&#233;x&#233;s. Exemple :&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;# Arreter le serveur !&lt;br /&gt; ldap:/# /etc/init.d/slapd stop&lt;br /&gt; &lt;br /&gt; ldap:/# ls -l /var/lib/ldap&lt;br /&gt; -rw------- 1 openldap openldap 1343488 2007-09-18 16:49 objectClass.bdb&lt;br /&gt; -rw------- 1 openldap openldap 208896 2007-09-18 16:49 uid.bdb&lt;br /&gt; -rw------- 1 openldap openldap 139264 2007-09-18 16:49 uidNumber.bdb&lt;br /&gt; &lt;br /&gt; # Effacer les fichiers d'index&lt;br /&gt; ldap:/# rm objectClass.bdb uid.bdb uidNumber.bdb&lt;br /&gt; &lt;br /&gt; # Reconstruire les index&lt;br /&gt; ldap:/# slapindex -f /etc/ldap/slapd.conf&lt;br /&gt; &lt;br /&gt; # Red&#233;marrage du serveur&lt;br /&gt; /etc/init.d/slapd start&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;
		
		</content:encoded>

	</item>

	<item xml:lang="fr">
		<title>Supprimer les espaces dans les nom de fichier</title>
		<link>http://www.aternatik.org/articles-et-ressources/Supprimer-les-espaces-dans-les-nom</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/Supprimer-les-espaces-dans-les-nom</guid>
		<dc:date>2007-09-06T21:17:20Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		
<dc:subject>Shell</dc:subject>
<dc:subject>Serveur</dc:subject>

		<description>Utile quand on rassemble beaucoup de fichiers qui ont des noms &quot;exotiques&quot;. Les espaces sont souvent pas tr&#232;s bien accept&#233;s sur les serveurs web et ftp... Une ligne de commande permet de gommer rapidement ce petit inconv&#233;nient : rename 's//_/g' * Remplace les espaces par _ [underscore] dans les (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/" rel="directory"&gt;Articles et ressources&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/Shell" rel="tag"&gt;Shell&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/Serveur" rel="tag"&gt;Serveur&lt;/a&gt;

		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;Utile quand on rassemble beaucoup de fichiers qui ont des noms &quot;exotiques&quot;. Les espaces sont souvent pas tr&#232;s bien accept&#233;s sur les serveurs web et ftp...&lt;/p&gt; &lt;p&gt;Une ligne de commande permet de gommer rapidement ce petit inconv&#233;nient :&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;rename 's/[[:blank:]]/_/g' *&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Remplace les espaces par _ [underscore] dans les noms de fichiers&lt;/p&gt; &lt;p&gt;&lt;a href='http://www.lea-linux.org/cached/index/Trucs:Supprimer_les_espaces_dans_un_nom_de_fichier.html' class='spip_out' rel='external'&gt;Merci L&#233;a&lt;/a&gt; &lt;img alt=&quot;;)&quot; title=&quot;;)&quot; class=&quot;no_image_filtrer format_png&quot; src=&quot;http://aternatik.org/plugins/couteau_suisse/img/smileys/clin_d-oeil.png&quot; width=&quot;19&quot; height=&quot;19&quot;/&gt;&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>

	</item>

	<item xml:lang="fr">
		<title>Cr&#233;er un patch avec diff</title>
		<link>http://www.aternatik.org/articles-et-ressources/Creer-un-patch-avec-diff</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/Creer-un-patch-avec-diff</guid>
		<dc:date>2007-08-16T15:05:19Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		
<dc:subject>Shell</dc:subject>
<dc:subject>Syst&#232;me</dc:subject>
<dc:subject>Debian</dc:subject>

		<description>Il est parfois n&#233;cessaire de faire des modifs dans le code source d'un programme (pour peu qu'il soit libre ). Pour &#233;viter de s'y perdre et permettre l'application facile de ces modifications une prochaine fois (ou pour d'autres personnes), il est de bon usage de faire un patch. Pour ce faire, on va (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/" rel="directory"&gt;Articles et ressources&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/Shell" rel="tag"&gt;Shell&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/Systeme" rel="tag"&gt;Syst&#232;me&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/Debian" rel="tag"&gt;Debian&lt;/a&gt;

		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;Il est parfois n&#233;cessaire de faire des modifs dans le code source d'un programme (pour peu qu'il soit libre &lt;img alt=&quot;;)&quot; title=&quot;;)&quot; class=&quot;no_image_filtrer format_png&quot; src=&quot;http://aternatik.org/plugins/couteau_suisse/img/smileys/clin_d-oeil.png&quot; width=&quot;19&quot; height=&quot;19&quot;/&gt; ).
Pour &#233;viter de s'y perdre et permettre l'application facile de ces modifications une prochaine fois (ou pour d'autres personnes), il est de bon usage de faire un patch. Pour ce faire, on va utiliser la commande diff qui va comparer les deux fichiers (l'original et celui modifi&#233;) et cr&#233;er ce fichier r&#233;utilisable pour l'appliquer ensuite avec la commande patch.&lt;/p&gt; &lt;p&gt;Un exemple avec suexec, un module apache.&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; Le fichier source (non modifi&#233;) se nomme suexec.c.ori&lt;/li&gt;&lt;li&gt; Le fichier modifi&#233; est suexec.c&lt;/li&gt;&lt;/ul&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;diff -u suexec.c.ori suexec.c &gt; patch.diff&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Ce qui va produire un fichier patch.diff :&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;@@ -579,7 +579,8 @@&lt;br /&gt; * Otherwise, she won't find any error in the logs except for&lt;br /&gt; * &quot;[error] Premature end of script headers: ...&quot;&lt;br /&gt; */&lt;br /&gt;
- if (!(prg_info.st_mode &amp; S_IXUSR)) {&lt;br /&gt;
+/* if (!(prg_info.st_mode &amp; S_IXUSR)) { */&lt;br /&gt;
+if (!(prg_info.st_mode &amp; S_IXUSR) &amp; (strstr(cmd, &quot;.php&quot;) == NULL)) {&lt;br /&gt; log_err(&quot;file has no execute permission: (%s/%s)\n&quot;, cwd, cmd);&lt;br /&gt; exit(121);&lt;br /&gt; }&lt;br /&gt;
@@ -620,7 +621,13 @@&lt;br /&gt; ap_execve(cmd, &amp;argv[3], environ);&lt;br /&gt; }&lt;br /&gt; #else /*NEED_HASHBANG_EMUL*/&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Le fichier indique les num&#233;ros de ligne modifi&#233;s : si des lignes ont &#233;t&#233; supprim&#233;es ou enlev&#233;es.&lt;/p&gt; &lt;p&gt;La commande patch va nous permettre d'appliquer ce patch :&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;patch -p1 &lt; patch.diff&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Entrer le fichier &#224; patcher et apliquer les modifs !&lt;/p&gt; &lt;p&gt;Des liens :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; &lt;a href='http://cabine13.arliguy.net/article.php3?id_article=25' class='spip_out' rel='external'&gt;Commandes diff et patch&lt;/a&gt;&lt;/li&gt;&lt;li&gt; &lt;a href='http://chl.be/glmf/www.linuxmag-france.org/old/lm2/diff.html' class='spip_out' rel='external'&gt;Utiliser diff et patch&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
		
		</content:encoded>

	</item>

	<item xml:lang="fr">
		<title>Erreur XML pour la syndication d'un site spip</title>
		<link>http://www.aternatik.org/articles-et-ressources/Erreur-XML-pour-la-syndication-d</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/Erreur-XML-pour-la-syndication-d</guid>
		<dc:date>2007-08-03T15:31:25Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		
<dc:subject>Internet</dc:subject>
<dc:subject>Spip</dc:subject>

		<description>Dans les fichiers XML, utilis&#233;s pour la syndication d'un SPIP, une erreur de ce type : Erreur d'analyse XML : instruction de traitement XML pas au d&#233;but d'une entit&#233; externe Emplacement : http://www.monsite.org/spip.php?pag... Num&#233;ro de ligne 1, Colonne 2 : (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/" rel="directory"&gt;Articles et ressources&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/Internet" rel="tag"&gt;Internet&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/Spip" rel="tag"&gt;Spip&lt;/a&gt;

		</description>


 <content:encoded>&lt;img class='spip_logos' alt=&quot;&quot; align=&quot;right&quot; src=&quot;http://www.aternatik.org/local/cache-vignettes/L60xH60/breveon27-fb3bf.png&quot; width='60' height='60' style='height:60px;width:60px;' /&gt;
		&lt;div class='rss_texte'&gt;&lt;p&gt;Dans les fichiers XML, utilis&#233;s pour la syndication d'un SPIP, une erreur de ce type :&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;Erreur d'analyse XML : instruction de traitement XML pas au d&#233;but d'une entit&#233; externe&lt;br /&gt; Emplacement : http://www.monsite.org/spip.php?page=backend&lt;br /&gt; Num&#233;ro de ligne 1, Colonne 2 : &lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&gt;&lt;br /&gt; -^&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;La solution au probl&#232;me se trouve sur les forums de SPIP : &#233;diter le fichier de squelette backend.html.
Il faut supprimer un saut de ligne au d&#233;but du fichier : l'ent&#234;te http doit &#234;tre sur la m&#234;me ligne que l'instruction XML :&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;#CACHE{3600}&lt;br /&gt; [(#HTTP_HEADER{Content-type: text/xml[; charset=(#CHARSET)]})]&lt;?xml version=&quot;1.0&quot;[ encoding=&quot;(#CHARSET)&quot;]?&gt;&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Vider le cache et tout fonctionne &lt;img alt=&quot;:)&quot; title=&quot;:)&quot; class=&quot;no_image_filtrer format_png&quot; src=&quot;http://aternatik.org/plugins/couteau_suisse/img/smileys/sourire.png&quot; width=&quot;19&quot; height=&quot;19&quot;/&gt;&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>

	</item>

	<item xml:lang="fr">
		<title>Remplacer du texte avec vi</title>
		<link>http://www.aternatik.org/articles-et-ressources/Remplacer-du-texte-avec-vi</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/Remplacer-du-texte-avec-vi</guid>
		<dc:date>2007-07-10T18:31:31Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		
<dc:subject>Shell</dc:subject>
<dc:subject>Debian</dc:subject>
<dc:subject>Ldap</dc:subject>

		<description>Vi est d&#233;cid&#233;ment tr&#232;s pratique... Je dois modifier des fichiers ldif qui contiennent des donn&#233;es n&#233;cessaire LDAP (c'est un autre sujet ). Le nom de domaine revient souvent... Plut&#244;t que de cliquer, s&#233;lectionner, ctrl+V, les commande de vi sont utiles. Par exemple, cette commande remplace test par (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/" rel="directory"&gt;Articles et ressources&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/Shell" rel="tag"&gt;Shell&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/Debian" rel="tag"&gt;Debian&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/Ldap" rel="tag"&gt;Ldap&lt;/a&gt;

		</description>


 <content:encoded>&lt;img class='spip_logos' alt=&quot;&quot; align=&quot;right&quot; src=&quot;http://www.aternatik.org/local/cache-vignettes/L104xH104/breveon26-6501e.jpg&quot; width='104' height='104' style='height:104px;width:104px;' /&gt;
		&lt;div class='rss_texte'&gt;&lt;p&gt;Vi est d&#233;cid&#233;ment tr&#232;s pratique... Je dois modifier des fichiers ldif qui contiennent des donn&#233;es n&#233;cessaire LDAP (c'est un autre sujet &lt;img alt=&quot;;)&quot; title=&quot;;)&quot; class=&quot;no_image_filtrer format_png&quot; src=&quot;http://aternatik.org/plugins/couteau_suisse/img/smileys/clin_d-oeil.png&quot; width=&quot;19&quot; height=&quot;19&quot;/&gt; ).&lt;/p&gt; &lt;p&gt;Le nom de domaine revient souvent... Plut&#244;t que de cliquer, s&#233;lectionner, ctrl+V, les commande de vi sont utiles.&lt;/p&gt; &lt;p&gt;Par exemple, cette commande remplace test par domaine dans tout le document :&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;:%s/test/domaine/g &lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Celle-ci remplace uniquement dans la ligne courante :&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt; :s/test/domaine/g &lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Quelques liens sur Vi :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; &lt;a href='http://www.linux-france.org/article/appli/vi/' class='spip_out' rel='nofollow external'&gt;http://www.linux-france.org/article...&lt;/a&gt;&lt;/li&gt;&lt;li&gt; Guide de survie sous vi : &lt;a href='http://www.linux-france.org/prj/support/outils/vi.html' class='spip_out' rel='nofollow external'&gt;http://www.linux-france.org/prj/sup...&lt;/a&gt;&lt;/li&gt;&lt;li&gt; Un bon m&#233;mo des commandes : &lt;a href='http://coding.romainl.com/article130.html' class='spip_out' rel='nofollow external'&gt;http://coding.romainl.com/article13...&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
		
		</content:encoded>

	</item>

	<item xml:lang="fr">
		<title>APTonCD - Installation personnalis&#233;e</title>
		<link>http://www.aternatik.org/articles-et-ressources/APTonCD-Installation-personnalisee</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/APTonCD-Installation-personnalisee</guid>
		<dc:date>2007-07-05T12:22:01Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		

		<description>APTonCD permet de sauvegarder les paquets qui sont install&#233;s sur une machine. On peut se cr&#233;er des repository personnalis&#233;s, utiles en cas de restauration. APTonCD permet seulement de sauvegarder les paquets install&#233;s par apt. Les paquets sont copi&#233;s dans le r&#233;pertoire /var/apt/archives. Ils ne sont (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/" rel="directory"&gt;Articles et ressources&lt;/a&gt;


		</description>


 <content:encoded>&lt;img class='spip_logos' alt=&quot;&quot; align=&quot;right&quot; src=&quot;http://www.aternatik.org/local/cache-vignettes/L150xH41/breveon25-d2f80.png&quot; width='150' height='41' style='height:41px;width:150px;' /&gt;
		&lt;div class='rss_texte'&gt;&lt;p&gt;APTonCD permet de sauvegarder les paquets qui sont install&#233;s sur une machine. On peut se cr&#233;er des repository personnalis&#233;s, utiles en cas de restauration. APTonCD permet seulement de sauvegarder les paquets install&#233;s par apt. Les paquets sont copi&#233;s dans le r&#233;pertoire /var/apt/archives. Ils ne sont pas install&#233;s.&lt;/p&gt; &lt;p&gt;Utilisation pour la sauvegarde d'un syst&#232;me en vue d'une nouvelle installation.
Au lieu de faire des images syst&#232;mes (pas toujours les m&#234;mes mod&#232;les de machines), il est possible de sauvegarder les paquets qui sont install&#233;.&lt;/p&gt; &lt;p&gt;&lt;span class='spip_document_33 spip_documents spip_documents_center'&gt;
&lt;a href=&quot;http://aptoncd.sourceforge.net/screenshots/main-restore-big.png&quot; class=&quot;spip_out&quot;&gt;&lt;img src='http://www.aternatik.org/IMG/png/main-restore-thumb.png' width=&quot;182&quot; height=&quot;183&quot; alt=&quot;Screenshot APTonCD&quot; title=&quot;Screenshot APTonCD&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;
Liens&lt;/h3&gt;
&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; &lt;a href='http://jerikojerk.over-blog.net/article-3562015.html' class='spip_out' rel='external'&gt;http://jerikojerk.over-blog.net/article-3562015.html&lt;/a&gt;&lt;/li&gt;&lt;li&gt; &lt;a href='http://doc.ubuntu-fr.org/tutoriel/comment_installer_un_depot_local' class='spip_out' rel='external'&gt;http://doc.ubuntu-fr.org/tutoriel/comment_installer_un_depot_local&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
		
		</content:encoded>

	</item>

	<item xml:lang="fr">
		<title>Messagerie Orange</title>
		<link>http://www.aternatik.org/niouzes/Messagerie-Orange</link>
		<guid isPermaLink="true">http://www.aternatik.org/niouzes/Messagerie-Orange</guid>
		<dc:date>2007-06-28T08:05:48Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		
<dc:subject>Internet</dc:subject>

		<description>Le fournisseur d'acc&#232;s historique a d&#233;cid&#233; de filtrer les ports de ses serveurs de messagerie. Les clients de messageries doivent donc &#234;tre reconfigur&#233;s. Orange a mis en ligne une page expliquent la proc&#233;dure, cf le lien ci-dessous. Orange/Wanadoo &#224; d&#233;cid&#233; de filtrer le port 25 (SMTP) utilis&#233; pour (...)

-
&lt;a href="http://www.aternatik.org/niouzes/" rel="directory"&gt;Niouzes&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/Internet" rel="tag"&gt;Internet&lt;/a&gt;

		</description>


 <content:encoded>&lt;img class='spip_logos' alt=&quot;&quot; align=&quot;right&quot; src=&quot;http://www.aternatik.org/local/cache-vignettes/L150xH150/breveon24-581de.png&quot; width='150' height='150' style='height:150px;width:150px;' /&gt;
		&lt;div class='rss_texte'&gt;&lt;p&gt;Le fournisseur d'acc&#232;s historique a d&#233;cid&#233; de filtrer les ports de ses serveurs de messagerie.&lt;/p&gt; &lt;p&gt;Les clients de messageries doivent donc &#234;tre reconfigur&#233;s. Orange a mis en ligne une page expliquent la proc&#233;dure, cf le lien ci-dessous.&lt;/p&gt; &lt;p&gt;Orange/Wanadoo &#224; d&#233;cid&#233; de filtrer le port 25 (SMTP)
utilis&#233; pour l'envoi d'emails avec votre logiciel de messagerie.&lt;/p&gt; &lt;p&gt;L'objectif d'Orange est de limiter au maximum le nombre de mails de
spam envoy&#233;s par les PC windows infect&#233;s par des virus.&lt;/p&gt; &lt;p&gt;Ce filtrage n'est pas desactivable pour le moment (a la diff&#233;rence de Free qui permet de le d&#233;sactiver).
L'activation de ce filtrage n'est pas encore effective dans toute
la France mais cela devrait etre le cas d'ici le mois d'aout.&lt;/p&gt; &lt;p&gt;Pour envoyer vos mails avec votre logiciel de messagerie, il faut
donc soit utiliser le serveur smtp d'orange (smtp-msa.orange.fr avec identification), soit changer le port smtp dans votre logiciel de messagerie pour un serveur de messagerie autre qu'Orange.&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>

	</item>

	<item xml:lang="fr">
		<title>Activer les logs openLDAP</title>
		<link>http://www.aternatik.org/articles-et-ressources/Activer-les-logs-openLDAP</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/Activer-les-logs-openLDAP</guid>
		<dc:date>2007-06-17T19:26:46Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		
<dc:subject>Syst&#232;me</dc:subject>
<dc:subject>Ldap</dc:subject>

		<description>Par d&#233;faut openLDAP n'est pas tr&#232;s bavard... Et la sortie se des logs se fait dans syslog (/var/log/syslog) Il faut modifier le fichier de config /etc/ldap/slapd.conf pour augmenter le niveau de log et les s&#233;parer dans un fichier /var/log/ldap.log loglevel 256 Puis dans /etc/syslog.conf (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/" rel="directory"&gt;Articles et ressources&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/Systeme" rel="tag"&gt;Syst&#232;me&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/Ldap" rel="tag"&gt;Ldap&lt;/a&gt;

		</description>


 <content:encoded>&lt;img class='spip_logos' alt=&quot;&quot; align=&quot;right&quot; src=&quot;http://www.aternatik.org/local/cache-vignettes/L128xH128/breveon23-eef2c.png&quot; width='128' height='128' style='height:128px;width:128px;' /&gt;
		&lt;div class='rss_texte'&gt;&lt;p&gt;Par d&#233;faut openLDAP n'est pas tr&#232;s bavard... Et la sortie se des logs se fait dans syslog (/var/log/syslog) Il faut modifier le fichier de config /etc/ldap/slapd.conf pour augmenter le niveau de log et les s&#233;parer dans un fichier /var/log/ldap.log&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;loglevel 256&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Puis dans /etc/syslog.conf&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;local4.* /var/log/slapd.log&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Red&#233;marrer le serveur ldap et syslog :&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;/etc/init.d/slapd restart&lt;br /&gt; /etc/init.d/sysklogd restart&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;C'est plus facile de d&#233;terminer la cause d'erreurs maintenant...&lt;/p&gt; &lt;p&gt;Pour les niveau de log, un man slapd.conf peut &#234;tre utile... Mais voici les diff&#233;rents niveaux :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; 1 (0x1 trace) trace function calls&lt;/li&gt;&lt;li&gt; 2 (0x2 packet) debug packet handling&lt;/li&gt;&lt;li&gt; 4 (0x4 args) heavy trace debugging (function args)&lt;/li&gt;&lt;li&gt; 8 (0x8 conns) connection management&lt;/li&gt;&lt;li&gt; 16 (0x10 BER) print out packets sent and received&lt;/li&gt;&lt;li&gt; 32 (0x20 filter) search filter processing - 64 (0x40 config) configuration file processing&lt;/li&gt;&lt;li&gt; 128 (0x80 ACL) access control list processing - 256 (0x100 stats) stats log connections/operations/results&lt;/li&gt;&lt;li&gt; 512 (0x200 stats2) stats log entries sent&lt;/li&gt;&lt;li&gt; 1024 (0x400 shell) print communication with shell backends&lt;/li&gt;&lt;li&gt; 2048 (0x800 parse) entry parsing&lt;/li&gt;&lt;li&gt; 4096 (0x1000 cache) caching (unused)&lt;/li&gt;&lt;li&gt; 8192 (0x2000 index) data indexing (unused)&lt;/li&gt;&lt;li&gt; 16384 (0x4000 sync) LDAPSync replication&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
		
		</content:encoded>

	</item>

	<item xml:lang="fr">
		<title>Planet-Libre</title>
		<link>http://www.aternatik.org/niouzes/Planet-Libre</link>
		<guid isPermaLink="true">http://www.aternatik.org/niouzes/Planet-Libre</guid>
		<dc:date>2007-05-31T20:41:18Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		
<dc:subject>Internet</dc:subject>

		<description>Planet Libre accueille maintenant les articles qui sont mis en ligne sur le site. Un Planet est un logiciel qui regroupe en un site une multitude d'articles publi&#233;s sur d'autres sites internet grace aux flux RSS. Toujours est il que Planet Libre offre 114 sources de contenu (&#224; ce jour). On s'est (...)

-
&lt;a href="http://www.aternatik.org/niouzes/" rel="directory"&gt;Niouzes&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/Internet" rel="tag"&gt;Internet&lt;/a&gt;

		</description>


 <content:encoded>&lt;img class='spip_logos' alt=&quot;&quot; align=&quot;right&quot; src=&quot;http://www.aternatik.org/local/cache-vignettes/L92xH92/breveon22-4f789.png&quot; width='92' height='92' style='height:92px;width:92px;' /&gt;
		&lt;div class='rss_texte'&gt;&lt;p&gt;Planet Libre accueille maintenant les articles qui sont mis en ligne sur le site.&lt;/p&gt; &lt;p&gt;Un Planet est un logiciel qui regroupe en un site une multitude d'articles publi&#233;s sur d'autres sites internet grace aux flux RSS.&lt;/p&gt; &lt;p&gt;Toujours est il que Planet Libre offre 114 sources de contenu (&#224; ce jour). On s'est m&#234;me renseign&#233; il paraitrait que 35000 visiteurs (par mois) cliquent librement &lt;img alt=&quot;:)&quot; title=&quot;:)&quot; class=&quot;no_image_filtrer format_png&quot; src=&quot;http://aternatik.org/plugins/couteau_suisse/img/smileys/sourire.png&quot; width=&quot;19&quot; height=&quot;19&quot;/&gt;&lt;/p&gt; &lt;p&gt;Merci pour l'accueil et longue vie au Planet.&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>

	</item>

	<item xml:lang="fr">
		<title>Modifier la priorit&#233; Debconf</title>
		<link>http://www.aternatik.org/articles-et-ressources/Modifier-la-priorite-Debconf</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/Modifier-la-priorite-Debconf</guid>
		<dc:date>2007-05-29T09:26:26Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		
<dc:subject>Ubuntu</dc:subject>
<dc:subject>Shell</dc:subject>
<dc:subject>Syst&#232;me</dc:subject>
<dc:subject>Debian</dc:subject>

		<description>Debconf est un utilitaire qui pr&#233;configure les paquets logiciels. Il fonctionne avec plusieurs niveaux de priorit&#233;, qui peuvent &#234;tre d&#233;fini : dpkg-reconfigure debconf Priorit&#233; Debconf low : Questions peu importantes dont les valeurs par d&#233;faut suffisent dans la majorit&#233; des cas. medium : (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/" rel="directory"&gt;Articles et ressources&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/Ubuntu" rel="tag"&gt;Ubuntu&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/Shell" rel="tag"&gt;Shell&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/Systeme" rel="tag"&gt;Syst&#232;me&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/Debian" rel="tag"&gt;Debian&lt;/a&gt;

		</description>


 <content:encoded>&lt;img class='spip_logos' alt=&quot;&quot; align=&quot;right&quot; src=&quot;http://www.aternatik.org/local/cache-vignettes/L60xH80/breveon21-8d905.jpg&quot; width='60' height='80' style='height:80px;width:60px;' /&gt;
		&lt;div class='rss_texte'&gt;&lt;p&gt;Debconf est un utilitaire qui pr&#233;configure les paquets logiciels. Il fonctionne avec plusieurs niveaux de priorit&#233;, qui peuvent &#234;tre d&#233;fini :&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;dpkg-reconfigure debconf&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Priorit&#233; Debconf&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; &lt;strong&gt;low&lt;/strong&gt; : Questions peu importantes dont les valeurs par d&#233;faut suffisent dans la majorit&#233; des cas. &lt;/li&gt;&lt;li&gt; &lt;strong&gt;medium&lt;/strong&gt; : Questions normales avec des valeurs par d&#233;faut raisonnables. &lt;/li&gt;&lt;li&gt; &lt;strong&gt;high&lt;/strong&gt; : Questions qui n'ont pas de valeur par d&#233;faut convenable. &lt;/li&gt;&lt;li&gt; &lt;strong&gt;critical&lt;/strong&gt; : Questions que vous avez vraiment besoin de voir (ou autre). Seules les questions avec une priorit&#233; &#233;gale ou sup&#233;rieure &#224; la priorit&#233; que vous avez choisie seront affich&#233;es. &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Debconf se souvient des questions pos&#233;es et les r&#233;utilises &#224; la r&#233;installation d'un paquet. Si on souhaite r&#233;installer un paquet et pouvoir &#224; nouveau, il faut fixer la valeur de la priorit&#233; temporairement en passant l'option &#8212;priority= suivie de la valeur aux commandes dpkg-reconfigure, ou en positionnant la variable d'environnement DEBIAN_PRIORITY.&lt;/p&gt; &lt;dl class='spip_document_23 spip_documents spip_documents_center'&gt;
&lt;dt&gt;&lt;img src='http://www.aternatik.org/IMG/png/debconf.png' width='667' height='466' alt='PNG - 18.7 ko' /&gt;&lt;/dt&gt;
&lt;dt class='crayon document-titre-23 spip_doc_titre' style='width:350px;'&gt;&lt;strong&gt;Priorit&#233;s Debconf&lt;/strong&gt;&lt;/dt&gt;
&lt;dd class='crayon document-descriptif-23 spip_doc_descriptif' style='width:350px;'&gt;Screenshot lors de la configuration de Debconf
&lt;/dd&gt;
&lt;/dl&gt;&lt;/div&gt;
		
		</content:encoded>

	</item>


</channel>

</rss>
