<?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>Croc-Informatique.fr &#187; Astuces</title>
	<atom:link href="http://www.croc-informatique.fr/category/astuces/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.croc-informatique.fr</link>
	<description>Le Blog Note d'Olivier Legras</description>
	<lastBuildDate>Wed, 18 Jan 2012 16:29:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Variables d&#8217;environnement dans Windows 7</title>
		<link>http://www.croc-informatique.fr/2012/01/variables-denvironnement-dans-windows-7/</link>
		<comments>http://www.croc-informatique.fr/2012/01/variables-denvironnement-dans-windows-7/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 09:50:13 +0000</pubDate>
		<dc:creator>Olivier Legras</dc:creator>
				<category><![CDATA[Astuces]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Variables d'environnement]]></category>
		<category><![CDATA[Windows7]]></category>

		<guid isPermaLink="false">http://www.croc-informatique.fr/2012/01/variables-denvironnement-dans-windows-7/</guid>
		<description><![CDATA[Voici la liste des variables d’environnements de Windows 7 : %ALLUSERSPROFILE% –&#62; C:\ProgramData %APPDATA% –&#62;&#160; C:\Utilisateurs\(nomutilisateur}\AppData\Roaming %CommonProgramFiles% –&#62; C:\Program Files\Common Files %COMPUTERNAME% –&#62; {nom ordinateur} %COMSPEC% –&#62; C:\Windows\System32\cmd.exe %HOMEDRIVE% –&#62; C: %HOMEPATH% –&#62; C:\Utilisateurs\{nom utilisateur} %LOCALAPPDATA% –&#62; Utilisateurs\{nomutilisateur}\AppData\Local %PATH% –&#62; C:\Windows\System32\;C:\Windows\;C:\Windows\System32\Wbem %PATHEXT% –&#62; .COM; .EXE; .BAT; .CMD; .VBS; .VBE; .JS ; .WSF; .WSH; .MSC %ProgramData% [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><h4>Voici la liste des variables d’environnements de Windows 7 :</h4>
<p>%ALLUSERSPROFILE% –&gt; C:\ProgramData</p>
<p>%APPDATA% –&gt;&#160; C:\Utilisateurs\<em>(nomutilisateur}</em>\AppData\Roaming</p>
<p>%CommonProgramFiles% –&gt; C:\Program Files\Common Files</p>
<p>%COMPUTERNAME% –&gt; <em>{nom ordinateur}</em></p>
<p>%COMSPEC% –&gt; C:\Windows\System32\cmd.exe</p>
<p>%HOMEDRIVE% –&gt; C:</p>
<p>%HOMEPATH% –&gt; C:\Utilisateurs\<em>{nom utilisateur}</em></p>
<p>%LOCALAPPDATA% –&gt; Utilisateurs\{<em>nomutilisateur}</em>\AppData\Local</p>
<p><span id="more-695"></span></p>
<p>%PATH% –&gt; C:\Windows\System32\;C:\Windows\;C:\Windows\System32\Wbem</p>
<p>%PATHEXT% –&gt; .COM; .EXE; .BAT; .CMD; .VBS; .VBE; .JS ; .WSF; .WSH; .MSC</p>
<p>%ProgramData% –&gt; C:\ProgramData</p>
<p>%PROGRAMFILES% –&gt; Dossier Programmes,&#160; habituellement C:\Program Files </p>
<p>%PROGRAMFILES(x64)% –&gt; Dossier Programmes 64 bits, habituellement C:\Program Files(x64) </p>
<p>%PROMPT% –&gt; Code pour l&#8217;invite de commande en cours. habituellement $P$G </p>
<p>%Public% –&gt; C:\Utilisateurs\Public</p>
<p>%SYSTEMDRIVE% –&gt; Le lecteur ou se trouve Windows, en général le C: </p>
<p>%SYSTEMROOT% –&gt; Le dossier C:\Window</p>
<p>%TEMP% and %TMP% –&gt; C:\Utilisateurs\{<em>nomutilisateur}</em>\AppData\Local\Temp</p>
<p>%USERNAME% –&gt; <em>{nomutilisateur}</em></p>
<p>%USERPROFILE% –&gt; C:\Utilisateurs\<em>{nom utilisateur}</em></p>
<p>%WINDIR% –&gt; C:\Windows</p>
<div class="shr-publisher-695"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.croc-informatique.fr%2F2012%2F01%2Fvariables-denvironnement-dans-windows-7%2F' data-shr_title='Variables+d%26rsquo%3Benvironnement+dans+Windows+7'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.croc-informatique.fr%2F2012%2F01%2Fvariables-denvironnement-dans-windows-7%2F' data-shr_title='Variables+d%26rsquo%3Benvironnement+dans+Windows+7'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.croc-informatique.fr/2012/01/variables-denvironnement-dans-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comment installer flash player en mode offline?</title>
		<link>http://www.croc-informatique.fr/2012/01/comment-installer-flash-player-en-mode-offline/</link>
		<comments>http://www.croc-informatique.fr/2012/01/comment-installer-flash-player-en-mode-offline/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 08:28:10 +0000</pubDate>
		<dc:creator>Olivier Legras</dc:creator>
				<category><![CDATA[Astuces]]></category>
		<category><![CDATA[astuce]]></category>
		<category><![CDATA[flash player]]></category>
		<category><![CDATA[offline]]></category>

		<guid isPermaLink="false">http://www.croc-informatique.fr/2012/01/comment-installer-flash-player-en-mode-offline/</guid>
		<description><![CDATA[Il peut arrivé que flash player ne veuille pas s’installer sur un poste de travail. Pour forcer l’installation, téléchargez la version complète : Windows 32-bit Flash Player pour Internet Explorer Flash Player pour les autres navigateurs Windows 64-bit Flash Player pour Internet Explorer Flash Player pour les autres navigateurs Macintosh Flash Player pour les navigateurs [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Il peut arrivé que flash player ne veuille pas s’installer sur un poste de travail. Pour forcer l’installation, téléchargez la version complète :</p>
<p><strong>Windows 32-bit      <br /></strong></p>
<p><a href="http://fpdownload.macromedia.com/pub/flashplayer/current/licensing/win/install_flash_player_11_active_x_32bit.exe">Flash Player pour Internet Explorer</a></p>
<p><a href="http://fpdownload.macromedia.com/pub/flashplayer/current/licensing/win/install_flash_player_11_plugin_32bit.exe">Flash Player pour les autres navigateurs</a></p>
<p><strong>Windows 64-bit      <br /></strong></p>
<p><a href="http://fpdownload.macromedia.com/pub/flashplayer/current/licensing/win/install_flash_player_11_active_x_64bit.exe">Flash Player pour Internet Explorer</a></p>
<p><span id="more-694"></span></p>
<p><a href="http://fpdownload.macromedia.com/pub/flashplayer/current/licensing/win/install_flash_player_11_plugin_64bit.exe">Flash Player pour les autres navigateurs</a></p>
<p><strong>Macintosh</strong></p>
<p><a href="http://fpdownload.macromedia.com/pub/flashplayer/current/licensing/mac/install_flash_player_11_osx.dmg">Flash Player pour les navigateurs supportés </a></p>
<p><strong>Uninstallers</strong></p>
<p>Windows 32-bit: <a href="http://download.macromedia.com/pub/flashplayer/current/uninstall_flash_player_32bit.exe">http://download.macromedia.com/pub/flashplayer/current/uninstall_flash _player_32bit.exe</a></p>
<p>Windows 64-bit: <a href="http://download.macromedia.com/pub/flashplayer/current/uninstall_flash_player_64bit.exe">http://download.macromedia.com/pub/flashplayer/current/uninstall_flash _player_64bit.exe</a></p>
<p>Uninstallers pour Mac OS peut être trouvé ici :<a href="http://kb2.adobe.com/cps/909/cpsid_90906.html">http://kb2.adobe.com/cps/909/cpsid_90906.html</a></p>
<p>&#160;</p>
<p>Je préconise de lancer le désinstalleur de flashplayer avant l’installation afin d’éviter certains problèmes comme :</p>
<p>- Il existe une version plus récente de flash player</p>
<div class="shr-publisher-694"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.croc-informatique.fr%2F2012%2F01%2Fcomment-installer-flash-player-en-mode-offline%2F' data-shr_title='Comment+installer+flash+player+en+mode+offline%3F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.croc-informatique.fr%2F2012%2F01%2Fcomment-installer-flash-player-en-mode-offline%2F' data-shr_title='Comment+installer+flash+player+en+mode+offline%3F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.croc-informatique.fr/2012/01/comment-installer-flash-player-en-mode-offline/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto &#8211; Nslookup r&#233;solution de nom (DNS)</title>
		<link>http://www.croc-informatique.fr/2011/02/howto-nslookup-rsolution-de-nom-dns/</link>
		<comments>http://www.croc-informatique.fr/2011/02/howto-nslookup-rsolution-de-nom-dns/#comments</comments>
		<pubDate>Tue, 22 Feb 2011 08:09:57 +0000</pubDate>
		<dc:creator>Olivier Legras</dc:creator>
				<category><![CDATA[Astuces]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Outils]]></category>
		<category><![CDATA[Réseau]]></category>
		<category><![CDATA[commande]]></category>
		<category><![CDATA[debuggage]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[outil]]></category>
		<category><![CDATA[résolution]]></category>

		<guid isPermaLink="false">http://www.croc-informatique.fr/2011/02/howto-nslookup-rsolution-de-nom-dns/</guid>
		<description><![CDATA[NSLookup (Name Server Lookup) est une commande permettant de tester la résolution des noms d&#8217;hôtes en adresses IP et inversement. Elle permet un rapide diagnostique des problèmes de résolution DNS. Dans cet article, nous allons voir quelques options utiles de la commande NSLookup. Résoudre un nom de domaine : C:\&#62;nslookup croc-informatique.fr Serveur :&#160;&#160; dns2.proxad.net –&#62; [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>NSLookup (Name Server Lookup) est une commande permettant de tester la résolution des noms d&#8217;hôtes en adresses IP et inversement. Elle permet un rapide diagnostique des problèmes de résolution DNS.</p>
<p>Dans cet article, nous allons voir quelques options utiles de la commande NSLookup.</p>
<h3>Résoudre un nom de domaine :</h3>
<blockquote><p>C:\&gt;nslookup croc-informatique.fr    <br />Serveur :&#160;&#160; dns2.proxad.net –&gt; Serveur DNS utilisé par mon poste de travail     <br />Address:&#160; 212.27.40.241&#160;&#160;&#160;&#160;&#160;&#160; -&gt; IP du serveur DNS </p></blockquote>
<blockquote><p>Réponse ne faisant pas autorité : –&gt; Le Serveur DNS qui répond ne gère pas le domaine croc-informatique      <br />Nom :&#160;&#160;&#160; croc-informatique.fr&#160;&#160;&#160;&#160;&#160;&#160; -&gt; Nom de domaine recherché       <br />Address:&#160; 213.165.76.161&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; -&gt; IP du serveur croc-informatique.fr</p>
<p><span id="more-661"></span></p>
</blockquote>
<p>&#160;</p>
<p>Par défaut la commande nslookup interroge le serveur DNS sur les enregistrements de type A (mappage entre un nom d&#8217;hôte et une adresse IPv4). Il est possible d’interroger le serveur DNS sur divers enregistrement en&#160; utilisant la commande <b>Set type = xx</b> (remplacer xx par l’un des types suivants : MX, NS, A, SOA, CNAME, hinfo, any).</p>
<p>Pour commencer, il faut taper le commande nslookup dans un invite de commande. Un prompt apparaît.</p>
<h3>Interroger un serveur DNS en particulier :</h3>
<p>Utile pour suivre la propagation de vos modifications de zone.</p>
<blockquote><p>&gt; server 194.2.0.20</p>
<p>&gt; croc-informatique.fr</p>
</blockquote>
<h3>Lister les serveurs DNS authauritaire d’un domaine (NS) :</h3>
<p>Le type NS (Name Server) permet d’identifier le ou les Serveurs de noms autoritaire pour un domaine.</p>
<blockquote><p>&gt;set type=NS</p>
<p>&gt;croc-informatique.fr</p>
<p>croc-informatique.fr&#160;&#160;&#160; nameserver = ns61.1and1.fr      <br />croc-informatique.fr&#160;&#160;&#160; nameserver = ns62.1and1.fr </p>
<p>ns61.1and1.fr&#160;&#160; internet address = 195.20.224.158      <br />ns62.1and1.fr&#160;&#160; internet address = 212.227.123.79</p>
</blockquote>
<p>&#160;</p>
<h3>Connaitre l’adresse du serveur de messagerie (ou relais) d’un domaine :</h3>
<blockquote><p>&gt; set type=mx</p>
<p>&gt; croc-informatique.fr</p>
<p>&gt;…</p>
<p>croc-informatique.fr&#160;&#160;&#160; MX preference = 10, mail exchanger = mx00.1and1.fr      <br />croc-informatique.fr&#160;&#160;&#160; MX preference = 10, mail exchanger = mx01.1and1.fr</p>
<p>…</p>
</blockquote>
<p>Les deux relais de messagerie de mon domaine sont donc : </p>
<blockquote><p>mx00.1and1.fr      <br />mx01.1and1.fr</p>
</blockquote>
<h3>Interroger le SOA (<i>Start Of Authority</i>) d’un domaine :</h3>
<p>le champ SOA permet de décrire le serveur de nom ayant autorité sur la zone, ainsi que l&#8217;adresse électronique du contact technique (dont le caractère « @ » est remplacé par un point).</p>
<blockquote><p>&gt; set type=SOA</p>
<p>&gt; croc-informatique.fr      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; primary name server = ns61.1and1.fr       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; responsible mail addr = hostmaster.1and1.fr       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; serial&#160; = 2008111701       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; refresh = 28800 (8 hours)       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; retry&#160;&#160; = 7200 (2 hours)       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; expire&#160; = 604800 (7 days)       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; default TTL = 86400 (1 day)</p>
</blockquote>
<ul>
<li><strong>Primary Name Server : </strong>Zone DNS principale </li>
<li><strong>Responsible mail addr :</strong> Email de contact du responsable de la zone </li>
<li><strong>Serial : </strong>Il s’agit d’un numéro de série qui doit être incrémenté à chaque modification de la zone. Ce numéro est souvent du type : YYYYMMDDnn (Année, mois, jour, version). </li>
<li><strong>Refresh :&#160; T</strong>emps de rafraichissement </li>
<li><strong>Retry : </strong>Temps d’attente avant rafraichissement lorsqu’une tentative a échouée </li>
<li><strong>Expire :</strong> Nombre de seconde avant qu’un serveur secondaire ne considère ses informations de zone comme n’étant plus autoritative. Si la copie que le serveur détient est plus vieille que 28 jours, elle est considérée comme invalide. </li>
<li><strong>Default TTL (Time to live) </strong>=&#160; Espérance de vie. Le TTL permet aux serveurs intermédiaires de connaître la date de péremption des informations et ainsi savoir s&#8217;il est nécessaire ou non de revérifier la zone. </li>
</ul>
<h3>Résolution inverse :</h3>
<blockquote><p>&gt; set type=PTR      <br />&gt; 213.165.76.161       <br />161.76.165.213.in-addr.arpa&#160;&#160;&#160;&#160; name = kundenserver.de</p>
</blockquote>
<h3>Résolution directe (A) :</h3>
<p>il s&#8217;agit du type de base établissant la correspondance entre un nom canonique et une adresse IP. Par ailleurs il peut exister plusieurs enregistrements A, correspondant aux différentes machines du réseau (serveurs).</p>
<blockquote><p>&gt; set type=A      <br />&gt; croc-informatique.fr</p>
<p>Nom :&#160;&#160;&#160; croc-informatique.fr      <br />Address:&#160; 213.165.76.161</p>
</blockquote>
<h3>Résolution d’Alias (CNAME):</h3>
<p>Alias d’un nom de domaine</p>
<blockquote><p>&gt; set type=CNAME</p>
<p>&gt; www.croc-informatique.fr      <br /><strong>croc-informatique.fr        <br /></strong>&#160;&#160;&#160;&#160;&#160;&#160;&#160; primary name server = ns61.1and1.fr       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; …</p>
<p>&#160;</p>
</blockquote>
<h3>Mode debug</h3>
<p>le mode debug permet de suivre les différentes requêtes émises et reçu par votre serveur DNS et ainsi débugger en cas de problème.</p>
<blockquote><p>&gt; set debug</p>
<p>&gt; croc-informatique.fr</p>
</blockquote>
<p>++</p>
<div class="shr-publisher-661"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.croc-informatique.fr%2F2011%2F02%2Fhowto-nslookup-rsolution-de-nom-dns%2F' data-shr_title='Howto+%26ndash%3B+Nslookup+r%26eacute%3Bsolution+de+nom+%28DNS%29'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.croc-informatique.fr%2F2011%2F02%2Fhowto-nslookup-rsolution-de-nom-dns%2F' data-shr_title='Howto+%26ndash%3B+Nslookup+r%26eacute%3Bsolution+de+nom+%28DNS%29'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.croc-informatique.fr/2011/02/howto-nslookup-rsolution-de-nom-dns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mettre son Vsphere client en anglais</title>
		<link>http://www.croc-informatique.fr/2011/01/mettre-son-vsphere-client-en-anglais/</link>
		<comments>http://www.croc-informatique.fr/2011/01/mettre-son-vsphere-client-en-anglais/#comments</comments>
		<pubDate>Wed, 19 Jan 2011 07:42:12 +0000</pubDate>
		<dc:creator>Olivier Legras</dc:creator>
				<category><![CDATA[Astuces]]></category>
		<category><![CDATA[Vmware]]></category>
		<category><![CDATA[anglais]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[français]]></category>
		<category><![CDATA[langue]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://www.croc-informatique.fr/2011/01/mettre-son-vsphere-client-en-anglais/</guid>
		<description><![CDATA[Vmware a décidé de passer au français. C’est très bien. ça prouve qu’ils s’intéressent à nous. Mais pour des raisons de débogage ou d’habitude, il peut-être nécessaire de conserver son Vsphere client en anglais. Pour cela, il suffi de modifier le raccourci de celui-ci en ajoutant &#34;-locale en_US” exemple : &#34;C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe&#34; [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Vmware a décidé de passer au français. C’est très bien. ça prouve qu’ils s’intéressent à nous. Mais pour des raisons de débogage ou d’habitude, il peut-être nécessaire de conserver son Vsphere client en anglais. Pour cela, il suffi de modifier le raccourci de celui-ci en ajoutant &quot;-locale en_US”</p>
<p>exemple :</p>
<blockquote><p>&quot;C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe&quot; -locale en_US</p>
</blockquote>
<div class="shr-publisher-660"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.croc-informatique.fr%2F2011%2F01%2Fmettre-son-vsphere-client-en-anglais%2F' data-shr_title='Mettre+son+Vsphere+client+en+anglais'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.croc-informatique.fr%2F2011%2F01%2Fmettre-son-vsphere-client-en-anglais%2F' data-shr_title='Mettre+son+Vsphere+client+en+anglais'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.croc-informatique.fr/2011/01/mettre-son-vsphere-client-en-anglais/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Nagios] Visualiser la commande exécutée par Nagios</title>
		<link>http://www.croc-informatique.fr/2010/07/nagios-visualiser-la-commande-executee-par-nagios/</link>
		<comments>http://www.croc-informatique.fr/2010/07/nagios-visualiser-la-commande-executee-par-nagios/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 15:38:47 +0000</pubDate>
		<dc:creator>Olivier Legras</dc:creator>
				<category><![CDATA[Astuces]]></category>
		<category><![CDATA[Outils]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[commande]]></category>
		<category><![CDATA[debuggage]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.croc-informatique.fr/?p=609</guid>
		<description><![CDATA[J’ai passé la journée à rechercher pourquoi mon event handler ne voulait pas fonctionner. J’avais l’impression que certaines macros ne fonctionnaient pas. Mais sur Nagios, comment pouvons nous voir la commande qu’il exécute avec les valeurs des arguments? Et bien, la solution est ici : http://www.waggy.at/nagios/capture_plugin.htm Sur ce site, vous allez trouvez un plugin perl [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>J’ai passé la journée à rechercher pourquoi mon event handler ne voulait pas  fonctionner. J’avais l’impression que certaines macros ne fonctionnaient pas.  Mais sur Nagios, comment pouvons nous voir la commande qu’il exécute avec les  valeurs des arguments?</p>
<p>Et bien, la solution est ici : <a title="http://www.waggy.at/nagios/capture_plugin.htm" href="http://www.waggy.at/nagios/capture_plugin.htm">http://www.waggy.at/nagios/capture_plugin.htm</a></p>
<p>Sur ce site, vous allez trouvez un plugin perl qui est téléchargeable ici :  <a title="http://www.waggy.at/nagios/capture_plugin.txt" href="http://www.waggy.at/nagios/capture_plugin.txt">http://www.waggy.at/nagios/capture_plugin.txt</a></p>
<h3></h3>
<p><span id="more-609"></span></p>
<p>&nbsp;
<p />
<h3>Installation et configuration du plugin</h3>
<p>&nbsp;
<p />
Vous pouvez le placer avec vos autres plugins, le renommer en  capture_plugin.pl et lui donner les bons droits.</p>
<p>L’emplacement du fichier log est défini dans cette variable :</p>
<blockquote><p>my $LOG_FILE = &laquo;&nbsp;/tmp/captured-plugins.log&nbsp;&raquo;;</p></blockquote>
<h3></h3>
<p>&nbsp;
<p />
<h3>Utilisation du plugin</h3>
<p>&nbsp;
<p />
Si la commande que vous voulez debugger est la suivante :</p>
<blockquote><p>$USER1$/check_nrpe -H $HOSTADDRESS$ -c restart_service -a $SERVICESTATE$  $SERVICESTATETYPE$ $SERVICEATTEMPT$ &laquo;&nbsp;$ARG1$&nbsp;&raquo;</p></blockquote>
<p>Il vous suffi de la modifier en ajoutant le plugin comme ceci :</p>
<blockquote><p><strong>$USER1$/capture_plugin.pl</strong> $USER1$/check_nrpe -H  $HOSTADDRESS$ -c restart_service -a $SERVICESTATE$ $SERVICESTATETYPE$  $SERVICEATTEMPT$ &laquo;&nbsp;$ARG1$&nbsp;&raquo;</p></blockquote>
<p>Voilà, il ne vous reste plus qu’à tester et vérifier que votre commande est  bien lancée dans le fichier log.</p>
<h3></h3>
<p></p>
<h3>Exemple de fichier log :</h3>
<p>&nbsp;
<p />
Voici un exemple de log :</p>
<blockquote><p>2010-6-21 16:32:29 &#8212;&#8212; debugging<br />
cmd=[/usr/lib/nagios/plugins/check_nrpe '-H' '192.168.0.1' '-c'  'restart_service' '-a' 'OK' 'HARD' '4' 'mon service']<br />
output=[Restarting mon  service (3rd soft critical state)<br />
]<br />
retcode=0</p></blockquote>
<ul>
<li>cmd –&gt; Commande lancée par Nagios</li>
<li>output –&gt; retour de la commande check_nrpe</li>
<li>retcode –&gt; Code retour de la commande check_nrpe</li>
</ul>
<p>Si vous avez d’autres solutions, n’hésitez pas <img src='http://www.croc-informatique.fr/wp-includes/images/smilies/icon_wink.gif' alt="icon wink [Nagios] Visualiser la commande exécutée par Nagios" class='wp-smiley' title="[Nagios] Visualiser la commande exécutée par Nagios" />  J’ai essayé le mode debug,  mais ça n’a pas trop fonctionné. En même temps, j’ai pas cherché beaucoup…</p>
<h3></h3>
<p>&nbsp;
<p />
<h3>Code Sources :</h3>
<p>&nbsp;
<p />
Au cas où, je mets la source :</p>
<blockquote>
<pre>#!/usr/bin/perl -w
#
# Written 2007-03-24 by Wolfgang Wagner (aka wolle)
#
# $id: capture_plugin.pl v1.0
#
# Captures stdout&amp;stderr in a file and returns orginial results to Nagios (http://www.nagios.org)
#
# Copyright 2007 by Wolfgang Wagner. All rights reserved.
#
# This software is licensed under the terms of the GNU General Public License Version 2
# as published by the Free Software Foundation.
# It is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN,
# MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
#
# Check out http://www.waggy.at for possible future versions.
#

use strict;

# This plugin does not need any nagios utils. It just interfaces the original plugin.

my $LOG_FILE = "/tmp/captured-plugins.log";

my ($cmd, $ret_code, $output);
# First display all arguments
my ($numArgs, $argnum);
$numArgs = $#ARGV + 1;

# create the command-line

$cmd = $ARGV[0];
foreach $argnum (1 .. $#ARGV) {
  $cmd = $cmd . " '" . $ARGV[$argnum] . "'"
}

# prepare debug-output
# ($second, $minute, $hour, $dayOfMonth, $month, $yearOffset, $dayOfWeek, $dayOfYear, $daylightSavings) = localtime(time);
my ($second, $minute, $hour, $dayOfMonth, $month, $yearOffset) = localtime(time);
my $year = 1900 + $yearOffset;
my $theTime = " $year-$month-$dayOfMonth $hour:$minute:$second";
# now execute the command

$output = `$cmd 2&gt;&amp;1`;
$ret_code = $?&gt;&gt;8;

# log the start, output, retcode &amp; end

my $LogFile;
# open could be better: check success later; if unsuccessful return UNKNWON to Nagios
open (LogFile, "&gt;&gt;$LOG_FILE") || die ("Cannot open logfile");
print LogFile "$theTime ------ debugging\ncmd=[$cmd]\noutput=[$output]\nretcode=$ret_code\n-------\n";
close(LogFile);
# avoid access problems for others.
chmod 0777, $LOG_FILE;

# now return the original resutlt to Nagios
print $output;
exit "$ret_code";</pre>
</blockquote>
<div class="shr-publisher-609"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.croc-informatique.fr%2F2010%2F07%2Fnagios-visualiser-la-commande-executee-par-nagios%2F' data-shr_title='%5BNagios%5D+Visualiser+la+commande+ex%C3%A9cut%C3%A9e+par+Nagios'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.croc-informatique.fr%2F2010%2F07%2Fnagios-visualiser-la-commande-executee-par-nagios%2F' data-shr_title='%5BNagios%5D+Visualiser+la+commande+ex%C3%A9cut%C3%A9e+par+Nagios'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.croc-informatique.fr/2010/07/nagios-visualiser-la-commande-executee-par-nagios/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>[Bind] configuring key &#8216;ddns_key&#8217;: bad base64 encoding</title>
		<link>http://www.croc-informatique.fr/2010/06/bind-configuring-key-ddns_key-bad-base64-encoding/</link>
		<comments>http://www.croc-informatique.fr/2010/06/bind-configuring-key-ddns_key-bad-base64-encoding/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 08:24:47 +0000</pubDate>
		<dc:creator>Olivier Legras</dc:creator>
				<category><![CDATA[Astuces]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Réseau]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[key]]></category>
		<category><![CDATA[secret]]></category>

		<guid isPermaLink="false">http://www.croc-informatique.fr/2010/06/bind-configuring-key-ddns_key-bad-base64-encoding/</guid>
		<description><![CDATA[Bind ne démarre pas et vous met ce message d’erreur dans /var/log/messages : configuring key 'ddns_key': bad base64 encoding Il vous faut générer une clé à l’aide de la commande : # dns-keygen GbQ4NDzeQGcyOqM3Go2JJt0uwUthUIaE4WQozRVs9qur5aj499sZ8xms5J85 Copier la sortie. Copier son contenu dans la section key ddns_key key ddns_key { &#160;&#160;&#160;&#160;&#160;&#160;&#160; algorithm hmac-md5; &#160;&#160;&#160;&#160;&#160;&#160;&#160; secret &#34;H1Pl33tksEAXbEHq9rEfsVqxS7cCm8ie2W2Aa6UYTIGEGtXuhVFRGaIkjd6B&#34;; };]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Bind ne démarre pas et vous met ce message d’erreur dans /var/log/messages : </p>
<blockquote><p><code>configuring key 'ddns_key': bad base64 encoding</code></p>
</blockquote>
<p>Il vous faut générer une clé à l’aide de la commande :</p>
<blockquote><p># dns-keygen     <br />GbQ4NDzeQGcyOqM3Go2JJt0uwUthUIaE4WQozRVs9qur5aj499sZ8xms5J85</p>
</blockquote>
<p>Copier la sortie.</p>
<p>Copier son contenu dans la section <em>key ddns_key</em></p>
<blockquote><p><span id="more-491"></span></p>
<p>key ddns_key      <br />{       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; algorithm hmac-md5;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; secret &quot;H1Pl33tksEAXbEHq9rEfsVqxS7cCm8ie2W2Aa6UYTIGEGtXuhVFRGaIkjd6B&quot;;       <br />};</p>
</blockquote>
<div class="shr-publisher-491"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.croc-informatique.fr%2F2010%2F06%2Fbind-configuring-key-ddns_key-bad-base64-encoding%2F' data-shr_title='%5BBind%5D+configuring+key+%27ddns_key%27%3A+bad+base64+encoding'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.croc-informatique.fr%2F2010%2F06%2Fbind-configuring-key-ddns_key-bad-base64-encoding%2F' data-shr_title='%5BBind%5D+configuring+key+%27ddns_key%27%3A+bad+base64+encoding'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.croc-informatique.fr/2010/06/bind-configuring-key-ddns_key-bad-base64-encoding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Probl&#232;me de mise &#224; jour IOS Cisco</title>
		<link>http://www.croc-informatique.fr/2010/03/problme-de-mise-jour-ios-cisco/</link>
		<comments>http://www.croc-informatique.fr/2010/03/problme-de-mise-jour-ios-cisco/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 09:49:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Astuces]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Réseau]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[switch]]></category>

		<guid isPermaLink="false">http://www.croc-informatique.fr/2010/03/problme-de-mise-jour-ios-cisco/</guid>
		<description><![CDATA[Si vous avez ce type de message d’erreur “error: Previous upgrade was unsuccessful or aborted. Cleane-up is not done” après une mise à jour d’IOS (en HTTP)&#160; qui n’a pas fonctionnée, il faut supprimer le répertoire update de la flash pour recommencer : delete /force /recursive flash:update Si vous ne s’avez pas pourquoi la mise [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Si vous avez ce type de message d’erreur “error: Previous upgrade was unsuccessful or aborted. Cleane-up is not done” après une mise à jour d’IOS (en HTTP)&#160; qui n’a pas fonctionnée, il faut supprimer le répertoire update de la flash pour recommencer :</p>
<blockquote><p>delete /force /recursive flash:update</p>
</blockquote>
<p>Si vous ne s’avez pas pourquoi la mise à jour a échouée, c’est surement un problème d’espace disque.</p>
<div class="shr-publisher-481"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.croc-informatique.fr%2F2010%2F03%2Fproblme-de-mise-jour-ios-cisco%2F' data-shr_title='Probl%26egrave%3Bme+de+mise+%26agrave%3B+jour+IOS+Cisco'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.croc-informatique.fr%2F2010%2F03%2Fproblme-de-mise-jour-ios-cisco%2F' data-shr_title='Probl%26egrave%3Bme+de+mise+%26agrave%3B+jour+IOS+Cisco'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.croc-informatique.fr/2010/03/problme-de-mise-jour-ios-cisco/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[NFS]&quot;possibly unsupported filesystem or fsid= required&quot;</title>
		<link>http://www.croc-informatique.fr/2010/02/nfspossibly-unsupported-filesystem-or-fsid-required/</link>
		<comments>http://www.croc-informatique.fr/2010/02/nfspossibly-unsupported-filesystem-or-fsid-required/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 15:01:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Astuces]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[erreur]]></category>
		<category><![CDATA[nfs]]></category>

		<guid isPermaLink="false">http://www.croc-informatique.fr/2010/02/nfspossibly-unsupported-filesystem-or-fsid-required/</guid>
		<description><![CDATA[Bon je mets cet article car j’en ai marre d’oublier à quoi correspond cette erreur et je ne trouve jamais la réponse sur le net. &#160; Cette erreur : &#34;possibly unsupported filesystem or fsid= required&#34; arrive quand on partage un répertoire qui est déjà pris sur un autre serveur. NFS Client –&#62; Serveur NFS &#124; [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Bon je mets cet article car j’en ai marre d’oublier à quoi correspond cette erreur et je ne trouve jamais la réponse sur le net.</p>
<p>&#160;</p>
<p>Cette erreur : &quot;possibly unsupported filesystem or fsid= required&quot; arrive quand on partage un répertoire qui est déjà pris sur un autre serveur.</p>
<p>NFS Client –&gt; Serveur NFS | NFS Client –&gt; Serveur NFS</p>
<p>&#160;</p>
<p>  <span id="more-472"></span></p>
<p>Bon de toute façon ça ne marche pas…. Grrr</p>
<div class="shr-publisher-472"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.croc-informatique.fr%2F2010%2F02%2Fnfspossibly-unsupported-filesystem-or-fsid-required%2F' data-shr_title='%5BNFS%5D%26quot%3Bpossibly+unsupported+filesystem+or+fsid%3D+required%26quot%3B'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.croc-informatique.fr%2F2010%2F02%2Fnfspossibly-unsupported-filesystem-or-fsid-required%2F' data-shr_title='%5BNFS%5D%26quot%3Bpossibly+unsupported+filesystem+or+fsid%3D+required%26quot%3B'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.croc-informatique.fr/2010/02/nfspossibly-unsupported-filesystem-or-fsid-required/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Afficher un fichier de configuration sans les commentaires</title>
		<link>http://www.croc-informatique.fr/2009/12/afficher-un-fichier-de-configuration-sans-les-commentaires/</link>
		<comments>http://www.croc-informatique.fr/2009/12/afficher-un-fichier-de-configuration-sans-les-commentaires/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 13:15:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Astuces]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[conf]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[fichier]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[sed]]></category>

		<guid isPermaLink="false">http://www.croc-informatique.fr/2009/12/afficher-un-fichier-de-configuration-sans-les-commentaires/</guid>
		<description><![CDATA[Pour y voir plus claire, il est parfois nécessaire de voir seulement ce qui est activé dans les fichiers de configuration. Pour cela, je vous propose plusieurs commandes : Grep : grep -E -v &#8216;^(#&#124;$)&#8217; /etc/httpd/conf/httpd.conf egrep -v &#8216;^(#&#124;$)&#8217;&#160; /etc/httpd/conf/httpd.conf &#160; On peut ajouter des délimiteurs de cette manière : grep -E -v '^(#&#124;;&#124;$&#124;[ ]*#)' [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Pour y voir plus claire, il est parfois nécessaire de voir seulement ce qui est activé dans les fichiers de configuration. Pour cela, je vous propose plusieurs commandes :</p>
<p>Grep :</p>
<blockquote><p>grep -E -v &#8216;^(#|$)&#8217; /etc/httpd/conf/httpd.conf</p>
<p>egrep -v &#8216;^(#|$)&#8217;&#160; /etc/httpd/conf/httpd.conf</p>
</blockquote>
<p>&#160;</p>
<p>On peut ajouter des délimiteurs de cette manière :</p>
<blockquote><pre>grep -E -v '^(#|;|$|[ ]*#)' /etc/httpd/conf/httpd.conf</pre>
<p><span id="more-469"></span></p>
</blockquote>
<p>&#160;</p>
<p>Sed :</p>
<blockquote>
<pre>sed -e '/^[ ]*#/d' -e '/^$/d' /etc/httpd/conf/httpd.conf</pre>
</blockquote>
<p>On peut ajouter des délimiteurs :</p>
<blockquote>
<pre>sed -e '/^[ ]*#/d' -e '/^[ ]*;/d' -e '/^$/d' /etc/httpd/conf/httpd.conf</pre>
</blockquote>
<p>Perl :</p>
<blockquote>
<pre>perl -ne 'print unless /^\s*[;\$#]|^$/' /etc/httpd/conf/httpd.conf</pre>
</blockquote>
<div class="shr-publisher-469"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.croc-informatique.fr%2F2009%2F12%2Fafficher-un-fichier-de-configuration-sans-les-commentaires%2F' data-shr_title='Afficher+un+fichier+de+configuration+sans+les+commentaires'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.croc-informatique.fr%2F2009%2F12%2Fafficher-un-fichier-de-configuration-sans-les-commentaires%2F' data-shr_title='Afficher+un+fichier+de+configuration+sans+les+commentaires'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.croc-informatique.fr/2009/12/afficher-un-fichier-de-configuration-sans-les-commentaires/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Activer le mode ssh sur ESXI 3.5</title>
		<link>http://www.croc-informatique.fr/2009/09/activer-le-mode-ssh-sur-esxi-3-5/</link>
		<comments>http://www.croc-informatique.fr/2009/09/activer-le-mode-ssh-sur-esxi-3-5/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 17:59:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Astuces]]></category>
		<category><![CDATA[Vmware]]></category>

		<guid isPermaLink="false">http://www.croc-informatique.fr/2009/09/activer-le-mode-ssh-sur-esxi-3-5/</guid>
		<description><![CDATA[Sur la console ESXi, presser ALT+F1 pour accéder au mode console Taper unsupported et presser Entrer. Vous tapez à l’aveugle. Saisissez le mot de passe root. Le prompt # apparait. Editer le fichier inetd.conf via la commande vi /etc/inetd.conf Trouver la ligne #ssh et enlever le # pour décommenter la ligne. Sauvegarder la modification en [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><ol>
<li>Sur la console ESXi, presser ALT+F1 pour accéder au mode console</li>
<li>Taper <strong>unsupported</strong> et presser Entrer. Vous tapez à l’aveugle.</li>
<li>Saisissez le mot de passe root.</li>
<li>Le prompt # apparait. Editer le fichier inetd.conf via la commande vi /etc/inetd.conf</li>
<li>Trouver la ligne #ssh et enlever le # pour décommenter la ligne.</li>
<li>Sauvegarder la modification en faisant :wq! </li>
<li>lancer un <strong>ps | grep inetd</strong> et récupérez son PID.</li>
<li>lancer la commande suivante pour recharger le fichier inetd.conf :</li>
</ol>
<blockquote><p><strong>kill -HUP &lt;PID&gt;</strong> </p>
<p><span id="more-451"></span></p>
</blockquote>
<p><strong><u>ne faites surtout pas</u></strong> un kill –9 car vous serez obligé de redémarrer l’ESXi. L’interface de management ne fonctionnera plus.</p>
<p>A présent, vous pouvez accéder en ssh à votre ESXi.</p>
<div class="shr-publisher-451"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.croc-informatique.fr%2F2009%2F09%2Factiver-le-mode-ssh-sur-esxi-3-5%2F' data-shr_title='Activer+le+mode+ssh+sur+ESXI+3.5'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.croc-informatique.fr%2F2009%2F09%2Factiver-le-mode-ssh-sur-esxi-3-5%2F' data-shr_title='Activer+le+mode+ssh+sur+ESXI+3.5'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.croc-informatique.fr/2009/09/activer-le-mode-ssh-sur-esxi-3-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

