<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://www.raspberry-pi.ovh/blog/x5feed.php" rel="self" type="application/rss+xml" />
		<title><![CDATA[Tutoriel - raspberry pi- noobs - serveur sms - xbmc - media center - emulateur jeux - nginx - minecraft]]></title>
		<link>http://www.raspberry-pi.ovh/blog/</link>
		<description><![CDATA[Vous souhaitez partager un tuto librement, programmer xbmc installer noobs ou encore créer un media center ou un serveur sms ou mincraft pour Raspberry pi ? Vous êtes au bon endroit !]]></description>
		<language>FR</language>
		<lastBuildDate>Tue, 24 Nov 2020 17:09:00 +0000</lastBuildDate>
		<generator>Incomedia WebSite X5 Pro</generator>
		<item>
			<title><![CDATA[Domotique – un système facile à installer avec la Rasberry Pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_iqc50ub0"><p class="imTAJustify cf2 mt1 mb1"><span class="fs12lh1-5">Un système domotique correspond à l’ensemble des moyens techniques pour prendre le contrôle du système de votre maison ou de votre entreprise. Il vous sert donc concrètement à programmer la température d’une ou plusieurs pièces, d’ouvrir à distance la porte de votre garage, gérer les lumières, etc. Tout ceci depuis un seul appareil. Et devinez quoi, grâce <span class="cf1"><a href="http://domoticz.com/downloads/" target="_blank" class="imCssLink">au logiciel libre Domoticz</a></span>, vous pouvez mettre en place un système domotique chez vous avec votre Raspberry pi ! Suivez ce guide.</span></p><figure id="attachment_703" class="aligncenter cf2 mt2 mb2"><div class="inset-border fs12lh1-5"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/slider-img1.png" alt="Domotics - control at your fingertips" width="750" height="283" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/slider-img1.png 750w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/slider-img1-300x113.png 300w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/slider-img1-159x60.png 159w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/slider-img1-748x282.png 748w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/slider-img1-364x137.png 364w" sizes="(max-width: 750px) 100vw, 750px" class=" size-full wp-image-703" data-selected="false" style=""></div></figure><div class="imHeading2 imTAJustify"><span class="fs12lh1-5">Prérequis matériel</span></div><ul class="imTAJustify cf2"><li class=""><span class="fs12lh1-5">Une Rasbperri Pi ;</span></li><li class=""><span class="fs12lh1-5">Une alimentation dédiée a votre micro-ordinateur (nous voulons ici que le système domotique se comporte comme ce que vous pouvez acheter tout fait en magasin, pour cela, nous ne voulons pas qu’il dépende du courant de votre PC) ;</span></li><li class=""><span class="fs12lh1-5">Au moins une extension radio pour que le mini-ordinateur communique par divers protocoles ;</span></li><li class=""><span class="fs12lh1-5">Une carte SD, avec Domoticz installé dessus.</span></li></ul><p class="imTAJustify cf2 mt1 mb1"><span class="fs12lh1-5">Il existe plusieurs protocoles que vous pouvez utiliser pour la communication entre votre Raspberry Pi et vos appareils domotiques, parmi lesquels :</span></p><ul class="imTAJustify cf2"><li class=""><span class="fs12lh1-5">Le protocole Z-Wave : avec un dongle du même nom, voire un module appelé RaZberry que vous pourrez brancher sur le port microcarte (ce qui permet de ne pas occuper de port USB) ;</span></li><li class=""><span class="fs12lh1-5">Le protocole enOcean : avec un dongle enOcean</span></li><li class=""><span class="fs12lh1-5">Un des nombreux protocoles radio 433Mhz : qui rend possible le contrôle de modules Oregon, Scientific, Chagon et bien d’autres ;</span></li><li class=""><span class="fs12lh1-5">Ou enfin via l’extension PiFace, qui vous permet de créer aisément un système d’alarme filaire.</span></li></ul><figure id="attachment_704" class="aligncenter cf2 mt2 mb2"><div class="inset-border fs12lh1-5"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/Z-Wave-Logo.png" alt="Protocole Z-Wave pour la communication entre périphériques et système domotique" width="750" height="310" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/Z-Wave-Logo.png 750w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/Z-Wave-Logo-300x124.png 300w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/Z-Wave-Logo-145x60.png 145w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/Z-Wave-Logo-748x309.png 748w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/Z-Wave-Logo-364x150.png 364w" sizes="(max-width: 750px) 100vw, 750px" class=" wp-image-704 size-full" data-selected="false" style=""></div></figure><div class="imHeading2 imTAJustify"><span class="fs12lh1-5">Description de l’interface Domoticz</span></div><p class="imTAJustify cf2 mt1 mb1"><span class="fs12lh1-5">Chez Domoticz, les périphériques sont rangés dans plusieurs catégories, en fonction de ce qu’ils gèrent. À savoir :</span></p><ul class="imTAJustify cf2"><li class=""><span class="fs12lh1-5">Les interrupteurs : ne se limite pas aux interrupteurs simples au sens matériel du terme, mais correspond à tout ce que vous pouvez allumer ou éteindre (comme votre télévision) ;</span></li><li class=""><span class="fs12lh1-5">La température : pour la mesure de l’humidité dans l’air et évidemment de la température ;</span></li><li class=""><span class="fs12lh1-5">La météo : tout ce qui concerne les capteurs météorologiques, incluant la pression atmosphérique, la pluviométrie, la vitesse du vent,</span></li><li class=""><span class="fs12lh1-5">Les mesures : regroupe généralement les chiffres de la consommation électrique de votre habitat.</span></li></ul><figure id="attachment_705" class="aligncenter cf2 mt2 mb2"><div class="inset-border fs12lh1-5"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/domoticz_home.png" alt="Interface Domoticz" width="750" height="325" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/domoticz_home.png 750w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/domoticz_home-300x130.png 300w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/domoticz_home-138x60.png 138w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/domoticz_home-748x324.png 748w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/domoticz_home-364x158.png 364w" sizes="(max-width: 750px) 100vw, 750px" class=" size-full wp-image-705" data-selected="false" style=""></div></figure><p class="imTAJustify cf2 mt1 mb1"><span class="fs12lh1-5">Appropriez-vous cette interface en la personnalisant avec vos besoins : en vous rendant dans les catégories décrites, vous apercevrez en bas, à droite de l’écran une étoile, qui vous permet d’ajouter un nouveau module à l’écran d’accueil.</span></p><p class="imTAJustify cf2 mt1 mb1"><span class="fs12lh1-5">La catégorie « <em class="">Matériel</em> » du menu « <em class="">Configuration</em> » sert à paramétrer les modules connectés avec l’extérieur.</span></p><p class="imTAJustify cf2 mt1 mb1"><span class="fs12lh1-5">La catégorie « <em class="">Périphériques</em> » regroupe, quant à elle, tous les périphériques domotiques connectés à votre Raspberry Pi.</span></p><div class="imHeading2 imTAJustify"><span class="fs12lh1-5">Connecter et gérer un nouveau périphérique de votre système domotique</span></div><p class="imTAJustify cf2 mt1 mb1"><span class="fs12lh1-5">Une fois le logiciel Domoticz mis en place sur votre Raspberry Pi, vous serez sans doute surpris par sa facilité d’utilisation, et ce même pour l’ajout d’un nouveau périphérique. Vous pouvez le faire de deux manières : de façon manuelle ou automatique.</span></p><figure id="attachment_707" class="aligncenter cf2 mt2 mb2"><div class="inset-border fs12lh1-5"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/domoticz_add_device.png" alt="Ajouter périphérique Domoticz" width="640" height="351" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/domoticz_add_device.png 640w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/domoticz_add_device-300x165.png 300w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/domoticz_add_device-109x60.png 109w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/domoticz_add_device-364x200.png 364w" sizes="(max-width: 640px) 100vw, 640px" class=" size-full wp-image-707" data-selected="false" style=""></div></figure><div class="imHeading3 imTAJustify"><span class="fs12lh1-5">Ajouter un nouveau périphérique automatiquement</span></div><p class="imTAJustify cf2 mt1 mb1"><span class="fs12lh1-5">Dans la plupart des situations, l’ajout automatique fera très bien l’affaire :</span></p><ol class="imTAJustify cf2"><li class=""><span class="fs12lh1-5">Cliquez sur le bouton de Domoticz</span></li><li class=""><span class="fs12lh1-5">Lancez une activité quelconque sur votre périphérique en question, en appuyant par exemple sur le bouton d’une télécommande, ou le bouton de test d’un capteur. Cela permettra à Domoticz d’identifier l’appareil.</span></li></ol><div class="imHeading3 imTAJustify"><span class="fs12lh1-5">Ajouter un nouveau périphérique de façon manuelle</span></div><p class="imTAJustify cf2 mt1 mb1"><span class="fs12lh1-5">Une configuration manuelle est envisageable si vous avez de nombreux périphériques à connecter, dont l’activité radio est intense, ce qui peut nuire à la réception des informations. Il va vous falloir identifier l’adresse radio du périphérique en question. Avec le bouton « <em class="">Editer</em> », vous pourrez le paramétrer plus en détail, et par exemple le déclarer en tant que sous-périphérique d’un autre périphérique.</span></p><div class="imHeading2 imTAJustify"><span class="fs12lh1-5">Programmer Domoticz pour une exécution automatique</span></div><div class="imHeading3 imTAJustify"><span class="fs12lh1-5">Groupes/scènes</span></div><p class="imTAJustify cf2 mt1 mb1"><span class="fs12lh1-5">Cet onglet du menu permet de grouper plusieurs périphériques pour en harmoniser le lancement. Ainsi, il est possible en un seul clic d’éteindre toutes les lumières, d’ouvrir tous vos volets, ou plus généralement de paramétrer plusieurs périphériques d’une certaine manière, en une seule action.</span></p><div class="imHeading3 imTAJustify"><span class="fs12lh1-5">Les notifications</span></div><p class="imTAJustify cf2 mt1 mb1"><span class="fs12lh1-5">Tous les périphériques associés à votre système domotique disposent de l’option « <em class="">Notifications</em> », qui permet d’envoyer des alertes sur votre smartphone, grâce à des services externes (NMA pour Android ; Prowl pour iOS). Les applications sont nombreuses et variées. Vous pourrez ainsi recevoir une alerte par exemple lorsque :</span></p><ul class="imTAJustify cf2"><li class=""><span class="fs12lh1-5">Le détecteur de présence se déclenche ;</span></li><li class=""><span class="fs12lh1-5">La température est trop haute ou trop basse ;</span></li><li class=""><span class="fs12lh1-5">Une alarme se déclenche.</span></li></ul><div class="imHeading3 imTAJustify"><span class="fs12lh1-5">Actions On/Off</span></div><p class="imTAJustify cf2 mt1 mb1"><span class="fs12lh1-5">Lors du déclenchement d’un état On ou Off, vous pouvez associer cette action à un script ou une URL. Les scripts sont par défaut des script LUA, mais comme vous pouvez aussi appeler une simple URL, qui correspondrait à l’adresse d’un script en local, et y utiliser le langage informatique de votre choix, tant qu’il peut être appelé via une requête http.</span></p><div class="imHeading3 imTAJustify"><span class="fs12lh1-5">Les scénarios</span></div><p class="imTAJustify cf2 mt1 mb1"><span class="fs12lh1-5">Si vous ne souhaitez pas écrire de script LUA mais que vous souhaitez utiliser tout le potentiel de votre système domotique, l’éditeur d’évènements vous permet de créer des scénarios poussés, qui entraîneront une action en fonction de ce que vous aurez défini. Par exemple :</span></p><ul class="imTAJustify cf2"><li class=""><span class="fs12lh1-5">Passé 22h, déclencher le scénario « <em class="">fermer les volets</em> » ;</span></li><li class=""><span class="fs12lh1-5">La température descend en-dessous de 20°C : déclencher le scénario « allumer le chauffage ». Sous-scénario : la pièce est peu utilisée et le détecteur de présence n’enregistre aucune activité : « économiser le chauffage »</span></li></ul><p class="imTAJustify cf2 mt1 mb1"><span class="fs12lh1-5">Les scénarios sont accessibles dans l’onglet « <em class="">configuration</em> », « <em class="">plus d’options</em> » et « <em class="">Events</em> ». Vous trouverez de nombreuses autres informations de paramétrage <span class="cf1"><a href="http://www.domoticz.com/DomoticzManual.pdf" target="_blank" class="imCssLink">sur le manuel officiel (en anglais)</a></span>.</span></p><figure id="attachment_708" class="aligncenter cf2 mt2 mb2"><div class="inset-border fs12lh1-5"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/projet_domotique_26.png" alt="Système domotique : automatiser, centraliser le pilotage, commander à distance" width="500" height="328" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/projet_domotique_26.png 500w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/projet_domotique_26-300x197.png 300w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/projet_domotique_26-91x60.png 91w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/projet_domotique_26-364x239.png 364w" sizes="(max-width: 500px) 100vw, 500px" class=" size-full wp-image-708" data-selected="false" style=""></div></figure><p class="imTAJustify cf2 mt1"><span class="fs12lh1-5">Domoticz est donc une solution stable et vraiment personnalisable. Il permet, grâce a une simple Raspberry Pi, de faire aisément beaucoup de choses et de mettre en place de nombreux scénarios. Cela en fait une solution idéale si vous souhaitez un système domotique mais que votre budget est plutôt serré. Vous aurez cependant peut-être remarqué dans cet article que certains textes ne sont pas traduits, ce qui peut freiner certains utilisateurs. Aussi, si le paramétrage d’outil n’est pas vraiment votre tasse de thé, vous risquez de perdre patience et il vaudrait peut-être mieux songer à investir dans une box !</span></p></div>]]></description>
			<pubDate>Tue, 24 Nov 2020 17:09:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?domotique---un-systeme-facile-a-installer-avec-la-rasberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/iqc50ub0</guid>
		</item>
		<item>
			<title><![CDATA[La surveillance vidéo avec un Raspberry]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_4dn9kqkp"><span class="fs12lh1-5"><strong class="cf2"><span class="cf1">PREMIERE PARTIE : LE MATERIEL</span></strong><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Les ingrédients pour une première caméra : </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Un Raspberry PI 3 &nbsp;que l'on peut se procurer ici </span><span class="cf3"><span><span><span><span><a rel="nofollow" href="http://www.kubii.fr/1628-nouveau-raspberry-pi-3-modele-b-1-gb-640522710850.html" target="_blank" class="cLink">http://www.kubii.fr/1628-nouveau-r [...] 10850.html</a></span></span></span></span></span><span class="cf2"> au prix de 39.90 € </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Une alimentation pour le Raspberry </span><span class="cf3"><span><span><span><span><a rel="nofollow" href="http://www.kubii.fr/chargeurs-alimentations-raspberry/1631-alimentation-5v-25a-micro-usb-640522711000.html" target="_blank" class="cLink">http://www.kubii.fr/chargeurs-alim [...] 11000.html</a></span></span></span></span></span><span class="cf2"> à 9.90 € </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">une caméra pour le Raspeberry : </span><span class="cf3"><span><span><span><span><a rel="nofollow" href="http://www.kubii.fr/1653-nouveau-module-camera-v2-640522710881.html" target="_blank" class="cLink">http://www.kubii.fr/1653-nouveau-m [...] 10881.html</a></span></span></span></span></span><span class="cf2"> à 27.90 € </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Une carte Micro SD : </span><span class="cf3"><span><span><span><span><a href="https://shop.hardware.fr/fiche/AR201306070026.html" target="_blank" class="cLink">https://shop.hardware.fr/fiche/AR201306070026.html</a></span></span></span></span></span><span class="cf2"> là c'est une 16go, mais l'on peut se contenter d'une 8 go (pas trouvé sur le shop du forum) </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Soit un total de 86.65 € </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Concernant le Raspberry Pi, pourquoi prendre un Pi3 alors que l'on peut trouver des 2 moins cher. Tout simplement parce que le Pi 2 n'a pas le wifi intégré, hors à moins de vouloir une connection filaire, si l'on rajoute un module wifi au PI 2, le prix de revient est supèreur au PI 3. Donc dans la mesure du possible on utilisera un PI 3. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Pour l'alimentation c'est pareil, si l'on doit installer plus de 2 caméras, on s'orientera vers une alimentation unique en 5 volts, je complèterais ce post avec des liens quand j'aurais trouvé la bonne alimentation. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Enfin pour la caméra, j'ai pris celle en V2, mais l'on trouve des caméra moins cher sur DX et compagnie. Je ferai un post spécial pour les différentes caméras avec les plus et les moins. (voilà pourquoi je réserve un deuxième post après ce premier message). </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Voilà nous avons tout l'équipement à notre porté, on va donc commencer sérieusement notre projet ! &nbsp;</span><img src="http://forum-images.hardware.fr/icones/biggrin.gif" alt=":D" title=":D" class="" data-selected="false"><span class="cf2"> &nbsp;</span><img src="http://forum-images.hardware.fr/icones/biggrin.gif" alt=":D" title=":D" class="" data-selected="false"><span class="cf2"> &nbsp;</span><img src="http://forum-images.hardware.fr/icones/biggrin.gif" alt=":D" title=":D" class="" data-selected="false"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><strong class="cf2"><span class="cf1">L'INSTALLATION DU PROGRAMME SUR LA CARTE SD</span></strong><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">La première chose une fois le matériel arrivé, va être de l'installer. On raccorde donc la caméra avec la carte Raspberry : </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">[img]</span><span class="cf3"><span><span><span><span><a rel="nofollow" href="http://reho.st/view/self/d7787a30d4ebdfc69a10350797ea2bf5bf809965.jpg" target="_blank" class="cLink"><img src="http://reho.st/self/d7787a30d4ebdfc69a10350797ea2bf5bf809965.jpg" alt="http://reho.st/self/d7787a30d4ebdfc69a10350797ea2bf5bf809965.jpg" title="http://reho.st/self/d7787a30d4ebdfc69a10350797ea2bf5bf809965.jpg" class="" data-selected="false"></a></span></span></span></span></span><span class="cf2">[/img] </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">On va ensuite initialiser la carte SD et copier dessus l'image du programme. Pour le programme j'ai choisi d'utiliser le programme réalisé par Calin Crisan. Il n'y a besoin de rien d'autres, le programme peut gérer une ou plusieurs caméras mais surtout il permet : </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">- &nbsp;d'activer la capture sous forme d'image ou de vidéo en cas de detection de mouvement. &nbsp;</span><br class="cf2"><span class="cf2">- les images peuvent être stocker sur carte SD, dans un dropbox, dans le Drive ou encore sur un NAS </span><br class="cf2"><span class="cf2">- on peut créer un mur virtuel avec une vue d'ensemble de toutes les caméras. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Ce programme est en outre GRATUIT, l'auteur le met à jour régulièrment. La dernière release est tout simplement parfaite ! </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Pour ce faire on va commencer par télécharger le programme à l'adresse suivante : </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf3"><span><span><span><span><a rel="nofollow" href="https://github.com/ccrisan/motioneyeos/releases" target="_blank" class="cLink">https://github.com/ccrisan/motioneyeos/releases</a></span></span></span></span></span><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">On arrive sur cette page : </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">[img]</span><span class="cf3"><span><span><span><span><a rel="nofollow" href="http://reho.st/view/self/535155a47d2964ea1654552e959b0cbe775e76a8.png" target="_blank" class="cLink"><img src="http://reho.st/preview/self/535155a47d2964ea1654552e959b0cbe775e76a8.png" alt="http://reho.st/preview/self/535155a47d2964ea1654552e959b0cbe775e76a8.png" title="http://reho.st/preview/self/535155a47d2964ea1654552e959b0cbe775e76a8.png" class="" data-selected="false"></a></span></span></span></span></span><span class="cf2">[/img] </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><strong class="cf2"><span class="cf4">Attention,</span></strong><span class="cf2"> là il faut selectionner le lien de téléchargement pour le Raspberry 3. Si vous télécharger pour le Raspberry 2 et que vous avez un 3, cela ne fonctionne pas ! &nbsp;</span><img src="http://forum-images.hardware.fr/icones/smilies/heink.gif" alt=":heink:" title=":heink:" class="" data-selected="false"><span class="cf2"> &nbsp;</span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Une fois télécharger on va extraire l'archive en cliquant dessus et la stocker par exemple sur le bureau (mais on peut la mettre ou on veut, faudra juste en tenir compte dans la suite des commandes. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Pour copier l'image sur la carte, on a deux possibilité en fonction du système d'exploitation qu'on utilise. Soit Windows, soit Linux. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Sachant que je suis sous Linux, je vais détailler comment je procède. La version windows sera détaillé plus tard. (Quand une personne aaura la gentillesse de me faire parvenir la procédure) </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">On ouvre un terminal et on connecte la carte SD fraichement arrivé. On la monte en cliquant 2 fois dessus (ou une fois si vous êtes en simple clic). </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Dans le terminal on écrit : &nbsp;</span><br class="cf2"><span class="cf2"> </span><br class="cf2"><strong class="cf2">df -h</strong><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">ce qui va vous donner un résultat de ce type : </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">[img] </span><br class="cf2"><span class="cf3"><span><span><span><span><a rel="nofollow" href="http://reho.st/view/self/dc40f5d86939f871674e14fc4befea54d72d3869.png" target="_blank" class="cLink"><img src="http://reho.st/medium/self/dc40f5d86939f871674e14fc4befea54d72d3869.png" alt="http://reho.st/medium/self/dc40f5d86939f871674e14fc4befea54d72d3869.png" title="http://reho.st/medium/self/dc40f5d86939f871674e14fc4befea54d72d3869.png" class="" data-selected="false"></a></span></span></span></span></span><span class="cf2">[/img] </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">A la dernière ligne on voit la carte SD &nbsp;(/dev/sdb1) </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">On connait désormais l'adresse de notre carte, &nbsp;nous allons pouvoir la démonter afin de copier l'image dessus (on ne peut pas copier l'imaage si celle-ci est montée) </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">On utilise donc la commande suivante : </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><strong class="cf2">sudo umount /dev/sdb1 </strong><span class="cf2"></span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Voilà notre carte est démontée. Maintenant on va copier l'image que nous avons téléchargé( qui est sur le bureau pour ceux qui ne suivent pas...) sur la carte. Attention, il y a un piège, j'ai passé une partie de la nuit a essayer de copier l'image sur la carte sdb1 sans y arriver, tout ssimplement car il ne faut pas écrire sdb1 mais sdb, sinon ça ne fonctionne pas. (Je remercie encore le membre du forum qui m'a donné l'info). Allez on y va avec la command dd : </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><strong class="cf2">sudo dd if=Bureau/motioneyeos-raspberrypi3-20161212.img of=/dev/sdb</strong><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">et surtout pas : </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">sudo dd if=Bureau/motioneyeos-raspberrypi3-20161212.img of=/dev/sdb1 </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Et voilà si tout c'est bien passé, votre image est arrivé sur votre carte SD ! </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><strong class="cf2">Pour ceux qui n'ont pas de Linux sous la main, mais un Windows (ou mac):</strong><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Le tuto pour créer la carte SD à partir de l'image img sous windows, en utilisant Win32DiskImager : </span><span class="cf3"><span><span><span><span><a rel="nofollow" href="http://www.octetmalin.net/windows/" target="_blank" class="cLink">http://www.octetmalin.net/windows/</a></span></span></span></span></span><span class="cf2"> [...] imager.php </span><br class="cf2"><span class="cf2"> &nbsp;</span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Sous Mac, j'utilise ApplePi Baker, vraiment génial et gratuit. </span><br class="cf2"><span class="cf3"><span><span><span><span><a rel="nofollow" href="http://the-raspberry.com/preparer-carte-sd-sur-mac" target="_blank" class="cLink">http://the-raspberry.com/preparer-carte-sd-sur-mac</a></span></span></span></span></span><span class="cf2"> </span><br class="cf2"><span class="cf2">Il permet non seulement de graver des cartes SD a partir des images IMG, mais aussi l'inverse, pour garder un fichier image d'une carte fonctionnelle (pour backup ou multi déploiement). Il n'est bien sur pas limité aux Raspberry, malgré son nom </span><img src="http://forum-images.hardware.fr/icones/wink.gif" alt=";)" title=";)" class="" data-selected="false"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><strong class="cf2"><span class="cf1"><br> <br>3e PARTIE, LE PREMIER DEMARRAGE</span></strong><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Maintenant on introduit la carte SD dans le Raspberry, puis on branche le Raspberry. &nbsp;</span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Au bout de quelques seconde le programme est chargé en mémoire. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Maintenant il faut pouvoir se connecter &nbsp;au Raspberry. La première chose à savoir, c'est que le programme MotionEye (celui qu'on a copier sur la carte SD) n'est configurer qu'en mode filaire pour le moment. Donc inutile d'essayer de trouver le raspberry sur le réseau. On débranche donc la carte Raspberry, on branche un cable reseau et on redemarre le Raspberry. &nbsp;</span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Voilà, maintenant on se connecte sur sa box adsl pour connaitre l'adresse du Raspberry. Chez bouygues dans un navigateur on tape 192.168.1.254 (chez free : &nbsp;&nbsp;&nbsp;chez Orange : &nbsp;&nbsp;&nbsp;&nbsp;</span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Chez SFR, l'adresse de la box est 192.168.1.1 ). </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">On va trouver l'adresse du raspberry. Par exemple chez moi c'est 192.168.1.47. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Maintenant dans mon navigateur préféré j'arrive sur la page de MotionEye : </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">[img]</span><span class="cf3"><span><span><span><span><a rel="nofollow" href="http://reho.st/view/self/00d932e1a1d1681b87e44ee74298404c5328677a.png" target="_blank" class="cLink"><img src="http://reho.st/medium/self/00d932e1a1d1681b87e44ee74298404c5328677a.png" alt="http://reho.st/medium/self/00d932e1a1d1681b87e44ee74298404c5328677a.png" title="http://reho.st/medium/self/00d932e1a1d1681b87e44ee74298404c5328677a.png" class="" data-selected="false"></a></span></span></span></span></span><span class="cf2">[/img] </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><strong class="cf2"><span class="cf1">LES PREMIERS REGLAGES</span></strong><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Voilà, nous arrivons sur la page d'accueil. Le nom d'utilisateur est admin, il n'y a pas de mot de passe pour le moment. Ce sera une des premières choses à modifier. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">[img]</span><span class="cf3"><span><span><span><span><a rel="nofollow" href="http://reho.st/view/self/659cdfe77f8f675d2dc2a6126ec29baa939d48d2.png" target="_blank" class="cLink"><img src="http://reho.st/self/659cdfe77f8f675d2dc2a6126ec29baa939d48d2.png" alt="http://reho.st/self/659cdfe77f8f675d2dc2a6126ec29baa939d48d2.png" title="http://reho.st/self/659cdfe77f8f675d2dc2a6126ec29baa939d48d2.png" class="" data-selected="false"></a></span></span></span></span></span><span class="cf2">[/img] </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Donc va toujours partir de la première ligne pour arriver jusqu'à la dernière. Ce sera comme ça jusqu'à la fin du topic. &nbsp;</span><img src="http://forum-images.hardware.fr/icones/smilies/sol.gif" alt=":sol:" title=":sol:" class="" data-selected="false"><span class="cf2"> &nbsp;</span><br class="cf2"><strong class="cf2"><br>Première ligne :</strong><span class="cf2"> c'est la taille de l'image que vous voyez sur la page lors de la connection. 1 c'est le plus gross, 4 c'est le plus petit. C'est pas vraiment utile si vous n'avez qu'une caméra, mais dès que l'on en a plusieurs, ce paramètre est super interessant, cela permet de réaliser un mur d'image avec les caméras en direct. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><strong class="cf2">Deuxième ligne :</strong><span class="cf2"> On laisse le paramètre activé </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><strong class="cf2">Troisième ligne :</strong><span class="cf2"> On laisse sans changer </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><strong class="cf2">Quatrième ligne :</strong><span class="cf2"> On laisse sans changer </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><strong class="cf2">Cinquième ligne : </strong><span class="cf2">On laisse &nbsp;sans changer </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Voilà pour le premier réglage </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Second réglage : </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">[img]</span><span class="cf3"><span><span><span><span><a rel="nofollow" href="http://reho.st/view/self/b26f0b365cc11e7e9bb795d9086a287073dfa039.png" target="_blank" class="cLink"><img src="http://reho.st/medium/self/b26f0b365cc11e7e9bb795d9086a287073dfa039.png" alt="http://reho.st/medium/self/b26f0b365cc11e7e9bb795d9086a287073dfa039.png" title="http://reho.st/medium/self/b26f0b365cc11e7e9bb795d9086a287073dfa039.png" class="" data-selected="false"></a></span></span></span></span></span><span class="cf2">[/img] </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">On active le </span><strong class="cf2">Advance Setting</strong><span class="cf2"> &nbsp;de la première ligne qui va nous permettre d'acceder à des réglages plus pointu. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">2e ligne c'est l'identifiant pour se connecter, d'origine c'est admin, on peut le laisser ou le changer </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">3e ligne c'est le mot de passe. Il faut un mot de passe assez complexe, mais facile à retenir. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">4e ligne d'origine c'est user, en fait c'est un second compte qui va permettre de consulter sans pouvoir modifier le réglage </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">5e ligne, c'est le mot de passe de ce User. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">6e ligne c'est le fuseau horaire. Sur la photo on voit que j'avais laissé en &nbsp;UTC qui est l'heure universelle, il faut choisir Europe/paris sinon l'horodatage ne sera pas exact. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Le reste on ne touche pas, sauf pour sauvegarder la configuration une fois tous les réglages OK </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">3e réglages : </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">[img]</span><span class="cf3"><span><span><span><span><a rel="nofollow" href="http://reho.st/view/self/9167b0f30a6302d337ca3079f9a70a0382214f7f.png" target="_blank" class="cLink"><img src="http://reho.st/medium/self/9167b0f30a6302d337ca3079f9a70a0382214f7f.png" alt="http://reho.st/medium/self/9167b0f30a6302d337ca3079f9a70a0382214f7f.png" title="http://reho.st/medium/self/9167b0f30a6302d337ca3079f9a70a0382214f7f.png" class="" data-selected="false"></a></span></span></span></span></span><span class="cf2">[/img] </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">C'est le plus important pour avoir une connection sans fil. Jusqu'à maintenant toutes les connections étaient réalisées avec le Raspberry connecté aau reseau au moyen d'un cable RJ45. Nous allons maintenant nous affranchir de ce cable en activant le wifi sur le Raspberry Pi 3. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">1ère ligne on passe le Wireless Network à ON </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">2e ligne on donne l'identifiant de sa box &nbsp;</span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">3e ligne le mot de passe de sa box </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Enfin on laisse en DHCP la dernière ligne, sauf si l'on veut attrribué une IP fixe. Dans mon cas je n'ai pas besoin, ma box lui donne toujours la même IP (Bbox Bouygues). </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Le menu "</span><strong class="cf2">SERVICE</strong><span class="cf2">" </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><img src="http://reho.st/medium/self/2783c2d99dbdf0a4b25a31649d48ad4aada1ff5b.png" alt="http://reho.st/medium/self/2783c2d99dbdf0a4b25a31649d48ad4aada1ff5b.png" title="http://reho.st/medium/self/2783c2d99dbdf0a4b25a31649d48ad4aada1ff5b.png" class="" data-selected="false"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">C'est le menu le plus simple, on laisse tout à "ON" </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Le menu "</span><strong class="cf2">EXPERT SETTING</strong><span class="cf2">" </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><img src="http://reho.st/medium/self/f0971803584de61c3dfc491bbf2f9105ebddd72e.png" alt="http://reho.st/medium/self/f0971803584de61c3dfc491bbf2f9105ebddd72e.png" title="http://reho.st/medium/self/f0971803584de61c3dfc491bbf2f9105ebddd72e.png" class="" data-selected="false"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Alors normalement on laisse tout tel que. Mais j'ai eu à plusieurs reprises un problème d'horodatage de l'heure et de la date sur les photos. Du coup maintenant je fais le réglage suivant : </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Dans le menu DATE METHOD, je choisis NTP. Il suffit ensuite de trouver un serveur NTP via Google, c'est assez simple. J'ai choisi ntp.midway.ovh. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Le reste du menu reste inchangé. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Le menu " </span><strong class="cf2">Video Device</strong><span class="cf2">" </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><img src="http://reho.st/medium/self/03bae41908348387eb658e5918bf1b6450efe025.png" alt="http://reho.st/medium/self/03bae41908348387eb658e5918bf1b6450efe025.png" title="http://reho.st/medium/self/03bae41908348387eb658e5918bf1b6450efe025.png" class="" data-selected="false"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Ce menu sert à régler les différents paramètres de vue de l'image issue de la caméra. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Camera Name : là on donne le nom qu'on veut à la caméra, on évite camera 1 etc... mais on notera plutôt entrée, façade, batiment etc... cela permet de se repérer un peu. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">On évite de toucher au menu "Automatic Brighness", chez moi c'est une catastrophe. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Le menu Video Résolution permet de choisir la qualité de l'image que l'on va enregistrer. Il faut savoir que plus la résolution est élevé, plus le fichier est important. &nbsp;</span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Le menu Video Rotation permet de faire pivoter l'image. Utile en fonction de la position de la caméra. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Le menu Frame Rate : j'ai laissé tel quel </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Voilà &nbsp;c'est tout pour ce menu </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><strong class="cf2"><span class="cf4">APRES LA DETECTION, L'ENREGISTREMENT DES IMAGES</span></strong><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Alors maintenant on va enregistrer les images qui ont été collectés lors d'une détection. Il y a plusieurs possibilités. Si vous avez un NAS, c'est la section 1, si vous avez un compte google, c'est la section 2. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Personnellement, j'ai mis les 2, comme ça je reçois les alertes sur mon téléphone et les images sont également enregistrées sur mon NAS. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><img src="http://reho.st/medium/self/8d3f115377a98523c0961d211981bc02a3057472.png" alt="http://reho.st/medium/self/8d3f115377a98523c0961d211981bc02a3057472.png" title="http://reho.st/medium/self/8d3f115377a98523c0961d211981bc02a3057472.png" class="" data-selected="false"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Donc onglet</span><strong class="cf2"> FILE STORAGE</strong><span class="cf2">. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Première ligne on choisit : Network Share </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Network Server = on donne l'adresse IP de son NAS (qui est normalement une adresse fixe si vous l'avez bien configuré) du style 192.168.1.XX </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Share Name = on donne le nom du répertoire dans lequel les images vont être stockées, le mien c'est MOTION </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Share Username = là c'est l'idientifiant de son serveur Nas, par exemple admin </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Share Password = le mot de passe pour accéder à son Nas. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Root Directory : \ &nbsp;= on laisse inchangé </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Il sufffit de cliquer sur Test pour savoir si vous avez bien configurer cette première partie, vous devriez obtenir le message "success" </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">2e partie, là c'est si vous avez un compte google. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">On passe à la ligne Upload service et l'on choisi </span><strong class="cf2">Google Drive</strong><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Location : là on note tout simplement son adresse google mail : monadressemail@gmail.com </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Include subfolders : on laisse à On </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Authorization key : là c'est la clé qui aura été proposé lorsque l'on clic sur Obtain Key. Il suffit de cliquer sur Obtain key pour qu'une fenêtre apparaissent vous demandant vos identifiants de votre compte google. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">Un simple copier/coller dans la case authotization key et c'est partie pour un enregistrement des photos directement sur le google drive. </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2"> </span><br class="cf2"><span class="cf2">L'avantage c'est que vous recevrez les arlertes de détection directement sur votre téléphone. Attention, il y a par contre un délai de latence entre la détection et l'affichage des images dans google drive. </span><br class="cf2"><span class="cf2"> </span></span><div><br></div><div><span class="fs10lh1-5"><span class=""><span class="cf2">Source : </span></span>http://forum.hardware.fr/hfr/electroniquedomotiquediy/nano-ordinateur_microcontroleurs_fpga/unique-surveillance-raspberry-sujet_565_1.htm</span></div></div>]]></description>
			<pubDate>Fri, 20 Nov 2020 14:10:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?la-surveillance-video-avec-un-raspberry</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/4dn9kqkp</guid>
		</item>
		<item>
			<title><![CDATA[Comment mettre une ip statique sur votre RASPBERRY]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_o5j7f1dg"><div class="imHeading1"><span class="fs12lh1-5 cf1"><a name="comment-mettre-une-ip-statique" id="comment-mettre-une-ip-statique" href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-mettre-une-ip-statique">Comment mettre une ip statique ?</a></span></div><div class="level1 cf5"><hr class=""><p class="mb1"><span class="fs12lh1-5">Connectez vous en local sur votre raspberry ou par <span class="cf1"><span><span><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-se-connecter-en-ssh" class="wikilink1" title="raspberry-pi:comment-se-connecter-en-ssh">ssh</a></span></span></span> avec l'utilisateur <strong>pi</strong>. Vous pouvez aussi prendre n'importe quel utilisateur avec les droits<span class="cf1"><span><span><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-devenir-super-utilisateur" class="wikilink1" title="raspberry-pi:comment-devenir-super-utilisateur">sudo</a></span></span></span>.</span></p><p class="mb1"><span class="fs12lh1-5">Tapez dans le terminal :</span></p><pre class="code bash cf4 mt1 mb1"><span class="fs12lh1-5 ff1"><b><span class="kw2 cf2">sudo</span></b> <b><span class="kw2 cf2">nano</span></b> <span class="sy0 cf3">/</span>etc<span class="sy0 cf3">/</span>network<span class="sy0 cf3">/</span>interfaces</span></pre><p class="mb1"><span class="fs12lh1-5">Remplacez :</span></p><pre class="code bash cf4 mt1 mb1"><span class="fs12lh1-5 ff1">iface eth0 inet dhcp</span></pre><p class="mb1"><span class="fs12lh1-5">par :</span></p><pre class="code bash cf4 mt1 mb1"><span class="fs12lh1-5 ff1">iface eth0 inet static &nbsp;&nbsp;&nbsp;&nbsp;address 192.168.1.x &nbsp;&nbsp;&nbsp;&nbsp;netmask 255.255.255.0 &nbsp;&nbsp;&nbsp;&nbsp;network 192.168.1.0 &nbsp;&nbsp;&nbsp;&nbsp;broadcast 192.168.1.255 &nbsp;&nbsp;&nbsp;&nbsp;gateway 192.168.1.1</span></pre><p class="mb1"></p><p class="mb1"></p><div class="noteimportant imTAJustify"><span class="fs12lh1-5">Veuillez adapter les valeurs selon votre configuration réseau !</span></div><p class="mb1"></p><span class="fs12lh1-5">Enregistrez puis redémarrez :</span><p class="mb1"></p><pre class="code bash cf4 mt1 mb1"><span class="fs12lh1-5 ff1">ctrl+o entrée ctrl+x &nbsp;&nbsp;<b><span class="kw2 cf2">sudo</span></b> reboot</span></pre><p class="mb1"><span class="fs12lh1-5">Vous avez maintenant une ip statique !</span></p></div></div>]]></description>
			<pubDate>Thu, 19 Nov 2020 07:36:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?comment-mettre-une-ip-statique-sur-votre-raspberry</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/o5j7f1dg</guid>
		</item>
		<item>
			<title><![CDATA[Comment le transformez en routeur Tor]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_02pid3ou"><p class="imTAJustify cf2 mb1 cb1"><span class="fs12lh1-5 cf1">Vous avez un Raspberry Pi sous la main, et que vous souhaitez disposer d’un routeur Tor que vous pourrez emmener partout ? Vos désirs sont des ordres ! Avec ce tutoriel créez un point d’accès à Tor à la fois discret et portable à même de garantir votre anonymat ainsi que celui de vos amis en toutes circonstances. </span></p><div class="image_social_box nw visible-image imTACenter cf2 cb1"><div id="attachment_5284" class="wp-caption aligncenter visible-image fs0.8em"><div class="imTAJustify"><span class="fs12lh1-5"><img src="http://static.papergeek.fr/2016/06/tor.jpg" data-original="http://static.papergeek.fr/2016/06/tor.jpg" data-mobile="http://static.papergeek.fr/2016/06/tor.jpg" alt="Logo du projet Tor" width="1141" height="700" data-selected="false" class="lazy lazymobile size-full wp-image-5284" style=""></span></div><p class="wp-caption-text imTAJustify mb1"><span class="fs12lh1-5">Logo du projet Tor</span></p></div></div><div class="imHeading2 imTAJustify"><span class="fs12lh1-5">Un routeur Tor digne de James Bond sous Raspberry Pi</span></div><p class="imTAJustify cf2 mb1 cb1"><span class="fs12lh1-5">Les réveelations d’Edward Snowden ont fait prendre conscience à beaucoup que rien de ce qu’ils font sur Internet n’échappe à la surveillance de masse. Du coup, beaucoup de dissidents ont installés leurs quartiers sur<span class="cf3"> </span><span class="cf3">Tor, le plus célèbre et fréquenté des darknets</span>. Malheureusement, se connecter à Tor ne suffit pas pour protéger complètement son anonymat. Encore faut-il s’assurer que tout le traffic sortant et entrant passe par le réseau.</span></p><p class="imTAJustify cf2 mb1 cb1"><span class="fs12lh1-5">C’est pourquoi la solution d’un routeur Tor a autant de sens. Et ce n’est pas, vous allez le voir, si difficile à réaliser, particulièrement si vous êtes un habitué de la bidouille.</span></p><div class="imHeading3 imTAJustify"><span class="fs12lh1-5">Le matériel</span></div><ul class="imTAJustify cf2 mb1 cb1"><li class="imTAJustify"><span class="fs12lh1-5">Un Raspberry Pi 2 ou 3</span></li><li class="imTAJustify"><span class="fs12lh1-5">Clavier, souris et écran HDMI</span></li><li class="imTAJustify"><span class="fs12lh1-5">Une carte microSD d’au moins 8 Go avec Raspbian OS</span></li><li class="imTAJustify"><span class="fs12lh1-5">Un dongle wifi (seulement pour le RBPi 2)</span></li><li class="imTAJustify"><span class="fs12lh1-5">Un accès à internet via câble ethernet</span></li></ul><div class="imHeading3 imTAJustify"><span class="fs12lh1-5">Première étape : configurez votre Raspberry en routeur wifi</span></div><p class="imTAJustify cf2 mb1 cb1"><span class="fs12lh1-5">Avant toute chose, il vous faut installer RaspbianOS sur votre Raspberry Pi. Nous vous fournirons prochainement un guide détaillé pour réaliser vous-même cette opération. Si vous butez à cette étape, sachez qu’il existe des cartes SD pré-chargées avec cet OS. Ce système est celui chargé par défaut sur la carte lorsque vous achetez Raspberry Pi en kit.</span></p><ul class="imTAJustify cf2 mb1 cb1"><li class="imTAJustify"><span class="fs12lh1-5">Insérez la carte SD dans le Raspberry Pi, branchez clavier, souris et écran et allumez-le</span></li><li class="imTAJustify"><span class="fs12lh1-5">Appuyez sur <span class="cf1">Ctrl + T</span> pour ouvrir une fenêtre de terminal et tapez raspi-config (l’utilisateur par défaut est pi et le mot de passe raspbian)</span></li></ul><div class="image_social_box visible-image imTACenter cf2 cb1"><span class="visible-image imTAJustify fs12lh1-5"><img src="http://static.papergeek.fr/2016/06/raspi-config.jpg" data-original="http://static.papergeek.fr/2016/06/raspi-config.jpg" data-mobile="http://static.papergeek.fr/2016/06/raspi-config.jpg" alt="raspi config" width="1033" height="561" class="lazy lazymobile aligncenter size-full wp-image-5282" data-selected="false" style="text-align: justify; margin-bottom: 50px;"></span></div><ul class="imTAJustify cf2 mb1 cb1"><li class="imTAJustify"><span class="fs12lh1-5">Appuyez sur <span class="cf1">Entrée</span> : cela va permettre d’utiliser l’intégralité de votre carte SD</span></li><li class="imTAJustify"><span class="fs12lh1-5">Allez dans <span class="cf1">Boot Options</span> et choisissez de booter en mode <span class="cf1">Console</span></span></li><li class="imTAJustify"><span class="fs12lh1-5">Dans <span class="cf1">Advanced Options</span>, vous pouvez changer le <span class="cf1">Hostname</span>, nom sous lequel votre routeur apparaitra sur le réseau par la suite</span></li><li class="imTAJustify"><span class="fs12lh1-5">Dans <span class="cf1">Internationalisation Options</span> vous pouvez, si vous le souhaitez, changer la langue en Français</span></li><li class="imTAJustify"><span class="fs12lh1-5">Choisissez <span class="cf1">Finish</span></span></li><li class="imTAJustify"><span class="fs12lh1-5">Tapez <span class="cf1">sudo reboot</span> pour redémarrer</span></li></ul><p class="imTAJustify cf2 mb1 cb1"><span class="fs12lh1-5">Nous allons maintenant configurer le routage wifi. L’opération est heureusement simplifiée par un script du site hackaday.io. Pour le reste, il suffit d’entrer les commandes indiquées ! À ce stade, veillez à ce que le dongle wifi soit débranché si vous utilisez un Raspberry Pi 2.</span></p><ul class="imTAJustify cf2 mb1 cb1"><li class="imTAJustify"><span class="fs12lh1-5">Mettez à jour votre gestionnaire de paquets :</span></li></ul><p class="imTAJustify cf2 mb1 cb1"><code class="fs12lh1-5 cf4 ff1 cb2">sudo apt-get update &amp; sudo apt-get upgrade</code></p><div class="ads imTACenter cf2 cb1"><ins data-ad-client="ca-pub-1050794388709878" data-ad-slot="3772224608" data-adsbygoogle-status="done" class="adsbygoogle"><ins id="aswift_0_expand" class="cb3"><ins id="aswift_0_anchor" class="fs12lh1-5 cb3"><iframe frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" id="aswift_0" name="aswift_0" data-aspectratio="0.8333333333333334" class="imTAJustify"></iframe></ins></ins></ins></div><ul class="imTAJustify cf2 mb1 cb1"><li class="imTAJustify"><span class="fs12lh1-5">Téléchargez le script de hackaday.io :</span></li></ul><p class="imTAJustify cf2 mb1 cb1"><code class="fs12lh1-5 cf4 ff1 cb2">wget https://cdn.hackaday.io/files/4223180676832/pifi.sh</code></p><ul class="imTAJustify cf2 mb1 cb1"><li class="imTAJustify"><span class="fs12lh1-5">Rendez-le exécutable :</span></li></ul><p class="imTAJustify cf2 mb1 cb1"><code class="fs12lh1-5 cf4 ff1 cb2">chmod +x pifi.sh</code></p><ul class="imTAJustify cf2 mb1 cb1"><li class="imTAJustify"><span class="fs12lh1-5">C’est parti pour la config !</span></li></ul><p class="imTAJustify cf2 mb1 cb1"><code class="fs12lh1-5 cf4 ff1 cb2">sudo ./pifi.sh</code></p><p class="imTAJustify cf2 mb1 cb1"><span class="fs12lh1-5">Suivez bien toutes les instructions qui s’affichent à l’écran, puis redémarrez votre machine. À ce stade vous pouvez brancher le dongle Wifi. Depuis votre ordinateur, vous devriez normalement pouvoir vous connecter au réseau wifi que vous venez de configurer. Vous avez fait le plus dur. Maintenant nous allons configurer Tor !</span></p><div class="imHeading3 imTAJustify"><span class="fs12lh1-5">Deuxième étape : configurez Tor</span></div><div class="image_social_box nw visible-image imTACenter cf2 cb1"><div id="attachment_5283" class="wp-caption aligncenter visible-image fs0.8em"><div class="imTAJustify"><span class="fs12lh1-5"><img src="http://static.papergeek.fr/2016/06/tor-message-success.png" data-original="http://static.papergeek.fr/2016/06/tor-message-success.png" data-mobile="http://static.papergeek.fr/2016/06/tor-message-success.png" alt="Tor connecté" width="937" height="563" data-selected="false" class="lazy lazymobile size-full wp-image-5283" style=""></span></div><p class="wp-caption-text imTAJustify mb1"><span class="fs12lh1-5">Si tout va bien à l’issue de ce message, vous devriez avoir un message similaire lorsque vous vous rendez sur https://check.torproject.org/</span></p></div></div><ul class="imTAJustify cf2 mb1 cb1"><li class="imTAJustify"><span class="fs12lh1-5">Téléchargez un second script de hackaday.io pour vous mâcher le travail :</span></li></ul><p class="imTAJustify cf2 mb1 cb1"><code class="fs12lh1-5 cf4 ff1 cb2">wget https://cdn.hackaday.io/files/4223180676832/tor.sh</code></p><ul class="imTAJustify cf2 mb1 cb1"><li class="imTAJustify"><span class="fs12lh1-5">Rendez le script exécutable comme dans l’étape précédente avec un chmod +x puis le nom du script</span></li><li class="imTAJustify"><span class="fs12lh1-5">Lancez-le ! (on vous laisse deviner la commande)</span></li><li class="imTAJustify"><span class="fs12lh1-5">Suivez encore une fois les instructions qui s’affichent à l’écran et attendez que votre Raspberry Pi redémarre.</span></li></ul><p class="imTAJustify cf2 mb1 cb1"><span class="fs12lh1-5">Faites bien attention que le câble ethernet soit correctement branché. Maintenant, vous pouvez vous connecter à votre Raspberry Pi via votre ordinateur, et magie : tout passe désormais par Tor !</span></p></div>]]></description>
			<pubDate>Thu, 19 Nov 2020 05:23:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?comment-le-transformez-en-routeur-tor</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/02pid3ou</guid>
		</item>
		<item>
			<title><![CDATA[Créer une interface vocale et commander votre Raspberry pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_6vo70ygv"><p class="cf1 mb1"><span class="fs12lh1-5">le but étant d’apprendre à simuler et a personnaliser une personnalité qui comprends vos ordres, effectue une action (contrôler une lampe, envoyer une requête, faire une recherche sur le web, dire un truc inutile etc…) et qui vous réponds en prime.</span></p><p class="cf1 mb1"><span class="fs12lh1-5"> </span></p><p class="cf1 mb1"><span class="fs12lh1-5">Bref nous allons simuler une IA type <em class="">Jarvis</em> dans le film “Iron Man” ou <em class="">Sarah</em> dans la génialissime série “Eureka”, je dis bien simuler puisqu’au final, il n’y aura aucune intelligence derrière, juste une “bête machine à réagir” (mais c’est déjà pas mal pour cette fois :p).</span></p><p class="cf1 mb1"><strong class="fs12lh1-5">Ce qu’il vous faut :</strong></p><ol class="mb2"><li class="cf2"><span class="fs12lh1-5">Un pc avec windows 7 ou vista minimum</span></li><li class="cf2"><span class="fs12lh1-5">Un micro (celui de votre portable conviendra très bien)</span></li><li class=""><span class="fs12lh1-5"><span class="cf2">Votre raspberry PI configuré selon le tutoriel “</span><span class="imUl"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">Tuto Raspberry Allumer/éteindre une vraie lampe OU comment faire de la domotique low cost.</a></span><span class="cf2">”</span></span></li></ol><p class="cf1 mb1"><span class="fs12lh1-5"> </span></p><p class="cf1 mb1"><strong class="fs12lh1-5">Le principe :</strong></p><p class="cf1 mb1"><span class="fs12lh1-5">Votre PC vas utiliser(via notre petit programme) la librairie Speech To Text de Microsoft qui permet de faire de la reconnaissance vocale (le pc vous écoute), si la commande vocale est reconnue, il vas envoyer une requête web (http) à votre raspberry PI</span></p><p class="cf1 mb1"><span class="fs12lh1-5"> </span></p><p class="cf1 mb1"><span class="fs12lh1-5">Votre raspberry PI vas recevoir la requête et effectuer l’action : ouvrir/fermer un port gpio (donc allumer/éteindre une lampe ou tout autre objet électrique raccordé), ou encore récupérer l’heure serveur et vous la retourner, aller chercher les films qui passent au ciné en ce moment etc… et retourner un texte de réponse a la librairie Text To speech de Windows qui fait de la synthèse vocale (le pc vous parle).</span></p><p class="cf1 mb1"><span class="fs12lh1-5"> </span></p><p class="cf1 mb1"><span class="fs12lh1-5">Bref rien de sorcier en somme, certains déplorerons l’utilisation d’une librairie microsoft: c’est vrai que c’est bof, mais cette librairie a plusieurs avantages :</span></p><ul class="cf2 mb2"><li class=""><span class="fs12lh1-5">elle fonctionne bien</span></li><li class=""><span class="fs12lh1-5">elle est installé par défaut sur tous les windows vista/seven et + &nbsp;(donc accessible à beaucoup de gens)</span></li><li class=""><span class="fs12lh1-5">elle ne nécessite pas internet</span></li><li class=""><span class="fs12lh1-5">elle fait la synthèse ET la reconnaissance vocale</span></li><li class=""><span class="fs12lh1-5">elle est configurable avec de simples fichiers XML</span></li><li class=""><span class="fs12lh1-5">il est possible d’avoir plusieurs voix et plusieurs langues gratuitement</span></li></ul><p class="cf1 mb1"><span class="fs12lh1-5"> </span></p><p class="cf1 mb1"><span class="fs12lh1-5">Et croyez moi pour trouver l’équivalent sous linux il faut se lever tôt (des lib comme sphinx et autres je ne veux plus en entendre parler, quand je dis lampe elle comprend canard albinos, c’est drôle les 10 premières minutes…)</span></p><p class="cf1 mb1"><span class="fs12lh1-5"> </span></p><p class="cf1 mb1"><span class="fs12lh1-5"><strong class="">Installation de Y.U.R.I</strong> <strong class="">sur le PC</strong></span></p><ul class="cf2 mb2"><li class=""><span class="fs12lh1-5">Téléchargez <strong class="">Y.U.R.I</strong> <span class="cf3"><a href="http://www.raspberry-pi.ovh/files/YURI.rar" target="_blank" class="imCssLink">en cliquant ici</a></span></span></li><li class=""><span class="fs12lh1-5">Décompressez le .rar</span></li><li class=""><span class="fs12lh1-5">Ouvrez le dossier <strong class="">./macros</strong>contenant les XML de configuration et éditez le fichier rpi.xml</span></li><li class=""><span class="fs12lh1-5">Modifiez l’adresse http://mon.rpi.fr/yuri.php par votre adresse de serveur rpi+/yuri.php <em class="">( ex : http://192.168.0.47/yuri.php )</em></span></li></ul><p class="cf1 mb1"><em class="fs12lh1-5"><strong class="">Nb :</strong> Vérifiez que votre pc Windows et votre raspberry PI sont bien sur le même réseau et que vous pouvez bien accéder aux pages web de votre raspberry PI depuis le navigateur web de votre pc Windows</em></p><p class="cf1 mb1"><strong class="fs12lh1-5">Installation de Y.U.R.I sur le raspberry PI</strong></p><ul class="cf2 mb2"><li class=""><span class="fs12lh1-5">Téléchargez le script yuri.php <span class="cf3"><a href="http://www.raspberry-pi.ovh/files/yuri-web.rar" target="_blank" class="imCssLink">en cliquant ici</a></span></span></li><li class=""><span class="fs12lh1-5">Décompresser et placez le script dans le répertoire web de votre raspberry PI (/var/www par défaut)</span></li><li class=""><span class="fs12lh1-5">Vérifiez que le port GPIO 7 est bien branché a votre carte relais comme définis dans le tutoriel 7 de ce blog.</span></li></ul><p class="cf1 mb1"><strong class="fs12lh1-5">Test du programme</strong></p><ul class="cf2 mb2"><li class=""><span class="fs12lh1-5">Sur votre PC, Cliquez sur l’exécutable micro.exe à la racine du dossier pour lancer <strong class="">Y.U.R.I</strong></span></li><li class=""><span class="fs12lh1-5">Prononcez “Yuri, allume la lampe du salon”, YURI vas bien envoyer une requête vers votre page de Rapsberry PI qui vas allumer votre lampe</span></li></ul><p class="cf1 mb1"><span class="fs12lh1-5"> </span></p><p class="cf1 mb1"><span class="fs12lh1-5">Et voila !! Enjoy !!</span></p><p class="cf1 mb1"><span class="fs12lh1-5"> </span></p><p class="cf1 mb1"><span class="fs12lh1-5">Pour ajouter des action vous même, il vous suffira de créer un nouveau fichier xml avec la requête et les ordres associés, et de créer l’action qui correspond dans yuri.php, vous pourrez ainsi pousser les choses très loin, le concepteur de S.A.R.A.H a créé plusieurs requêtes d’exemples pour récupérer la météo, gérer un google agenda, trouver les films sur allociné etc…</span></p><p class="cf1 mb1"><br></p><p class="mb1"><span class="fs12lh1-5"><span class="cf1">Nota : </span><span class="cf4">Pour Changer de nom Y.U.R.I </span></span><span class="fs12lh1-5 cf4"> il suffit de changer le nom dans les XML du projet, il n’y a que la que c’est définis.</span></p><p class="mb1"><br></p><p class="mb1"><span class="fs12lh1-5">SNIPPET</span></p></div>]]></description>
			<pubDate>Fri, 23 Oct 2020 16:06:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?creer-une-interface-vocale-et-commander-votre-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/6vo70ygv</guid>
		</item>
		<item>
			<title><![CDATA[Commander le raspberry Pi par radio]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_898yp3lg"><p class="cf1 mb1"><span class="fs12lh1-5">Nous avions brièvement abordé l’émission/transmission radio via le raspberry pi lors de notre <a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">tutoriel </a></span><span class="fs12lh1-5"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">Jouer avec les ondes radio</a></span><span class="fs12lh1-5">.</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Comment donner des ordres au raspberry PI via une télécommande radio achetée dans le commerce.</span><br></p><p class="cf1 mb1"><strong class="fs12lh1-5">Le Matériel :</strong></p><ol class="cf3 mb2"><li class=""><span class="fs12lh1-5">Un raspberry PI </span></li><li class=""><span class="fs12lh1-5">un kit émetteur/récepteur radio 433,92 Mhz sur conrad.<br><strong class="">NB :</strong>Vous pouvez n’acheter que le récepteur pour ce tuto, mais nous auront besoin de l’émetteur dans le tutos suivant donc autant grouper.</span></li><li class=""><span class="fs12lh1-5"><a href="http://www.conrad.fr/ce/fr/product/091426/Set-3-prises-avec-tlcommande-4-canaux-Chacon/?ref=detview1" target="_blank" class="imCssLink"><span class="cf2">Un kit télécommande + 3 prises D – IO by chacon modèle</span> </a> encore une fois, nous n’utiliseront dans le tuto que la télécommande, mais dans le prochaine nous nous occuperons des prises donc autant grouper.</span></li></ol><p class="cf1 mb1"><strong class="fs12lh1-5">&lt;!&gt; Prenez bien le même modèle que moi, car il semblerais que le protocole radio varie légèrement d’un modèle a un autre.</strong></p><p class="cf1 mb1"><strong class="fs12lh1-5">Installation :</strong></p><p class="mb1"><span class="fs12lh1-5"><span class="cf1">Branchez le récepteur au raspberry PI en suivant </span><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">les instructions du tuto </a></span><span class="fs12lh1-5"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">Jouer avec les ondes radio</a></span><span class="fs12lh1-5 cf1"> ceci permettra au raspberry de capter les ondes radios sur la fréquence 433 mhz</span></p><p class="mb1"><span class="fs12lh1-5"><span class="cf1">Si vous avez </span><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">suivis le tuto </a></span><span class="fs12lh1-5"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">Allumer/éteindre une vraie lampe OU comment faire de la domotique low cost</a><span class="cf1">.</span></span><span class="fs12lh1-5 cf1">, vous pouvez également brancher votre carte relais sur l’une des bornes du raspberry PI afin d’allumer/éteindre une lampe/un réveil comme dans la vidéo, sinon, vous vous contenterez de la partie envois de mail et affichage des codes de la télécommande.</span></p><p class="cf1 mb1"><span class="fs12lh1-5">C’est tout pour les branchements <img alt="Sourire" src="http://blog.idleman.fr/wp-content/uploads/2012/12/wlEmoticon-smile.png" class="wlEmoticon wlEmoticon-smile" data-selected="false" style="">, maintenant voyons le code !</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Assurez vous que la librairie <span class="cf2"><a href="https://projects.drogon.net/raspberry-pi/wiringpi/download-and-install/" target="_blank" class="imCssLink">wiringPi</a></span> (qui permet de gérer facilement l’état 0 ou 1 des ports GPIO du raspberry PI) est bien installé sur votre raspberry PI.</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Téléchargez mon petit programme de réception en C + PHP nommé originalement <span class="cf2"><a href="http://www.raspberry-pi.ovh/files/radioReception.zip" target="_blank" class="imCssLink">radioReception ici.</a></span></span></p><p class="cf1 mb1"><span class="fs12lh1-5">Décompressez le tout dans le répertoire /var/www de votre raspberry PI</span></p><p class="cf1 mb1"><span class="fs12lh1-5 cf2"><span><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/12/image.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2012/12/image_thumb.png" width="168" height="147" class="" data-selected="false"></a></span></span></span></p><ul class="cf3 mb2"><li class=""><span class="fs12lh1-5"><strong class="">LICENCE et README :</strong>Les infos sur la licence et autres du code.</span></li><li class=""><span class="fs12lh1-5"><strong class="">radioReception :</strong>l’exécutable C qui vas parser les infos sur port gpio de réception et les envoyer au fichier PHP</span></li><li class=""><span class="fs12lh1-5"><strong class="">radioReception.css :</strong>la source du programme C, vous pouvez le supprimer si vous ne comptez pas modifier le code.</span></li><li class=""><span class="fs12lh1-5"><strong class="">radioReception.php :</strong> Le fichier PHP qui vas être exécuté par le programme C, recevoir les infos du signal, et effectuer une action en conséquence.</span></li></ul><p class="cf1 mb1"><span class="fs12lh1-5"> </span></p><p class="cf1 mb1"><strong class="fs12lh1-5">Utilisation :</strong></p><p class="cf1 mb1"><span class="fs12lh1-5">positionnez vous dans le répertoire du programme,</span></p><p class="cf1 mb1"><span class="fs12lh1-5 cf4">cd /var/www/radioReception</span></p><p class="cf1 mb1"><span class="fs12lh1-5">définissez que le programme peut être exécuté avec un chmod.</span></p><p class="cf1 mb1"><span class="fs12lh1-5 cf4">sudo chmod 777 radioReception</span></p><p class="cf1 mb1"><span class="fs12lh1-5">puis lancez le programme C avec la commande suivante :</span></p><p class="cf1 mb1"><span class="fs12lh1-5 cf2"><span><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/12/image1.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2012/12/image_thumb1.png" width="528" height="41" border="0" class="" data-selected="false"></a></span></span></span></p><p class="cf1 mb1"><span class="fs12lh1-5">./radioReception <span class="cf5"><strong class="">/var/www/radioReception/radioReception.php</strong></span> &nbsp;<span class="cf6"><strong class="">7</strong></span></span></p><p class="cf1 mb1"><span class="fs12lh1-5 cf5"><strong class="">/var/www/radioReception/radioReception.php :</strong> <span class="cf3">Chemin vers le fichier PHP qui traitera les informations reçues (identifiant de la télécommande, numéro du bouton, état on/off etc..)</span> </span></p><p class="cf1 mb1"><span class="fs12lh1-5"><span class="cf6"><strong class="">7 :</strong> </span><span class="cf3">Numéro WiringPi du PIN Gpio auquel est branché le récepteur 433 mhz</span></span></p><p class="cf1 mb1"><span class="fs12lh1-5">Vous pouvez maintenant appuyer sur les boutons de la télécommandes et constater les actions effectuées par le PHP.</span></p><p class="cf1 mb1"><span class="fs12lh1-5 cf2"><span><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/12/image2.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2012/12/image_thumb2.png" width="386" height="430" border="0" class="" data-selected="false"></a></span></span></span></p><p class="cf1 mb1"><span class="fs12lh1-5">chaque action exécute le fichier PHP initialement entré en paramètre et lui fournis les informations suivantes :</span></p><ul class="cf3 mb2"><li class=""><span class="fs12lh1-5"><strong class="">$sender</strong>: l’identifiant de la télécommande</span></li><li class=""><span class="fs12lh1-5"><strong class="">$group</strong>: Si c’est une commande de groupe (1) ou non (0), avec cette télécommande, cette valeur sera toujours à 0.</span></li><li class=""><span class="fs12lh1-5"><strong class="">$state</strong>: si le bouton est on (1) ou off (0)</span></li><li class=""><span class="fs12lh1-5"><strong class="">$interruptor</strong> : l’identifiant de la rangée de bouton de la télécommande</span></li></ul><p class="cf1 mb1"><span class="fs12lh1-5">A vous de modifier le PHP et de développer les actions qui vous semblent intéressantes, je n’ai laissé que l’exemple d’ouverture/fermeture du port gpio 3 (15 em port physique) dans les sources.</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Si vous avez des problèmes de portées, de gros parasites, ou de mauvaise communication, pensez a faire ces deux choses :</span></p><ul class="cf3 mb2"><li class=""><span class="fs12lh1-5">Prendre une alim externe pour les cartes radio &nbsp;et les l’alimenter au maximum de ce qu’elles sont capables de faire (cf la clause “voltage max” de fiche technique, souvent c’est entre 5 et 12V)</span></li><li class=""><span class="fs12lh1-5">Souder un fil conducteur de 17.3 cm a l’émetteur et au récepteur pour servir d’antennes.</span></li></ul><p class="cf1 mb1"><span class="fs12lh1-5">Avec ces deux points, vous pouvez passer de quelques centimètres à plusieurs centaines de mètres de portée, la différence est vraiment flagrante.</span></p><p class="cf1 mb1"><span class="fs12lh1-5">C’est tout pour ce tuto !! Si vous ne voulez pas comprendre ce que vous faites, vous pouvez vous arrêter ici ^^, sinon je vous invite a entrer avec moi dans les subtilités du protocole radio utilisé en lisant les paragraphes ci dessous.</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Dans le prochain tuto nous tenterons le processus inverse, à savoir émettre avec le raspberry PI pour allumer/éteindre les prises chacon (et on pourra jeter cette vilaine télécommande XD)</span></p><p class="cf1 mb1"><strong class="fs12lh1-5">Comprendre plus en profondeur :</strong></p><p class="cf1 mb1"><span class="fs12lh1-5">C’est une chose d’appliquer bêtement un tuto, c’en est une autre de comprendre entièrement ses tenants et ses aboutissants, pour les curieux qui voudraient comprendre plus en détail comment nous récupérons et nous traitons le signal radio, voila quelques explications…</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Zallez voir, c’est pas ultra compliqué quand on a toutes les infos bout à bout (ce que j’ai passé 2 mois a réunir) mais il faut s’accrocher un minimum <img alt="Sourire" src="http://blog.idleman.fr/wp-content/uploads/2012/12/wlEmoticon-smile.png" class="wlEmoticon wlEmoticon-smile" data-selected="false" style=""></span></p><p class="cf1 mb1"><span class="fs12lh1-5">Concrètement qu’envoie la télécommande chacon ?</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Cette télécommande envoie un signal radio sur la fréquence 433.92 mhz, ce signal respecte (plus ou moins) le protocole radio domotique home easy (très mal documenté au passage).</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Le protocole home easy transmet les informations sous la forme d’un signal de 32 bits, un bit étant un 1 ou un 0 (ça tombe bien, les ports GPIO peuvent lire les 1 et le 0 <img alt="Rire" src="http://blog.idleman.fr/wp-content/uploads/2012/12/wlEmoticon-openmouthedsmile.png" class="wlEmoticon wlEmoticon-openmouthedsmile" data-selected="false" style="">)</span></p><p class="cf1 mb1"><span class="fs12lh1-5">il y a donc un signal de 32 : 0 ou 1 par exemple : <strong class=""><span class="cf5">00011000101001010010100100</span><span class="cf7">0</span><span class="cf6">1</span><span class="cf8">0110</span></strong></span></p><p class="cf1 mb1"><span class="fs12lh1-5 cf3">Vous noterez l’utilisation de zoulies ptites couleurs <img alt="Sourire" src="http://blog.idleman.fr/wp-content/uploads/2012/12/wlEmoticon-smile.png" class="wlEmoticon wlEmoticon-smile" data-selected="false" style="">, ce n’est pas pour rien :</span></p><p class="cf1 mb1"><span class="fs12lh1-5"><strong class="">Les 26 premiers bits</strong> (en bleu) correspondent à l’identifiant de la télécommande<br><strong class="">Le 27em bit</strong> (en violet) correspond au numéro de groupe (information que nous n’utiliseront pas)<br><strong class="">Le 28em bit</strong> (en rouge), correspond à l’état (ON ou OFF) envoyé, 0=off, 1=on<br><strong class="">Les bits 29 à 32</strong> (en vert) correspondent au numéro du bouton de la télécommande appuyé</span></p><p class="cf1 mb1"><span class="fs12lh1-5">La télécommande vas donc envoyer le signal en fonction du bouton appuyé, de la télécommande et de l’état ON ou OFF de ce bouton.</span></p><ol class="cf3 mb2"><li class=""><strong class="fs12lh1-5">Okay mais on a un seul pin branché au récepteur non ? comment on vas capter tout ces 0 et ces 1 d’un coup ?</strong></li></ol><p class="cf1 mb1"><span class="fs12lh1-5">C’est une bonne question !! <img src="http://blog.idleman.fr/wp-content/themes/twentytwelve/smile/icon_lol.png" alt=":D" class="wp-smiley" data-selected="false" style=""> En fait toutes les infos vont être envoyé par le récepteur sur le même pin (dans notre exemple, le pin 7) mais avec des délais entre chaque 0 ou 1 afin de bien les distinguer les uns des autres !</span></p><p class="cf1 mb1"><strong class="fs12lh1-5">Mais alors le signal vas être long à capter non ?</strong></p><p class="cf1 mb1"><span class="fs12lh1-5">Pas du tout ! En effet les délais dont je vous parlais sont de l’ordre de la micro seconde ! Donc un signal dans son intégralité a peu de chance de dépasser la milli-seconde ce qui est totalement ridicule pour la perception humaine :).</span></p><p class="cf1 mb1"><strong class="fs12lh1-5">Bon, et t’as mis 2 mois pour comprendre ça ?</strong></p><p class="cf1 mb1"><span class="fs12lh1-5">En réalité, nous ne sommes pas au bout de nos peines, c’est un peu plus compliqué que ca <img alt="Sourire" src="http://blog.idleman.fr/wp-content/uploads/2012/12/wlEmoticon-smile.png" class="wlEmoticon wlEmoticon-smile" data-selected="false" style="">, admettons que la télécommande nous envoie le code :</span></p><p class="cf1 mb1"><strong class="fs12lh1-5"><span class="cf5">00011000101001010010100100</span><span class="cf7">0</span><span class="cf6">1</span><span class="cf8">0110</span></strong></p><p class="cf1 mb1"><span class="fs12lh1-5 cf3">Nous recevrions en réalité quelque chose comme ça :</span></p><p class="cf1 mb1"><span class="fs12lh1-5">01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101</span></p><p class="cf1 mb1"><span class="fs12lh1-5">que nous traduirions en ça :</span></p><p class="cf1 mb1"><span class="fs12lh1-5">0101011010010101100110010110011001011001100101100101011001101001</span></p><p class="cf1 mb1"><span class="fs12lh1-5">et enfin en ça :</span></p><p class="cf1 mb1"><strong class="fs12lh1-5"><span class="cf5">00011000101001010010100100</span><span class="cf7">0</span><span class="cf6">1</span><span class="cf8">0110</span></strong></p><p class="cf1 mb1"><span class="fs12lh1-5">C’est juste <img alt="Sourire" src="http://blog.idleman.fr/wp-content/uploads/2012/12/wlEmoticon-smile.png" class="wlEmoticon wlEmoticon-smile" data-selected="false" style="">, mais il fallait simplifier pour ne pas vous perdre dès le début ^^, en réalité le signal est bien de 32 bits, mais il est “traduit” deux fois avant émission et réception pour les raisons que nous allons voir ci dessous.</span></p><p class="cf1 mb1"><span class="fs12lh1-5">La première traduction, est liée a ce qu’on appelle le “<span class="cf2"><a href="http://fr.wikipedia.org/wiki/Codage_Manchester" target="_blank" class="imCssLink">codage de manchester</a></span>” derrière ce nom étrange se cache un principe tout simple : on vas convertir les 0 en 01 et les 1 en 10.</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Donc le code de la télécommande</span></p><p class="cf1 mb1"><strong class="fs12lh1-5"><span class="cf5">00011000101001010010100100</span><span class="cf7">0</span><span class="cf6">1</span><span class="cf8">0110</span></strong></p><p class="cf1 mb1"><span class="fs12lh1-5 cf3">vas se transformer (avant d’être émis) en ce signal de 64 (car 32*2) bits :</span></p><p class="cf1 mb1"><strong class="fs12lh1-5"><span class="cf5">0101011010010101100110010110011001011001100101100101</span><span class="cf7">01</span><span class="cf6">10</span><span class="cf8">01101001</span></strong></p><p class="cf1 mb1"><strong class=""><span class="fs12lh1-5 cf3">Mais pourquoi se compliquent t’ils la vie avec leurs codage de machin chose?</span></strong></p><p class="cf1 mb1"><span class="fs12lh1-5">Dans notre contexte, le code de manchester est utilisé pour diverses raisons mais essentiellement pour éviter les parasites, et croyez moi, des parasite radio, nous en sommes blindés ! <img alt="Rire" src="http://blog.idleman.fr/wp-content/uploads/2012/12/wlEmoticon-openmouthedsmile.png" class="wlEmoticon wlEmoticon-openmouthedsmile" data-selected="false" style=""> Bref je ne vais pas m’étaler sur le principe, les infos sont sur wikipedia mais en gros si une paire de bit est égale a 11 ou 00 le programme comprendras qu’il s’agit d’un parasite (car en prenant les bits par paire depuis el début du signal, on ne peux avoir que des 10 ou des 01 si le signal n’est pas un parasite).</span></p><p class="cf1 mb1"><strong class="fs12lh1-5">Ok donc on à juste une petite conversion à faire, c’est pas méchant, mais c’est quoi la deuxième traduction alors ?</strong></p><p class="cf1 mb1"><span class="fs12lh1-5">Et bien la seconde traduction, c’est tout simplement la transformation en “onde”, c’est ce dont nous parlions tout à l’heure avec les délais, par exemple pour que la télécommande émette “1” il lui faut envoyer une impulsion (impulsion qui n’est autre qu’un passage de 0 à 1 ) avec un certain délais entre le 0 et le 1 (pour signifie qu’on envoie un 1 et pas un zero.</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Donc envoyer un 1 reviendrais a envoyer ce genre de signal :</span></p><p class="cf1 mb1"><span class="fs12lh1-5 cf2"><span><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/12/image3.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2012/12/image_thumb3.png" width="63" height="85" border="0" class="" data-selected="false"></a></span></span></span></p><p class="cf1 mb1"><span class="fs12lh1-5">C’est le délais en micro seconde ou le signal est bas qui définit si un 1 ou un 0 a été envoyé.</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Attention nous disons ici qu’un 1 a été envoyé, mais comme nous respectons le codage de Manchester nous devons envoyer “10” :</span></p><p class="cf1 mb1"><span class="fs12lh1-5 cf2"><span><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/12/image4.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2012/12/image_thumb4.png" width="95" height="83" border="0" class="" data-selected="false"></a></span></span></span></p><p class="cf1 mb1"><span class="fs12lh1-5">Comme vous pouvez le voir sur le schéma pas du tout précis, le premier “front bas” (qui représente le 1) est plus court que le second (qui représente le 0), leurs somme fait “10” qui, en codage Manchester signifie “1”</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Je suppose que vous êtes sur les rotules, mais soyez fiers de vous, il n’y a plus rien à comprendre par la suite (vous pouvez imaginer maintenant pourquoi j’ai mis un peu de temps à décrypter le protocole de cette fichue télécommande sans la moindre doc et sans connaitre les lois de la radio transmission).</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Voila un petit graphique pour résumer le chemin d’un signal :</span></p><p class="cf1 mb1"><span class="fs12lh1-5 cf2"><span><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/12/HomeEasyProtocol.jpg" class="inline-block"><img title="HomeEasyProtocol" alt="HomeEasyProtocol" src="http://blog.idleman.fr/wp-content/uploads/2012/12/HomeEasyProtocol_thumb.jpg" width="320" height="159" border="0" class="" data-selected="false"></a></span></span></span></p><p class="cf1 mb1"><span class="fs12lh1-5">Et voila un petit script tout droit sortis de mes petites papattes pour vous aider a visualiser un signal :<span class="cf2"><a title="http://domotique.idleman.fr/radiograph.htm" href="http://domotique.idleman.fr/radiograph.htm">http://domotique.idleman.fr/radiograph.htm</a></span></span></p><p class="cf1 mb1"><strong class="fs12lh1-5">Notez une dernière chose importante !</strong></p><p class="cf1 mb1"><span class="fs12lh1-5">Le protocol home easy, contient encore une petite subtilité : les verrous.</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Les verrous sont des bits émis par la télécommande avant et après le signal afin d’annoncer au récepteur que le signal commence et se termine (ce qui permet également de distinguer un signal d’un parasite).</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Ces verrous sont au nombre de 3 : deux avant le signal, un a la fin. Les pulsations de ces verrous sont très long (pour les distinguer des pulsations de bits d’informations) de l’ordre d’une centaine de micro secondes.</span></p><p class="cf1 mb1"><strong class="fs12lh1-5">Bon, j’ai bien tout compris, mais tu as oublié de nous donner quelque chose d’important : les délais de chaque pulsation (0, 1 et verrous) !!?</strong></p><p class="cf1 mb1"><span class="fs12lh1-5">C’est bien !! Vous suivez !! <img alt="Rire" src="http://blog.idleman.fr/wp-content/uploads/2012/12/wlEmoticon-openmouthedsmile.png" class="wlEmoticon wlEmoticon-openmouthedsmile" data-selected="false" style=""> Et vous avez raison je ne vous les ai pas donnés pour la raison suivante : je ne les connais pas ! Ha ha ha ha !!</span></p><p class="cf1 mb1"><span class="fs12lh1-5">En fait c’est la que le manque de doc se fait ressentir sur le protocole home easy :</span></p><ol class="cf3 mb2"><li class=""><span class="fs12lh1-5">Aucune doc n’est complète</span></li><li class=""><span class="fs12lh1-5">Les docs se contredisent entre elles pour les délais</span></li><li class=""><span class="fs12lh1-5">La marque Dio by chacon semble altérer légèrement les délais d’un modèle à un autre (pour brouiller les pistes?)</span></li></ol><p class="cf1 mb1"><span class="fs12lh1-5">Bref on ne peux qu’estimer les valeurs de chaque délais, c’est la raison pour laquelle vous noterez que mon programme ne capte pas à tout les coups, les délais étant encore mal calibrés, libre a vous de tester les délais et de me faire vos retours si vous parvenez a être plus précis, voila mes délais actuels :</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Verrou 1 : Entre 2700 et 2800 micro secondes<br>Verrou 2 : ?<br>0 : Entre 180 et 420 micro secondes<br>1 : Entre 1280 et 1480 micro secondes<br>Verrou 3 : ?</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Vous noterez aussi que dans mon code, je n’ai pas tenu compte des verrous 2 et 3, qui ne sont pas indispensables dans ce cas précis (même si ce serait mieux de les demander), en revanche quand nous émettrons depuis le raspberry PI, il nous faudra être plus rigoureux.</span></p><p class="cf1 mb1"><br></p></div>]]></description>
			<pubDate>Sun, 18 Oct 2020 15:47:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?commander-le-raspberry-pi-par-radio</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/898yp3lg</guid>
		</item>
		<item>
			<title><![CDATA[Configuration d’un Cloud privé avec Raspberry Pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_xouggq82"><div id="c57468" class="fs11lh1-5 cf1"><div class="imHeading1">Configuration d’un Cloud privé avec Raspberry Pi</div></div><div id="c57469" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">L’utilisation d’un espace de stockage en ligne via des plateformes de Cloud personnel comme Dropbox, Google Drive ou Amazon Drive devient de plus en plus populaire. Avec ces plateformes, il est possible de stocker les données sur le Cloud et de les consulter en tout temps. En plus du logiciel, la seule chose dont vous aurez besoin sera un accès internet et un ordinateur (ou support mobile). En ce qui concerne le choix de l’hébergeur Cloud, beaucoup de critères sont à prendre en compte. Un des aspects les plus critiqués repose sur le fait que les clients ignorent souvent si des tiers peuvent également accéder à leurs données ou si celles-ci disparaissent définitivement des serveurs une fois qu’elles ont été supprimées par leurs détenteurs. C’est notamment un point important à soulever en ce qui concerne le <strong class="">stockage de données sensibles</strong>. Pour les personnes qui souhaitent avoir un contrôle total sur leurs données, une option qui s’offre à eux consiste à <strong class="">créer et gérer son propre espace sur le Cloud</strong>.</p><p class="mb1">Une solution existe : elle est nommée <strong class="">ownCloud</strong>. C’est un logiciel libre, populaire et simple à utiliser. Avec Raspberry Pi, le nano-ordinateur, il est possible de bénéficier d’un serveur (hôte) pour utiliser ownCloud. Ce tutoriel vous dévoile comment utiliser et configurer Raspberry Pi pour votre Cloud.</p></div></div></div><div id="c57471" class="fs11lh1-5 cf1"><div class="imHeading2">Quels sont les avantages de l’association entre Raspberry Pi et ownCloud ?</div><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Le logiciel libre ownCloud est une application Web d'hébergement de fichiers avec laquelle vous pourrez créer votre propre <strong class="">espace de stockage en ligne</strong>. À partir de l’interface Web, la gestion et l’accès aux données est facilitée. De plus, les clients desktop et les données des applications mobiles peuvent y être téléchargées et les données synchronisées.</p><p class="mb1">En plus de sa fonction principale en tant que serveur de fichiers, ownCloud compte les fonctions suivantes :</p><ul class="mb2"><li class="">Calendrier/planificateur de tâches</li><li class="">Carnet d’adresses</li><li class="">Lecteur audio et vidéo</li><li class="">Lecteur PDF, images et documents Microsoft Office</li><li class="">Éditeur de documents pour OpenDocument</li><li class="">Gestionnaire de droits d’utilisateurs et de groupes</li></ul><p class="mb1">De plus, il existe une option de cryptage des données, aussi bien pour les données mêmes que pour assurer leur transport. Le logiciel ownCloud représente une alternative intéressante aux principaux services Cloud et il est de plus apprécié par de nombreux utilisateurs car les données sont <strong class="">stockées sur un serveur privé ou un espace Web loué</strong>. Ainsi, les données ne sont pas enregistrées sur les disques durs de grandes entreprises pour garantir leur accès continu.</p><p class="mb1">Pour héberger des données, un parc informatique comprenant un serveur et les logiciels adaptés sont requis. Il existe de nombreux arguments en faveur de l’utilisation de <strong class="">Raspberry Pi en tant qu’hôte pour ownCloud</strong>. Tout d’abord, le prix d’acquisition du nano-ordinateur et des autres composants est très bas et le rapport qualité-prix est très satisfaisant. Par la suite, cet ordinateur à carte unique est très peu gourmand en énergie, ce qui est un avantage considérable pour un serveur qui se doit d’être utilisable en tout temps. En règle générale, des programmes variés et différentes méthodes sont disponibles pour la mise en place de Raspberry Pi en tant qu’hôte ownCloud. Dans les explications ci-dessous, un serveur Web Apache Version 2 est utilisé. C’est un des serveurs Web les plus populaires et utilisés du moment. En plus d’avoir recours au <strong class="">langage de script HTTP5</strong>, la base de données<strong class=""> SQLite </strong>est exploitée (MySQL a l’avantage par rapport à SQLite de requérir moins de ressources serveur chez Raspberry Pi).</p></div></div></div><div id="c57472" class="fs11lh1-5 cf1"><div class="imHeading2">Configuration d’ownCloud sur Raspberry Pi</div><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Pour configurer son propre Cloud sur Raspberry Pi, certains éléments autres que le nano-ordinateur seront nécessaires. De plus, il convient d’effectuer quelques réglages au préalable avant l’installation.</p></div></div></div><div id="c57473" class="fs11lh1-5 cf1"><div class="imHeading3">Les composants nécessaires</div><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><ul class="mb2"><li class="">Pour utiliser Raspberry Pi en tant que serveur pour ownCloud, il est conseillé d’utiliser le <strong class="">Raspberry Pi 2 Modèle B ou bien un modèle tout aussi performant. </strong>Autrement, le risque persiste de faire face à une vitesse de téléchargement trop lente (mais qui est également corrélé à la rapidité de la connexion Internet).</li></ul><ul class="mb2"><li class="">Une <strong class="">carte mémoire micro SD</strong> avec un espace de stockage suffisant (au moins 8GB). Bien entendu, la taille de l’espace de stockage le plus adapté varie et dépend entièrement de la quantité de données à traiter et du type de données que vous souhaitez enregistrer avec votre Rapsberry Pi. Un espace ownCloud peut de plus avoir recours à des espaces de stockage externes sur le Web (par FTP ou WebDAV). De plus, les autres services Cloud comme Dropbox ou Amazon S3 peuvent être intégrés à ownCloud. Dans ce tutoriel, le système d’exploitation utilisé est<strong class=""> Raspbian Jessie</strong> et il doit être installé sur une carte Micro-SD. Si jamais votre Raspberry Pi fonctionne encore avec la version précédente Wheezy, téléchargez la version <span class="cf2"><a href="https://www.raspberrypi.org/downloads/raspbian/" title="lien vers de téléchargement de la version actuelle de Raspbian Jessie" target="_blank">Jessie à partir du site officiel</a></span> et ouvrez-la sur le nano-ordinateur.</li></ul><ul class="mb2"><li class=""><strong class="">Une connexion Internet rapide</strong> (idéalement par câble réseau, à défaut par Wifi).</li></ul><ul class="mb2"><li class="">Un<strong class=""> câble Micro-USB </strong>pour l’approvisionnement en électricité<strong class="">.</strong></li></ul><p class="mb1">Optionnellement, l’utilisation d’un autre espace de stockage installé indépendamment (un disque dur externe ou une clé USB) sera requise pour que les données puissent disposer de plus d’espace. Dans certains cas, il est utile d’avoir recours à un refroidisseur silencieux pour ordinateur. Comme avec la majorité des serveurs, votre Rapsberry Pi pourra être utilisé en « headless », c’est-à-dire sans écran, clavier ni souris. Pour cela, un accès à distance <strong class="">SSH </strong>est recommandé, c’est une solution simple et qui <strong class="">économise de l’énergie</strong>. Les Clients SSH comme WinSCP ou PuTTY pour Windows ou encore OpenSSH pour les systèmes d‘exploitation Unix permettent un accès à distance facile via un smartphone ou un ordinateur. Pour relier les deux, il suffit d’intégrer l’adresse IPv4 du Raspberry Pi dans le Client SSH et d’activer la connexion.</p></div></div></div><div id="c57474" class="fs11lh1-5 cf1"><div class="imHeading3">Configurer une adresse statique pour Raspberry Pi</div><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Pour la majorité des utilisateurs, un Cloud personnel représente l’avantage de pouvoir être accessible 24 heures sur 24. C’est l’unique moyen pour vous (et éventuellement pour d’autres utilisateurs) d’accéder en tout temps aux données ou d’en télécharger, même en dehors de votre réseau personnel. Bien souvent, une telle configuration soulève des problèmes. Car la connexion Internet dispose souvent d’une <strong class="">adresse IP dynamique</strong>, qui change au moins toutes les 24 heures. C’est pourquoi il est impossible d’être joignable sur la même adresse continuellement avec une telle connexion Web.</p><p class="mb1">Une adresse IP statique permet de résoudre ce problème. Par ailleurs, cette solution est relativement onéreuse et n’est pas proposée par tous les hébergeurs. Un DNS dynamique (DDNS) est utile pour effectuer la connexion entre le routeur et l’ordinateur. Pour cela, un programme va attribuer automatiquement l’adresse IP de votre connexion Internet à votre nom de domaine. Ainsi, le serveur est disponible sous le même nom en permanence. Les DDNS sont proposés par différents prestataires de services, parfois même gratuitement.</p></div></div></div><div id="c57475" class="fs11lh1-5 cf1"><div class="imHeading3">Préparez votre Raspberry Pi à l’installation ownCloud</div><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Il est important de s’assurer que votre Raspberry Pi soit configuré de manière optimale pour l’utilisation avec ownCloud. Si vous n’avez pas encore changé le <strong class="">nom d’utilisateur standard </strong>« Pi » et le mot de passe par défaut « Rapsberry », procédez à la modification. Il serait risqué pour la sécurité de vos données de garder l’identifiant et le mot de passe par défaut. Pour cela, saisissez l’élément suivant dans la base de commandes :</p></div></div></div><div id="c57476" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><span class="ff1"><span class="cf3">sudo raspi-config</span> </span><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c57477" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Comme avant toute installation sur un Raspberry Pi, il est préférable de mettre à jour votre ordinateur et les piles logicielles installées. Pour cela, saisissez les commandes suivantes dans la console :</p></div></div></div><div id="c57478" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div><pre data-language="mixed" data-trimmed="true"><code class="ff1"><span data-line="1"></span><span class="cf3">sudo apt-get update </span><span class="cf3">sudo apt-get upgrade</span></code></pre></div><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c57479" class="fs11lh1-5 cf1"><div class="imHeading2">Installer ownCloud</div><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Le Cloud personnel du Raspberry Pi ne compte pas seulement le logiciel ownCloud, mais divers programmes qui sont installés petit à petit. Sauf indication contraire, les données peuvent être saisies dans la console du Raspberry Pi.</p></div></div></div><div id="c57480" class="fs11lh1-5 cf1"><div class="imHeading3">Installer Apache 2, PHP 5 et SQLite</div><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Au départ, le serveur <strong class="">Apache HTTP Server</strong> sera installé de la manière suivante :</p></div></div></div><div id="c57481" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div><pre data-language="mixed" data-trimmed="true"><code class="ff1"><span data-line="1"></span><span class="cf3">sudo apt-get install apache2</span></code></pre></div><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c57482" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Pour découvrir si l’installation de votre serveur Web est réussie, vous pouvez vérifier en saisissant <strong class="">l’adresse IP</strong> de votre<strong class=""> Raspberry-Pi </strong>dans l’URL de votre navigateur. Si une page Web s’affiche par la suite avec la mention « it works ! », l’installation a bien fonctionné. </p><p class="mb1">Pour que votre espace ownCloud soit accessible, activez la redirection de port de votre routeur (« Port Forwarding ») et redirigez les requêtes du routeur du port 433 sur le Raspberry Pi. Cette méthode varie de routeur à routeur, mais de nombreux tutoriels sont disponibles en fonction de chaque routeur. Avec une redirection de port, votre Raspberry Pi est accessible sur le Web sous son adresse IP (par exemple sous son nom de domaine si vous utilisez DDNS). Sans redirection de port, vous n’aurez accès à votre serveur Web que sur le réseau local.</p><p class="mb1">Installez désormais <strong class="">PHP</strong>, <strong class="">SQLite</strong> et d’autres paquets nécessaires :</p></div></div></div><div id="c57483" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><span class="ff1"><span class="cf3">sudo apt-get install php5 php5-gd sqlite php5-sqlite php5-curl</span><code class="rainbow language-mixed rb4 cf3"> php5-curl</code> </span><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c57484" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Après avoir installé tous les programmes, redémarrez le serveur Web Apache :</p></div></div></div><div id="c57485" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div><pre data-language="mixed" data-trimmed="true"><code><span class="cf3 ff1">sudo service apache2 restart</span></code></pre></div><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c57486" class="fs11lh1-5 cf1"><div class="imHeading3">Installer ownCloud</div><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Une fois que toutes ces étapes préliminaires ont été mises en place, il est temps d’installer ownCloud sur votre Raspberry Pi. Le logiciel est disponible par exemple dans la section de <span class="cf2"><a href="https://owncloud.org/install/#instructions-server" title="espace de téléchargement sur le site Web officiel ownCloud" target="_blank">téléchargement du site officiel</a></span>. Téléchargez dans le menu « archive file » le dossier .zip et copiez le dans le Raspberry Pi. De manière alternative, il est possible d’<strong class="">installer le programme via une console</strong>. Pour cela, il convient de saisir la version ownCloud. Pour ce tutoriel, ownCloud 9.1.0 a été utilisé.</p></div></div></div><div id="c57487" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><span class="ff1"><span class="cf3">wget https://download.owncloud.org/community/owncloud-9.1.0.zip</span><span class="cf3 cb1">zip</span><code class="rainbow language-mixed rb6 cf3"><br></code></span><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c57488" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Une autre version peut être installée simplement en changeant les chiffres de ladite version (<em class="">[…] community/owncloud-X.X.X.zip)</em>. La version la plus solide du programme se trouve sous le lien indiqué ci-dessus pour la section de téléchargement de ownCloud. Peu importe pour quelle solution vous vous décidez, après avoir téléchargé le dossier .zip ownCloud, il convient de le déposer dans le bon dossier et de le <strong class="">décompresser </strong>:</p></div></div></div><div id="c57489" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><span class="cf3 ff1">sudo mv owncloud-9.0.4.zip /var/www/html</span></pre><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><span class="cf3 ff1">cd /var/www/html</span><div><pre data-language="mixed" data-trimmed="true"><code class="ff1"><span data-line="3"></span><span class="cf3">sudo unzip -q owncloud-9.0.4.zip et définissez les droits : </span><span data-line="4"></span><span class="cf3">sudo mkdir /var/www/html/owncloud/data </span><span data-line="5"></span><span class="cf3">sudo chown www-data:www-data /var/www/html/owncloud/data </span><span data-line="6"></span><span class="cf3">sudo chmod 750 /var/www/html/owncloud/data</span></code></pre></div><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c57492" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Après que le dossier ait été créé, redémarrez Raspberry Pi :</p></div></div></div><div id="c57493" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div><pre data-language="mixed" data-trimmed="true"><code><span class="cf3 ff1">sudo reboot</span></code></pre></div><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c57494" class="fs11lh1-5 cf1"><div class="imHeading3">Configurer ownCloud</div><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Après que le programme ait été installé et que la bonne structure de dossier a été définie, il convient de mettre en place un <strong class="">compte privé ownCloud</strong>. Pour cela, lancez Raspberry Pi dans votre navigateur. Par la suite, saisissez l’adresse IP du nano-ordinateur dans la barre URL et ajoutez-y « /owncloud » (par exemple 192.168.X.X/owncloud). Si vous utilisez votre serveur avec une adresse DDNS, celle-ci remplace l’adresse IP. L’écran de connexion ownCloud devrait apparaître. Si jamais un avertissement concernant la performance &nbsp;apparaît concernant SQLite, il n’est pas systématiquement nécessaire de le prendre en compte. <strong class="">Créez un compte administrateur</strong> en saisissant un nom d’utilisateur et un mot de passe. Par la suite, enregistrez les données saisies. Votre ownCloud personnel est dès à présent disponible sous le compte administrateur. Les données peuvent être importées et téléchargées sous le menu « file ».</p></div></div></div><div id="c57495" class="fs11lh1-5 cf1"><div class="imHeading2">Conseils concernant l’administration</div><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Si vous avez configuré votre Raspberry Pi avec une adresse statique, vous pouvez accéder à votre Cloud personnel en tout temps avec ladite adresse IP ou DDNS. Par ailleurs, il convient de veiller à la sécurité de votre mot de passe. Si votre serveur Raspberry Pi est accessible sur le Web par accès externe, il convient de veiller tout particulièrement à la sécurité des données et de veiller à les actualiser.</p></div></div></div></div>]]></description>
			<pubDate>Mon, 02 Mar 2020 22:43:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?configuration-d-un-cloud-prive-avec-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/xouggq82</guid>
		</item>
		<item>
			<title><![CDATA[Serveur LAMP: solution bon marché pour un site dynamique]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_fr0jlcrx"><div id="c9296" class="fs11lh1-5 cf1"><div class="imHeading1">Serveur LAMP: solution bon marché pour un site dynamique</div></div><div id="c9297" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">On différencie deux grands types de sites Web : les sites statiques et les sites dynamiques. Les sites statiques présentent des documents HTML hébergés sur des serveurs Web, dont les contenus restent inchangés et que les utilisateurs peuvent à tout moment charger. Le contenu d’une page Web dynamique va au contraire varier selon les différentes caractéristiques à la demande des utilisateurs. Un site dynamique a l’avantage de proposer des <strong class="">actualisations régulières</strong> faciles à intégrer et est très apprécié pour les sites d’informations, de prévisions météo ou encore ceux qui publient les cours de la bourse par exemple. Les sites Web dynamiques nécessitent cependant une <strong class="">infrastructure</strong> particulière, composée d’un système d’exploitation, d’un serveur Web, d’un système de gestion de base de données et d’un logiciel de langage de script. Un serveur dit LAMP réunit justement ces quatre composants.</p></div></div></div><div id="c9298" class="fs11lh1-5 cf1"><div class="imHeading2">Qu’est-ce qu’un serveur LAMP ?</div><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">L’acronyme LAMP a été construit avec les premières lettres de quatre logiciels : <strong class="">L</strong>inux, <strong class="">A</strong>pache, <strong class="">M</strong>ySQL et <strong class="">P</strong>HP. Grâce à cet ensemble de logiciels, il est possible de créer et d’héberger un site Web dynamique. Ces différents composants constituent cette combinaison bien connue par les utilisateurs, appelée LAMP.</p><p class="mb1">En tant que système d’exploitation, Linux constitue la base de cet ensemble, sur laquelle opère le serveur Web Apache. Ce dernier ne peut pas interpréter de contenus dynamiques car c’est là le rôle du langage de script PHP. Pour cette raison, il va envoyer le <strong class="">code source</strong> correspondant contenant les informations sur les actions des visiteurs du site au serveur PHP. Ce dernier va accéder à la base de données MySQL. &nbsp;Le résultat va être renvoyé au serveur Apache pour apparaître ensuite sur le navigateur Internet de ces visiteurs. </p><p class="mb1">Les serveurs LAMP sont très appréciés car ils sont très abordables et disponibles rapidement. Cependant, ces différents composants peuvent être remplacés par d’autres logiciels comparables. Les systèmes d’exploitation Windows (WAMP pour Windows, Apache, MySQL et PHP) et Mac OS X (MAMP) peuvent par exemple remplacer l’utilisation de Linux. &nbsp;Le serveur Web nginx est aussi souvent utilisé à la place d’Apache. Parmi les gestionnaires de base de données on trouve le plus souvent MySQL et MariaDB. &nbsp;En ce qui concerne les logiciels de scripts on peut citer Perl, Ruby ou encore Python.</p></div></div></div><div id="c9299" class="fs11lh1-5 cf1"><div class="imHeading2">Comment installer un serveur LAMP ?</div><div class="text-row ce-textpic ce-center ce-below"><div class="ce-bodytext"><p class="mb1">Avant de commencer l’installation d’un serveur LAMP, il convient de clarifier certaines choses en amont. Tout d’abord, il est important que votre matériel ait la capacité nécessaire pour l’installation et l’utilisation de l’ensemble des logiciels LAMP. Un système LAMP n’exige pas les meilleures performances du marché. Toutefois, un système très performant pourrait être nécessaire en fonction du contenu qui doit être livré aux visiteurs. Les projets à forte puissance de calcul sont par exemple les espaces de stockage de données en ligne ou les services de streaming. De plus, le trafic estimé ou la circulation de données calculée doivent y être intégrés.</p><p class="mb1">Si le matériel est suffisamment puissant, il faut par la suite se décider pour l’une des nombreuses distributions Linux existantes. Si le choix se fait par exemple entre Red Hat, openSUSE, Debian, Ubuntu ou CentOS, on dépend dans tous les cas d’un savoir-faire Linux plus général pour l’utilisation des programmes du serveur LAMP.</p><p class="mb1">Les instructions qui suivent décrivent l’installation des quatre composants d’un serveur LAMP Ubuntu.</p></div></div></div><div id="c54696" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><div class="imHeading3">Etape 1 : le système d‘exploitation</div><p class="mb1">Ubuntu, comme beaucoup d’autres variantes Linux, est un logiciel open source gratuit et facilement disponible sur le Web. Les étapes ci-dessous vous permettront d’installer ce système d’exploitation basé sur Debian :</p><ol class="mb2"><li class="">Télécharger ou acheter une édition du serveur Ubuntu sur la page <span class="cf2"><a href="http://www.ubuntu.com/download/server" title="Ubuntu" target="_blank">d’Ubuntu</a></span>. Il faut ensuite enregistrer ou graver le fichier ISO respectivement sur une clé USB ou sur un CD ;</li><li class="">Lancer le système depuis le CD ou la clé USB ;</li><li class="">Choisir la langue puis démarrer l’installation du serveur ;</li><li class="">Indiquer dans les options la langue, le type de clavier, le fuseau horaire, les configurations du réseau, un nom d’hôte et un mot de passe ;</li><li class="">Configurer le disque dur ;</li><li class="">Le programme d’installation scanne ensuite le CD à la recherche de paquets de logiciels et d’options de mises à jour. Au cours de cette étape, veillez à ce qu’aucune mise à jour automatique ne soit installée ;</li><li class="">Enfin, le système doit être redémarré et la commande suivante doit être saisie dans la ligne de commandes :</li></ol></div></div></div><div id="c54697" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div><pre data-language="mixed" data-trimmed="true"><code class="ff1"><span data-line="1"></span><span class="cf3">sudo apt-get update</span></code></pre></div><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c54698" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-center ce-above"><div class="ce-bodytext"><p class="mb1">L’installation d’Ubuntu est maintenant terminée et les autres composants de l’ensemble LAMP sont prêts à être configurés.</p></div></div></div><div id="c54700" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><div class="imHeading3">Etape 2 : le serveur Web</div><p class="mb1">Si l’installation du serveur Web Apache n’a pas encore été établie lors de l’installation d’Ubuntu, il peut à tout moment être mis en place en renseignant la commande suivante :</p></div></div></div><div id="c54701" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div><pre data-language="mixed" data-trimmed="true"><code class="ff1"><span data-line="1"></span><span class="cf3">sudo apt-get install apache2</span></code></pre></div><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c54702" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Vérifiez ensuite le succès de l’installation d’Apache 2 (« 2 » pour signifier que la version est actuelle), dans lequel on va entrer depuis le navigateur la page Web <span class="cf2"><a href="http://localhost/" target="_blank">localhost</a></span> ou bien l’IP de l’hôte. &nbsp;Le message « It works! » apparaît et la <strong class="">configuration</strong> peut alors commencer. Les adaptations suivantes doivent être prises en compte :</p><ol class="mb2"><li class="">Certes, KeepAlive améliore la vitesse du site Web pour l’utilisateur, mais accapare aussi une quantité importante de mémoire vive. C’est pourquoi vous devriez si nécessaire sélectionner dans le fichier principal de configuration /etc/apache2/apache2.conf « KeepAlive Off ».</li><li class="">Le module multi-processus (MPM) d’Apache le plus courant est <em class="">Event</em> tandis que PHP utilise le module <em class="">prefork</em>. On peut trouver le fichier mpm_prefork dans /etc/apache2/mods-available et les données doivent être adaptées comme indiqué ci-dessous :</li></ol></div></div></div><div id="c54703" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div><pre data-language="mixed" data-trimmed="true"><code class="ff1"><span class="cf3">&lt;IfModule mpm_prefork_module&gt; </span><span data-line="2"></span><span class="cf3">StartServers &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2 </span><span data-line="3"></span><span class="cf3">MinSpareServers &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;6 </span><span data-line="4"></span><span class="cf3">MaxSpareServers &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;12 </span><span data-line="5"></span><span class="cf3">MaxRequestWorkers &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;39 </span><span data-line="6"></span><span class="cf3">MaxConnectionsPerChild &nbsp;&nbsp;&nbsp;3000 </span><span data-line="7"></span><span class="cf3">&lt;/IfModule&gt;</span></code></pre></div><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c54704" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-center ce-above"><div class="ce-bodytext"><ol start="3" class="mb2"><li class="">Dans un second temps, il faut éteindre le module <em class="">Event</em> et allumer le module Prefork.</li></ol></div></div></div><div id="c54705" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><span class="cf3 ff1">sudo a2dismod mpm_event</span></pre><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><span class="cf3 ff1">sudo a2enmod mpm_prefork</span><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c54706" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-center ce-above"><div class="ce-bodytext"><ol start="4" class="mb2"><li class="">Pour finir, le serveur doit être redémarré :</li></ol></div></div></div><div id="c54707" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div><pre data-language="mixed" data-trimmed="true"><code class="ff1"><span data-line="1"></span><span class="cf3">sudo service apache2 restart</span></code></pre></div><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c54708" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-center ce-above"><div class="ce-bodytext"><div class="imHeading3">Etape 3 : la base de données</div><p class="mb1">Le système de gestion de base de données MySQL opère en tant que serveur sur lequel plusieurs bases de données peuvent être créées. Pour chaque base de données, divers tableaux sont ajustés. Un ou plusieurs clients envoient des requêtes au serveur MySQL qui s’installe grâce à la commande suivante :</p></div></div></div><div id="c54709" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><span class="ff1"><span class="cf3">sudo apt-get install mysql-server</span> </span><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c54710" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-center ce-above"><div class="ce-bodytext"><p class="mb1">Il est possible d’assigner un mot de passe à l’utilisateur root MySQL pendant l’installation, ce qui est fortement recommandé. L’étape suivante consiste à maximiser la sécurité de MySQL. Le programme MySQL Secure propose des options permettant de <strong class="">modifier votre mot de passe</strong>, supprimer des comptes utilisateurs anonymes, des bases de données test ou encore tous les identifiants racine, qui ne passent pas par l’hébergeur local. La commande d’installation est la suivante :</p></div></div></div><div id="c54711" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><span class="ff1"><span class="cf3">sudo mysql_secure_installation</span> </span><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c54712" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-center ce-above"><div class="ce-bodytext"><p class="mb1">Pour créer une base de données, on entre le code suivant dans MySQL :</p></div></div></div><div id="c54713" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><span class="ff1"><span class="cf3">mysql -u root -p</span> </span><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c54714" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-center ce-above"><div class="ce-bodytext"><p class="mb1">Ensuite, une base de données incluant des utilisateurs ayant des droits d’accès peut être créée :</p></div></div></div><div id="c54715" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><span class="ff1"><span class="cf3">create database webdata;<br></span><span class="cf3">grant all on webdata.* to « utilisateur » identified by « mot de passe »;</span><code class="rainbow language-mixed rb9 cf3">sse »;</code> </span><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c54716" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-center ce-above"><div class="ce-bodytext"><div class="imHeading3"><span class="">Etape 4 : le logiciel de script</span><br></div><p class="mb1">La dernière étape de l’installation ajoute à cet ensemble LAMP le langage de script PHP et une de ses extensions: PEAR (<em class="">PHP Extension and Application Repository</em>), une collection de bibliothèques de fonctions PHP. L’installation de cette dernière s’effectue avec la commande suivante :</p></div></div></div><div id="c54717" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><span class="ff1"><span class="cf3 cb1">sudo apt-get install php5 php-pear</span><code class="rainbow language-mixed rb10 cf3">ear</code> </span><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c54718" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">L’installation d’un outil de compatibilité de MySQL avec PHP5 en vaut la peine et s’effectue par cette commande :</p></div></div></div><div id="c54719" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><span class="ff1"><span class="cf3">sudo apt-get install php5-mysql</span> </span><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c54720" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-center ce-above"><div class="ce-bodytext"><p class="mb1">Une fois l’installation terminée, il faut modifier le fichier de configuration PHP, se trouvant dans /etc/php5/apache2/php.ini, de la manière suivante :</p></div></div></div><div id="c54721" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div><pre data-language="mixed" data-trimmed="true"><code class="ff1"><span data-line="1"></span><span class="cf3">error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR </span><span data-line="2"></span><span class="cf3">error_log = /var/log/php/error.log </span><span data-line="3"></span><span class="cf3">max_input_time = 30</span></code></pre></div><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c54722" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-center ce-above"><div class="ce-bodytext"><p class="mb1">Grâce à cela, l’utilisateur recevra des rapports d’erreur pertinents et bénéficiera d’une meilleure performance. De plus, il est possible d’enregistrer ces messages d’erreur dans error.log. Enfin, il ne reste plus qu’à créer le répertoire <strong class="">log pour PHP</strong> et donner les droits de propriétés au serveur Apache :</p></div></div></div><div id="c54723" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div><pre data-language="mixed" data-trimmed="true"><code class="ff1"><span class="cf3">sudo mkdir /var/log/php </span><span data-line="2"></span><span class="cf3">sudo chown www-data /var/log/php</span></code></pre></div><span class="ff1"> </span><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c54724" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-center ce-above"><div class="ce-bodytext"><p class="mb1">Relancer Apache permettra la finalisation de l’installation de l’ensemble LAMP:</p></div></div></div><div id="c54725" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div><pre data-language="mixed" data-trimmed="true"><code class="ff1"><span data-line="1"></span><span class="cf3">sudo service apache2 reload</span></code></pre></div><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c9304" class="fs11lh1-5 cf1"><div class="imHeading2">Ensemble LAMP : logiciel open source pour tout projet Web</div><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">L’avantage des logiciels open source ne réside pas seulement dans le fait qu’ils soient gratuits dans la majorité des cas. Un autre plus est la possibilité pour n’importe qui d’accéder au <strong class="">code de développement.</strong> Ainsi, n’importe quel utilisateur peut « bricoler » ce logiciel et développer sa propre extension. Au contraire des logiciels propriétaires, qui proposent des services de support souvent payants, l’absence d’assistance technique ne pose pas de problèmes pour un utilisateur expérimenté dans la mesure où la communauté des logiciels open source facilite grandement leur utilisation.</p><p class="mb1">Installer un serveur LAMP en vaut la peine, non seulement en raison de la flexibilité des logiciels et mais aussi de leur faible prix, si ce n’est leur gratuité. Un avantage de taille réside dans la très bonne compatibilité des différents composants de l’ensemble LAMP et permettant de très bons résultats. &nbsp;L’utilisation d’un serveur LAMP permet aussi bien l’exploitation d’un site statique que d’un site dynamique. Le logiciel Wiki MediaWiki, avec lequel est exploité Wikipedia, est par exemple développé sur un système LAMP.</p></div></div></div></div>]]></description>
			<pubDate>Sat, 15 Feb 2020 06:35:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?serveur-lamp--solution-bon-marche-pour-un-site-dynamique</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/fr0jlcrx</guid>
		</item>
		<item>
			<title><![CDATA[Utiliser Raspberry Pi en tant que serveur Web]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_saiei0pc"><div id="c44762" class="fs11lh1-5 cf1"><div class="imHeading1">Utiliser Raspberry Pi en tant que serveur Web</div></div><div id="c44764" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">L’ordinateur à carte unique Raspberry-pi est configurable de manière à le rendre extrêmement personnalisable. Bien que la performance de Raspberry Pi puisse sembler moindre par rapport à ses variantes commerciales, il peut être très utile de configurer un serveur Web privé. C’est notamment le cas si l’on désire tester son site Web et l’héberger ou si l’on gère soi-même les données et que l’on souhaite les rendre disponibles sur le Cloud. Ce tutoriel vous dévoile comment configurer votre propre serveur avec un paquet logiciel LAMP sur Raspberry Pi.</p></div></div></div><div id="c44765" class="fs11lh1-5 cf1"><div class="imHeading2">Quelles sont les capacités d’un serveur Web Raspberry Pi ?</div><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Si vous souhaitez utiliser un serveur Web Raspberry Pi, n’oubliez pas que le matériel présente des capacités limitées. L’ordinateur a une <strong class="">performance restreinte comparé aux serveurs Web ordinaires</strong> que vous pouvez louer chez un hébergeur. Raspberry Pi n’est pas adapté à l’hébergement des sites les plus complexes (par exemple pour les boutiques en ligne ou les sites Web qui comportent de nombreux contenus dynamiques), ni pour les sites qui comptent un nombre important de visiteurs. Généralement, la bande passante n’est pas suffisante avec une connexion internet privée, ce qui rend l’utilisation de Raspberry Pi plus difficile.</p><p class="mb1">Il existe tout de même différents domaines d’utilisation pour un serveur Web exploité par Raspberry Pi. Il est en effet possible de l’utiliser en tant que serveur personnel avec accès Internet ou par exemple pour un réseau d’entreprise. Ainsi, un hébergement privé peut suffire pour les <strong class="">sites Web testés en ligne</strong> et les sites Web qui comptent peu de visiteurs. La configuration est possible sur votre propre Cloud, ainsi que la domotique (par exemple le contrôle de la lumière, du chauffage et des appareils électroménagers connectés via Raspberry Pi).</p><p class="mb1">Un autre avantage repose sur les <strong class="">coûts très peu élevés</strong> d’un serveur Web Raspberry Pi, qui ne requiert que deux choses : un abonnement Internet et de l’électricité. La consommation de ce nano-ordinateur ne dépasse généralement pas les 5 Watts et le coût d’acquisition des différents composants est peu élevé.</p></div></div></div><div id="c44766" class="fs11lh1-5 cf1"><div class="imHeading2">Les composants requis pour configurer Raspberry Pi en tant que serveur Web</div><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Le tutoriel ci-dessous présente une des nombreuses options qui s’offrent à vous pour configurer Raspberry Pi en tant que serveur Web. Pour cela, vous aurez besoin des composants suivants en plus du nano-ordinateur :</p><ul class="mb2"><li class="">Une carte SD avec Raspbian en guise de système d’exploitation</li><li class="">Une connexion Internet, de préférence en réseau (à privilégier au wifi)</li><li class="">Une connexion électrique, de préférence par micro câble USB</li></ul><p class="mb1">Comme un serveur Web fonctionne en « headless » (c’est-à-dire sans écran ni appareil de saisie) et que cette variante est <strong class="">très peu gourmande en énergie</strong>, l’<strong class="">accès à distance </strong>sur le serveur par SSH est idéal. À l’aide d’un client SSH (comme PuTTY, <span class="cf2"><span><span><span><a title="Un transfert de données sécurisé avec WinSCP" href="https://www.1and1.fr/digitalguide/hebergement/aspects-techniques/le-transfert-de-donnees-cryptees-avec-winscp/" class="internal-link">WinSCP</a></span></span></span></span> pour Windows ou OpenSSH pour systèmes d’exploitation Unix), il est possible de configurer le serveur Web via un ordinateur, un smartphone ou d’autres appareils et d’y apporter directement des modifications. Si vous vous décidez pour une administration via SSH, saisissez l’adresse IPv4 à votre client SSH sur Raspberry Pi, afin de pouvoir relier les deux. Si vous ne connaissez pas l’adresse IP de votre Raspberry Pi, utilisez la commande <em class="">hostname -I</em> (ou<em class=""> ifconfig</em>) dans le terminal pour l’obtenir. Si vous souhaitez utiliser Raspberry Pi en headless, il est possible de retrouver l’adresse IP du Raspberry Pi à l’aide de votre routeur, en vous rendant sur le navigateur Web. Pour exploiter le serveur Web sur un Cloud privé ou pour d’autres applications qui requièrent également un espace de stockage important, il convient d’<strong class="">étendre les capacités de stockage</strong>. Ceci est facile à réaliser avec Raspberry Pi via clé USB ou avec un disque dur externe.</p></div></div></div><div id="c44767" class="fs11lh1-5 cf1"><div class="imHeading2">Rendre un serveur accessible en permanence sous la même adresse IP</div><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Les serveurs doivent être accessibles en ligne en tout temps, afin que les utilisateurs puissent y avoir accès en continu et qu’ils soient accessibles sous la même adresse IP. En règle générale, la connexion Internet d’un serveur personnel dispose d’une <strong class="">adresse IP dynamique</strong>. Cela signifie qu’elle change régulièrement (souvent au bout de 24 heures), afin d’éviter que le serveur soit toujours disponible sous la même adresse IP. Une adresse IP statique est un avantage majeur, mais n’est pas une solution proposée par tous les fournisseurs d’hébergement et engendre des coûts mensuels plus élevés.</p><p class="mb1">Il existe cependant des solutions pour héberger un serveur sous une seule et même adresse IP : l’usage d’un <strong class="">DNS dynamique</strong> (<strong class="">DDNS</strong>). Les services DNS existent aussi bien en version payante qu’en version gratuite. Pour cela, enregistrez un nom de domaine et rattachez celui-ci à un ordinateur ou à un routeur. À l’aide d’un logiciel, le nom de domaine sera automatiquement rattaché à l’adresse IP actuelle de votre connexion Internet. De cette manière, le serveur est accessible en ligne sous le même nom en tout temps.</p></div></div></div><div id="c44768" class="fs11lh1-5 cf1"><div class="imHeading2">Comment installer un serveur Web LAMP avec Raspberry Pi</div><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Le tutoriel suivant permet de mettre en place une <strong class="">pile logicielle LAMP</strong> pour votre serveur Web. LAMP est un acronyme pour désigner les premières lettres de quatre logiciels : Linux, Apache, MySQL et PHP. Linux est un système d’exploitation (en l’occurrence Raspbian pour Raspberry Pi), Apache sert de serveur Web, la base de données est en MySQL et le langage de script en PHP. En plus de l’ensemble logiciel LAMP, <strong class="">phpMyAdmin </strong>est installé. Connectez-vous à la console de saisie (le terminal) sur votre Raspberry Pi. Avant de commencer la configuration de l’ensemble logiciel <span class="cf2"><span><span><span><a title="Serveur LAMP: solution bon marché pour un site dynamique" href="https://www.1and1.fr/digitalguide/serveur/know-how/serveur-lamp-la-solution-pour-un-site-web-dynamique/" class="internal-link">LAMP</a></span></span></span></span>, veillez à <strong class="">actualiser les deux commandes </strong>ci-dessous de tous les paquets qui sont déjà installés :</p></div></div></div><div id="c44769" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><span class="ff1"><span class="cf3 cb1">sudo apt-get update</span><code class="rainbow language-mixed rb1 cf3"><span id="rb1ln1" data-line="1" class="line cf4"></span>sudo apt-get update</code> </span><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c44770" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div><pre data-language="mixed" data-trimmed="true"><code class="ff1"><span data-line="1"></span><span class="fs10lh1-5 cf3">sudo apt-get upgrade</span></code></pre></div><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c44771" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Une fois cette étape complétée, vous pouvez commencer à configurer les différents éléments du serveur LAMP. Ce tutoriel vous guide <strong class="">étape par étape</strong> au cours de l’installation du serveur.</p></div></div></div><div id="c44772" class="fs11lh1-5 cf1"><div class="imHeading3">Configurer Apache</div><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">L’installation du serveur Web Apache http est très rapide et cette commande correspond également aux trois autres composants LAMP du serveur Web Raspberry Pi. Pour Apache 2, il suffit de saisir la commande suivante dans le terminal :</p></div></div></div><div id="c44773" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div><pre data-language="mixed" data-trimmed="true"><code class="ff1"><span data-line="1"></span><span class="fs10lh1-5 cf3">sudo apt-get install apache2 </span></code></pre></div><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c44774" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Pour vérifier si l’opération a réussi, saisissez l’adresse IP de Raspberry Pi dans la <strong class="">barre URL de votre navigateur</strong>. Si vous êtes redirigé avec succès vers Apache 2, le navigateur affiche une page qui affiche la mention : « it works ! ». Cette page HTML est disponible sous Raspbian Jessie dans le dossier <em class="">/var/www/html/index.html</em>. Dans la version Wheezy de Raspbian, plus ancienne, la page HTML est disponible sous <em class="">/var/www/index.html</em>.</p><p class="mb1">Vous pouvez retravailler cette page HTML dans le dossier :</p></div></div></div><div id="c44775" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div><pre data-language="mixed" data-trimmed="true"><code class="ff1"><span data-line="1"></span><span class="fs10lh1-5 cf3">sudo nano /var/www/index.html</span></code></pre></div><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c44776" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Et</p></div></div></div><div id="c44777" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><span class="ff1">sudo nano /var/www/html/index.html<br></span><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c44778" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Les modifications effectuées devraient rester même une fois la page rafraîchie. </p></div></div></div><div id="c44779" class="fs11lh1-5 cf1"><div class="imHeading3">Configurer PHP</div><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Il convient maintenant d’<strong class="">installer PHP5</strong>, afin que le serveur Web puisse être compatible non seulement avec PHP, mais également avec des documents HTML, CSS et JavaScript :</p></div></div></div><div id="c44780" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div><pre data-language="mixed" data-trimmed="true"><code class="ff1"><span data-line="1"></span><span class="fs10lh1-5 cf3">sudo apt-get install php5 libapache2-mod-php5</span></code></pre></div></pre><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c44781" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Dès à présent et sur <em class="">/var/www</em>, il est possible de créer un document <strong class="">PHP</strong>. Pour effectuer un test, créez un fichier <em class="">phpinfo.php</em> sous :</p></div></div></div><div id="c44782" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div><pre data-language="mixed" data-trimmed="true"><code class="ff1"><span data-line="1"></span><span class="fs10lh1-5 cf3">sudo nano phpinfo.php</span></code></pre></div><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c44783" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Dans l’éditeur, ajoutez :</p></div></div></div><div id="c44784" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div><pre data-language="mixed" data-trimmed="true"><code class="ff1"><span data-line="1"></span><span class="fs10lh1-5 cf3">&lt;?php </span><span data-line="2"></span><span class="fs10lh1-5 cf3">phpinfo(); </span><span data-line="3"></span><span class="fs10lh1-5 cf3">?&gt;</span></code></pre></div><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c44785" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Si votre adresse IP Raspberry Pi est affichée, suivi de la mention <em class="">/infophp.php</em> (<em class="">192.168.X.X/phpinfo.php</em>), la page en question devrait s’afficher. Si l’opération réussit, cela signifie que PHP est configuré avec succès sur votre Raspberry Pi.</p></div></div></div><div id="c44786" class="fs11lh1-5 cf1"><div class="imHeading3">Configurer MySQL</div><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Avec MySQL, créez votre base de données du serveur Web. La commande</p></div></div></div><div id="c44787" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div><pre data-language="mixed" data-trimmed="true"><code class="ff1"><span data-line="1"></span><span class="fs10lh1-5 cf3">sudo apt-get install php5-mysql mysql-server mysql-client</span></code></pre></div><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c44788" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">permet d’installer tout le nécessaire. Après quelques minutes, vous serez amené à définir un mot de passe racine (root) pour <strong class="">MySQL</strong>. Une fois cette étape validée et que la création de la base de données est terminée, fermez l’installation et redémarrez MySQL (commande : <em class="">sudo /etc/init.d/mysql restart</em>) ou votre Raspberry Pi (commande : <em class="">sudo reboot</em>).</p></div></div></div><div id="c44789" class="fs11lh1-5 cf1"><div class="imHeading3">Configurer phpMyAdmin</div><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Pour l’administration de MySQL, il est nécessaire d’utiliser <strong class="">phpMyAdmin</strong>. À l’aide de ce logiciel gratuit, la gestion de la base de données est facilitée et vous disposez d’une interface utilisateur graphique dans le navigateur Web.</p><p class="mb1">Pour l’installation, saisissez cette commande :</p></div></div></div><div id="c44790" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div><pre data-language="mixed" data-trimmed="true"><code class="ff1"><span data-line="1"></span><span class="fs10lh1-5 cf3">sudo apt-get install phpmyadmin</span></code></pre></div><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c44791" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Dans l’écran affiché, choisissez Apache 2 en tant que serveur Web. Installez par la suite la base de gestion de données phpMyAdmin et choisissez un mot de passe pour phpMyAdmin (il peut être identique à votre mot de passe sur MySQL). Suite à cette dernière étape, l’installation est complétée.</p><p class="mb1">Mais il reste encore à relier <strong class="">phpMyAdmin avec le serveur Web Apache</strong>. Utilisez la commande ci-dessous, puis éditez le dossier de configuration du nano éditeur :</p></div></div></div><div id="c44792" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div><pre data-language="mixed" data-trimmed="true"><code class="ff1"><span data-line="1"></span><span class="fs10lh1-5 cf3">sudo nano /etc/apache2/apache2.conf</span></code></pre></div><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c44793" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Pointez le curseur sur la fin du dossier de configuration (utilisez simplement la combinaison de touches « cmd » + « V ») de manière répétée.</p><p class="mb1">et ajoutez une nouvelle commande dans le dossier :</p></div></div></div><div id="c44794" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div><pre data-language="mixed" data-trimmed="true"><code class="ff1"><span data-line="1"></span><span class="fs10lh1-5 cf3">Include /etc/phpmyadmin/apache.conf</span></code></pre></div><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c44795" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Il convient maintenant de sauvegarder les modifications avec le raccourci « cmd » + « O » et de fermer le dossier de configuration avec « cmd » + « X ». Démarrez le serveur Web Apache avec une nouvelle commande dans la console :</p></div></div></div><div id="c44796" class="fs11lh1-5 cf1"><pre data-language="mixed" data-trimmed="true" class="line-numbers language-mixed fs10lh1-5 cf3 mt1 mb3"><div><pre data-language="mixed" data-trimmed="true"><code class="ff1"><span data-line="1"></span><span class="fs10lh1-5 cf3">/etc/init.d/apache2 restart</span></code></pre></div><div class="preloader"><div><div class="ff1"><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></pre></div><div id="c44797" class="fs11lh1-5 cf1"><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Le serveur Web est à présent entièrement configuré, ainsi que sa base de données sur phpMyAdmin. Il est possible d’administrer le tout dans le navigateur Web. Pour cela, saisissez l’adresse IP du Raspberry Pi tout comme <em class="">/phpmyadmin</em> (<em class="">192.168.X.X/phpmyadmin</em>) et connectez-vous sur le site de phpMyAdmin avec le <strong class="">nom d’utilisateur « root »</strong> ainsi que votre <strong class="">mot de passe MySQL</strong>.</p><p class="mb1">Une fois connecté, il est possible de lister les ensembles de données, les bases de données et d’intégrer des tableaux ou de les supprimer, entre autres.</p></div></div></div><div id="c44798" class="fs11lh1-5 cf1"><div class="imHeading2">Domaines d’utilisation du serveur Web Raspberry Pi</div><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">Votre serveur Web est à présent configuré et prêt à être utilisé. Vous pouvez par exemple <strong class="">créer un site Web et l’héberger</strong>, en utilisant des pages HTML et PHP pour votre serveur Web. Les sites Web sont à stocker directement sur Raspberry Pi sur <em class="">/var/www</em> (Raspbian Wheezy) ou <em class="">/var/www/html</em> (Raspbian Jessie). Il existe une autre option qui consiste à utiliser un éditeur Web sur un ordinateur externe de votre choix et de les transférer sur le serveur Web à l’aide d’un logiciel client SFTP. Des programmes tels que <span class="cf2"><span><span><span><a title="FileZilla : le tutoriel d’un client FTP parmi les plus populaires" href="https://www.1and1.fr/digitalguide/serveur/configuration/filezilla-tutoriel-du-logiciel-client-ftp/" class="internal-link">FileZilla</a></span></span></span></span>, WinSCP, PuTTY ou encore OpenSSH vous accompagneront dans cette tâche.</p><p class="mb1">Le paramétrage du serveur Web Apache s’effectue dans le fichier de configuration <strong class="">.htaccess</strong>. Il est par exemple possible d’y créer une <span class="cf2"><span><span><span><a title="Le code 404 et ses implications" href="https://www.1and1.fr/digitalguide/sites-internet/creation-de-sites-internet/que-signifie-la-page-404-not-found/" class="internal-link">page 404</a></span></span></span></span> personnalisée pour votre site Web, ou encore d’effectuer une <span class="cf2"><span><span><span><a title="Transfert d’un nom de domaine via .htaccess, PHP, HTML et JavaScript" href="https://www.1and1.fr/digitalguide/domaines/gestion-de-domaine/redirection-de-nom-de-domaine-les-bases/" class="internal-link">redirection de nom de domaine</a></span></span></span></span>. Découvrez dans <span class="cf2"><span><span><span><a title="Dix astuces .htaccess que tout le monde devrait connaître" href="https://www.1and1.fr/digitalguide/hebergement/aspects-techniques/les-dix-meilleures-astuces-htaccess/" class="internal-link">cet article</a></span></span></span></span> quelles sont les dix meilleures astuces .htaccess.</p><p class="mb1">L’utilisation de Raspberry Pi en tant que serveur Web permet en quelques étapes d’apprendre à créer des sites et d’administrer un serveur Web. En plus de l’hébergement de sites Web, le serveur Web comprend une multitude d’options et de possibilités. Ainsi, l’utilisation de Raspberry Pi comprend une utilisation privée des données du serveur. Avec le logiciel gratuit ownCloud, la création et l’administration de son Cloud privé est à la portée de tous. Le programme d’hébergement des dossiers permet entre autres de stocker les données sur le Cloud, d’y accéder en tout temps et de les synchroniser. La liste des différents projets qu’il est possible de mettre en place avec Raspberry Pi est longue. Avec votre propre serveur Web, même les projets les plus personnalisés sont applicables facilement.</p></div></div></div><div id="c44799" class="fs11lh1-5 cf1"><div class="imHeading2">Sécurité et serveur Web</div><div class="text-row ce-textpic ce-right ce-intext"><div class="ce-bodytext"><p class="mb1">La sécurité du serveur Web est un aspect crucial auquel veiller, notamment lorsqu’il est connecté en permanence à Internet car les chances qu’il soit attaqué sont multiples. C’est pourquoi il est nécessaire de <strong class="">mettre à jour le serveur Web à intervalles réguliers</strong>. Les données sensibles ne devraient être stockées sur le serveur Web uniquement si l’on peut s’assurer de savoir prendre les précautions nécessaires pour les protéger.</p></div></div></div></div>]]></description>
			<pubDate>Fri, 14 Feb 2020 20:35:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?utiliser-raspberry-pi-en-tant-que-serveur-web</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/saiei0pc</guid>
		</item>
		<item>
			<title><![CDATA[Domotique pas cher avec le raspberry PI et par ondes radio.]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_mf8u0129"><p class="cf1 mb1"><span class="fs12lh1-5">Le but de ce tuto en deux partie est simple : faire de la domotique pas cher avec le Raspberry PI et par ondes radio.</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Les ondes radio ont de nombreux avantages et quelques inconvénients, nous verrons lesquels (mais je suis sûr que vous devinez bandes de ptit coquins).</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Cette première partie expliquera comment émettre et recevoir des ondes hertziennes avec le raspberry PI.</span></p><p class="cf1 mb1"><strong class="fs12lh1-5">Deux minutes de théorie ultra vulgarisée :</strong></p><p class="cf1 mb1"><span class="fs12lh1-5">Une onde radio c’est une onde électromagnétique qui, comme son nom l’indique, ondule….</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Plus l’onde ondule vite, plus sa fréquence est dite “haute” et réciproquement.</span></p><p class="cf1 mb1"><span class="fs12lh1-5">En gros une onde ressemble à ça :</span></p><p class="cf1 mb1"><span class="fs12lh1-5 cf2"><span><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/10/onde11.png" class="inline-block"><img title="onde1" alt="" src="http://blog.idleman.fr/wp-content/uploads/2012/10/onde11.png" width="591" height="377" srcset="http://blog.idleman.fr/wp-content/uploads/2012/10/onde11-300x191.png 300w, http://blog.idleman.fr/wp-content/uploads/2012/10/onde11.png 591w" sizes="(max-width: 591px) 100vw, 591px" class="aligncenter size-full wp-image-1829" data-selected="false" style="margin-top: 13.7143px; margin-bottom: 13.7143px;"></a></span></span></span></p><p class="cf1 mb1"><span class="fs12lh1-5">Si on augmente sa fréquence ça donne un truc comme ça :</span></p><p class="cf1 mb1"><span class="fs12lh1-5 cf2"><span><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/10/onde21.png" class="inline-block"><img title="onde2" alt="" src="http://blog.idleman.fr/wp-content/uploads/2012/10/onde21.png" width="591" height="377" srcset="http://blog.idleman.fr/wp-content/uploads/2012/10/onde21-300x191.png 300w, http://blog.idleman.fr/wp-content/uploads/2012/10/onde21.png 591w" sizes="(max-width: 591px) 100vw, 591px" class="aligncenter size-full wp-image-1831" data-selected="false" style="margin-top: 13.7143px; margin-bottom: 13.7143px;"></a></span></span></span></p><p class="cf1 mb1"><span class="fs12lh1-5">Si on la baisse :</span></p><p class="cf1 mb1"><span class="fs12lh1-5 cf2"><span><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/10/onde31.png" class="inline-block"><img title="onde3" alt="" src="http://blog.idleman.fr/wp-content/uploads/2012/10/onde31.png" width="591" height="377" srcset="http://blog.idleman.fr/wp-content/uploads/2012/10/onde31-300x191.png 300w, http://blog.idleman.fr/wp-content/uploads/2012/10/onde31.png 591w" sizes="(max-width: 591px) 100vw, 591px" class="aligncenter size-full wp-image-1830" data-selected="false" style="margin-top: 13.7143px; margin-bottom: 13.7143px;"></a></span></span></span></p><p class="cf1 mb1"><span class="fs12lh1-5">(Merci a <span class="cf2"><a href="http://monframboisepi.free.fr/"><strong class="cf3">FramboisePI</strong> </a></span>qui m’a fournis les graphique plus jolis que mes vieux gribouillis !)</span></p><p class="cf1 mb1"><span class="fs12lh1-5">…bref zavez compris le principe, ça ne vous servira a rien dans cette première partie, en revanche ça sera utile plus tard</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Pour la petite précision, une fréquence à pour unité le hertz et se mesure grâce à la formule <span class="cf2"><a href="http://fr.wikipedia.org/wiki/Fr%C3%A9quence">f = 1/T</a></span></span></p><p class="cf1 mb1"><span class="fs12lh1-5">car c’est le temps que que met l’onde à faire une tite ondulation (nommée période si je ne m’abuse, sur la troisième photo l’onde n’a fait qu’une période en 1s on peux donc pensez que c’est une onde d’un hertz mais la je vous dis peut être une grosse connerie donc amis élétr(oni)ciens n’hésitez pas a me clasher dans les commentaires )</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Plus la fréquence est haute, plus on peu passer d’information rapidement, mais plus l’onde est courte (ne me demandez pas pourquoi)</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Trêve de théorie chiante ! Passons à l’action !</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Nous, nous allons utiliser une fréquence de 433,92 Mhz, ça n’est pas complètement innocent :</span></p><ol class="cf4 mb2"><li class=""><span class="fs12lh1-5">433,92 Mhz c’est une sorte de standard utilisé par de nombreux portails, stores, ouvertures centralisées, prises télécommandées etc… (vous commencez a voir l’intérêt du truc?)</span></li><li class=""><span class="fs12lh1-5">433,92 Mhz c’est suffisamment haut comme fréquence pour envoyer quelques infos rapidement, et suffisamment bas pour que ça atteigne une trentaine de mètres de portée (voir plus avec antennes).</span></li><li class=""><span class="fs12lh1-5">433,92 Mhz est compatible avec les récepteurs domotique low cost Chacon dont nous parlerons plus tard.</span></li></ol><p class="cf1 mb1"><strong class="fs12lh1-5">Le matériel !</strong></p><p class="cf1 mb1"><span class="fs12lh1-5">Hé oui, il nous faudra encore investir dans cette étape, mais rassurez vous ça reste abordable ! Nous allons simplement acheter un kit émetteur/récepteur 433,92 Mhz</span></p><p class="cf1 mb1"><span class="fs12lh1-5">J’ai acheté l' e</span><span class="fs12lh1-5">nsemble émetteur/récepteur 433 MHz Kit monté N/A</span><span class="fs12lh1-5"> sur <span class="cf2"><a href="http://www.conrad.fr/ce/fr/product/130428/?insert=62&insertNoDeeplink&productname=Ensemble-metteurrcepteur-radio-433-MHz-AM" target="_blank" class="imCssLink">conrad</a>.</span></span></p><p class="cf1 mb1"><br></p><p class="imTACenter cf1 mb1"><img class="image-0" src="http://www.raspberry-pi.ovh/images/conrad.jpg"  title="" alt=""/><br></p><p class="cf1 mb1"><br></p><p class="cf1 mb1"><span class="fs12lh1-5">Les schémas ci dessous sont pour le conrad, c’est quasiment similaire avec celui d’ebay mais la position des pattes n’est pas la même, donc fiez vous aux inscriptions “gnd”, “data” et “vcc” pour faire les branchements corrects (ou alors acceptez de vous faire enfler de 13.5€ ^^)</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Il faut faudra bien sûr vous munir de vôtre fidèle raspberry PI en complément et ça sera tout pour cette première partie de tuto.</span></p><p class="cf1 mb1"><strong class="fs12lh1-5">Les branchements</strong></p><p class="cf1 mb1"><span class="fs12lh1-5">C’est tellement enfantin que j’irais presque vous laisser lire la doc, mais comme je déteste lire les docs, je vais vous épargner ça…</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Nous allons brancher le récepteur sur une PIN GPIO du raspberry et l’émetteur sur une autre pin.</span></p><p class="cf1 mb1"><span class="fs12lh1-5">J'utilise l'alimentation du Raspberry pour alimenter l’émetteur et le récepteur mais je vous conseille vivement d’utiliser une alim 5v externe si vous voulez utiliser ce montage sur la durée…</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Pourquoi? Et bien surtout pour une histoire de portée qui dépends de l'energie envoyé dans les cartes radio, plus vous alimenterez les cartes (en respectant le voltage max sur la fiche technique.</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Du coup comme le rpi alimente faiblement, il est possible que vous ayiez une portée minime (parfois quelques centimètres la ou vous devriez avoir 100 m, ça rigole pas) du coup pensez à utiliser un alimentation externe.</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Commençons par notre émetteur, petit bout de métal trop mimi qui tient sur le pouce :</span></p><p class="cf1 mb1"><span class="fs12lh1-5 cf2"><span><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/10/image10.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2012/10/image_thumb9.png" width="213" height="244" border="0" class="" data-selected="false"></a></span></span></span></p><p class="cf1 mb1"><span class="fs12lh1-5">Comme vous le voyez : trois fils a souder : le fil 5V en rouge à relier a la borne 5V du raspberry (borne 2), la masse en noir à relier a la borne de masse du raspberry (borne 6) et enfin la borne d’état logique (0 ou 1) à relier a un PIN GPIO valide (nous choisirons le 7, c’est une valeur sûre).</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Résultat :</span></p><p class="cf1 mb1"><span class="fs12lh1-5 cf2"><span><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/10/image11.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2012/10/image_thumb10.png" width="472" height="375" border="0" class="" data-selected="false"></a></span></span></span></p><p class="cf1 mb1"><span class="fs12lh1-5">Passons au récepteur :</span></p><p class="cf1 mb1"><span class="fs12lh1-5 cf2"><span><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/10/image12.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2012/10/image_thumb11.png" width="325" height="257" border="0" class="" data-selected="false"></a></span></span></span></p><p class="cf1 mb1"><span class="fs12lh1-5">De gauche a droite : le fil jaune = borne logique (0 ou 1) a relier au pin 13 du raspberry, le fil rouge = la phase, à relier a la borne 5V du raspberry, et le fil noir = la masse à relier à la masse du Raspberry.</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Vous avez compris, &nbsp;on va le brancher exactement pareil que l’émetteur ( fil 5V et masse) mais sur une pin GPIO différente pour la borne logique :</span></p><p class="cf1 mb1"><span class="fs12lh1-5 cf2"><span><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/10/image13.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2012/10/image_thumb12.png" width="495" height="348" border="0" class="" data-selected="false"></a></span></span></span></p><p class="cf1 mb1"><span class="fs12lh1-5">Notez bien que j’ai pris le (la) pin 13 parce que je suis un grand superstitieux mais libre à vous de choisir une autre des 8 bornes dispo si vous le souhaitez.</span></p><p class="cf1 mb1"><span class="fs12lh1-5">Votre montage est maintenant terminé, plusieurs façon de le tester :</span></p><ol class="cf4 mb2"><li class=""><span class="fs12lh1-5">Relier une diode entre la masse et la borne logique du récepteur, cette diode clignotera à chaque fois que vous recevrez un signal</span></li><li class=""><span class="fs12lh1-5">Relier une diode entre la masse et la borne logique de l’émetteur, cette diode clignotera à chaque fois que vous enverrez un signal</span></li><li class=""><span class="fs12lh1-5">Créer un programme (php par exemple) avec une boucle qui pendant 10 secondes vas flooder le “gpio read 2” (2 correspondant a la borne physique 13) afin d’obtenir le(s) signal(aux) capté(s)</span></li></ol><p class="cf1 mb1"><span class="fs12lh1-5">Notez bien qu'il est possible que votre récepteur reçoive plein de signaux en continu alors que vous n’émettez pas, en effet de très nombreux appareil utilisant cette fréquence il est possible que vous receviez des émissions en 433,92 mhz de votre voisin ou même de votre &nbsp;téléphone fixe sans fil...</span></p><p class="cf1 mb1"><span class="fs12lh1-5"><strong class="">Notez bien ² :</strong> La méthode de test la plus probante est encore de placer des led aux endroits que je vous ai indiqué, vous pourrez alors vous amuser a tester si vos clés de garages, <strong class="">vos interrupteurs de stores et autres diverses télécommandes font s’affoler la diode du récepteur quand vous les actionnez :</strong></span></p><p class="cf1 mb1"><span class="fs12lh1-5"><strong class="">si c’est le cas :</strong> vos machines sont en 433 mhz et nous pourrons bientôt les piloter depuis le Raspberry (enfin, si j’arrive a me dépatouiller avec la suite du tuto évidemment ;p) personnellement, la porte du garage de ma résidence ainsi que la voiture de ma copine sont sur du 433,92. Notez (encore) que certain réseaux radio sont sécurisé avec des signaux changeants, surtout sur les voitures récentes, cas dans lequel nous ne pourront pas piloter l’engin.</span></p><p class="mb1"><span class="fs12lh1-5"><span class="cf1">Encore une dernière recommandation : &nbsp;</span><span class="cf5">n’essayez pas d’isoler votre récepteur des signaux extérieurs en l’entourant de papier aluminium</span></span></p><p class="cf1 mb1"><span class="fs12lh1-5">Si vous avez des problèmes de portées, de gros parasites, ou de mauvaise communication, pensez a faire ces deux choses :</span></p><ul class="cf4 mb2"><li class=""><span class="fs12lh1-5">Prendre une alim externe pour les cartes radio et les l’alimenter au maximum de ce qu’elles sont capables de faire (cf la clause “voltage max” de fiche technique, souvent c’est entre 5 et 12V)</span></li><li class=""><span class="fs12lh1-5">Souder un fil conducteur de 16.45 cm a l’émetteur et au récepteur pour servir d’antennes.</span></li></ul><p class="cf1 mb1"><span class="fs12lh1-5">Avec ces deux points, vous pouvez passer de quelques centimètres à plusieurs centaines de mètres de portée, la différence est vraiment flagrante.</span></p></div>]]></description>
			<pubDate>Wed, 05 Feb 2020 16:32:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?domotique-pas-cher-avec-le-raspberry-pi-et-par-ondes-radio-</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/mf8u0129</guid>
		</item>
		<item>
			<title><![CDATA[Miner des bitcoins à la maison avec un Raspberry Pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_4qu1meug"><div data-post-id="c1631bb11a06" data-source="post_page" data-tracking-context="postPage" data-scroll="native" class="postArticle-content js-postField js-notesSource js-trackedPost fs14lh1-5 cf3 mb3 ff2 cb2"><section name="2314" data-scroll="native" class="section section--body section--topCenter section-image--aspectRatioViewport is-imageBackgrounded is-backgrounded is-darkBackgrounded u-imageSpectrum section--first is-sectionUsingCanvas cf2"><div class="section-doubleWidthTable u-table u-ignoreBlock"><div class="section-contentCell u-tableCell u-verticalAlignTop u-ignoreBlock"><div class="section-doubleWidthTable u-table u-ignoreBlock"><div class="section-contentCell u-tableCell u-ignoreBlock"><div class="section-content"><div class="section-inner sectionLayout--insetColumn"><div class="imHeading1"><span class="cf1 ff1">Tutorial : Miner des bitcoins à la maison avec un Raspberry Pi.</span></div><p name="a785" id="a785" data-scroll="native" class="graf graf--p graf-after--h3 fs16lh1-5 mt1"><span class="cf1 ff1"><em class="markup--em markup--p-em">Cet article décrit comment j’ai mis en oeuvre une plateforme de minage de bitcoins. Concrètement, il s’agit d’un petit ordinateur (</em><em class="markup--em markup--p-em cb1"><a href="http://www.raspberry-pi.ovh/raspberry-pi-3-rpi3-b.html" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/raspberry-pi-3-rpi3-b.html', null, false)">un Raspberry Pi</a></em><em class="markup--em markup--p-em">) qui participe au réseau bitcoin en réalisant des “calculs” qui permettent de sécuriser les transactions. Bitcoin rétribue le travail de ces machines en distribuant gratuitement de nouveaux bitcoins à celles qui réussissent le challenge.</em></span></p><p name="ef9c" id="ef9c" data-scroll="native" class="graf graf--p graf-after--p fs16lh1-5 mt2"><span class="markup--strong markup--p-strong cf1 ff1">Attention, la ruée vers l’or est terminée ! Beaucoup de gens ont mis en œuvre d’importantes puissances de calcul et il est désormais très difficile de gagner des bitcoins en faisant du minage.</span></p><div class="imHeading4"><span class="cf1 ff1">Étape 0 : comprendre ce qu’est le minage.</span></div><p name="b287" id="b287" data-scroll="native" class="graf graf--p graf-after--h4 fs16lh1-5 mt3"><span class="cf1 ff1">Le fonctionnement de Bitcoin repose sur l’utilisation du <span class="cb1"><span><span><span><a href="https://en.bitcoin.it/wiki/Block_chain" data-href="https://en.bitcoin.it/wiki/Block_chain" class="markup--anchor markup--p-anchor" rel="nofollow noopener" target="_blank">blockchain</a></span></span></span></span> qui est un fichier qui regroupe, par blocs, l’ensemble des transactions qui ont eu lieu depuis la création de cette <span class="cb1"><span><span><span><a href="http://fr.wikipedia.org/wiki/Crypto-monnaie" data-href="http://fr.wikipedia.org/wiki/Crypto-monnaie" class="markup--anchor markup--p-anchor" rel="nofollow noopener" target="_blank">crypto-monnaie</a></span></span></span></span>. C’est grâce à ce fichier que l’on sait qui possède quoi.</span></p><p name="9c40" id="9c40" data-scroll="native" class="graf graf--p graf-after--p fs16lh1-5 mt2"><span class="cf1 ff1">Le blockchain est partagé et géré par les machines participant au réseau Bitcoin. Sa mise à jour est assurée par certaines machines de ce même réseau qui exécutent des calculs afin de générer de nouveaux blocs de transactions valides et infalsifiables qui seront ajoutées au blockchain. C’est ce que l’on appelle le “<span class="cb1"><span><span><span><a href="https://en.bitcoin.it/wiki/Mining" data-href="https://en.bitcoin.it/wiki/Mining" class="markup--anchor markup--p-anchor" rel="nofollow noopener" target="_blank">minage</a></span></span></span></span>”.</span></p><p name="5194" id="5194" data-scroll="native" class="graf graf--p graf-after--p fs16lh1-5 mt2"><span class="cf1 ff1">Concrètement, environ toutes les 10 minutes, toutes les machines qui font du minage se lance dans une compétition qui consiste à regrouper toutes les transactions qui ne sont pas encore dans le blockchain et, à partir du contenu de ces transactions, d’essayer de résoudre un problème mathématique. La première machine qui résoudra ce problème et en informera le réseau recevra 25 bitcoins (plus les frais de transaction). Aussitôt, un nouveau challenge sera lancé !</span></p></div></div></div><div class="u-tableCell u-verticalAlignTop u-ignoreBlock"><div class="section-aspectRatioViewportPlaceholder u-ignoreBlock"><div class="u-ignoreBlock"></div></div></div></div></div><div class="u-tableCell u-ignoreBlock"><div class="section-aspectRatioViewportCropPlaceholder u-ignoreBlock"><div class="u-ignoreBlock"></div></div></div></div><div class="section-captionContent u-ignoreBlock mt1"></div></section><section name="20c9" class="section section--body"><div class="section-content"><div class="section-inner sectionLayout--insetColumn"><div class="imHeading4"><span class="cf1 ff1">Étape 1 : le choix du matériel.</span></div><p name="ea21" id="ea21" class="graf graf--p graf-after--h4 fs16lh1-5 mt3"><span class="cf1 ff1">La plateforme mise en œuvre n’a pas pour objectif d’être la plus performante possible. J’ai plutôt fait un compromis entre coût, efficacité et aspect ludique.</span></p><p name="3a79" id="3a79" class="graf graf--p graf-after--p fs16lh1-5 mt2"><span class="cf1 ff1">Voici donc le matériel que j’ai choisi :</span></p><ul class="postList mt2"><li name="61b9" id="61b9" class="graf graf--li graf-after--p fs16lh1-5 mb1"><span class="cf1 ff1">Un <span class="cb1"><span><span><span><a href="http://amzn.to/1Ifmoug" data-href="http://amzn.to/1Ifmoug" class="markup--anchor markup--li-anchor" rel="nofollow noopener" target="_blank">Rapberry Pi</a></span></span></span></span> qui est un petit ordinateur de la taille d’une carte de crédit. Il ne va pas faire de minage à proprement parlé car son processeur n’est pas assez efficace mais c’est lui qui va piloter les composants qui font le minage.</span></li><li name="62fd" id="62fd" class="graf graf--li graf-after--li fs16lh1-5 mb1"><span class="cf1 ff1">Un <span class="cb1"><span><span><span><a href="http://amzn.to/1C2DCe8" data-href="http://amzn.to/1C2DCe8" class="markup--anchor markup--li-anchor" rel="nofollow noopener" target="_blank">mineur ASIC USB</a></span></span></span></span> qui est un circuit spécialisé dans le type de calcul qu’exige le minage. Par rapport à leur consommation d’énergie, ils sont bien plus efficaces que les processeurs classiques des ordinateurs. Concrètement, ils ressemblent à une clé USB.</span></li><li name="d312" id="d312" class="graf graf--li graf-after--li fs16lh1-5 mb1"><span class="cf1 ff1">Les mineurs USB comme celui que j’ai sélectionné ont besoin de beaucoup d’énergie pour fonctionner correctement et les ports USB du Raspberry Pi n’ont pas une alimentation assez puissante pour cela. J’ai donc acheté un <span class="cb1"><span><span><span><a href="http://amzn.to/1yHs25D" data-href="http://amzn.to/1yHs25D" class="markup--anchor markup--li-anchor" rel="nofollow noopener" target="_blank">hub USB 3.0 10 ports</a></span></span></span></span> sur lequel je vais brancher les mineurs.</span></li><li name="746c" id="746c" class="graf graf--li graf-after--li graf--trailing fs16lh1-5"><span class="cf1 ff1">Pour finir, j’ai aussi pris un <span class="cb1"><span><span><span><a href="http://amzn.to/1y3khIU" data-href="http://amzn.to/1y3khIU" class="markup--anchor markup--li-anchor" rel="nofollow noopener" target="_blank">adaptateur USB Wifi</a></span></span></span></span> qui va permettre au Raspberry Pi de se connecter au réseau Wifi de la maison. La plateforme que nous allons monter dégage pas mal de chaleur et j’ai donc décidé de la mettre dans le garage où il n’y a pas de prise réseau.</span></li></ul></div></div></section><section name="71f4" class="section section--body"><div class="section-divider"><hr class="section-divider imTACenter mt4 mb2"></div><div class="section-content"><div class="section-inner sectionLayout--insetColumn"><div class="imHeading4"><span class="cf1 ff1">Étape 2 : Installation du Raspberry Pi.</span></div><p name="7d26" id="7d26" class="graf graf--p graf-after--h4 fs16lh1-5 mt3"><span class="cf1 ff1">Dans cette étape, nous allons brancher notre Raspberry Pi et y installer Linux.</span></p><figure name="c571" id="c571" class="graf graf--figure graf-after--p"><div class="aspectRatioPlaceholder is-locked"><div class="aspectRatioPlaceholder-fill"></div><div data-image-id="1*RSl9s5vq6_gj7k6ijwhUkQ.jpeg" data-width="1000" data-height="1000" data-action="zoom" data-action-value="1*RSl9s5vq6_gj7k6ijwhUkQ.jpeg" data-scroll="native" class="progressiveMedia js-progressiveMedia graf-image is-canvasLoaded is-imageLoaded"><canvas width="75" height="75" class="progressiveMedia-canvas js-progressiveMedia-canvas"></canvas><img data-src="https://cdn-images-1.medium.com/max/1000/1*RSl9s5vq6_gj7k6ijwhUkQ.jpeg" src="https://cdn-images-1.medium.com/max/1000/1*RSl9s5vq6_gj7k6ijwhUkQ.jpeg" class="progressiveMedia-image js-progressiveMedia-image" data-selected="false" style=""></div></div><figcaption class="imageCaption imTACenter fs11lh1-5 mt1"><span class="cf1 ff1">le Raspberry Pi</span></figcaption></figure><p name="7566" id="7566" class="graf graf--p graf-after--figure fs16lh1-5 mt5"><span class="cf1 ff1">Après avoir déballé les cartons, nous allons :</span></p><ul class="postList mt2"><li name="748c" id="748c" class="graf graf--li graf-after--p fs16lh1-5 mb1"><span class="cf1 ff1">Mettre la carte SD fournie avec notre Raspberry Pi à l’intérieur de celui-ci. Elle contient l’installateur de distribution Linux <span class="cb1"><span><span><span><a href="http://www.raspberrypi.org/help/noobs-setup/" data-href="http://www.raspberrypi.org/help/noobs-setup/" class="markup--anchor markup--li-anchor" rel="nofollow noopener" target="_blank">NOOBS</a></span></span></span></span> qui va nous permettre de facilement installer le système d’exploitation de notre choix : <span class="cb1"><span><span><span><a href="http://www.raspbian.org/" data-href="http://www.raspbian.org/" class="markup--anchor markup--li-anchor" rel="nofollow noopener" target="_blank">Raspbian</a></span></span></span></span>.</span></li><li name="f941" id="f941" class="graf graf--li graf-after--li fs16lh1-5 mb1"><span class="cf1 ff1">Afin de réaliser l’installation, il faut relier le Raspberry : à la télé avec un cable HDMI, à internet avec un cable réseau, à un clavier et une souris en USB.</span></li><li name="cac7" id="cac7" class="graf graf--li graf-after--li fs16lh1-5"><span class="cf1 ff1">Il ne reste plus qu’à brancher l’alimentation du Raspberry Pi (avec le câble mini USB fourni).</span></li></ul><p name="c4b0" id="c4b0" class="graf graf--p graf-after--li fs16lh1-5 mt2"><span class="cf1 ff1">Une fois allumé, vous allez rapidement arriver sur l’écran de sélection de la distribution Linux à installer.</span></p><figure name="afae" id="afae" class="graf graf--figure graf-after--p"><div class="aspectRatioPlaceholder is-locked"><div class="aspectRatioPlaceholder-fill"></div><div data-image-id="1*IAKmNZ6K692Q0LHHyw1w8A.jpeg" data-width="2448" data-height="2448" data-action="zoom" data-action-value="1*IAKmNZ6K692Q0LHHyw1w8A.jpeg" data-scroll="native" class="progressiveMedia js-progressiveMedia graf-image is-canvasLoaded is-imageLoaded"><canvas width="75" height="75" class="progressiveMedia-canvas js-progressiveMedia-canvas"></canvas><img data-src="https://cdn-images-1.medium.com/max/1000/1*IAKmNZ6K692Q0LHHyw1w8A.jpeg" src="https://cdn-images-1.medium.com/max/1000/1*IAKmNZ6K692Q0LHHyw1w8A.jpeg" class="progressiveMedia-image js-progressiveMedia-image" data-selected="false" style=""></div></div><figcaption class="imageCaption imTACenter fs11lh1-5 mt1"><span class="cf1 ff1">NOOBS : écran de sélection de la distribution à installer</span></figcaption></figure><p name="6bd9" id="6bd9" class="graf graf--p graf-after--figure fs16lh1-5 mt5"><span class="cf1 ff1">Après avoir sélectionné la langue française et la bonne disposition du clavier tout en bas de l’écran, nous allons cocher la case “<em class="markup--em markup--p-em">Raspbian — A Debian wheezy port, optimised for the Raspberry Pi</em>” puis cliquer sur le bouton “<em class="markup--em markup--p-em">Install</em>”.</span></p><p name="126f" id="126f" class="graf graf--p graf-after--p fs16lh1-5 mt2"><span class="cf1 ff1">Une fois l’installation terminée, vous arriverez sur un écran plutôt austère qui vous invitera à finaliser la configuration de Raspbian.</span></p><figure name="90d0" id="90d0" class="graf graf--figure graf-after--p"><div class="aspectRatioPlaceholder is-locked"><div class="aspectRatioPlaceholder-fill"></div><div data-image-id="1*rBjdGGzVbDPcEqprOfvInw.jpeg" data-width="2448" data-height="2448" data-action="zoom" data-action-value="1*rBjdGGzVbDPcEqprOfvInw.jpeg" data-scroll="native" class="progressiveMedia js-progressiveMedia graf-image is-canvasLoaded is-imageLoaded"><canvas width="75" height="75" class="progressiveMedia-canvas js-progressiveMedia-canvas"></canvas><img data-src="https://cdn-images-1.medium.com/max/1000/1*rBjdGGzVbDPcEqprOfvInw.jpeg" src="https://cdn-images-1.medium.com/max/1000/1*rBjdGGzVbDPcEqprOfvInw.jpeg" class="progressiveMedia-image js-progressiveMedia-image" data-selected="false" style=""></div></div><figcaption class="imageCaption imTACenter fs11lh1-5 mt1"><span class="cf1 ff1">Raspbian : écran de finalisation de l’installation</span></figcaption></figure><p name="8fa7" id="8fa7" class="graf graf--p graf-after--figure fs16lh1-5 mt5"><span class="cf1 ff1">Dans le menu qui apparaît, nous allons paramétrer les options suivantes :</span></p><ul class="postList mt2"><li name="ba61" id="ba61" class="graf graf--li graf-after--p fs16lh1-5 mb1"><span class="cf1 ff1"><em class="markup--em markup--li-em">2 Change User Password</em> : Pour changer le mot de passe administrateur.</span></li><li name="96e8" id="96e8" class="graf graf--li graf-after--li fs16lh1-5"><span class="cf1 ff1"><em class="markup--em markup--li-em">4 Internationalisation options</em> : Pour configurer la langue française par défaut (<em class="markup--em markup--li-em">fr_FR.UTF-8 UTF-8)</em> et choisir la bonne zone horaire (<em class="markup--em markup--li-em">Europe / Paris</em>).</span></li></ul><p name="bff1" id="bff1" class="graf graf--p graf-after--li fs16lh1-5 mt2"><span class="cf1 ff1">Puis nous allons sélectionner “<em class="markup--em markup--p-em">Finish</em>” et répondre “<em class="markup--em markup--p-em">Yes</em>” à la question “<em class="markup--em markup--p-em">Would you like to reboot ?</em>”.</span></p><p name="f267" id="f267" class="graf graf--p graf-after--p fs16lh1-5 mt2"><span class="cf1 ff1">Une fois redémarré, connectez vous avec avec l’identifiant “<em class="markup--em markup--p-em">pi</em>” et le mot de passe que vous avez choisi (si vous n’en avez pas choisi, le mot de passe par défaut est “<em class="markup--em markup--p-em">raspberry</em>”).</span></p><p name="e5a6" id="e5a6" class="graf graf--p graf-after--p fs16lh1-5 mt2"><span class="cf1 ff1">Avant de passer à l’étape suivante, nous allons mettre à jour le système d’exploitation grâce à la commande :</span></p><pre name="23fa" id="23fa" class="graf graf--pre graf-after--p fs12lh1-5 mt6 mb3"><span class="cf1 ff1">sudo apt-get update &amp;&amp; sudo apt-get -y upgrade</span></pre><p name="5404" id="5404" class="graf graf--p graf-after--pre fs16lh1-5 mt5"><span class="cf1 ff1">Puis, nous allons mettre à jour le firmware du raspberry :</span></p><pre name="30c8" id="30c8" class="graf graf--pre graf-after--p fs12lh1-5 mt6 mb3"><span class="cf1 ff1">sudo rpi-update</span></pre><p name="a98c" id="a98c" class="graf graf--p graf-after--pre fs16lh1-5 mt5"><span class="cf1 ff1">Afin que toutes ces modifications soient bien prises en compte, on redémarre le système :</span></p><pre name="f2a5" id="f2a5" class="graf graf--pre graf-after--p fs12lh1-5 mt6 mb3"><span class="cf1 ff1">sudo shutdown -r now</span></pre><p name="bb64" id="bb64" class="graf graf--p graf-after--pre fs16lh1-5 mt5"><span class="cf1 ff1">Pour libérer la télé, on va maintenant se connecter à distance, depuis notre ordinateur personnel, sur notre Raspberry Pi à l’aide de <span class="cb1"><span><span><span><a href="http://fr.wikipedia.org/wiki/Secure_Shell" data-href="http://fr.wikipedia.org/wiki/Secure_Shell" class="markup--anchor markup--p-anchor" rel="nofollow noopener" target="_blank">SSH</a></span></span></span></span> (avec le programme <span class="cb1"><span><span><span><a href="http://www.delafond.org/traducmanfr/man/man1/ssh.1.html" data-href="http://www.delafond.org/traducmanfr/man/man1/ssh.1.html" class="markup--anchor markup--p-anchor" rel="nofollow noopener" target="_blank">ssh</a></span></span></span></span> sous Linux ou <span class="cb1"><span><span><span><a href="http://www.putty.org/" data-href="http://www.putty.org/" class="markup--anchor markup--p-anchor" rel="nofollow noopener" target="_blank">PuTTY</a></span></span></span></span> sous Windows).</span></p><p name="7326" id="7326" class="graf graf--p graf-after--p fs16lh1-5 mt2"><span class="cf1 ff1">Pour ce faire, la première chose est de connaître l’adresse IP qui a été attribuée à notre Raspberry. C’est assez simple, après le démarrage de celui-ci, un peu avant la ligne qui vous demande d’entrer votre login (“<em class="markup--em markup--p-em">raspberrypi login :</em>”), vous devriez voir un message qui vous indique son adresse : “<em class="markup--em markup--p-em">My IP address is 192.168.1.6</em>".</span></p><p name="aa97" id="aa97" class="graf graf--p graf-after--p fs16lh1-5 mt2"><span class="cf1 ff1">Maintenant que vous connaissez son adresse IP, depuis votre machine linux, vous pouvez vous connecter en console en faisant :</span></p><pre name="c11e" id="c11e" class="graf graf--pre graf-after--p fs12lh1-5 mt6 mb3"><span class="cf1 ff1">ssh pi@192.168.1.6</span></pre><p name="c205" id="c205" class="graf graf--p graf-after--pre fs16lh1-5 mt5"><span class="cf1 ff1">Sous Windows, utilisez simplement PuTTY et entrez les informations de connexion.</span></p><p name="3d38" id="3d38" class="graf graf--p graf-after--p fs16lh1-5 mt2"><span class="cf1 ff1"><em class="markup--em markup--p-em">Note : si votre ordinateur personnel est sous Linux et que vous avez installé </em><span class="cb1"><span><span><span><a href="http://nmap.org/" data-href="http://nmap.org/" class="markup--anchor markup--p-anchor" rel="nofollow noopener" target="_blank"><em class="markup--em markup--p-em">nmap</em></a></span></span></span></span><em class="markup--em markup--p-em">, vous pouvez aussi scanner votre réseau pour retrouver votre raspberry avec la commande</em></span></p><pre name="1cbe" id="1cbe" class="graf graf--pre graf-after--p graf--trailing fs12lh1-5 mt6 mb3"><em class="markup--em markup--pre-em cf1 ff1">nmap -open 192.168.1.0/24 -p22 | grep raspberry</em></pre></div></div></section><section name="dcc1" class="section section--body"><div class="section-divider"><hr class="section-divider imTACenter mt4 mb2"></div><div class="section-content"><div class="section-inner sectionLayout--insetColumn"><div class="imHeading4"><span class="cf1 ff1">Étape 3 : Installation et paramétrage du logiciel de minage (BFGMiner).</span></div><p name="18a1" id="18a1" class="graf graf--p graf-after--h4 fs16lh1-5 mt3"><span class="cf1 ff1">Nous allons maintenant installer <span class="cb1"><span><span><span><a href="http://bfgminer.org/" data-href="http://bfgminer.org/" class="markup--anchor markup--p-anchor" rel="nofollow noopener" target="_blank">BFGMiner</a></span></span></span></span> qui est le logiciel qui va réaliser le minage.</span></p><p name="94f0" id="94f0" class="graf graf--p graf-after--p fs16lh1-5 mt2"><span class="cf1 ff1">La première étape consiste à installer un ensemble d’outils et d’utilitaires pour construire l’application :</span></p><pre name="53a8" id="53a8" class="graf graf--pre graf-after--p fs12lh1-5 mt6 mb3"><span class="cf1 ff1">sudo apt-get -y install git-core build-essential autoconf automake libtool pkg-config libcurl4-gnutls-dev libjansson-dev uthash-dev libncursesw5-dev libudev-dev libusb-1.0-0-dev libevent-dev libmicrohttpd-dev libc-bin vim screen</span></pre><p name="ff1a" id="ff1a" class="graf graf--p graf-after--pre fs16lh1-5 mt5"><span class="cf1 ff1">Ensuite, nous allons récupérer les sources depuis Internet avec la commande</span></p><pre name="c044" id="c044" class="graf graf--pre graf-after--p fs12lh1-5 mt6 mb3"><span class="cf1 ff1">cd ~/ &amp;&amp; git clone <span class=""><span><span><span><a href="https://github.com/Darkwinde/bfgminer.git" data-href="https://github.com/Darkwinde/bfgminer.git" class="markup--anchor markup--pre-anchor" rel="nofollow noopener" target="_blank">https://github.com/Darkwinde/bfgminer.git</a></span></span></span></span></span></pre><p name="f8ad" id="f8ad" class="graf graf--p graf-after--pre fs16lh1-5 mt5"><span class="cf1 ff1">Enfin, les commandes suivantes vont nous permettre de construire bfgminer :</span></p><pre name="7de7" id="7de7" class="graf graf--pre graf-after--p fs12lh1-5 mt6 mb3"><span class="cf1 ff1">cd bfgminer<br>./autogen.sh<br>sudo chmod +x ./configure<br>sudo ./configure CFLAGS=”-O3" --enable-scrypt<br>sudo make<br>sudo make install<br>sudo ldconfig</span></pre><div class="imHeading4"><span class="cf1 ff1">Étape 4 : Branchement du mineur USB.</span></div><p name="bc91" id="bc91" class="graf graf--p graf-after--h4 fs16lh1-5 mt3"><span class="cf1 ff1">Le hub USB a un petit soucis avec notre Raspberry Pi et il va donc falloir éditer le fichier “<em class="markup--em markup--p-em">/boot/cmdline.txt”</em> pour y rajouter “<em class="markup--em markup--p-em">dwc_otg.speed=1</em>". Cela devrait donner un contenu de fichier ressemblant à ceci :</span></p><pre name="7e3f" id="7e3f" class="graf graf--pre graf-after--p fs12lh1-5 mt6 mb3"><span class="cf1 ff1">dwc_otg.lpm_enable=0 dwc_otg.speed=1 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p6 rootfstype=ext4 elevator=deadline rootwait</span></pre><p name="a2ed" id="a2ed" class="graf graf--p graf-after--pre fs16lh1-5 mt5"><span class="cf1 ff1">Après avoir redémarré notre Raspberry Pi, on va utiliser la commande <span class="cb1"><span><span><span><a href="http://linux.die.net/man/8/lsusb" data-href="http://linux.die.net/man/8/lsusb" class="markup--anchor markup--p-anchor" rel="nofollow noopener" target="_blank"><em class="markup--em markup--p-em">lsusb</em></a></span></span></span></span>pour lister les bus USB et les dispositifs qui y sont connectés :</span></p><pre name="303f" id="303f" class="graf graf--pre graf-after--p fs12lh1-5 mt6 mb3"><span class="cf1 ff1">Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. <br>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.</span></pre><p name="e6d0" id="e6d0" class="graf graf--p graf-after--pre fs16lh1-5 mt5"><span class="cf1 ff1">On va maintenant brancher notre hub USB et relancer la commande <em class="markup--em markup--p-em">lsusb</em></span></p><figure name="e8e3" id="e8e3" class="graf graf--figure graf-after--p"><div class="aspectRatioPlaceholder is-locked"><div class="aspectRatioPlaceholder-fill"></div><div data-image-id="1*bMV04p9N1OLNJwoNXlPDWA.jpeg" data-width="2448" data-height="2448" data-action="zoom" data-action-value="1*bMV04p9N1OLNJwoNXlPDWA.jpeg" data-scroll="native" class="progressiveMedia js-progressiveMedia graf-image is-canvasLoaded is-imageLoaded"><canvas width="75" height="75" class="progressiveMedia-canvas js-progressiveMedia-canvas"></canvas><img data-src="https://cdn-images-1.medium.com/max/1000/1*bMV04p9N1OLNJwoNXlPDWA.jpeg" src="https://cdn-images-1.medium.com/max/1000/1*bMV04p9N1OLNJwoNXlPDWA.jpeg" class="progressiveMedia-image js-progressiveMedia-image" data-selected="false" style=""></div></div><figcaption class="imageCaption imTACenter fs11lh1-5 mt1"><span class="cf1 ff1">raspberry pi branché sur le hub usb</span></figcaption></figure><pre name="6ffd" id="6ffd" class="graf graf--pre graf-after--figure fs12lh1-5 mt4 mb3"><span class="cf1 ff1">Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. <br>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. <br>Bus 001 Device 007: ID 2109:2812 <br>Bus 001 Device 008: ID 2109:2812 <br>Bus 001 Device 009: ID 2109:2812</span></pre><p name="83e5" id="83e5" class="graf graf--p graf-after--pre fs16lh1-5 mt5"><span class="cf1 ff1">Puis nous allons brancher notre mineur USB sur le hub et relancer la commande <em class="markup--em markup--p-em">lsusb</em></span></p><figure name="ebe1" id="ebe1" class="graf graf--figure graf-after--p"><div class="aspectRatioPlaceholder is-locked"><div class="aspectRatioPlaceholder-fill"></div><div data-image-id="1*hZFAAdsKptyRczm4yNWysg.jpeg" data-width="2448" data-height="2448" data-action="zoom" data-action-value="1*hZFAAdsKptyRczm4yNWysg.jpeg" data-scroll="native" class="progressiveMedia js-progressiveMedia graf-image is-canvasLoaded is-imageLoaded"><canvas width="75" height="75" class="progressiveMedia-canvas js-progressiveMedia-canvas"></canvas><img data-src="https://cdn-images-1.medium.com/max/1000/1*hZFAAdsKptyRczm4yNWysg.jpeg" src="https://cdn-images-1.medium.com/max/1000/1*hZFAAdsKptyRczm4yNWysg.jpeg" class="progressiveMedia-image js-progressiveMedia-image" data-selected="false" style=""></div></div><figcaption class="imageCaption imTACenter fs11lh1-5 mt1"><span class="cf1 ff1">minseur usb branché sur le raspbery pi</span></figcaption></figure><pre name="ad33" id="ad33" class="graf graf--pre graf-after--figure fs12lh1-5 mt4 mb3"><span class="cf1 ff1">Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. <br>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>Bus 001 Device 010: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light<br>Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. <br>Bus 001 Device 004: ID 2109:2812 <br>Bus 001 Device 005: ID 2109:2812 <br>Bus 001 Device 006: ID 2109:2812d</span></pre><p name="7650" id="7650" class="graf graf--p graf-after--pre fs16lh1-5 mt5"><span class="cf1 ff1">Nous pouvons voir que notre mineur USB a été trouvé :</span></p><pre name="149a" id="149a" class="graf graf--pre graf-after--p fs12lh1-5 mt6 mb3"><span class="cf1 ff1">Bus 001 Device 010: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light</span></pre><div class="imHeading4"><span class="cf1 ff1">Étape 5 : Paramétrage et lancement du minage.</span></div><p name="7ca6" id="7ca6" class="graf graf--p graf-after--h4 fs16lh1-5 mt3"><span class="cf1 ff1">Comme je l’ai dit en introduction, nous sommes des millions à miner et il n’y a qu’un seul gagnant toutes les dix minutes (environ). Afin de rendre les choses moins hasardeuses, vous pouvez rejoindre un “pool” de minage comme <span class="cb1"><span><span><span><a href="https://www.btcguild.com/" data-href="https://www.btcguild.com/" class="markup--anchor markup--p-anchor" rel="nofollow noopener" target="_blank">BTCGuild</a></span></span></span></span>. Ces pools sont des groupes de personnes qui se partagent le travail de minage et, quand un des membres du groupe réussit le challenge, l’ensemble des participants se partagent les bitcoins ainsi remportés en proportion du travail réalisé par chacun.</span></p><p name="5f67" id="5f67" class="graf graf--p graf-after--p fs16lh1-5 mt2"><span class="cf1 ff1">Nous allons maintenant paramétrer le logiciel de minage (<span class="cb1"><span><span><span><a href="http://bfgminer.org/" data-href="http://bfgminer.org/" class="markup--anchor markup--p-anchor" rel="nofollow noopener" target="_blank">BFGMiner</a></span></span></span></span>) pour qu’il se lance au démarrage et que l’on puisse facilement accéder à sa console d’administration.</span></p><p name="e416" id="e416" class="graf graf--p graf-after--p fs16lh1-5 mt2"><span class="cf1 ff1">On va donc accéder à la <span class="cb1"><span><span><span><a href="http://fr.wikipedia.org/wiki/Cron" data-href="http://fr.wikipedia.org/wiki/Cron" class="markup--anchor markup--p-anchor" rel="nofollow noopener" target="_blank">crontab</a></span></span></span></span> avec la commande :</span></p><pre name="b330" id="b330" class="graf graf--pre graf-after--p fs12lh1-5 mt6 mb3"><span class="cf1 ff1">crontab -e </span></pre><p name="74c8" id="74c8" class="graf graf--p graf-after--pre fs16lh1-5 mt5"><span class="cf1 ff1">et on va y ajouter la ligne suivante</span></p><pre name="58bb" id="58bb" class="graf graf--pre graf-after--p fs12lh1-5 mt6 mb3"><span class="cf1 ff1"><span class=""><span><span><span><a href="http://twitter.com/reboot" data-href="http://twitter.com/reboot" class="markup--anchor markup--pre-anchor" title="Twitter profile for @reboot" rel="nofollow noopener" target="_blank">@reboot</a></span></span></span></span> /usr/bin/screen -dmS bfg /home/pi/bfgminer/bfgminer -o stratum+tcp://eu-stratum.btcguild.com:3333 -u straumat_1 -p 123 -S all —verbose</span></pre><p name="4518" id="4518" class="graf graf--p graf-after--pre fs16lh1-5 mt5"><span class="cf1 ff1">Redémarrons maintenant notre Raspberry Pi</span></p><pre name="3d4b" id="3d4b" class="graf graf--pre graf-after--p fs12lh1-5 mt6 mb3"><span class="cf1 ff1">sudo shutdown -r now</span></pre><p name="9571" id="9571" class="graf graf--p graf-after--pre fs16lh1-5 mt5"><span class="cf1 ff1">Une fois redémarré, après vous être connecté comme à votre habitude, vous pourrez accéder à l’outil de minage en tapant la commande</span></p><pre name="9acc" id="9acc" class="graf graf--pre graf-after--p fs12lh1-5 mt6 mb3"><span class="cf1 ff1">screen -r bfg</span></pre><p name="45aa" id="45aa" class="graf graf--p graf-after--pre fs16lh1-5 mt5"><span class="cf1 ff1">Voici à quoi ressemble le logiciel :</span></p><figure name="ca2e" id="ca2e" class="graf graf--figure graf-after--p"><div class="aspectRatioPlaceholder is-locked"><div class="aspectRatioPlaceholder-fill"></div><div data-image-id="1*5g_n1XjZUTcVLBzlyamJ5w.png" data-width="1017" data-height="594" data-action="zoom" data-action-value="1*5g_n1XjZUTcVLBzlyamJ5w.png" data-scroll="native" class="progressiveMedia js-progressiveMedia graf-image is-canvasLoaded is-imageLoaded"><canvas width="75" height="43" class="progressiveMedia-canvas js-progressiveMedia-canvas"></canvas><img data-src="https://cdn-images-1.medium.com/max/1000/1*5g_n1XjZUTcVLBzlyamJ5w.png" src="https://cdn-images-1.medium.com/max/1000/1*5g_n1XjZUTcVLBzlyamJ5w.png" class="progressiveMedia-image js-progressiveMedia-image" data-selected="false" style=""></div></div><figcaption class="imageCaption imTACenter fs11lh1-5 mt1"><span class="cf1 ff1">écran de bfgminer</span></figcaption></figure><p name="149d" id="149d" class="graf graf--p graf-after--figure fs16lh1-5 mt5"><span class="cf1 ff1">Pour revenir à la console Linux, il suffira d’appuyer sur “<em class="markup--em markup--p-em">CTRL + A + D</em>”.</span></p><div class="imHeading4"><span class="cf1 ff1">Étape 6 : Installation du wifi (optionnel).</span></div><p name="27b1" id="27b1" class="graf graf--p graf-after--h4 fs16lh1-5 mt3"><span class="cf1 ff1">Après avoir branché l’adaptateur Wifi, on va vérifier qu’il est bien reconnu grâce à la commande :</span></p><pre name="28ad" id="28ad" class="graf graf--pre graf-after--p fs12lh1-5 mt6 mb3"><span class="cf1 ff1">lsusb</span></pre><p name="6914" id="6914" class="graf graf--p graf-after--pre fs16lh1-5 mt5"><span class="cf1 ff1">qui devrait afficher une nouvelle ligne :</span></p><pre name="aa57" id="aa57" class="graf graf--pre graf-after--p fs12lh1-5 mt6 mb3"><span class="cf1 ff1">Bus 001 Device 008: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]</span></pre><p name="85b4" id="85b4" class="graf graf--p graf-after--pre fs16lh1-5 mt5"><span class="cf1 ff1">Il faut maintenant modifier la configuration réseau en éditant le fichier “<em class="markup--em markup--p-em">/etc/network/interfaces</em>”</span></p><pre name="d456" id="d456" class="graf graf--pre graf-after--p fs12lh1-5 mt6 mb3"><span class="cf1 ff1">sudo nano /etc/network/interfaces</span></pre><p name="3e9f" id="3e9f" class="graf graf--p graf-after--pre fs16lh1-5 mt5"><span class="cf1 ff1">et modifier le contenu pour obtenir quelque chose comme ça :</span></p><pre name="f19f" id="f19f" class="graf graf--pre graf-after--p fs12lh1-5 mt6 mb3"><span class="cf1 ff1">auto lo<br>iface lo inet loopback<br>iface eth0 inet dhcp</span></pre><pre name="ca92" id="ca92" class="graf graf--pre graf-after--pre fs12lh1-5 mt7 mb3"><span class="cf1 ff1">allow-hotplug wlan0<br>auto wlan0</span></pre><pre name="728a" id="728a" class="graf graf--pre graf-after--pre fs12lh1-5 mt7 mb3"><span class="cf1 ff1">iface wlan0 inet dhcp<br> wpa-ssid “Le nom de votre réseau”<br> wpa-psk “Votre clé wifi”</span></pre><p name="7194" id="7194" class="graf graf--p graf-after--pre fs16lh1-5 mt5"><span class="cf1 ff1">Afin d’activer cette nouvelle configuration, tapez simplement :</span></p><pre name="54dd" id="54dd" class="graf graf--pre graf-after--p fs12lh1-5 mt6 mb3"><span class="cf1 ff1">sudo service networking reload</span></pre><p name="af43" id="af43" class="graf graf--p graf-after--pre fs16lh1-5 mt5"><span class="cf1 ff1">Vous pouvez vérifier qu’une adresse IP a bien été attribuée pour votre interface Wifi en faisant :</span></p><pre name="1aaf" id="1aaf" class="graf graf--pre graf-after--p fs12lh1-5 mt6 mb3"><span class="cf1 ff1">ifconfig</span></pre><p name="8ecc" id="8ecc" class="graf graf--p graf-after--pre fs16lh1-5 mt5"><span class="cf1 ff1">Vous devriez voir une nouvelle ligne similaire à celle-ci :</span></p><pre name="b6bc" id="b6bc" class="graf graf--pre graf-after--p graf--trailing fs12lh1-5 mt6 mb3"><span class="cf1 ff1">wlan0 Link encap:Ethernet HWaddr 74:da:38:05:0c:1d <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;inet adr:192.168.1.5 Bcast:192.168.1.255 Masque:255.255.255.0</span></pre></div></div></section><section name="653a" class="section section--body section--last"><div class="section-divider"><hr class="section-divider imTACenter mt4 mb2"></div><div class="section-content"><div class="section-inner sectionLayout--insetColumn"><div class="imHeading4"><span class="cf1 ff1">Conclusion.</span></div><p name="769a" id="769a" class="graf graf--p graf-after--h4 fs16lh1-5 mt3"><span class="cf1 ff1">Comme je le disais en introduction, il est trop tard pour devenir riche en minant des bitcoins. En fait, la rentabilité dépend de plusieurs variables : la puissance dont vous disposez, le prix de l’électricité, le cours du bitcoin, la puissance des autres machines qui participent à la compétition.</span></p><p name="ad05" id="ad05" class="graf graf--p graf-after--p fs16lh1-5 mt2"><span class="cf1 ff1">Pour être clair, à l’heure où j’écris cet article, le minage n’est pas rentable mais cela pourrait changer dès demain.</span></p><p name="c2e5" id="c2e5" class="graf graf--p graf-after--p fs16lh1-5 mt2"><span class="cf1 ff1">Et, pour finir, voici ce que j’ai gagné après 24h de “travail”.</span></p><figure name="ca95" id="ca95" class="graf graf--figure graf-after--p graf--trailing"><div class="aspectRatioPlaceholder is-locked"><div class="aspectRatioPlaceholder-fill"></div><div data-image-id="1*IIbR-no6RH3d5wqOhqemWw.png" data-width="478" data-height="217" data-scroll="native" class="progressiveMedia js-progressiveMedia graf-image is-imageLoaded is-canvasLoaded"><canvas width="75" height="33" class="progressiveMedia-canvas js-progressiveMedia-canvas"></canvas><img data-src="https://cdn-images-1.medium.com/max/1000/1*IIbR-no6RH3d5wqOhqemWw.png" src="https://cdn-images-1.medium.com/max/1000/1*IIbR-no6RH3d5wqOhqemWw.png" class="progressiveMedia-image js-progressiveMedia-image" data-selected="false" style=""></div></div><figcaption class="imageCaption imTACenter fs11lh1-5 mt1"><span class="cf1 ff1">écran BTCGuild</span></figcaption></figure></div></div></section></div><footer class="u-paddingTop10 fs14lh1-5 cb2"><div class="container u-maxWidth740"><div class="row"><div class="col u-size12of12"><div class="postMetaInline postMetaInline--acknowledgments u-paddingTop5 u-paddingBottom20 js-postMetaAcknowledgments fs10lh1-5"><br></div><div class="postMetaInline postMetaInline--acknowledgments u-paddingTop5 u-paddingBottom20 js-postMetaAcknowledgments fs10lh1-5"><br></div></div></div></div></footer></div>]]></description>
			<pubDate>Tue, 07 Jan 2020 06:06:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?miner-des-bitcoins-a-la-maison-avec-un-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/4qu1meug</guid>
		</item>
		<item>
			<title><![CDATA[Créer un serveur web avec Apache2]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_43zjf447"><header class="entry-header cf1"><div class="imHeading1"><span class="fs12lh1-5">Créer un serveur web avec Apache2</span></div></header><div class="entry-featured cf1 mt1"><div class="entry-thumb"><span class="fs12lh1-5"><img width="500" height="332" src="http://the-raspberry.com/wp-content/uploads/2014/01/8594455273_23f87d3daf.jpg" alt="créer un serveur web apache raspberry pi" srcset="http://the-raspberry.com/wp-content/uploads/2014/01/8594455273_23f87d3daf-300x199.jpg 300w, http://the-raspberry.com/wp-content/uploads/2014/01/8594455273_23f87d3daf.jpg 500w" sizes="(max-width: 500px) 100vw, 500px" class="attachment-entry size-entry wp-post-image" data-selected="false" style=""></span></div></div><div class="entry-content content cf1 mt1"><p class="mb1"><span class="fs12lh1-5">Créer un serveur web sur le Raspberry pi avec Apache2 c’est l’équivalent de créer un serveur avec le logiciel <span class="cf2"><a href="http://www.wampserver.com/">wamp</a></span> sous Windows.</span></p><div class="imHeading1"><span class="fs12lh1-5">Installation des paquets requis</span></div><p class="mb1"><span class="fs12lh1-5">Il faut avant toutes choses installer les paquets nécessaires au serveur web.</span></p><p class="mb1"><span class="fs12lh1-5">Les paquets requis sont :</span></p><ul class="mb1"><li class=""><span class="fs12lh1-5"><span class="">apache2</span> : Le serveur</span></li><li class=""><span class="fs12lh1-5"><span class="">php5</span> : Pour exécuter des fichiers PHP</span></li><li class=""><span class="fs12lh1-5"><span class="">mysql-server</span> : Tout ce qui est base de données</span></li><li class=""><span class="fs12lh1-5"><span class="">libapache2-mod-php5</span> : Sert pour la comptabilité php5 apache</span></li><li class=""><span class="fs12lh1-5"><span class="">php5-mysql</span> : Pour gérer des bases de données avec des commandes PHP</span></li></ul><p class="mb1"><span class="fs12lh1-5">Pour installer tous ces paquets, il faut faire la commande</span></p><div title="Page 3" class=""><pre class="cf3 mt2 mb2"><span class="fs12lh1-5 ff1">sudo apt-get install apache2 php5 mysql-server libapache2-mod-php5 php5-mysql</span></pre><p class="mb1"><span class="fs12lh1-5">Une fenêtre s’ouvrira dans le terminal vous demandant le mot de passe mysql. Ce mot de passe vous servira à vous connecter à la base de données mysql.</span></p><p class="mb1"><span class="fs12lh1-5 cf2"><a href="http://the-raspberry.com/wp-content/uploads/2014/01/2014_01_09_163750.png"><img alt="mysql password" src="http://the-raspberry.com/wp-content/uploads/2014/01/2014_01_09_163750.png" width="562" height="335" class="alignnone size-full wp-image-11127" data-selected="false" style="margin-bottom: 24px;"></a></span></p><div class="imHeading1"><span class="fs12lh1-5">Démarrer le serveur Apache2</span></div><p class="mb1"><span class="fs12lh1-5"><img alt="" src="http://www.hebergement.com/Images/datasheets/i-apache-2.2.jpg" width="465" height="137" class="alignnone" data-selected="false" style="margin-bottom: 24px;"></span></p><p class="mb1"><span class="fs12lh1-5">Le serveur démarre automatiquement, mais vous pouvez le faire manuellement avec cette commande</span></p><pre class="cf3 mt2 mb2"><span class="fs12lh1-5 ff1">service apache2 start</span></pre><div class="imHeading1"><span class="fs12lh1-5">Repertoire du serveur</span></div><p class="mb1"><span class="fs12lh1-5">Le répertoire du serveur est le suivant</span></p><pre class="cf3 mt2 mb2"><span class="fs12lh1-5 ff1"> /var/www</span></pre><p class="mb1"><span class="fs12lh1-5">Vous pouvez placer dedans vos fichiers PHP et HTML. Pour ensuite y accéder, il faut aller à<span class="">ip_du_raspberry/nom_du_fichier.html</span></span></p><p class="mb1"><span class="fs12lh1-5">Exemple :</span></p><p class="mb1"><span class="fs12lh1-5">Je créer dans le dossier /var/www un dossier « test » ou je place un fichier core.php</span></p><p class="mb1"><span class="fs12lh1-5">Pour accéder à mon fichier, je vais à <span class="">192.168.2.4/test/core.php</span></span></p><div class="imHeading1"><span class="fs12lh1-5">Accéder au serveur</span></div><p class="mb1"><span class="fs12lh1-5">Pour accéder au serveur il faut entrer l’adresse IP de votre Raspberry pi dans l’URL de votre navigateur. Pour moi l’URL est 192.168.2.4, voilà ce que j’obtiens quand je vais sur le serveur.</span></p><p class="mb1"><span class="fs12lh1-5 cf2"><a href="http://the-raspberry.com/wp-content/uploads/2014/01/2014_01_09_171127.png"><img alt="serveur apache2" src="http://the-raspberry.com/wp-content/uploads/2014/01/2014_01_09_171127.png" width="485" height="205" class="alignnone size-full wp-image-11128" data-selected="false" style="margin-bottom: 24px;"></a></span></p><ol class="children fs14lh1-5 cb1"><li id="li-comment-646" class="comment byuser comment-author-admin bypostauthor even depth-2"><article id="comment-646" class="comment fs20.556"><div class="x-comment-wrap"><section class="x-comment-content"><p class="">Pour accéder à la base de donné va à l’url 192.168.x.x/phpmyadmin</p></section></div></article></li></ol></div></div></div>]]></description>
			<pubDate>Tue, 31 Dec 2019 21:36:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?creer-un-serveur-web-avec-apache2</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/43zjf447</guid>
		</item>
		<item>
			<title><![CDATA[Construire une OctaPi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_z070h91c"><div class="imHeading2"><font class=""><font class="">Construire une OctaPi</font></font></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Dans cette ressource, vous ferez un système informatique distribué à l'aide:</font></font></p><ul class="fs14lh1-5 cf2 mb3 cb1"><li class="cf1 mb2"><font class=""><font class="">Huit Raspberry Pi 3 ordinateurs faisant office de </font></font><span class=""><font class=""><font class="">serveurs</font></font></span></li><li class="cf1 mb2"><font class=""><font class="">Une autre Raspberry Pi 3 agissant en </font><font class="">tant que </font></font><span class=""><font class=""><font class="">client</font></font></span><font class=""><font class=""> qui contrôle les serveurs</font></font></li></ul><p class="fs14lh1-5 cf1 mb1 cb1"><img src="https://s3.eu-west-2.amazonaws.com/learning-resources-production/projects/rpi-python-build-an-octapi/914b9ad739fb3bc1967b077b2e8c0cca86f6f26a/en/images/octapi-system.png" alt="système OctaPi" class="" data-selected="false"></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Ce système est connu comme un </font></font><span class=""><font class=""><font class="">ordinateur de cluster</font></font></span><font class=""><font class=""> , une sorte de nuage ordinateur. </font><font class="">La puissance des huit unités centrales de serveurs (32 cœurs) vous permettra d'exécuter des </font><font class="">calculs à </font><font class="">partir de </font><font class="">la CPU client beaucoup plus rapidement que le client peut les exécuter lui - </font><font class="">même. </font><font class="">Une fois que </font><font class="">vous avez terminé ce projet, vous serez en mesure de développer des </font><font class="">applications en Python 3 sur le client et les exécuter sur votre cluster.</font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Il y a, vous aurez besoin de trois étapes à suivre pour faire une OctaPi:</font></font></p><ul class="fs14lh1-5 cf2 mb3 cb1"><li class="cf1 mb2"><font class=""><font class="">Créer un réseau Wi-Fi pour le cluster en utilisant un routeur dédié</font></font></li><li class="cf1 mb2"><font class=""><font class="">Créer une machine client</font></font></li><li class="cf1 mb2"><font class=""><font class="">Créer huit serveurs</font></font></li></ul><p class="fs14lh1-5 cf1 mb1 cb1"><span class=""><font class=""><font class="">REMARQUE:</font></font></span><font class=""><font class=""> Vous ne fait pas besoin de </font><font class="">huit serveurs, comme le cluster travaillera en</font><font class="">collaboration avec un certain nombre de serveurs jusqu'à des </font><font class="">limites déterminées par les performances de votre routeur WiFi. </font><font class="">Si vous n'avez pas assez Raspberry Pi disponible pour faire un OctaPi, pourquoi ne pas faire un HexaPi (6) ou un TetraPi (4)?</font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Si vous voulez faire de votre groupe soit jolie, vous pouvez adapter Pimoroni Unicorn HAT 8x8 tableaux LED pour chaque serveur. </font><font class="">Un script de contrôle de bash sur la machine cliente peut être utilisée pour modifier les motifs sur la licorne HATS.</font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Construire une OctaPi par </font></font><span class="cf1 cb2"><a href="https://www.gchq.gov.uk/"><font class=""><font class="">GCHQ</font></font></a></span><font class=""><font class=""> et la Fondation Raspberry Pi est distribué sous licence Creative Commons Attribution 4.0 License internationale. </font></font><br class=""><font class=""><font class="">Sur la </font><font class="">base d' </font><font class="">un travail à </font></font><font class="cf1 cb2"><font class=""><span class="cf1 cb2"><a href="https://github.com/raspberrypilearning/rpi-python-build-an-octapi">https://github.com/raspberrypilearning/rpi-python-build-an-octapi</a></span></font></font></p><div class="imHeading2"><font class=""><font class="goog-text-highlight cb3">Ce dont tu auras besoin</font></font></div><div class="imHeading3"><font class=""><font class="">Matériel</font></font></div><ul class="fs14lh1-5 cf2 mb3 cb1"><li class="cf1 mb2"><font class=""><font class="">9 x Raspberry Pi 3</font></font></li><li class="cf1 mb2"><font class=""><font class="">8 x Unicorn HAT (facultatif)</font></font></li><li class="cf1 mb2"><font class=""><font class="">8 x courts câbles micro USB</font></font></li><li class="cf1 mb2"><font class=""><font class="">Routeur sans fil</font></font></li><li class="cf1 mb2"><font class="cf1 cb2"><font class=""><span class="cf1 cb2"><a href="https://www.amazon.co.uk/Universal-professional-charging-2-4amps-simultaneously/dp/B01DZKOUS4/ref=lp_11206805031_1_1?srs=11206805031&amp;ie=UTF8&amp;qid=1488288887&amp;sr=8-1" target="_blank">Power Hub</a></span> Universal 10 port professional USB 120w charging hub. 2.4amps</font></font></li><li class="cf1 mb2"><font class=""><font class="">Ethernet cable</font></font></li></ul><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Vous avez besoin de neuf Raspberry Pi 3 ordinateurs au total, parce que huit d'entre eux formeront le groupe de OctaPi. </font><font class="">Seul le dernier aura besoin des périphériques habituels d'agir comme la machine cliente.</font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Vous pouvez monter votre cluster de OctaPi sur une planche de plexiglas avec écarteurs comme indiqué sur les photos.</font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Nous ne recommandons pas d'utiliser un routeur qui est réaffecté à partir d'un fournisseur de services à large bande. </font><font class="">Tout en utilisant un tel routeur pourrait fonctionner, les fonctions peuvent être verrouillés dans le routeur, soit à des conditions non définies par défaut pour répondre aux exigences du fournisseur de services. </font><font class="">Cela pourrait affecter son utilisation avec le OctaPi.</font></font></p><div class="imHeading3"><font class=""><font class="">Logiciel</font></font></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Le OctaPi utilisera des logiciels suivants. </font><font class="">Détails sur la façon de les installer sont fournis dans la ressource.</font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class="cb2"></font></p><ul class="fs14lh1-5 cf2 mb3 cb1"><li class="cf1 mb2"><font class=""><font class="">Python 3 </font></font><code class="">dispy</code></li><li class="cf1 mb2"><font class=""><font class="">Python 3 </font></font><code class="">nmap</code></li><li class="cf1 mb2"><font class=""><font class="">Python 3 </font></font><code class="">psutil</code></li><li class="cf1 mb2"><font class=""><font class="">Python 3 </font></font><code class="">unicornhat</code></li></ul><div class="imHeading2"><font class=""><font class="">Configurez le routeur sans fil</font></font></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Les processeurs de votre cluster de OctaPi communiqueront via un réseau local WiFi dédié créé par un routeur sans fil. </font><font class="">Le routeur ne </font></font><span class=""><font class=""><font class="">pas</font></font></span><font class=""><font class=""> besoin d'être connecté à Internet pour le </font><font class="">fonctionnement du cluster, ni besoin d'être en </font><font class="">ligne pour mise en place.</font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Nous supposons que vous utilisez un routeur flambant neuf ou avez réinitialiser votre routeur à ses paramètres par défaut.</font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class="cb2"></font></p><ul class="fs14lh1-5 cf2 mb3 cb1"><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Allumez votre routeur sans fil.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Connectez un ordinateur au routeur à l'aide d'un câble Ethernet. </font><font class="">Vous pouvez utiliser tout système informatique doté d'un navigateur Web, y compris un travail Raspberry Pi 3.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Suivez les instructions d'installation fournies avec le routeur. </font><font class="">Cela implique normalement l'ouverture d'un navigateur Web et la navigation sur la page « admin » de votre routeur pour commencer à changer les paramètres du routeur. </font><font class="">Les informations de connexion « admin » auront été fournies par le fabricant de votre routeur WiFi.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Cherchez une page qui vous permet de définir le nom du réseau WiFi (aussi appelé SSID) et le changer pour « OctaPi ». </font><font class="">Par exemple, la page peut ressembler à ceci:</font></font></p><p class="mb1"><img src="https://s3.eu-west-2.amazonaws.com/learning-resources-production/projects/rpi-python-build-an-octapi/914b9ad739fb3bc1967b077b2e8c0cca86f6f26a/en/images/router-ssid.png" alt="Réglez le SSID" class="" data-selected="false"></p><p class="mb1"><span class=""><font class=""><font class="">Remarque:</font></font></span><font class=""><font class=""> Raspberry Pi 3 ordinateurs fonctionnent uniquement avec 2,4 GHz WiFi, de </font><font class="">sorte que </font><font class="">vous pouvez ignorer les </font><font class="">paramètres 5GHz ou désactiver 5GHz WiFi dans votre routeur.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Maintenant , </font><font class="">recherchez les paramètres IP du </font><font class="">réseau local, qui peuvent être dans les </font><font class="">paramètres du « réseau local ». </font><font class="">Modifier l'adresse IP de votre routeur </font></font><code class="">192.168.1.1</code><font class=""><font class="">- encore une </font><font class="">fois, l'interface administrateur de chaque routeur sera différent, mais voici un exemple de ce que vous pourriez voir:</font></font></p><p class="mb1"><img src="https://s3.eu-west-2.amazonaws.com/learning-resources-production/projects/rpi-python-build-an-octapi/914b9ad739fb3bc1967b077b2e8c0cca86f6f26a/en/images/router-lan-ip.png" alt="Définissez l'adresse IP du routeur" class="" data-selected="false"></p><p class="mb1"><font class=""><font class="">Vous devrez peut-être redémarrer votre routeur et vous en tant que « admin » après cette étape.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Définir le mot de passe réseau WiFi, qui peut être sous la rubrique « Sécurité sans fil » ou similaire.</font></font></p><p class="mb1"><span class=""><font class=""><font class="">Important:</font></font></span><font class=""><font class=""> Assurez - </font><font class="">vous que vous écrivez le mot de </font><font class="">passe afin que vous puissiez l' </font><font class="">utiliser pour vous connecter à votre réseau dédié « OctaPi ».</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Recherchez les paramètres DHCP. </font><font class="">DHCP est un protocole utilisé pour l' </font><font class="">émission des </font><font class="">adresses IP automatiquement. </font><font class="">Le client et les </font><font class="">serveurs utiliseront cette fonctionnalité </font><font class="">pour déterminer leurs adresses IP. </font><font class="">Les paramètres de DHCP peuvent être sous « LAN ». </font><font class="">Assurez - </font><font class="">vous que DHCP est activé et réglé la plage d'adresses DHCP à quelque chose qui offre une gamme d'adresses utiles; </font><font class="">nous avons choisi </font></font><code class="">192.168.1.2</code><font class=""><font class="">de </font></font><code class="">192.168.1.254</code><font class=""><font class="">. </font><font class="">L' utilisation de </font><font class="">cette gamme particulière n'est pas critique mais en </font><font class="">utilisant un différent ici signifie les adresses IP que </font><font class="">vous voyez diffèrent de ceux indiqués dans ce guide. </font><font class="">Changer seulement si vous savez ce que vous faites.</font></font></p><p class="mb1"><img src="https://s3.eu-west-2.amazonaws.com/learning-resources-production/projects/rpi-python-build-an-octapi/914b9ad739fb3bc1967b077b2e8c0cca86f6f26a/en/images/router-dhcp.png" alt="Définissez la plage DHCP" class="" data-selected="false"></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">S'il y a un paramètre pour la durée du bail IP, que ce chiffre soit aussi grand que possible.</font></font></p><p class="mb1"><font class=""><font class="">La durée du bail est la durée de temps avant que les adresses IP DHCP réaffecte - vous avez besoin d'être longue pour éviter d'interrompre la connexion entre le client et les serveurs.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Redémarrez votre routeur WiFi afin que tous les changements entrent en vigueur.</font></font></p></li></ul><div class="imHeading2"><font class=""><font class="">Mettre en place le client OctaPi</font></font></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">L' un des ordinateurs Raspberry Pi sera utilisé comme </font></font><span class=""><font class=""><font class="">machine cliente</font></font></span><font class=""><font class=""> donnant accès aux serveurs du cluster OctaPi. </font><font class="">Vous aurez besoin de connecter les périphériques habituels (moniteur, clavier, souris) à cette Raspberry Pi afin de l' </font><font class="">utiliser pour contrôler la OctaPi.</font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class="cb2"></font></p><ul class="fs14lh1-5 cf2 mb3 cb1"><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Sur votre carte micro SD, installez la dernière version de Raspbian en suivant les </font></font><span class="cf1 cb2"><a href="https://www.raspberrypi.org/learning/software-guide/quickstart/" target="_blank"><font class=""><font class="">instructions du guide du logiciel</font></font></a></span><font class=""><font class=""> .</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">L'utilisation de cette carte micro SD, démarrer le Raspberry Pi 3 avec un clavier, écran et souris connectée.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Vérifiez que le Raspberry Pi est également connecté à Internet.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Ouvrez une fenêtre de terminal.</font></font></p><p class="mb1"><img src="https://s3.eu-west-2.amazonaws.com/learning-resources-production/projects/rpi-python-build-an-octapi/914b9ad739fb3bc1967b077b2e8c0cca86f6f26a/en/images/terminal.png" alt="Ouvrez un terminal" class="" data-selected="false"></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Installer </font></font><code class="">dispy</code><font class=""><font class="">en tapant cette commande dans le terminal:</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1"> <span class="fs14lh1-5">sudo pip3 install dispy==4.7.1</span> </font></font></pre></div></div></div><p class="mb1"><font class=""><font class="">Dispy est une implémentation Python distribuée qui vous permettra d'écrire du </font><font class="">code sur le client et l' </font><font class="">exécuter à </font><font class="">travers les serveurs. </font></font><span class=""><font class=""><font class="">Remarque</font></font></span><font class=""><font class=""> : Il est essentiel que vous installez la </font><font class="">version 4.7.1 de </font></font><code class="">dispy</code><font class=""><font class="">, comme les </font><font class="">versions ultérieures reposent sur une bibliothèque qui est actuellement incompatible avec Raspbian.</font></font></p><p class="mb1"><font class=""><font class="">Des informations complémentaires sont disponibles à </font><font class="">partir </font></font><span class="cf1 cb2"><a href="http://dispy.sourceforge.net/index.html" target="_blank"><font class=""><font class="">dispy: Calcul distribué et parallèle avec / pour Python</font></font></a></span><font class=""><font class=""> .</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Installer </font></font><code class="">nmap</code><font class=""><font class="">en tapant cette commande dans le terminal:</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1"> <span class="fs14lh1-5">sudo apt-get install nmap</span> </font></font></pre></div></div></div><p class="mb1"><font class=""><font class="">Nmap est utilisé pour découvrir les adresses IP des serveurs Raspberry Pi formant le cluster OctaPi, afin qu'ils puissent être arrêtés ou redémarrés au besoin.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Si vous utilisez HATS en option Unicorn, installez le logiciel pour eux en tapant cette commande dans le terminal:</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class="ff1"><font class=""> </font><font class=""><span class="fs14lh1-5">curl https://get.pimoroni.com/unicornhat | bash</span> </font></font></pre></div></div></div><p class="mb1"><font class=""><font class="">Vous devrez redémarrer votre Pi après l'installation.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Assurez - </font><font class="">vous que vous êtes dans le </font></font><code class="">/home/pi</code><font class=""><font class="">répertoire, puis télécharger le logiciel client OctaPi en tapant cette commande dans le terminal:</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1"> &nbsp;<span class="fs14lh1-5">git clone https://github.com/raspberrypilearning/octapi-setup.git</span> </font></font></pre></div></div></div><p class="mb1"><font class=""><font class="">Le logiciel client contient des exemples de code source en Python 3 et un script de contrôle de bash pour redémarrer et arrêter le cluster. </font><font class="">Le script de contrôle peut être utilisé avec la licorne HAT ainsi.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Déplacer tous les fichiers du </font></font><code class="">client</code><font class=""><font class="">dossier que </font><font class="">vous venez de </font><font class="">télécharger dans le </font></font><code class="">/home/pi</code><font class=""><font class="">dossier:</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1"> <span class="fs14lh1-5">mv /home/pi/octapi-setup/client/* /home/pi</span> </font></font></pre></div></div></div></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Éteignez votre nouveau client OctaPi pour le moment et mettre de côté le client carte SD dans un endroit sûr.</font></font></p></li></ul><div class="imHeading2"><font class=""><font class="">Mettre en place un serveur OctaPi</font></font></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Chacun des ordinateurs Raspberry Pi 3 du cluster doit avoir sa propre carte micro SD préparée. </font><font class="">Cependant, chaque carte est identique, vous pouvez configurer un seul serveur, vérifier qu'il fonctionne, puis répliquez la carte SD pour les autres serveurs.</font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class="cb2"></font></p><ul class="fs14lh1-5 cf2 mb3 cb1"><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Sur une nouvelle carte micro SD, installez la dernière version de Raspbian en suivant les </font></font><span class="cf1 cb2"><a href="https://www.raspberrypi.org/learning/software-guide/quickstart/" target="_blank"><font class=""><font class="">instructions du guide du logiciel</font></font></a></span><font class=""><font class=""> .</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Démarrez un Raspberry Pi 3 en utilisant cette carte SD avec un clavier, écran et souris connectée.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Vérifiez que le Raspberry Pi est connecté à Internet.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Ouvrez un terminal.</font></font></p><p class="mb1"><img src="https://s3.eu-west-2.amazonaws.com/learning-resources-production/projects/rpi-python-build-an-octapi/914b9ad739fb3bc1967b077b2e8c0cca86f6f26a/en/images/terminal.png" alt="Ouvrez un terminal" class="" data-selected="false"></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Comme avec le client, installer </font></font><code class="">dispy</code><font class=""><font class="">en tapant cette commande dans le terminal:</font></font></p><pre class="mt1 mb4"><code class="ff1"> &nbsp;sudo pip3 install dispy==4.7.1 </code></pre></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Installer </font></font><code class="">psutil</code><font class=""><font class="">en tapant cette commande dans le terminal:</font></font></p><pre class="mt1 mb4"><code class="ff1"> &nbsp;sudo pip3 install psutil </code></pre><p class="mb1"><span class="ff1"><code class="">dispy </code><font class=""><font class="">utilise </font></font><code class="">psutil </code><font class=""><font class="">pour signaler l' </font><font class="">utilisation du processeur des serveurs du cluster.</font></font></span></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Assurez - </font><font class="">vous dans le </font></font><code class="">/home/pi </code><font class=""><font class="">répertoire en tapant </font></font><code class="fs14lh1-5">cd /home/pi</code></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Si vous utilisez la licorne HATs, installez le logiciel pour eux en tapant cette commande dans le terminal:</font></font></p><pre class="mt1 mb4"><code class="ff1"><span class="fs14lh1-5">curl https://get.pimoroni.com/unicornhat | bash</span> </code></pre><p class="mb1"><font class=""><font class="">Vous devrez redémarrer votre Pi après.</font></font></p><p class="mb1"><font class=""><font class="">Ensuite, ouvrez à </font><font class="">nouveau le terminal et assurez - </font><font class="">vous que </font><font class="">vous êtes dans le </font></font><code class="">/home/pi </code><font class=""><font class="">dossier en tapant </font></font><code class="">cd /home/pi</code></p><p class="mb1"><font class=""><font class="">Télécharger le </font></font><code class="">start_unicorn.sh </code><font class=""><font class="">script bash pour l' </font><font class="">installation sur le serveur en </font><font class="">utilisant la commande suivante </font><font class="">:</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1"> &nbsp;wget https://raw.githubusercontent.com/raspberrypilearning/octapi-setup/server/start_unicorn.sh </font></font></pre></div></div></div><p class="mb1"><font class=""><font class="">Faire le script exécutable en tapant la commande suivante:</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1"> &nbsp;<span class="fs14lh1-5">chmod u+x ./start_unicorn.sh</span> </font></font></pre></div></div></div></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Retour à la fenêtre de </font><font class="">terminal et tapez la commande suivante pour commencer à </font><font class="">éditer le </font></font><code class="">/etc/rc.local </code><font class=""><font class="">fichier:</font></font></p><pre class="mt1 mb4"><code class="ff1"> &nbsp;<span class="fs14lh1-5">sudo nano /etc/rc.local</span> </code></pre></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Près du bas du fichier, juste avant </font></font><code class="">exit 0</code><font class=""><font class="">, ajoutez les lignes suivantes pour exécuter en </font></font><code class="">dispy</code><font class=""><font class="">tant que démon (un processus en </font><font class="">cours d' </font><font class="">exécution en arrière - </font><font class="">plan) chaque fois que </font><font class="">le serveur démarre:</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><span class="ff1"><font class=""><font class=""> &nbsp;</font></font></span><span class="fs14lh1-5 ff1">sleep 20</span></pre><pre class="fs14lh1-5 mt1 mb4"> &nbsp;_IP=$(hostname -I) &nbsp;&nbsp;/usr/local/bin/dispynode.py -i "$_IP" --daemon --client_shutdown</pre></div></div></div><p class="mb1"><span class=""><font class=""><font class="">Remarque:</font></font></span><font class=""><font class=""> Le sommeil pendant 20 secondes est de laisser du </font><font class="">temps pour le serveur de </font><font class="">se connecter à votre routeur WiFi et d' </font><font class="">obtenir une adresse IP du réseau de celui - </font><font class="">ci. </font><font class="">Vous avez besoin de </font><font class="">l'adresse IP afin que le serveur écoutera correctement pour le client sur le réseau. </font><font class="">Vous devrez </font><font class="">peut-être régler ce délai en fonction du routeur que </font><font class="">vous utilisez.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Appuyez sur </font></font><code class="">Ctrl</code><font class=""><font class="">+ </font></font><code class="">o </code><font class=""><font class="">pour enregistrer vos modifications, puis </font></font><code class="">Ctrl</code><font class=""><font class="">+ </font></font><code class="">x </code><font class=""><font class="">pour quitter l'éditeur nano.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Vérifiez que la </font><font class="">connexion à </font><font class="">distance via SSH est activé afin que l' </font><font class="">accès en ligne de commande à </font><font class="">distance à votre serveur est possible. </font><font class="">Dans le </font></font><span class=""><font class=""><font class="">Préférences</font></font></span><font class=""><font class=""> menu, sélectionnez </font></font><span class=""><font class=""><font class="">Configuration Raspberry Pi</font></font></span><font class=""><font class=""> .</font></font></p><p class="mb1"><img src="https://s3.eu-west-2.amazonaws.com/learning-resources-production/projects/rpi-python-build-an-octapi/914b9ad739fb3bc1967b077b2e8c0cca86f6f26a/en/images/enable-ssh1.png" alt="activer SSH" class="" data-selected="false"></p><p class="mb1"><font class=""><font class="">Cliquez ensuite sur le </font></font><span class=""><font class=""><font class="">Interfaces</font></font></span><font class=""><font class=""> onglet et assurez - </font><font class="">vous que SSH est activé.</font></font></p><p class="mb1"><img src="https://s3.eu-west-2.amazonaws.com/learning-resources-production/projects/rpi-python-build-an-octapi/914b9ad739fb3bc1967b077b2e8c0cca86f6f26a/en/images/enable-ssh.png" alt="activer SSH" class="" data-selected="false"></p></li></ul><div class="imHeading2"><font class=""><font class="">Mettre en place le serveur sur le réseau OctaPi</font></font></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Toujours en </font><font class="">utilisant le </font></font><span class=""><font class=""><font class="">serveur</font></font></span><font class=""><font class=""> Raspberry Pi, nous avons besoin de passer du réseau connecté à </font><font class="">Internet au réseau OctaPi. </font><font class="">Assurez -vous de </font><font class="">votre routeur WiFi OctaPi est sous </font><font class="">tension et entièrement démarré.</font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class="cb2"></font></p><ul class="fs14lh1-5 cf2 mb3 cb1"><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Cliquez sur le symbole WiFi en haut du bureau et sélectionnez réseau le « OctaPi »</font></font></p><p class="mb1"><img src="https://s3.eu-west-2.amazonaws.com/learning-resources-production/projects/rpi-python-build-an-octapi/914b9ad739fb3bc1967b077b2e8c0cca86f6f26a/en/images/click-wifi.png" alt="Cliquez sur le symbole Wifi" class="" data-selected="false"></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Entrez le mot de passe réseau de votre routeur (qui vous avez noté précédemment) pour rejoindre le réseau.</font></font></p><p class="mb1"><img src="https://s3.eu-west-2.amazonaws.com/learning-resources-production/projects/rpi-python-build-an-octapi/914b9ad739fb3bc1967b077b2e8c0cca86f6f26a/en/images/type-password.png" alt="Entrer le mot de passe" class="" data-selected="false"></p><p class="mb1"><font class=""><font class="">Après avoir fait cela, le serveur se souviendra des identifiants Wi-Fi et connectez-vous sur votre réseau dédié « OctaPi » à chaque fois qu'il démarre.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Nous devons supprimer toute information WiFi précédent pour éviter toute confusion.</font></font></p><p class="mb1"><font class=""><font class="">Dans une fenêtre de </font><font class="">terminal, tapez la commande suivante pour modifier le </font></font><code class="">wpa_supplicant.conf</code><font class=""><font class="">fichier:</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1"><span class="fs14lh1-5">sudo nano /etc/wpa_supplicant/wpa_supplicant.conf</span> </font></font></pre></div></div></div><p class="mb1"><font class=""><font class="">Le contenu du fichier se présentent comme suit</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><span class="ff1"><font class=""><font class=""> &nbsp;</font></font> </span><span class="fs14lh1-5 ff1">ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev</span></pre><pre class="fs14lh1-5 mt1 mb4"> &nbsp;update_config=1 &nbsp;&nbsp;country=GB &nbsp;&nbsp;&nbsp;network={ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ssid="OctaPi" &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;psk="mynetworkpassword" &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;key_mgmt=WPA-PSK &nbsp;&nbsp;}</pre></div></div></div><p class="mb1"><font class=""><font class="">Retirez tout « réseau {} » sections pour les </font><font class="">autres réseaux, appuyez sur </font></font><code class="">Ctrl</code><font class=""><font class="">+ </font></font><code class="">o</code><font class=""><font class="">pour enregistrer et </font></font><code class="">Ctrl</code><font class=""><font class="">+ </font></font><code class="">x</code><font class=""><font class="">pour quitter.</font></font></p><p class="mb1"><span class=""><font class=""><font class="">Remarque:</font></font></span><font class=""><font class=""> Si les </font><font class="">réseaux WiFi alternatifs ne sont pas supprimés, votre serveur peut se </font><font class="">connecter au mauvais réseau et ne pas être à la </font><font class="">disposition du client.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Lorsque vous avez terminé, arrêtez le serveur Raspberry Pi.</font></font></p></li></ul><div class="imHeading2"><font class=""><font class="">Mettre en place le client sur le réseau OctaPi</font></font></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class="cb2"></font></p><ul class="fs14lh1-5 cf2 mb3 cb1"><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Connectez un moniteur, le </font><font class="">clavier et la </font><font class="">souris et la </font><font class="">mise sous </font><font class="">tension d' </font><font class="">un contenant Raspberry Pi le </font></font><span class=""><font class=""><font class="">client</font></font></span><font class=""><font class=""> carte SD vous avez créé précédemment.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Répétez les instructions de l'étape précédente sur cet ordinateur, la </font><font class="">connexion au réseau « OctaPi » et en </font><font class="">supprimant les détails WiFi de </font><font class="">rechange de </font></font><code class="">wpa_supplicant</code><font class=""><font class="">fichier.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Garder le client sous </font><font class="">tension, démarrez un seul </font></font><span class=""><font class=""><font class="">serveur</font></font></span><font class=""><font class=""> Raspberry Pi avec seulement un câble d'alimentation connecté.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Ouvrez une fenêtre de </font><font class="">terminal sur le </font></font><span class=""><font class=""><font class="">client</font></font></span><font class=""><font class=""> Raspberry Pi.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Tapez la commande suivante pour trouver l'adresse IP du </font></font><span class=""><font class=""><font class="">client</font></font></span><font class=""><font class=""> Raspberry Pi:</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1"> &nbsp;<span class="fs14lh1-5">hostname -I</span> </font></font></pre></div></div></div></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Tapez la commande suivante pour trouver l'adresse IP du </font></font><span class=""><font class=""><font class="">serveur</font></font></span><font class=""><font class=""> Raspberry Pi:</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1"> &nbsp;<span class="fs14lh1-5">nmap -sP 192.168.1.*</span> </font></font></pre></div></div></div><p class="mb1"><font class=""><font class="">Prenez note du </font></font><span class=""><font class=""><font class="">serveur</font></font></span><font class=""><font class=""> adresse IP (vous devriez voir l'adresse du routeur, qui sera </font></font><code class="">192.168.1.1</code><font class=""><font class="">, et l'adresse du client énumérés, aussi).</font></font></p><p class="mb1"><span class=""><font class=""><font class="">Remarque:</font></font></span><font class=""><font class=""> Le </font></font><code class="">nmap</code><font class=""><font class="">logiciel scanne le réseau pour trouver les adresses IP des périphériques qui y sont </font><font class="">connectés. </font><font class="">Nous devons le </font><font class="">faire sur notre réseau local afin que la machine client peut communiquer avec les ordinateurs Raspberry Pi qui forment le groupe OctaPi. </font></font><span class=""><font class=""><font class="">Ne pas exécuter nmap sur un réseau qui est connecté à Internet. </font></font></span><code class="">nmap</code><font class=""><font class="">est un puissant logiciel et l' </font><font class="">utiliser pour scanner un réseau que </font><font class="">vous ne possédez pas peut être considéré comme le </font><font class="">piratage, et dans certains pays peut même être illégale.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Sur le </font></font><span class=""><font class=""><font class="">client</font></font></span><font class=""><font class=""> , exécutez </font></font><code class="">ssh-keygen</code><font class=""><font class="">dans le terminal pour créer une clé d'authentification du client avec le serveur.</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1"><span class="fs14lh1-5">ssh-keygen</span> </font></font></pre></div></div></div><p class="mb1"><font class=""><font class="">Appuyez sur </font></font><span class=""><font class=""><font class="">Entrée</font></font></span><font class=""><font class=""> lorsque demandé où enregistrer la clé, puis appuyez sur </font></font><span class=""><font class=""><font class="">Entrée</font></font></span><font class=""><font class=""> à nouveau deux fois quand on </font><font class="">lui demande un mot de </font><font class="">passe, laissant vide.</font></font></p><p class="mb1"><font class=""><font class="">Cette clé est utilisée pour aider le </font></font><code class="">cluster_action.sh</code><font class=""><font class="">scénario (fourni avec le logiciel client) pour fonctionner avec les serveurs.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Trouvez où vous avez noté l'adresse IP de la machine serveur et exécuter cette commande dans un terminal sur le </font></font><span class=""><font class=""><font class="">client</font></font></span><font class=""><font class=""> pour copier la clé du serveur (remplacez </font></font><code class="">&lt;remote ip&gt;</code><font class=""><font class="">le </font></font><span class=""><font class=""><font class="">du serveur</font></font></span><font class=""><font class=""> Adresse IP):</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1"><span class="fs14lh1-5">ssh-copy-id -i ~/.ssh/id_rsa.pub &lt;remote ip&gt;</span> </font></font></pre></div></div></div><p class="mb1"><font class=""><font class="">On vous demandera si vous voulez continuer à vous </font><font class="">connecter. </font><font class="">Tapez </font></font><code class="">yes </code><font class=""><font class="">et appuyez sur </font></font><span class=""><font class=""><font class="">Entrée</font></font></span><font class=""><font class=""> . </font><font class="">On vous demandera le mot de </font><font class="">passe serveur de Pi qui sera le mot de </font><font class="">passe par défaut </font></font><code class="">raspberry</code><font class=""><font class="">.</font></font></p><p class="mb1"><font class=""><font class="">Ceci termine la préparation du client et le serveur. </font><font class="">Nous devons maintenant vérifier que tout est correct et fonctionne correctement avec un seul serveur.</font></font></p></li></ul><div class="imHeading2"><font class=""><font class="">Assurez-vous que cela fonctionne</font></font></div><ul class="fs14lh1-5 cf2 mb3 cb1"><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Assurez - </font><font class="">vous que votre routeur dédié « OctaPi » est sous </font><font class="">tension et entièrement initialisé, le </font></font><span class=""><font class=""><font class="">client</font></font></span><font class=""><font class=""> est démarré avec les </font><font class="">périphériques connectés et le </font></font><span class=""><font class=""><font class="">serveur</font></font></span><font class=""><font class=""> est démarré avec seulement un câble d'alimentation ci - </font><font class="">joint.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Ouvrez un terminal sur le </font></font><span class=""><font class=""><font class="">client</font></font></span><font class=""><font class=""> .</font></font></p><p class="mb1"><img src="https://s3.eu-west-2.amazonaws.com/learning-resources-production/projects/rpi-python-build-an-octapi/914b9ad739fb3bc1967b077b2e8c0cca86f6f26a/en/images/terminal.png" alt="Terminal" class="" data-selected="false"></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Assurez - </font><font class="">vous que vous êtes dans le </font></font><code class="">/home/pi</code><font class=""><font class="">répertoire et tapez la commande suivante pour exécuter le </font></font><code class="">compute.py</code><font class=""><font class="">logiciel exemple fourni avec les exemples de logiciel client que </font><font class="">vous avez téléchargé plus tôt:</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1"> <span class="fs14lh1-5">sudo python3 compute.py</span> </font></font></pre></div></div></div><p class="mb1"><font class=""><font class="">Le </font></font><code class="">compute.py</code><font class=""><font class="">script Python exécute 15 emplois sur votre serveur. </font><font class="">Ils sont tous les </font><font class="">retards aléatoires juste avant le </font><font class="">retour. </font><font class="">Si le OctaPi fonctionne correctement, les travaux complèteront à environ une minute et un tableau montrant les statistiques de l'application seront affichés dans le terminal. </font><font class="">Vous devriez voir un résultat semblable à ceci:</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><span class="ff1"><font class=""><font class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;noeud | </font><font class="">processeurs | </font><font class="">Offres d'emploi | </font><font class="">Sec / Travail | </font><font class="">Temps Node Sec</font></font><font class=""></font> &nbsp;&nbsp;------------------------------------------------------------------------------<font class=""></font><font class=""><font class=""> &nbsp;&nbsp;&nbsp;192.168.1.3 (Raspberry Pi) | </font><font class="">4 | </font><font class="">16 | </font><font class="">12,841 | </font><font class="">205,460</font></font><font class=""></font> <font class=""></font><font class=""><font class=""> &nbsp;&nbsp;Durée totale de l'emploi: 205,460 sec, temps de mur: 57,347 sec, speedup: 3,583</font></font><font class=""></font> </span></pre></div></div></div><p class="mb1"><font class=""><font class="">Si le </font></font><code class="">compute.py</code><font class=""><font class="">script ne fonctionne pas, passez en </font><font class="">revue vos étapes une par une et vérifier que le </font><font class="">client, serveur et routeur sont tous configurés correctement et qu'il </font><font class="">fonctionne correctement.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Si le test a fonctionné, utilisez le client pour arrêter manuellement le serveur ( en </font><font class="">remplacement de </font></font><code class="">&lt;remote_ip&gt;</code><font class=""><font class="">l'adresse IP du serveur que </font><font class="">vous avez noté précédemment):</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><span class="fs14lh1-5 ff1">ssh &lt;remote_ip&gt;</span></pre><pre class="fs14lh1-5 mt1 mb4"> &nbsp;sudo shutdown -HP now</pre></div></div></div><p class="mb1"><font class=""><font class="">Vous devrez peut - </font><font class="">être utiliser à </font></font><code class="">nmap</code><font class=""><font class="">nouveau pour trouver l'adresse IP du serveur si elle a </font><font class="">changé lorsque le routeur WiFi redémarré.</font></font></p><p class="mb1"><font class=""><font class="">À l' </font><font class="">avenir, </font><font class="">nous allons utiliser le </font></font><code class="">cluster_action.sh </code><font class=""><font class="">script pour le </font><font class="">faire.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Une fois que le serveur est arrêté, retirer sa carte micro SD.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">L'utilisation d'une carte SD ou duplicateur un ordinateur qui est capable de lire les cartes SD, créer sept copies identiques de cette carte SD et insérez-les dans les autres serveurs afin que vous avez un total de huit.</font></font></p></li></ul><p class="fs14lh1-5 cf1 mb1 cb1"><font class="cb2"></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><span class=""><font class=""><font class="">Remarque:</font></font></span><font class=""><font class=""> Il est également possible </font><font class="">pour créer vos huit cartes SD en suivant huit fois les instructions de configuration du serveur. </font><font class="">Si vous choisissez d'utiliser cette méthode plutôt, vous devez exécuter la </font></font><code class="">ssh-copy-id </code><font class=""><font class="">commande sur le client une fois par serveur pour copier la clé sur chaque serveur séparément. </font></font><span class=""><font class=""><font class="">NE PAS</font></font></span><font class=""><font class=""> utiliser la </font></font><code class="">ssh-keygen </code><font class=""><font class="">commande pour régénérer la clé. </font><font class="">Reportez - </font><font class="">vous aux instructions de configuration du client pour savoir comment copier la clé du client vers le serveur.</font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class="cf1 cb2"><br></font></p><div class="imHeading2"><font class=""><font class="">OctaPi installation physique</font></font></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class="cb2"></font></p><ul class="fs14lh1-5 cf2 mb3 cb1"><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Décidez comment vous allez alimenter votre OctaPi. </font><font class="">Vous pouvez simplement alimenter chacun des huit ordinateurs Raspberry Pi séparément en utilisant huit alimentations standard, ou vous trouverez peut-être plus pratique d'utiliser un concentrateur USB ou le chargeur afin de les alimenter de manière centralisée.</font></font></p><p class="mb1"><span class=""><font class=""><font class="">Note:</font></font></span><font class=""><font class=""> Il est essentiel qu'il y ait une </font><font class="">puissance suffisante pour fournir 2.4A à chaque Raspberry Pi 3. Tous les </font><font class="">hubs USB / chargeurs peuvent alimenter 2.4A sur tous les </font><font class="">ports, alors assurez - </font><font class="">vous de vérifier attentivement.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Si vous utilisez la licorne HATS, installer un HAT sur le connecteur GPIO de chacun des serveurs.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Si vous le souhaitez, vous pouvez monter les huit Raspberry Pi 3 s sur une planche dorsale. </font><font class="">Sinon, il y a des cas pour plusieurs Raspberry Pi disponibles à l'achat, ou vous pouvez simplement les laisser disposés - ils travailleront en groupe, même si elles ne sont pas attachés à quoi que ce soit.</font></font></p><p class="mb1"><img src="https://s3.eu-west-2.amazonaws.com/learning-resources-production/projects/rpi-python-build-an-octapi/914b9ad739fb3bc1967b077b2e8c0cca86f6f26a/en/images/octapi-system.png" alt="système OctaPi" class="" data-selected="false"></p></li></ul><div class="imHeading2"><font class=""><font class="">Utilisation de la OctaPi terminée pour la première fois</font></font></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class="cb2"></font></p><ul class="fs14lh1-5 cf2 mb3 cb1"><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Assurez-vous que le routeur WiFi dédié, clients et serveurs sont tous OctaPi sous tension. </font><font class="">Il est préférable d'alimenter le routeur WiFi à l'avance afin que vous pouvez être sûr qu'il est complètement démarré avant la tentative de client et les serveurs OctaPi pour ouvrir une session en elle.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Sur la machine cliente, ouvrez un terminal.</font></font></p><p class="mb1"><img src="https://s3.eu-west-2.amazonaws.com/learning-resources-production/projects/rpi-python-build-an-octapi/914b9ad739fb3bc1967b077b2e8c0cca86f6f26a/en/images/terminal.png" alt="Ouvrez un terminal" class="" data-selected="false"></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Essayez d' </font><font class="">exécuter le </font></font><code class="">compute.py </code><font class=""><font class="">softwar exemple à </font><font class="">nouveau en tapant la commande suivante:</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1"> <span class="fs14lh1-5">sudo python3 compute.py</span> </font></font></pre></div></div></div><p class="mb1"><br></p></li></ul><div class="">Si le OctaPi fonctionne correctement, à la fin de la course tous les serveurs utilisés pour exécuter la tâche sera indiqué dans le tableau. Le résultat devrait ressembler à ceci.<br></div><ul class="fs14lh1-5 cf2 mb3 cb1"><li class="cf1 mb2"><pre class="fs14lh1-5 mt1 mb4 cb4"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Node | &nbsp;CPUs | &nbsp;&nbsp;&nbsp;Jobs | &nbsp;&nbsp;&nbsp;Sec/Job | Node Time Sec &nbsp;&nbsp;------------------------------------------------------------------------------ &nbsp;&nbsp;&nbsp;192.168.1.49 (raspberrypi) &nbsp;&nbsp;&nbsp;&nbsp;| &nbsp;&nbsp;&nbsp;&nbsp;4 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4 | &nbsp;&nbsp;&nbsp;&nbsp;16.040 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;64.160 &nbsp;&nbsp;&nbsp;192.168.1.202 (raspberrypi) &nbsp;&nbsp;&nbsp;| &nbsp;&nbsp;&nbsp;&nbsp;4 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2 | &nbsp;&nbsp;&nbsp;&nbsp;12.031 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;24.062 &nbsp;&nbsp;&nbsp;192.168.1.191 (raspberrypi) &nbsp;&nbsp;&nbsp;| &nbsp;&nbsp;&nbsp;&nbsp;4 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2 | &nbsp;&nbsp;&nbsp;&nbsp;13.029 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;26.058 &nbsp;&nbsp;&nbsp;192.168.1.223 (raspberrypi) &nbsp;&nbsp;&nbsp;| &nbsp;&nbsp;&nbsp;&nbsp;4 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.000 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.000 &nbsp;&nbsp;&nbsp;192.168.1.116 (raspberrypi) &nbsp;&nbsp;&nbsp;| &nbsp;&nbsp;&nbsp;&nbsp;4 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2 | &nbsp;&nbsp;&nbsp;&nbsp;10.025 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;20.050 &nbsp;&nbsp;&nbsp;192.168.1.27 (raspberrypi) &nbsp;&nbsp;&nbsp;&nbsp;| &nbsp;&nbsp;&nbsp;&nbsp;4 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2 | &nbsp;&nbsp;&nbsp;&nbsp;15.535 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;31.070 &nbsp;&nbsp;&nbsp;192.168.1.167 (raspberrypi) &nbsp;&nbsp;&nbsp;| &nbsp;&nbsp;&nbsp;&nbsp;4 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4 | &nbsp;&nbsp;&nbsp;&nbsp;14.537 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;58.148 &nbsp;&nbsp;&nbsp;192.168.1.50 (raspberrypi) &nbsp;&nbsp;&nbsp;&nbsp;| &nbsp;&nbsp;&nbsp;&nbsp;4 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.000 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.000 &nbsp;&nbsp;&nbsp;Total job time: 223.548 sec, wall time: 20.245 sec, speedup: 11.04</pre></li></ul><p class="fs14lh1-5 cf1 mb1 cb1"><font class="cf1 cb2"><font class=""><font class="">Essayez d' </font><font class="">exécuter le </font></font></font>compute_pi_efficient.py<font class="cb2"><font class=""> exemple:</font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class="cf1 cb2"><font class=""><font class=""><br></font></font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class="cf1 cb2"><font class=""><font class=""></font></font></font></p><pre class="fs14lh1-5 cf1 mt1 mb4 cb4"><span class="ff1">sudo python3 compute_pi_efficient.py 1000 100000</span></pre><p class="fs14lh1-5 cf1 mb1 cb1"><font class="cf1 cb2"><font class=""><font class=""><br></font></font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Si le OctaPi fonctionne correctement, vous pouvez commencer à faire des calculs utiles, </font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">comme cette estimation de la valeur de pi en utilisant la méthode du jeu de fléchettes.</font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class="cb2"><font class=""><font class=""></font></font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><img src="https://s3.eu-west-2.amazonaws.com/learning-resources-production/projects/rpi-python-build-an-octapi/914b9ad739fb3bc1967b077b2e8c0cca86f6f26a/en/images/octapi-screenshot.png" alt="calcul de Pi sur OctaPi" class="" data-selected="false"></p><p class="fs14lh1-5 cf1 mb1 cb1"><span class="fs19lh1-5">Contrôle du cluster</span><br></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Maintenant que vous avez vérifié votre OctaPi est mis en </font><font class="">place et fonctionne correctement, vous pouvez utiliser le </font></font><code class="">cluster_action.sh</code><font class=""><font class="">script pour le </font><font class="">contrôler.</font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Le </font></font><code class="">cluster_action.sh </code><font class=""><font class="">script est </font><font class="">exécuté sur le client et utilise SSH pour administrer les serveurs (c'est la </font><font class="">raison pour </font><font class="">laquelle nous avons utilisé </font></font><code class="">ssh-keygen </code><font class=""><font class="">pour authentifier le client avec les serveurs). </font><font class="">Elle repose sur les adresses IP correctes des serveurs étant répertoriés dans le </font></font><code class="">ip_list </code><font class=""><font class="">fichier. </font><font class="">Il est conseillé de supprimer le </font></font><code class="">ip_list </code><font class=""><font class="">fichier lors du </font><font class="">démarrage du cluster pour la </font></font><span class=""><font class=""><font class="">première fois</font></font></span><font class=""><font class=""> afin que la liste se régénére.</font></font></p><ul class="fs14lh1-5 cf2 mb3 cb1"><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">A partir d' </font><font class="">un terminal, tapez la commande suivante pour supprimer le </font></font><code class="">ip_list</code><font class=""><font class="">fichier:</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1"><span class="fs14lh1-5">rm ip_list</span> </font></font></pre></div></div></div></li></ul><div class="imHeading3"><font class=""><font class="">Mise en place du </font></font><span class="ff2">cluster_action script</span></div><ul class="fs14lh1-5 cf2 mb3 cb1"><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Sur la machine cliente, ouvrez un terminal.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Assurez - </font><font class="">vous que vous êtes dans le </font></font><code class="">/home/pi </code><font class=""><font class="">répertoire en tapant </font></font><code class="">cd /home/pi</code></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Définissez les autorisations pour le script d'action de cluster, de sorte que vous pouvez l'exécuter en tapant la commande suivante:</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1"><span class="fs14lh1-5">chmod u+x ./cluster_action.sh</span> </font></font></pre></div></div></div></li></ul><div class="imHeading3"><font class=""><font class="">Assurez-vous que le client peut reconnaître chaque clé SSH serveur</font></font></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">La première fois que </font><font class="">vous utilisez le cluster, vous devrez peut - </font><font class="">être connecter à chaque serveur via SSH avec le client afin qu'il reconnaisse la clé SSH de chaque serveur correctement (assurez - </font><font class="">vous de remplacer </font></font><code class="">&lt;ip address of server&gt;</code><font class=""><font class="">l'adresse IP du serveur réel).</font></font></p><div class="language-bash highlighter-coderay fs14lh1-5 cf1 cb1"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1">ssh &lt;ip address of server&gt; </font></font></pre></div></div></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Le cas échéant, faire cela ne sera nécessaire qu'une fois.</font></font></p><div class="imHeading3"><font class=""><font class="">Options pour le </font></font><span class="ff2">cluster_action script</span></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Les paramètres suivants sont acceptés par le script:</font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><span class="ff1"><code class="">reboot</code><font class=""><font class=""> - redémarre tous les serveurs (le client et le routeur sont ignorés)</font></font></span></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Exemple:</font></font></p><div class="language-bash highlighter-coderay fs14lh1-5 cf1 cb1"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1">./cluster_action.sh reboot </font></font></pre></div></div></div><p class="fs14lh1-5 cf1 mb1 cb1"><span class="ff1"><code class="">shutdown</code><font class=""><font class="">- chaque serveur arrête et met dans un état sûr. </font><font class="">Si un serveur est pas fermé correctement, il peut causer la carte micro SD pour être corrompu et conduire au processeur défaillant pour démarrer la prochaine utilisation.</font></font></span></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Exemple:</font></font></p><div class="language-bash highlighter-coderay fs14lh1-5 cf1 cb1"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1">./cluster_action.sh shutdown </font></font></pre></div></div></div><p class="fs14lh1-5 cf1 mb1 cb1"><span class="ff1"><code class="">date</code><font class=""><font class="">- distribue la date et l'heure du client (à la minute près) à chaque serveur. </font><font class="">Le Raspberry Pi 3 ne possède pas d'horloge en temps réel, donc l'heure devra être mis sur le client d'abord.</font></font></span></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Exemple:</font></font></p><div class="language-bash highlighter-coderay fs14lh1-5 cf1 cb1"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><span class="ff1">sudo date -s "02 Apr 2017 15:58"</span></pre><pre class="mt1 mb4">./cluster_action.sh date</pre></div></div></div><p class="fs14lh1-5 cf1 mb1 cb1"><span class="ff1"><code class="">unicorn</code><font class=""><font class="">- appelle le </font></font><code class="">start_unicorn.sh </code><font class=""><font class="">script sur chaque serveur et il transmet le nom et l'</font><font class="">emplacement d'un script Python Pimoroni en </font><font class="">tant que paramètre. </font><font class="">Pour que </font><font class="">cela fonctionne , </font><font class="">vous devez avoir </font></font><code class="">start_unicorn.sh </code><font class=""><font class="">dans </font></font><code class="">/home/pi </code><font class=""><font class="">chaque serveur comme décrit précédemment.</font></font></span></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Exemple:</font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class="cb2"><font class=""><font class=""></font></font></font></p><div class="language-bash highlighter-coderay fs14lh1-5 cf1 cb1"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><span class="ff1">./cluster_action.sh unicorn /home/pi/Pimoroni/unicornhat/examples/random_sparkles.py</span></pre></div></div></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class="cf1 cb2"><font class=""><font class=""><br></font></font></font></p><div class="imHeading2"><font class=""><font class="">Dépannage</font></font></div><div class="imHeading3"><font class=""><font class="">Lorsque je tente et exécuter le script cluster_action.sh, je reçois « permission refusée ».</font></font></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Ce fichier est un script bash et nécessite l'autorisation d'exécution. </font><font class="">L'erreur se produit probablement parce que l'autorisation d'exécution n'est pas réglé pour une raison quelconque.</font></font></p><ul class="fs14lh1-5 cf2 mb3 cb1"><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Assurez - </font><font class="">vous que vous êtes dans le </font></font><code class="">/home/pi</code><font class=""><font class="">répertoire en tapant </font></font><code class="">cd /home/pi </code><font class=""><font class="">dans une fenêtre de </font><font class="">terminal.</font></font></p></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Tapez la commande suivante pour rendre le script exécutable (il n'y a pas besoin d'utiliser </font></font><code class="">sudo</code><font class=""><font class="">).</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1"> <span class="fs14lh1-5">chmod u+x cluster_action.sh</span> </font></font></pre></div></div></div></li></ul><div class="imHeading3"><font class=""><font class="">Le fichier ip_list ne dispose que les adresses IP du routeur IP et client répertoriés - où sont les serveurs?</font></font></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Si vous voyez contenu inattendu, ou le </font><font class="">contenu manquant, cela est très probablement parce que la machine client n'est pas connecté au réseau OctaPi quand </font></font><code class="">cluster_action.sh</code><font class=""><font class="">est exécuté. </font><font class="">Cela peut se produire si vous n'avez pas supprimé d' </font><font class="">autres réseaux WiFi à </font><font class="">partir </font></font><code class="">/etc/wpa_supplicant/wpa_supplicant.conf</code><font class=""><font class="">. </font><font class="">Le client se connectera au meilleur réseau WiFi disponible, ce </font><font class="">qui ne peut pas être le réseau OctaPi.</font></font></p><ul class="fs14lh1-5 cf2 mb3 cb1"><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Pour modifier le </font></font><code class="">wpa_supplicant.conf </code><font class=""><font class="">fichier, utilisez nano comme suit:</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1"> &nbsp;<span class="fs14lh1-5">sudo nano /etc/wpa_supplicant/wpa_supplicant.conf</span> </font></font></pre></div></div></div></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">devrait ressembler le contenu du fichier ceci:</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><span class="fs14lh1-5 ff1"> ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev</span></pre><pre class="fs14lh1-5 mt1 mb4"> &nbsp;update_config=1 &nbsp;&nbsp;country=FR &nbsp;&nbsp;&nbsp;network={ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ssid="OctaPi" &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;psk="itsasecret" &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;key_mgmt=WPA-PSK &nbsp;&nbsp;}</pre></div></div></div></li></ul><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Retirez tout « réseau {} » sections pour les </font><font class="">autres réseaux, appuyez sur </font></font><code class="">Ctrl</code><font class=""><font class="">+ </font></font><code class="">o </code><font class=""><font class="">pour enregistrer vos modifications puis </font></font><code class="">Ctrl</code><font class=""><font class="">+ </font></font><code class="">x </code><font class=""><font class="">pour quitter nano. </font><font class="">Redémarrez le client pour que </font><font class="">les modifications prennent effet.</font></font></p><div class="imHeading3"><font class=""><font class="">Je reçois des messages disant qu'il n'y a « pas de route vers l'hôte » lors de l'utilisation du script cluster_action.sh.</font></font></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Cela peut se produire si la connexion réseau est peu fiable et provoque le routeur d'abandonner une adresse IP. </font><font class="">Il peut également se produire si vous avez plusieurs serveurs connectés à votre routeur qu'il peut gérer. </font><font class="">La fiabilité du réseau est affectée par la proximité du routeur est au reste du système et par combien d'autres réseaux Wi-Fi sont présents. </font><font class="">Essayez de déplacer le routeur OctaPi à l'intérieur d'un ou deux mètres du système OctaPi et / ou se éloigner des autres routeurs WiFi.</font></font></p><div class="imHeading3"><font class=""><font class="">Je reçois des messages HOST « vérification de la clé a échoué » quand je lance le script cluster_action.sh.</font></font></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Cela peut se produire la première fois que vous exécutez le script parce que le client n'a pas vu les adresses IP du serveur avant lors de l'exécution d'une connexion SSH. </font><font class="">Pour résoudre ce problème, procédez comme suit.</font></font></p><ul class="fs14lh1-5 cf2 mb3 cb1"><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Ouvrez un terminal et tapez cette commande pour lister les adresses IP attribuées à vos serveurs:</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1"> &nbsp;<span class="fs14lh1-5">cat ip_list</span> </font></font></pre></div></div></div></li><li class="cf1 mb2"><font class=""><font class="">Tapez la commande suivante pour trouver l'adresse IP du client.</font></font><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1"> &nbsp;<span class="fs14lh1-5">hostname -I</span> </font></font></pre></div></div></div></li><li class="cf1 mb2"><p class="mb1"><font class=""><font class="">Ignorer « 192.168.1.1 », comme cela est le routeur « OctaPi », et ignorer l'adresse IP du client. </font><font class="">De la machine client, se </font><font class="">connecter via SSH à l'un des serveurs par un à l' </font><font class="">aide des autres adresses IP répertoriées. </font><font class="">Lorsque vous êtes invité, dites « oui » pour continuer, puis tapez à </font></font><code class="">exit</code><font class=""><font class="">nouveau.</font></font></p><div class="language-bash highlighter-coderay"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><span class="fs14lh1-5 ff1">ssh &lt;ip_address&gt;</span></pre><pre class="fs14lh1-5 mt1 mb4"> &nbsp;(say 'yes' to continue) &nbsp;&nbsp;exit</pre></div></div></div></li></ul><p class="fs14lh1-5 cf1 mb1 cb1"><span class="ff1"><code class="">&lt;ip_address&gt; </code><font class=""><font class="">est l' </font><font class="">une des adresses de serveur dans le </font></font><code class="">ip_list </code><font class=""><font class="">fichier. </font><font class="">Vous aurez besoin de taper « oui » dans son </font><font class="">intégralité. </font><font class="">Répétez cette opération </font><font class="">pour tous les serveurs.</font></font></span></p><div class="imHeading3"><font class=""><font class="">L'application que je suis en cours d'exécution se bloque après un certain temps.</font></font></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Si quelque chose va mal sur un serveur, que ce </font><font class="">soit avec le système d'exploitation ou avec le code Python démarrés, peut perturber le </font><font class="">fonctionnement de l'ensemble du cluster. </font><font class="">Cela peut se produire si les travaux en </font><font class="">cours d' </font><font class="">exécution sont assez grandes ou s'il y a beaucoup de trafic réseau. </font><font class="">Essayez de </font><font class="">redémarrer le cluster de serveurs avec </font></font><code class="">./cluster_action.sh reboot </code><font class=""><font class="">avant de </font><font class="">définir les </font><font class="">petits travaux dans votre code client.</font></font></p><div class="imHeading3"><font class=""><font class="">L'application que je suis en cours d'exécution dit « Ignorer réponse invalide pour le travail ... »</font></font></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Cela peut se produire si le client et un ou plusieurs serveurs ont obtenu désynchronisés, ce </font><font class="">qui peut être causée par le code client s'écraser ou être interrompu en appuyant sur </font></font><code class="">Ctrl</code><font class=""><font class="">+ </font></font><code class="">c</code><font class=""><font class="">. </font><font class="">Il peut également se produire si l' </font><font class="">un des serveurs se bloque pendant le fonctionnement.</font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Pour résoudre ce problème, essayez de déterminer quel bit de code a l'erreur et corriger la première. </font><font class="">Ensuite , </font><font class="">redémarrez le cluster avec le </font></font><code class="">cluster_action.sh</code><font class=""><font class="">script.</font></font></p><div class="language-bash highlighter-coderay fs14lh1-5 cf1 cb1"><div class="CodeRay cb4"><div class="code"><pre class="mt1 mb4"><font class=""><font class="ff1">./cluster_action reboot </font></font></pre></div></div></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Les serveurs doivent tous redémarrer dans le même état et être prêt à accepter des emplois du client. </font><font class="">En fonction de l'état du client suite à un accident, il peut aussi avoir besoin de redémarrer.</font></font></p><div class="imHeading3"><font class=""><font class="">Quand je lance mon application sur le client, je reçois un message indiquant un port réseau est déjà utilisé.</font></font></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Cela peut se produire suite à une erreur dans le code Python client ou une sortie du logiciel dispy sans fermer le cluster. </font><font class="">Elle est causée par un procédé dispy restant actif sur le client (qui capture le port TCP utilisé pour les communications avec les serveurs). </font><font class="">Pour corriger ce problème, redémarrez le client afin que dispy peut être proprement redémarré.</font></font></p><div class="imHeading3"><font class=""><font class="">Comment puis-je déboguer le code Python démarrés sur les serveurs?</font></font></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Le code que </font><font class="">vous utilisez est défini sur le client et distribué aux serveurs au moment de l' </font><font class="">exécution. </font><font class="">Cependant, une fois que </font><font class="">le code se trouve sur les serveurs, les erreurs ne sont </font><font class="">pas signalés au client. </font><font class="">S'il y a un bogue dans le code une fois qu'il est en </font><font class="">cours d' </font><font class="">exécution sur le serveur, ce qui </font><font class="">peut provoquer l'échec de l' </font><font class="">ensemble du cluster. </font><font class="">Pour debug, développer tout le code sur le client pour un </font><font class="">fonctionnement autonome et de le </font><font class="">tester à </font><font class="">fond avant d' </font><font class="">ajouter le </font></font><code class="">dispy</code><font class=""><font class="">code pour le </font><font class="">distribuer aux serveurs.</font></font></p><div class="imHeading3"><font class=""><font class="">Comment puis-je installer de nouveaux modules Python sur les serveurs OctaPi?</font></font></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Si vous avez installé de </font><font class="">nouveaux modules Python sur le client qui sont nécessaires pour le code distribué aux serveurs, assurez - </font><font class="">vous que </font><font class="">vous avez installé le module sur chaque serveur avant d'exécuter votre code. </font><font class="">La </font></font><code class="">import</code><font class=""><font class="">déclaration doit être à l' </font><font class="">intérieur de </font><font class="">la fonction que vous distribuerez.</font></font></p><div class="imHeading3"><font class=""><font class="">Est-ce que le OctaPi travailler avec un routeur WiFi qui a été fourni par mon fournisseur de services à large bande?</font></font></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Vous devez utiliser un routeur dédié pour éviter tout conflit avec d'autres appareils. </font><font class="">Recibler routeur d'un fournisseur de services à large bande peut fonctionner, mais le routeur peut être réglé sur des conditions non par défaut ou ont verrouillé caractéristiques pour répondre aux exigences du fournisseur. </font><font class="">Cela pourrait affecter son utilisation avec le OctaPi. </font><font class="">Si vous pensez que vous pouvez rencontrer des problèmes de mise en réseau avec un routeur repurposed, essayez de passer à un nouveau routeur Wi-Fi. </font><font class="">Nous avons utilisé une variété de routeurs, à partir d'un prix d'environ 25€, sans problème. </font><font class="">Le routeur doit être capable de gérer au moins neuf connexions simultanées si vous avez un seul module OctaPi. </font><font class="">Le routeur spécifique utilisé pour tester cette ressource était un TP-LINK TL-WR841N.</font></font></p><div class="imHeading3"><font class=""><font class="">Je reçois les problèmes de réseau avec des groupes très importants (plus d'un module de OctaPi).</font></font></div><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class="">Votre routeur WiFi doit être capable de gérer un grand nombre de connexions simultanées. </font><font class="">Dans le cas contraire, vous pouvez commencer à faire l'expérience de connexions interrompues aux serveurs ( « pas de route vers l'hôte »). </font><font class="">Dans les cas extrêmes, le routeur peut même geler ou redémarrer de façon inattendue. </font><font class="">routeurs modernes pour un usage domestique, même les routeurs de jeu haute performance, ne sont pas conçus pour un grand nombre de connexions simultanées. </font><font class="">Cependant, nous avons observé des performances de réseau fiable pour deux modules OctaPi (17 connexions simultanées) avec un routeur dans une fourchette de prix 25€, et jusqu'à quatre à cinq modules OctaPi (max. 41 connexions simultanées) avec un routeur de jeu. </font><font class="">Au-delà, les réseaux Wi-Fi devient peu pratique.</font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class=""><br></font></font></p><p class="fs14lh1-5 cf1 mb1 cb1"><font class=""><font class=""><img width="853" height="438" src="http://152b0c7b.nuajik.io/wp-content/uploads/2017/07/octapi.jpg" alt="" srcset="http://152b0c7b.nuajik.io/wp-content/uploads/2017/07/octapi.jpg 853w, http://152b0c7b.nuajik.io/wp-content/uploads/2017/07/octapi-300x154.jpg 300w, http://152b0c7b.nuajik.io/wp-content/uploads/2017/07/octapi-768x394.jpg 768w" sizes="(max-width: 853px) 100vw, 853px" data-selected="false" class="attachment-slider-three size-slider-three wp-post-image" style=""><br></font></font></p></div>]]></description>
			<pubDate>Sun, 14 Jul 2019 16:18:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?construire-une-octapi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/z070h91c</guid>
		</item>
		<item>
			<title><![CDATA[Transformer sa Rasbperry Pi en borne Airplay]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_14oy4ie0"><h1 class="title entry-title cf1"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)"><br></a></h1><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Airplay est une famille de protocoles permettant à Apple de voir n’importe quel type de contenu média sur la TV d’Apple, depuis n’importe quel dispositif iOS (iPhone, iPod ou iPad) ou iTunes. Ces flux de données ne sont normalement lisibles, de par leur protocole, que par de appareils Apple. Heureusement, nous pouvons contourner cette règle.</span></p><p class="mt1 mb1 cf2"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)"><span id="more-382" class="fs12"></span></a></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Le but de cet article est de vous montrer comment, avec une Raspberry Pi, vous pouvez créer votre borne Airplay, et la connecter à une chaîne Hifi, pour créer votre propre circuit streaming depuis vos appareils Apple. Votre Rasbperry Pi deviendra alors, pour les initiés, une <em class="">Airplay Receiver</em>.</span></p><h2 class="imTAJustify cf1"><span class="fs12">Pré-requis à la transformation de votre Raspberry Pi en borne Airplay</span></h2><figure id="attachment_423" class="mt2 mb2 aligncenter cf2"><span class="fs12 cf3"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/hifi_cambridge-300x300.jpg" alt="Chaîne Hifi Cambridge" width="300" height="300" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/hifi_cambridge-300x300.jpg 300w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/hifi_cambridge-150x150.jpg 150w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/hifi_cambridge-768x768.jpg 768w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/hifi_cambridge-125x125.jpg 125w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/hifi_cambridge.jpg 800w" sizes="(max-width: 300px) 100vw, 300px" class=" wp-image-423 size-medium" data-selected="false"></span><div class="zoom-hover-overlay"><div class="zoom-hover-title-container"><i class="icon-search zoom-hover-title cf4"></i></div></div></figure><ol class="imTAJustify cf2"><li class=""><span class="fs12">Une chaîne Hifi munie d’un DAC (Digital Analog Converter) avec entrée USB, &nbsp;et d’enceintes</span></li><li class=""><span class="fs12 cf3">Un iPhone</span></li><li class=""><span class="fs12 cf3">Un casque (optionnel)</span></li><li class=""><span class="fs12">Et bien sûr, <span class="cf3">une Raspberry Pi</span></span></li></ol><h2 class="imTAJustify cf1"><span class="fs12">Paramétrages de la Raspberry Pi</span></h2><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Notre Rasbperry Pi utilise ici le système d’exploitation <em class="">Wheezy</em>. De plus, nous utiliserons dans ce tutoriel <span class="cf3">un dongle wifi</span>, dont nous avons indiqué l’installation dans <span class="cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">ce tutoriel</a></span>. Tous les dongles ne sont pas compatibles, veuillez donc vous référer à <span class="cf3">cette liste</span> pour être certain d’utiliser le matériel adéquat.</span></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Voici les paramétrages de base a appliquer à notre fichier <em class="">/etc/wpa_supplicant/wpa_supplicant.conf</em> :</span></p><pre id="crayon-56bbbe30c60f1913604486-1" class="mt2 mb2 crayon-line cf2"><span class="fs12 ff1"><span class="crayon-v">ctrl_interface</span><span class="crayon-o">=</span><span class="crayon-v">DIR</span><span class="crayon-o">=</span><span class="crayon-o">/</span><span class="crayon-t">var</span><span class="crayon-o">/</span><span class="crayon-v">run</span><span class="crayon-o">/</span><span class="crayon-e">wpa_supplicant </span><span class="crayon-v">GROUP</span><span class="crayon-o">=</span><span class="crayon-e">netdev </span><span class="crayon-v">update_config</span><span class="crayon-o">=</span><span class="crayon-cn">1 </span><span class="crayon-v">network</span><span class="crayon-o">=</span><span class="crayon-sy">{ </span><span class="crayon-v">ssid</span><span class="crayon-o">=</span><span class="crayon-s">"MONWIFI" </span><span class="crayon-v">scan_ssid</span><span class="crayon-o">=</span><span class="crayon-cn">1 </span><span class="crayon-v">key_mgmt</span><span class="crayon-o">=</span><span class="crayon-v">WPA</span><span class="crayon-o">-</span><span class="crayon-e">PSK </span><span class="crayon-v">proto</span><span class="crayon-o">=</span><span class="crayon-e">WPA </span><span class="crayon-v">psk</span><span class="crayon-o">=</span><span class="crayon-s">"MACLEWIFI" </span><span class="crayon-sy">}</span></span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Et ceux de notre fichier <em class="">/etc/network/interfaces</em> :</span></p><pre class="mt2 mb2 cf2"><span class="fs12 ff1">auto lo &nbsp;&nbsp;iface lo inet loopback &nbsp;&nbsp;auto eth0 iface eth0 inet dhcp &nbsp;auto wlan0 allow-hotplug wlan0 iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp</span></pre><h2 class="imTAJustify cf1"><span class="fs12">Installation de Shairport</span></h2><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Shairport est un lecteur audio pour Airplay, qui vous permettra de lire des flux audio depuis les appareils iOS, iTunes, voire d’autres sources.</span></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Voici les lignes à entrer pour son installation :</span></p><pre id="crayon-56bbbe30c60f7960196650-1" class="mt2 mb2 crayon-line cf2"><span class="fs12 ff1"><span class="crayon-e">sudo </span><span class="crayon-e">aptitude </span><span class="crayon-e">install </span><span class="crayon-e">git </span><span class="crayon-v">libao</span><span class="crayon-o">-</span><span class="crayon-e">dev </span><span class="crayon-v">libssl</span><span class="crayon-o">-</span><span class="crayon-e">dev </span><span class="crayon-v">libcrypt</span><span class="crayon-o">-</span><span class="crayon-v">openssl</span><span class="crayon-o">-</span><span class="crayon-v">rsa</span><span class="crayon-o">-</span><span class="crayon-e">perl </span><span class="crayon-v">libio</span><span class="crayon-o">-</span><span class="crayon-v">socket</span><span class="crayon-o">-</span><span class="crayon-v">inet6</span><span class="crayon-o">-</span><span class="crayon-e">perl </span><span class="crayon-v">libwww</span><span class="crayon-o">-</span><span class="crayon-e">perl </span><span class="crayon-v">avahi</span><span class="crayon-o">-</span><span class="crayon-e">utils </span><span class="crayon-e">git </span><span class="crayon-r">clone</span> <span class="crayon-v">https</span><span class="crayon-o">:</span><span class="crayon-o">/</span><span class="crayon-o">/</span><span class="crayon-v">github</span><span class="crayon-e">.com</span><span class="crayon-o">/</span><span class="crayon-v">albertz</span><span class="crayon-o">/</span><span class="crayon-v">shairport</span><span class="crayon-e">.git</span> <span class="crayon-e">shairport </span><span class="crayon-r">cd</span> <span class="crayon-e">shairport </span><span class="crayon-r">make </span><span class="crayon-e">sudo </span><span class="crayon-r">make</span> <span class="crayon-v">install</span></span></pre><div class="imTAJustify crayon-line cf2"><span class="fs12">Pour la tester, entrez les lignes suivantes :</span></div><pre class="mt2 mb2 crayon-line cf2"><span class="fs12 ff1"><span class="crayon-o">/</span><span class="crayon-v">shairport</span><span class="crayon-e">.pl</span> <span class="crayon-o">-</span><span class="crayon-i">a</span> <span class="crayon-v">ShairPort</span></span></pre><div class="imTAJustify crayon-line cf2"><span class="fs12">Il peut arriver que le message d’erreur suivant s’affiche :</span></div><div class="crayon-line cf2"><pre id="crayon-56bbbe30c6101615663748-1" class="mt3 mb2 crayon-line cb1"><span class="fs12 ff1"><span class="crayon-i">Can</span>'<span class="crayon-i">t</span> <span class="crayon-e">locate </span><span class="crayon-v">Net</span><span class="crayon-o">/</span><span class="crayon-v">SDP</span><span class="crayon-e">.pm</span> <span class="crayon-st">in</span> <span class="crayon-sy">@</span><span class="crayon-e">INC</span> <span class="crayon-sy">(</span><span class="crayon-sy">@</span><span class="crayon-e">INC </span><span class="crayon-v">contains</span><span class="crayon-o">:</span> <span class="crayon-o">/</span><span class="crayon-v">etc</span><span class="crayon-o">/</span><span class="crayon-v">perl</span> <span class="crayon-o">/</span><span class="crayon-v">usr</span><span class="crayon-o">/</span><span class="crayon-v">local</span><span class="crayon-o">/</span><span class="crayon-v">lib</span><span class="crayon-o">/</span><span class="crayon-v">perl</span><span class="crayon-o">/</span><span class="crayon-cn">5.14.2</span> <span class="crayon-o">/</span><span class="crayon-v">usr</span><span class="crayon-o">/</span><span class="crayon-v">local</span><span class="crayon-o">/</span><span class="crayon-v">share</span><span class="crayon-o">/</span><span class="crayon-v">perl</span><span class="crayon-o">/</span><span class="crayon-cn">5.14.2</span> <span class="crayon-o">/</span><span class="crayon-v">usr</span><span class="crayon-o">/</span><span class="crayon-v">lib</span><span class="crayon-o">/</span><span class="crayon-v">perl5</span> <span class="crayon-o">/</span><span class="crayon-v">usr</span><span class="crayon-o">/</span><span class="crayon-v">share</span><span class="crayon-o">/</span><span class="crayon-v">perl5</span> <span class="crayon-o">/</span><span class="crayon-v">usr</span><span class="crayon-o">/</span><span class="crayon-v">lib</span><span class="crayon-o">/</span><span class="crayon-v">perl</span><span class="crayon-o">/</span><span class="crayon-cn">5.14</span> <span class="crayon-o">/</span><span class="crayon-v">usr</span><span class="crayon-o">/</span><span class="crayon-v">share</span><span class="crayon-o">/</span><span class="crayon-v">perl</span><span class="crayon-o">/</span><span class="crayon-cn">5.14</span> <span class="crayon-o">/</span><span class="crayon-v">usr</span><span class="crayon-o">/</span><span class="crayon-v">local</span><span class="crayon-o">/</span><span class="crayon-v">lib</span><span class="crayon-o">/</span><span class="crayon-v">site</span><span class="crayon-sy">_</span>perl <span class="crayon-sy">.</span><span class="crayon-sy">)</span> <span class="crayon-r">at</span> <span class="crayon-sy">.</span><span class="crayon-o">/</span><span class="crayon-v">shairport</span><span class="crayon-e">.pl</span> <span class="crayon-i">line</span> <span class="crayon-cn">48. </span><span class="crayon-e">BEGIN </span><span class="crayon-v">failed</span><span class="crayon-o">--</span><span class="crayon-e">compilation </span><span class="crayon-e">aborted </span><span class="crayon-r">at</span> <span class="crayon-sy">.</span><span class="crayon-o">/</span><span class="crayon-v">shairport</span><span class="crayon-e">.pl</span> <span class="crayon-i">line</span> <span class="crayon-cn">48.</span></span></pre><div class="imTAJustify crayon-line crayon-striped-line cb1"><span class="fs12">Dans ce cas, il vous faudra ajouter ceci pour terminer installation pour de bon :</span></div><pre class="mt2 mb2 crayon-line crayon-striped-line cb1"><span class="fs12 ff1">sudo cpan install Net::SDP</span></pre><div class="imTAJustify crayon-line crayon-striped-line cb1"><span class="fs12">Vous pouvez modifier le nom de votre nouvelle borne Airplay grâce à ceci :</span></div><pre class="mt2 mb2 crayon-line crayon-striped-line cb1"><span class="fs12 ff1"><span class="crayon-v">DAEMON_ARGS</span><span class="crayon-o">=</span><span class="crayon-s">"-w $PIDFILE -a <em class="">NOMDEVOTREBORNEAIRPLAY</em>"</span></span></pre><p class="mt1 mb1 imTAJustify crayon-line crayon-striped-line cb1"><span class="fs12">Lancez, enfin, le lecteur audio :</span></p><div class="crayon-line crayon-striped-line cb1"><pre id="crayon-56bbbe30c6114664750426-1" class="mt3 mb2 crayon-line cb1"><span class="fs12 ff1"><span class="crayon-e">sudo </span><span class="crayon-v">update</span><span class="crayon-o">-</span><span class="crayon-v">rc</span><span class="crayon-e">.d</span> <span class="crayon-e">shairport </span><span class="crayon-e">defaults </span><span class="crayon-e">sudo </span><span class="crayon-e">service </span><span class="crayon-e">shairport </span><span class="crayon-v">start</span></span></pre><div class="imTAJustify crayon-line crayon-striped-line cb1"><span class="fs12">Notez que vous pouvez automatiser le lancement du lecteur Shairport au démarrage de votre Raspberry Pi avec les lignes suivantes :</span></div><div class="crayon-line crayon-striped-line cb1"><pre id="crayon-56bbbe30c610a912849095-1" class="mt3 mb2 crayon-line cb1"><span class="fs12 ff1"><span class="crayon-e">sudo </span><span class="crayon-r">cp</span> <span class="crayon-sy">.</span><span class="crayon-o">/</span><span class="crayon-v">shairport</span><span class="crayon-e">.init</span><span class="crayon-e">.sample</span> <span class="crayon-o">/</span><span class="crayon-v">etc</span><span class="crayon-o">/</span><span class="crayon-v">init</span><span class="crayon-e">.d</span><span class="crayon-o">/</span><span class="crayon-e">shairport </span><span class="crayon-e">sudo </span><span class="crayon-r">chmod</span> <span class="crayon-v">a</span><span class="crayon-o">+</span><span class="crayon-v">x</span> <span class="crayon-o">/</span><span class="crayon-v">etc</span><span class="crayon-o">/</span><span class="crayon-v">init</span><span class="crayon-e">.d</span><span class="crayon-o">/</span><span class="crayon-v">shairport</span></span></pre><h2 class="imTAJustify crayon-line cf1 cb1"><span class="crayon-v fs12">Connecter votre iPhone à votre Airplay Raspberry</span></h2><figure id="attachment_424" class="mt2 mb2 aligncenter cb1"><span class="fs12 cf3"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/shairplay-300x169.jpg" alt="Shairplay Raspberry Pi" width="300" height="169" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/shairplay-300x169.jpg 300w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/shairplay-768x432.jpg 768w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/shairplay-1024x576.jpg 1024w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/shairplay.jpg 1280w" sizes="(max-width: 300px) 100vw, 300px" class="size-medium wp-image-424 " data-selected="false"></span><div class="zoom-hover-overlay"><div class="zoom-hover-title-container"><i class="icon-search zoom-hover-title cf4"></i></div></div></figure><p class="mt1 mb1 imTAJustify cb1"><span class="fs12">Depuis votre iPhone, vous devriez désormais voir votre borne Airplay.</span></p><p class="mt1 mb1 imTAJustify crayon-line cb1"><span class="fs12">En branchant un casque au connecteur Jack de votre Rasbperry Pi, vous devriez pouvoir entendre les musiques lancées depuis votre iPhone.</span></p><p class="mt1 mb1 imTAJustify crayon-line cb1"><span class="fs12">Grâce à un <span class="cf3">Glances</span>, vous constaterez que le débit streaming est d’environ 1 Mo/s, et que la consommation CPU ne dépasse pas 10% en connexion filaire. Cependant, cette dernière explose avec un <span class="cf3">dongle wifi</span>, atteignant 60%. En effet, votre processeur est bien plus demandé par le déchiffrement des données, basées sur le protocole WPA.</span></p><p class="mt1 mb1 imTAJustify crayon-line cb1"><span class="fs12">Nous sommes donc parvenu à transformer notre Raspberry Pi en borne Airplay, mais pas encore à la connecter à notre chaîne Hifi.</span></p><h2 class="imTAJustify crayon-line cf1 cb1"><span class="fs12">Ecouter la musique de votre iPhone sur votre chaîne Hifi depuis votre Raspberry Pi</span></h2><p class="mt1 mb1 imTAJustify crayon-line cb1"><span class="fs12">Notre Raspberry Pi est pour l’instant paramétrée de façon à diriger le flux audio vers la sortie Jack. Nous allons modifier cela et le rediriger vers la sortie USB :</span></p><pre id="crayon-56bbbe30c611a044101966-1" class="mt2 mb2 crayon-line cb1"><span class="fs12 ff1"><span class="crayon-c">#options snd-usb-audio index=-2 </span><span class="crayon-e">options </span><span class="crayon-v">snd</span><span class="crayon-o">-</span><span class="crayon-v">usb</span><span class="crayon-o">-</span><span class="crayon-e">audio </span><span class="crayon-v">nrpacks</span><span class="crayon-o">=</span><span class="crayon-cn">1</span></span></pre><div class="imTAJustify crayon-line crayon-striped-line cb1"><span class="fs12">Redémarrez votre Raspberry pour que les paramétrages soient pris en compte. En dernier lieu, nous allons vérifier que tout est bien configuré. Entrez la commande suivante, qui dévoile les cartes sons de votre Raspberry Pi (la carte audio USB devrait s’afficher en premier, suivie de la carte integrée bcm2835) :</span></div><div class="crayon-line crayon-striped-line cb1"><pre id="crayon-56bbbe30c611f328673942-1" class="mt3 mb2 crayon-line cb1"><span class="fs12 ff1"><span class="crayon-v">pi</span><span class="crayon-sy">@</span><span class="crayon-i">raspberrypi</span> <span class="crayon-sy">$</span> <span class="crayon-v">aplay</span> <span class="crayon-o">-</span><span class="crayon-v">l </span><span class="crayon-o">*</span><span class="crayon-o">*</span><span class="crayon-o">*</span><span class="crayon-o">*</span> <span class="crayon-e">List </span><span class="crayon-e">of </span><span class="crayon-e">PLAYBACK </span><span class="crayon-e">Hardware </span><span class="crayon-v">Devices</span> <span class="crayon-o">*</span><span class="crayon-o">*</span><span class="crayon-o">*</span><span class="crayon-o">* </span><span class="crayon-i">card</span> <span class="crayon-cn">0</span><span class="crayon-o">:</span> <span class="crayon-i">Set</span> <span class="crayon-sy">[</span><span class="crayon-v">C</span><span class="crayon-o">-</span><span class="crayon-e">Media </span><span class="crayon-e">USB </span><span class="crayon-e">Headphone </span><span class="crayon-v">Set</span><span class="crayon-sy">]</span><span class="crayon-sy">,</span> <span class="crayon-i">device</span> <span class="crayon-cn">0</span><span class="crayon-o">:</span> <span class="crayon-e">USB </span><span class="crayon-i">Audio</span> <span class="crayon-sy">[</span><span class="crayon-e">USB </span><span class="crayon-v">Audio</span><span class="crayon-sy">] </span><span class="crayon-h"> &nbsp;</span><span class="crayon-v">Subdevices</span><span class="crayon-o">:</span> <span class="crayon-cn">0</span><span class="crayon-o">/</span><span class="crayon-cn">1 </span><span class="crayon-h"> &nbsp;</span><span class="crayon-v">Subdevice</span> <span class="crayon-c">#0: subdevice #0 </span><span class="crayon-i">card</span> <span class="crayon-cn">1</span><span class="crayon-o">:</span> <span class="crayon-i">ALSA</span> <span class="crayon-sy">[</span><span class="crayon-e">bcm2835 </span><span class="crayon-v">ALSA</span><span class="crayon-sy">]</span><span class="crayon-sy">,</span> <span class="crayon-i">device</span> <span class="crayon-cn">0</span><span class="crayon-o">:</span> <span class="crayon-e">bcm2835 </span><span class="crayon-i">ALSA</span> <span class="crayon-sy">[</span><span class="crayon-e">bcm2835 </span><span class="crayon-v">ALSA</span><span class="crayon-sy">] </span><span class="crayon-h"> &nbsp;</span><span class="crayon-v">Subdevices</span><span class="crayon-o">:</span> <span class="crayon-cn">8</span><span class="crayon-o">/</span><span class="crayon-cn">8 </span><span class="crayon-h"> &nbsp;</span><span class="crayon-v">Subdevice</span> <span class="crayon-c">#0: subdevice #0 </span><span class="crayon-h"> &nbsp;</span><span class="crayon-v">Subdevice</span> <span class="crayon-c">#1: subdevice #1 </span><span class="crayon-h"> &nbsp;</span><span class="crayon-v">Subdevice</span> <span class="crayon-c">#2: subdevice #2 </span><span class="crayon-h"> &nbsp;</span><span class="crayon-v">Subdevice</span> <span class="crayon-c">#3: subdevice #3 </span><span class="crayon-h"> &nbsp;</span><span class="crayon-v">Subdevice</span> <span class="crayon-c">#4: subdevice #4 </span><span class="crayon-h"> &nbsp;</span><span class="crayon-v">Subdevice</span> <span class="crayon-c">#5: subdevice #5 </span><span class="crayon-h"> &nbsp;</span><span class="crayon-v">Subdevice</span> <span class="crayon-c">#6: subdevice #6 </span><span class="crayon-h"> &nbsp;</span><span class="crayon-v">Subdevice</span> <span class="crayon-c">#7: subdevice #7</span></span></pre><div class="imTAJustify crayon-line crayon-striped-line cb1"><span class="fs12">Votre iPhone devrait maintenant être connecté à votre chaîne Hifi via votre Rasberry Pi, que vous utilisez comme borne Airplay.</span></div></div></div></div></div></div>]]></description>
			<pubDate>Sat, 01 Jul 2017 20:02:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?transformer-sa-rasbperry-pi-en-borne-airplay</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/14oy4ie0</guid>
		</item>
		<item>
			<title><![CDATA[Comment installer Android TV sur un Raspberry Pi 3]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_90r4izxu"><p class="mb1 imTAJustify cf2 cb1"><span class="fs16 cf1">Android ce n’est pas seulement un OS pour smartphone, à la manière d’Apple c’est aussi un système pour nos télévisions avec Android TV. &nbsp;Comme souvent des petits bricoleurs ont réussit à le porter sur Raspberry Pi 3. </span></p><div class="imTACenter image_social_box visible-image cf2 cb1"><span class="imTAJustify visible-image fs16"><img src="http://static.papergeek.fr/2016/07/Android-TV.jpg" data-original="http://static.papergeek.fr/2016/07/Android-TV.jpg" data-mobile="http://static.papergeek.fr/2016/07/Android-TV.jpg" alt="Android-TV" width="1000" height="601" class="mb1 lazy lazymobile alignnone wp-image-5818 size-full" data-selected="false"></span></div><p class="mb1 imTAJustify cf2 cb1"><span class="fs16">Android TV est un dispositif de télévision connectée, créé par Google, succédant à Google TV qui fut un échec, Android TV est une plateforme multimédia, disponible directement par des télévisions connectées ou des box spéciales en 2016.</span></p><p class="mb1 imTAJustify cf2 cb1"><span class="fs16">Malheureusement il n’y a que trop peu d’appareils prenant en charge Android TV qui est pourtant un bon système d’exploitation. En effet on peut citer<span class="cf1"> le Nexus Player</span>, la BBbox Miami, la Freebox mini 4K ou encore plus récemment la Shield TV. Cependant ce genre d’appareil coûte relativement cher. Heureusement comme souvent avec Android, il est possible de bidouiller tout ça pour l’installer sur un Raspberry Pi 3.</span></p><div class="imTACenter ads cf2 cb1"><span class="fs16"><span class="imTAJustify cf3"><a href="http://www.papergeek.fr/raspberry-pi-3-tout-savoir-mini-pc-2327">On vous a déjà présenté le Raspberry Pi 3</a></span><span class="imTAJustify">, ce petit boîtier fait office de mini PC et on peut faire énormément de choses avec à condition de savoir bricoler un peu. Effectivement si on veut exploiter le plein potentiel de ce petit objet il faudra s’y connaître un minimum.</span><br></span></div><p class="mb1 imTAJustify cf2 cb1"><span class="fs16">Des développeurs ont donc récupéré une ROM Android TV et l’ont adapté pour qu’on puisse l’installer sur le Raspberry. Vous pouvez <span class="cf3"><a href="http://www.raspberry-pi.ovh/files/atvrpi320160530.img.bz2" class="imCssLink">télécharger la ROM </a></span>:<span class="imTALeft cf4"> </span></span></p><b><ul class="mb2 dlInfo-Details fs16"><li class=""><font class=""><font class=""><span class="cf5">[image:image-0]</span><span class="cf6">infos de la Rom :</span></font></font></li><li class=""><font class=""><font class=""><span class="cf6">Taille du fichier: </span></font></font><span class="cf6"><font class=""><font class="">221.42 MB</font></font></span></li><li class=""><span class="cf6"><font class=""><font class=""><span class="">Nom: atvrpi320160530.img.bz2 Archive (.bz2<span class="">)</span></span><br></font></font></span></li><li class=""><span class="cf6"><font class=""><font class="">Téléchargé: </font></font><span class=""><font class=""><font class="">02/06/2016 12:59:53</font></font></span></span></li><li class=""><br></li><li class=""><span class="cf6"><span class="">A propos de fichiers compressés : </span><span class="">archives compressées combiner plusieurs fichiers en un seul fichier pour les rendre plus faciles à transporter ou à économiser sur diskspace. </span><span class="">logiciel d'archivage peut également fournir des options pour le chiffrement, le fichier spanning, checksums, auto-extraction, et l'auto-installation. </span><span class="">Zip est le format le plus-largement utilisé, utilisé par le système d'exploitation Windows et plus récemment par OSX ainsi. </span><span class="">RAR est également un format très populaire et flexible. </span><span class="">Unix utilise le format de fichier tar, alors que Linux utilise le format tar et gz.</span></span></li></ul></b><div class="dlInfo-Body cf5"><p class="mb3"><font class=""><br></font></p><p class="mb3"><font class=""><span class="fs16">Après il faudra mieux suivre la procédure dans la vidéo au début de l’article. Il faut savoir que tout va passer le Sideload et il faudra par exemple installer soit même le PlayStore.</span></font></p><p class="mb3"><font class=""><br></font></p></div><p class="mb1 imTAJustify cf2 cb1"><span class="fs16">Une fois que vous avez réussi à installer tout ça à vous les joies d’Android TV, mais également des jeux directement sur la TV ou encore de Kodi.</span></p></div>]]></description>
			<pubDate>Fri, 23 Jun 2017 05:22:00 GMT</pubDate>
			<enclosure url="http://www.raspberry-pi.ovh/http://www.raspberry-pi.ovh/blog/files/How-To-Install-Android-Tv-On-Raspberry-Pi-3-And-Sideload-Apps--2-.mp4" length="25728112" type="video/mpeg" />
			<link>http://www.raspberry-pi.ovh/blog/?comment-installer-android-tv-sur-un-raspberry-pi-3</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/90r4izxu</guid>
		</item>
		<item>
			<title><![CDATA[Configurer facilement votre Raspberry Pi avec PiBakery]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_uitkoxp3"><h2 class="post-title cf1 cb1"><span class="fs12">Configurer facilement votre Raspberry Pi avec PiBakery</span></h2><div class="post-thumbnail cf1 cb1"><p class="mb1 ribbon"><b><span class="fs12 cf2"><a href="http://tech.korben.info/t/configurer-facilement-votre-raspberry-pi-avec-pibakery/4201">3</a></span></b></p><p class="mb1 image"><span class="fs12"><img width="650" height="200" src="http://korben.info/wp-content/uploads/2016/09/rpi-650x200.jpg" alt="" srcset="//korben.info/wp-content/uploads/2016/09/rpi.jpg 650w, //korben.info/wp-content/uploads/2016/09/rpi-475x146.jpg 475w, //korben.info/wp-content/uploads/2016/09/rpi-400x123.jpg 400w" sizes="(max-width: 650px) 100vw, 650px" class="attachment-650x200 size-650x200 wp-post-image" data-selected="false"></span></p></div><div class="imTAJustify post-content cf1 cb1"><p class="mb1"><span class="fs12">Si vous débutez en Raspberry Pi ou que vous n'avez pas envie de vous prendre la tête pour customiser Raspbian, pensez à tester <a href="http://www.pibakery.org/download.html" target="_blank" class="imCssLink"><strong class="cf3">PiBakery</strong>.</a></span></p><p class="mb1"><span class="fs12">Cet outil disponible sous OSX et <span class="cf3">Windows</span> vous permettra à l'aide de bloc prédéfini comme avec le langage Scratch, de décider comment doit se comporter Raspbian lors de son premier lancement ou à chaque lancement. Ainsi vous pouvez configurer les paramètres du réseau wifi, lancer vos propres scripts, installer des paquets, télécharger des fichiers, ou encore rebooter ou éteindre le Rpi.</span></p><p class="mb1 imTACenter"><span class="fs12 cf3"><span><span><a href="http://korben.info/wp-content/uploads/2016/09/screenshot-2016-09-07-09.36.53.jpg" class="inline-block"><img src="http://korben.info/wp-content/uploads/2016/09/screenshot-2016-09-07-09.36.53-650x512.jpg" alt="Screenshot 2016-09-07 09.36.53" width="650" height="512" srcset="//korben.info/wp-content/uploads/2016/09/screenshot-2016-09-07-09.36.53-650x512.jpg 650w, //korben.info/wp-content/uploads/2016/09/screenshot-2016-09-07-09.36.53-254x200.jpg 254w, //korben.info/wp-content/uploads/2016/09/screenshot-2016-09-07-09.36.53-475x374.jpg 475w, //korben.info/wp-content/uploads/2016/09/screenshot-2016-09-07-09.36.53-750x590.jpg 750w, //korben.info/wp-content/uploads/2016/09/screenshot-2016-09-07-09.36.53-400x315.jpg 400w, //korben.info/wp-content/uploads/2016/09/screenshot-2016-09-07-09.36.53.jpg 752w" sizes="(max-width: 650px) 100vw, 650px" class="aligncenter size-new-size wp-image-80358" data-selected="false"></a></span></span></span></p><p class="mb1"><span class="fs12">Si votre <span class="cf3"><a href="https://www.amazon.fr/s/ref=as_li_ss_tl?_encoding=UTF8&amp;camp=1642&amp;creative=19458&amp;field-keywords=carte%20m%C3%A9moire&amp;linkCode=ur2&amp;tag=amazon03abc-21&amp;url=search-alias%3Daps" rel="nofollow">carte SD</a></span> est vierge, PiBakery installera Raspbian dans la config demandée. Mais par la suite, vous pourrez éditer votre config en repassant par PiBakery. Cela vous permettra par exemple d'éditer la connexion au réseau Wifi ou autre, sans avoir à connecter votre Raspberry Pi à un écran ou à vous y connecter à distance pour modifier des fichiers de config.</span></p><p class="mb1 imTACenter"><span class="fs12 cf3"><span><span><a href="http://korben.info/wp-content/uploads/2016/09/screenshot-2016-09-07-09.31.23.jpg" class="inline-block"><img src="http://korben.info/wp-content/uploads/2016/09/screenshot-2016-09-07-09.31.23-650x512.jpg" alt="Screenshot 2016-09-07 09.31.23" width="650" height="512" srcset="//korben.info/wp-content/uploads/2016/09/screenshot-2016-09-07-09.31.23-650x512.jpg 650w, //korben.info/wp-content/uploads/2016/09/screenshot-2016-09-07-09.31.23-254x200.jpg 254w, //korben.info/wp-content/uploads/2016/09/screenshot-2016-09-07-09.31.23-475x374.jpg 475w, //korben.info/wp-content/uploads/2016/09/screenshot-2016-09-07-09.31.23-750x590.jpg 750w, //korben.info/wp-content/uploads/2016/09/screenshot-2016-09-07-09.31.23-400x315.jpg 400w, //korben.info/wp-content/uploads/2016/09/screenshot-2016-09-07-09.31.23.jpg 752w" sizes="(max-width: 650px) 100vw, 650px" class="aligncenter size-new-size wp-image-80357" data-selected="false"></a></span></span></span></p><p class="imTACenter mb1"><span class="fs12">Vraiment pratique ! </span></p></div></div>]]></description>
			<pubDate>Thu, 22 Jun 2017 18:51:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?configurer-facilement-votre-raspberry-pi-avec-pibakery</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/uitkoxp3</guid>
		</item>
		<item>
			<title><![CDATA[Piratez n’importe quel ordinateur en quelques secondes]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_2mh7qur2"><p class="mb1 imTAJustify cf2 cb1"><span class="fs16 cf1">Vous avez un Raspberry Pi Zero à 5 euros sous la main ? Le chercheur en sécurité Samy Kamkar vous propose d’exploiter une vulnérabilité qui est là depuis longtemps et qui permet d’installer une backdoor permanente sur n’importe quel ordinateur. Pour cela, il suffit d’un accès physique à la machine, et de brancher votre RaspBerry Pi. Evidemment, l’idée est de pousser Apple et Microsoft et les développeurs Linux à corriger cette faille au plus vite. </span></p><p class="mb1 imTAJustify cf2 cb1"><span class="cf3"><span class="fs16"><span><span><a class="image-comment aligncenter size-full wp-image-11392 " href="http://static.papergeek.fr/2016/11/raspberry-pi-zero-piratez-nimporte-quel-ordinateur-en-quelques-secondes.jpg" rel="lightbox" data-effect="mfp-3d-unfold" title="Raspberry Pi Zero : piratez n'importe quel ordinateur en quelques secondes"></a></span></span></span></span></p><div class="imTACenter image_social_box visible-image cf2 cb1"><span class="imTAJustify visible-image fs16"><img src="http://static.papergeek.fr/2016/11/raspberry-pi-zero-piratez-nimporte-quel-ordinateur-en-quelques-secondes.jpg" data-original="http://static.papergeek.fr/2016/11/raspberry-pi-zero-piratez-nimporte-quel-ordinateur-en-quelques-secondes.jpg" data-mobile="http://static.papergeek.fr/2016/11/raspberry-pi-zero-piratez-nimporte-quel-ordinateur-en-quelques-secondes.jpg" alt="Raspberry Pi Zero : piratez n'importe quel ordinateur en quelques secondes" width="750" height="440" class="mb1 lazy lazymobile aligncenter size-full wp-image-11392" data-selected="false"></span></div><p class="mb1 imTAJustify cf2 cb1"><span class="fs16">La technique utilisée permet d’aspirer les cookies et les mots de passe de la victime, ainsi que de laisser un backdoor de manière permanente sur l’ordinateur. Et cela fonctionne même lorsque la session est verrouillée. Là vous vous dites : mais que font les dévs chez Windows, Linux et macOS ? <span class="cf3"><a href="http://www.papergeek.fr/windows-10-google-revele-une-grave-faille-zero-day-pour-forcer-microsoft-a-la-patcher-10643">La faille de sécurité</a></span> est en effet là depuis longtemps, mais le fait que cela requière un accès physique à la machine a poussé, semble-t-il, tout le monde au laxisme.</span></p><p class="mb1 imTAJustify cf2 cb1"><span class="fs16">Il n’empêche, comme le montre Samy Kamkar, un accès physique à une machine, même bref, peut causer de gros dégâts. L’astuce, c’est que <span class="cf3">le Raspberry Pi</span>, en bootant, se fait passer pour un adaptateur ethernet. Il reroute alors tout le traffic, et, en se mettant au milieu, fait une attaque de type MiTM qui lui permet d’injecter du code à chaque fois qu’une page se recharge dans le navigateur ouvert, ou qu’un script envoie une requête.</span></p><div class="imTACenter ads cf2 cb1"><span class="fs16"><ins data-ad-client="ca-pub-1050794388709878" data-ad-slot="3772224608" data-adsbygoogle-status="done" class="adsbygoogle"></ins></span></div><h2 class="imTAJustify mt1 mb2 cf4 cb1"><span class="fs16">Une faille de sécurité qui profite du laxisme des OS envers les adaptateurs internet</span></h2><p class="mb1 imTAJustify cf2 cb1"><span class="fs16">Autant dire qu’avec la propension de la plupart des internautes à laisser leur navigateur web ouvert en permanence, il suffit de brancher la clé quelques secondes pour faire entrer le loup dans la ferme. La clé siphonne alors tous vos cookies et sessions, expose le routeur interne à l’attaquant pour que ce dernier puisse contrôler l’ordinateur. Il installe un backdoor HTTP qui va ensuite lui permettre de contrôler l’ordinateur.</span></p><p class="mb1 imTAJustify cf2 cb1"><span class="fs16">Tout cela n’arriverait pas si les OS n’acceptaient pas les adaptateurs réseau non signés. Vous pouvez voir la démonstration du système, dont la distribution compatible Raspberry Pi Zero est disponible au téléchargement sur GitHub :</span></p></div>]]></description>
			<pubDate>Sun, 28 May 2017 19:50:00 GMT</pubDate>
			<enclosure url="http://www.raspberry-pi.ovh/http://www.raspberry-pi.ovh/blog/files/PoisonTap---exploiting-locked-machines.mp4" length="19599013" type="video/mpeg" />
			<link>http://www.raspberry-pi.ovh/blog/?piratez-n-importe-quel-ordinateur-en-quelques-secondes</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/2mh7qur2</guid>
		</item>
		<item>
			<title><![CDATA[Il a construit des walkie-talkie wifi pour ses enfants !]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_5j3z3qr7"><header class="imTACenter entry-header cf2"><h2 class="entry-title cf1"><span class="fs12"><font class="">"Il a construit des talkie walkie wifi pour ses enfants </font></span><span class="fs12"><font class="">!"</font></span></h2></header><figure class="post-thumb cf2"><img src="http://projectable.me/content/images/2016/09/IMG_8925-1.JPG" alt="J'ai construit un wifi &quot;talkie&quot; walkie pour mes enfants; &nbsp;maintenant vous pouvez aussi!" class="img-responsive" data-selected="false"></figure><div class="entry-content cf2"><h2 id="introducingtalkiepihttpsgithubcomdchotetalkiepi" class="mt1 mb1 cf1"><span class="fs12">Ce projet nommé talkiepi ne fonctionne pas exactement comme un vrai talkie-walkie puisque les appareils communiquent en Wifi grâce à <a href="http://www.monoprice.com/product?p_id=15365" target="_blank" class="imCssLink">Mumble</a>, un outil de VoIP bien connu des gamers. Mais le résultat est le même.</span><span class="fs12"><font class=""><font class=""><br></font></font></span></h2><h2 id="introducingtalkiepihttpsgithubcomdchotetalkiepi" class="mt1 mb1 cf1"><span class="fs12"><font class=""><font class="">Présentation de </font></font><span class=""><a href="https://github.com/dchote/talkiepi"><font class=""><font class="">talkiepi</font></font></a></span></span></h2><p class="mb2"><span class="fs12"><span class=""><a href="https://github.com/dchote/talkiepi"><font class=""><font class="">talkiepi</font></font></a></span><font class=""><font class=""> est un wifi "talkie" walkie pour vos enfants et leurs amis. </font><font class="">Il fournit un "push to talk" très simple interface. </font><font class="">Lorsque vous appuyez sur </font><font class="">le bouton et de </font><font class="">parler, tous les autres talkiepis dans le canal entendront ce qui est dit.</font></font></span></p><p class="mb2"><span class="fs12"><font class=""><font class="">talkiepi utilise </font></font><span class=""><font class=""><font class=""><a href="https://github.com/dchote/talkiepi/tree/master/stl" target="_blank" class="imCssLink">Mumble</a></font></font></span><font class=""><font class=""> pour son protocole de communication vocale. </font><font class="">Mumble est un open source, léger, de </font><font class="">haute qualité système de chat vocal conçu pour être </font><font class="">utilisé par les </font><font class="">joueurs PC. </font><font class="">Mumble se prêtait parfaitement à ce cas d' </font><font class="">utilisation. </font><font class="">Il existe déjà des logiciels clients pour toutes les </font><font class="">plates - </font><font class="">formes (Mac, Win, Linux, iOS, Android), ce qui </font><font class="">signifie que </font><font class="">vous pouvez parler avec votre talkiepi en </font><font class="">utilisant votre téléphone ou de l' </font><font class="">ordinateur, et vous n'êtes pas limité à des </font><font class="">dispositifs juste talkiepi! </font><font class="">En utilisant des </font><font class="">canaux Mumble, l' </font><font class="">enregistrement des utilisateurs et des </font><font class="">listes de contrôle d'accès, vous pouvez configurer les </font><font class="">différents groupes de talkiepis, tout comme l' </font><font class="">utilisation de </font><font class="">différents canaux sur un talkie-walkie traditionnel.</font></font></span></p><p class="mb2"><span class="fs12"><span class=""><a href="https://github.com/dchote/talkiepi"><font class=""><font class="">talkiepi</font></font></a></span><font class=""><font class=""> est construit en </font><font class="">utilisant un </font></font><span class=""><a href="https://www.raspberrypi.org/products/raspberry-pi-3-model-b/"><font class=""><font class="">Raspberry Pi</font></font></a></span><font class=""><font class=""> , </font></font><span class=""><a href="https://www.amazon.com/USRobotics-USB-Internet-Speakerphone-USR9610/dp/B000E6IL10"><font class=""><font class="">USB haut - </font><font class="">parleur</font></font></a></span><font class=""><font class=""> , certains composants électroniques de </font><font class="">base, et une enceinte 3D imprimée. </font></font><span class=""><a href="https://github.com/dchote/talkiepi"><font class=""><font class="">talkiepi</font></font></a></span><font class=""><font class=""> gère un </font></font><span class=""><a href="http://mumble.info/"><font class=""><font class="">mumble </font></font></a></span><span class=""><a href="https://github.com/dchote/talkiepi"><font class=""><font class="">client</font></font></a></span><font class=""><font class=""> qui a été conçu spécifiquement pour push to talk via l'interface de bouton-poussoir. </font><font class="">Après il est configuré sur votre réseau wifi et le logiciel est configuré, talkiepi exigeront peu ou pas d' </font><font class="">entretien à utiliser.</font></font></span></p><hr class="mt1 mb3"><h3 id="talkiepisoftwareonyourraspberrypi" class="mt1 mb1 cf1"><font class=""><span class="fs12">logiciel talkiepi sur votre Raspberry Pi</span></font></h3><p class="mb2"><span class="fs12"><font class=""><font class="">J'ai écrit un aperçu de l'interface du logiciel et du </font><font class="">matériel au </font></font><span class=""><a href="https://github.com/dchote/talkiepi"><font class=""><font class="">dépôt github pour talkiepi</font></font></a></span><font class=""><font class=""> . </font><font class="">Un guide d' </font><font class="">installation peut être trouvé à </font></font><span class=""><a href="https://github.com/dchote/talkiepi/blob/master/doc/README.md"><font class=""><font class="">https://github.com/dchote/talkiepi/blob/master/doc/README.md</font></font></a></span><font class=""><font class=""> , qui vous étape à </font><font class="">travers l' </font><font class="">installation talkiepi sur votre Raspberry Pi.</font></font></span></p><p class="mb2"><em class=""><span class="fs12"><font class="">Le 10 Septembre, il y avait une demande de traction contre la bibliothèque de go-openal qui a brisé des choses sur Raspbian Jessie, je l'ai depuis fourchue la bibliothèque et annuler les changements. </font></span><span class="fs12"><font class="">talkiepi utilise maintenant ma fourchette de la bibliothèque et doit maintenant construire à nouveau</font></span></em></p><p class="mb2"><span class="fs12"><font class=""><font class="">J'ai ajouté quelques notes concernant mon wifi problèmes sur le rpi3 </font></font><span class=""><a href="http://projectable.me/optimize-my-pi-wi-fi/"><font class=""><font class="">ici</font></font></a></span><font class=""><font class=""> .</font></font></span></p><hr class="mt1 mb3"><h3 id="buildingatalkiepi" class="mt1 mb1 cf1"><font class=""><span class="fs12">Construire une talkiepi</span></font></h3><h5 id="buildwithoutanenclosure" class="mt2 mb1 cf1"><font class=""><span class="fs12">Construire sans une enceinte:</span></font></h5><p class="mb2"><span class="fs12"><font class="">Vous pouvez assembler un talkiepi avec ou sans l'enceinte 3D imprimée. </font></span><span class="fs12"><font class="">Au départ, je prototypé les choses GPIO sur une planche à pain, et ce serait plus que suffisant pour jouer avec si vous ne voulez pas engager dans une génération complète.</font></span></p><p class="mb2"><span class="fs12"><img src="http://projectable.me/content/images/2016/09/IMG_8844.JPG" alt="breadboard" class="" data-selected="false"></span></p><h5 id="printanenclosure" class="mt2 mb1 cf1"><font class=""><span class="fs12">Imprimer une enceinte:</span></font></h5><p class="mb2"><span class="fs12"><font class=""><font class="">Si vous voulez faire une version complète de talkiepi vous pouvez télécharger les modèles 3D à </font><font class="">partir du </font></font><font class=""><font class=""><a href="https://github.com/dchote/talkiepi/tree/master/stl" target="_blank" class="imCssLink">référentiel de github</a></font></font><font class=""><font class=""> . </font><font class="">J'ai imprimé les parties sur une </font></font><font class=""><font class=""><a href="http://www.monoprice.com/product?p_id=15365" target="_blank" class="imCssLink">imprimante Monoprice Sélectionnez Mini 3D</a></font></font><font class=""><font class=""><a href="http://www.monoprice.com/product?p_id=15365" target="_blank" class="imCssLink"> </a>. </font><font class="">J'ai imprimé en PLA avec 100% de </font><font class="">remplissage. </font><font class="">Vous </font></font><em class=""><font class=""><font class="">aurez</font></font></em><font class=""><font class=""> besoin de </font><font class="">faire tourner les modèles à imprimer, mais si vous avez déjà une imprimante 3D, vous savez probablement ce que vous devez faire. </font><font class="">Si vous ne possédez pas encore une imprimante 3D, il existe de </font><font class="">nombreux services qui imprimeront et vous envoyer vos pièces!</font></font></span></p><p class="mb2"><span class="fs12"><font class=""><font class="">Je l' </font><font class="">ai conçu l'enceinte de talkiepi dans <a href="http://www.autodesk.com/products/fusion-360/overview" target="_blank" class="imCssLink">Autodesk </a></font></font><font class=""><font class=""><a href="http://www.autodesk.com/products/fusion-360/overview" target="_blank" class="imCssLink">Fusion360</a></font></font><font class=""><font class=""> . </font><font class="">Si quelqu'un souhaite modifier l'ensemble Fusion360, envoyez</font><font class=""> un tweet </font></font><span class=""><a href="https://http//twitter.com/dchote/"><font class=""><font class="">@dchote</font></font></a></span><font class=""><font class=""> #talkiepi.</font></font></span></p><p class="mb2"><span class="fs12"><img src="http://projectable.me/content/images/2016/09/14195449_10154470917845419_4831834876665870570_o.jpg" alt="Fusion360" class="" data-selected="false"></span></p><p class="mb2"><span class="fs12"><img src="http://projectable.me/content/images/2016/09/IMG_8946-1.JPG" alt="" class="" data-selected="false"><img src="http://projectable.me/content/images/2016/09/IMG_8947.JPG" alt="" class="" data-selected="false"><img src="http://projectable.me/content/images/2016/09/IMG_8939.JPG" alt="" class="" data-selected="false"></span></p><hr class="mt1 mb3"><h3 id="talkiepiparts" class="mt1 mb1 cf1"><font class=""><span class="fs12">pièces talkiepi</span></font></h3><p class="mb2"><span class="fs12"><font class=""><font class="">J'ai commandé la </font><font class="">plupart de ces composants de </font></font><span class=""><a href="https://www.adafruit.com/"><font class=""><font class="">Adafruit</font></font></a></span><font class=""><font class=""> , et un couple de pièces de </font></font><span class=""><a href="https://www.amazon.com/"><font class=""><font class="">Amazon.com</font></font></a></span><font class=""><font class=""> . </font><font class="">Je l' </font><font class="">ai déjà eu le fil de branchement, thermorétractable et résistances.</font></font></span></p><p class="mb2"><span class="fs12"><img src="http://projectable.me/content/images/2016/09/IMG_8933.JPG" alt="pièces talkiepi" class="" data-selected="false"></span></p><ul class="mb4"><li class=""><span class=""><a href="https://www.adafruit.com/products/3055"><font class=""><span class="fs12">Raspberry Pi 3 Modèle B ~ 35 $</span></font></a></span></li><li class=""><span class=""><a href="https://www.amazon.com/SanDisk-Ultra-Micro-Adapter-SDSQUNC-016G-GN6MA/dp/B010Q57SEE/ref=sr_1_3?ie=UTF8&amp;qid=1472828023&amp;sr=8-3&amp;keywords=16G+micro+sd+card"><font class=""><span class="fs12">Micro SD Card</span></font></a></span></li><li class=""><span class=""><a href="https://www.amazon.com/USRobotics-USB-Internet-Speakerphone-USR9610/dp/B000E6IL10/ref=sr_1_2?ie=UTF8&amp;qid=1472828042&amp;sr=8-2&amp;keywords=US+Robotics+usb+speakerphone"><font class=""><span class="fs12">US Robotics USB Speakerphone (USR9610) entre 4 $ et 12 $ (vraiment pas cher)</span></font></a></span></li><li class=""><span class=""><a href="https://www.amazon.com/gp/product/B01CXT43MQ/ref=oh_aui_detailpage_o02_s00?ie=UTF8&amp;psc=1"><font class=""><span class="fs12">/ Gauche angle mini-câble USB à angle droit court</span></font></a></span></li><li class=""><font class=""><span class="fs12">5 x M3 vis en nylon + 1 M3x20 nylon d'écartement</span></font></li><li class=""><font class=""><span class="fs12">connecteur d'en-tête GPIO (il y a beaucoup d'options pour cela)</span></font></li><li class=""><span class="fs12"><font class=""><font class="">2 x LED 5mm avec les </font></font><span class=""><a href="https://www.adafruit.com/products/2176"><font class=""><font class="">détenteurs de 5mm LED</font></font></a></span></span></li><li class=""><span class=""><a href="https://www.adafruit.com/product/1477"><font class=""><span class="fs12">Touche à LED</span></font></a></span></li><li class=""><font class=""><span class="fs12">3 x résistances de 330 ohms</span></font></li><li class=""><font class=""><span class="fs12">2 x M3x15 + 2 boulons en acier inoxydable x M3x25 (pour le cas)</span></font></li><li class=""><font class=""><span class="fs12">2 boulons en acier inoxydable x M3x10 + écrous (pour le haut-parleur)</span></font></li><li class=""><font class=""><span class="fs12">Branchements fil + thermorétractable</span></font></li></ul><hr class="mt1 mb3"><h3 id="thegpiostuff" class="mt1 mb1 cf1"><font class=""><span class="fs12">Le truc GPIO</span></font></h3><p class="mb2"><span class="fs12"><font class="">L'utilisation de l'interface GPIO est en fait très simple. </font></span><span class="fs12"><font class="">Il est un bouton-poussoir avec 2 LEDs séparées pour l'indication d'état et 1 LED dans le bouton-poussoir qui illumine lorsqu'il transmet.</font></span></p><p class="mb2"><span class="fs12"><img src="https://github.com/dchote/talkiepi/raw/master/doc/gpio_diagram.png" alt="" class="" data-selected="false"></span></p><p class="mb2"><span class="fs12"><font class=""><font class="">Vous pouvez utiliser tout type de connecteur d' en- </font><font class="">tête. </font><font class="">Au départ , </font><font class="">j'utilisé l' </font></font><span class=""><a href="https://www.adafruit.com/product/2222"><font class=""><font class="">un de ces</font></font></a></span><font class=""><font class=""> , mais en </font><font class="">utilisant des </font><font class="">connecteurs plus petits (comme une broche 8 pour les LEDs et une broche 2 pour le bouton) rend plus facile à monter et assembler.</font></font></span></p><p class="mb2"><span class="fs12"><img src="http://projectable.me/content/images/2016/09/IMG_8958.JPG" alt="" class="" data-selected="false"></span></p><p class="mb2"><font class=""><span class="fs12">Soudez les 3 résistances à la broche de terre, et souder vos fils LED positives pour les autres broches.</span></font></p><p class="mb2"><span class="fs12"><img src="http://projectable.me/content/images/2016/09/IMG_8959.JPG" alt="" class="" data-selected="false"></span></p><p class="mb2"><font class=""><span class="fs12">Soudez vos fils LED négatives à chacune des résistances.</span></font></p><p class="mb2"><span class="fs12"><img src="http://projectable.me/content/images/2016/09/IMG_8960.JPG" alt="" class="" data-selected="false"></span></p><p class="mb2"><span class="fs12"><font class="">Enfilez thermorétractable pour protéger de court-circuit. </font></span><span class="fs12"><font class="">Je mets un morceau de plus grande thermorétractable autour de toutes les résistances pour les garder dans un joli paquet solide.</font></span></p><p class="mb2"><font class=""><span class="fs12">Ensuite mettre en place le connecteur GPIO bouton, vous pouvez souder ce à votre plus grande tête, ou comme moi, utilisez un connecteur 2 broches plus petite sur les broches 20 et 22.</span></font></p><p class="mb2"><span class="fs12"><font class="">Souder les 2 voyants d'état à leurs conducteurs respectifs. </font></span><span class="fs12"><font class="">Ne pas oublier de glisser sur les bottes de support LED et la thermorétractable avant de souder!</font></span></p><p class="mb2"><span class="fs12"><img src="http://projectable.me/content/images/2016/09/IMG_8962.JPG" alt="" class="" data-selected="false"></span></p><hr class="mt1 mb3"><h3 id="theusbspeakerphone" class="mt1 mb1 cf1"><font class=""><span class="fs12">Le haut-parleur USB</span></font></h3><p class="mb2"><span class="fs12"><font class="">Prendre le haut-parleur est en dehors vraiment simple. </font></span><span class="fs12"><font class="">Il y a deux vis qui se cachent sous les pieds en caoutchouc et deux vis de fixation du haut-parleur en place.</font></span></p><p class="mb2"><span class="fs12"><img src="http://projectable.me/content/images/2016/09/IMG_8935.JPG" alt="" class="" data-selected="false"><img src="http://projectable.me/content/images/2016/09/IMG_8936.JPG" alt="" class="" data-selected="false"><img src="http://projectable.me/content/images/2016/09/IMG_8937.JPG" alt="" class="" data-selected="false"></span></p><p class="mb2"><span class="fs12"><font class="">Laissez la mousse sur le microphone; </font></span><span class="fs12"><font class="">le cas de talkiepi utilise en fait que de tenir le microphone en place.</font></span></p><h3 id="assemblingtalkiepi" class="mt1 mb1 cf1"><font class=""><span class="fs12">Assemblage talkiepi</span></font></h3><p class="mb2"><span class="fs12"><font class="">Je l'ai conçu l'enceinte pour accueillir le Pi3 et le haut-parleur PCB US Robotics spécifiquement. </font></span><span class="fs12"><font class="">Une fois que vous avez imprimé les parties d'enceinte, je vous recommande de faire un robinet de 3mm et appuyez sur les trous. </font></span><span class="fs12"><font class="">Si vous ne disposez pas d'un robinet, vous pouvez utiliser un de vos boulons en acier inoxydable (en évitant soigneusement de décapage sur les trous).</font></span></p><p class="mb2"><span class="fs12"><img src="http://projectable.me/content/images/2016/09/IMG_8940.JPG" alt="" class="" data-selected="false"></span></p><p class="mb2"><span class="fs12"><font class="">Branchez le câble USB à droite / angle gauche vers le bas port USB à droite de votre Raspberry Pi. </font></span><span class="fs12"><font class="">Monter le Raspberry Pi en utilisant les vis en nylon. </font></span><span class="fs12"><font class="">Utilisez le bras de fer dans le trou à côté de la prise audio de 3,5 mm.</font></span></p><p class="mb2"><span class="fs12"><img src="http://projectable.me/content/images/2016/09/IMG_8872.JPG" older="" case="" revision""="" alt="" class="" data-selected="false"></span></p><p class="mb2"><span class="fs12"><font class="">déclipser soigneusement et débrancher le haut-parleur de la platine de haut-parleur et monter le haut-parleur sur le panneau avant en utilisant vos boulons M3x10 + écrous. </font></span><span class="fs12"><font class="">Vous aurez probablement besoin de percer les trous sur le haut-parleur à 3 mm. </font></span><span class="fs12"><font class="">Connectez votre GPIO harnais à la Raspberry Pi.</font></span></p><p class="mb2"><span class="fs12"><img src="http://projectable.me/content/images/2016/09/IMG_8963-1.JPG" alt="" class="" data-selected="false"></span></p><p class="mb2"><span class="fs12"><font class="">Placez les supports LED à travers le couvercle de haut-parleur et placez le couvercle de haut-parleur et les porteurs LED à travers le panneau supérieur, la fixation des supports LED en place avec leurs rondelles et des écrous. </font></span><span class="fs12"><font class="">Fixer le bouton-poussoir LED en place.</font></span></p><p class="mb2"><span class="fs12"><img src="http://projectable.me/content/images/2016/09/IMG_8964-1.JPG" alt="" class="" data-selected="false"><img src="http://projectable.me/content/images/2016/09/IMG_8965-1.JPG" alt="" class="" data-selected="false"></span></p><p class="mb2"><span class="fs12"><font class=""><font class="">Maintenant , </font><font class="">faites glisser les LED avec des </font><font class="">bottes dans les supports LED </font></font><em class=""><font class=""><font class="">(j'ai </font><font class="">utilisé un peu de mastic silicone pour assurer qu'ils ne pousser</font></font></em><font class=""><font class=""> ).</font></font></span></p><p class="mb2"><span class="fs12"><img src="http://projectable.me/content/images/2016/09/IMG_8968.JPG" alt="" class="" data-selected="false"></span></p><p class="mb2"><span class="fs12"><font class="">Maintenant monter le PCB de haut-parleur avec le port USB tournée vers l'arrière du boîtier (même direction que les ports USB Pi). </font></span><span class="fs12"><font class="">Utilisez les deux autres vis de nylon pour fixer (un dans le boîtier et un dans le bras de fer). </font></span><span class="fs12"><font class="">Branchez le câble USB sur le connecteur du haut-parleur, le pliage / border le câble en excès dans l'espace derrière les ports USB. </font></span><span class="fs12"><font class="">Assurer vos prospects GPIO sont acheminés proprement autour du PCB de haut-parleur, et que rien ne pouvait être court-circuit.</font></span></p><p class="mb2"><span class="fs12"><img src="http://projectable.me/content/images/2016/09/IMG_8969.JPG" alt="" class="" data-selected="false"></span></p><p class="mb2"><span class="fs12"><font class="">Enfin fixer le couvercle haut vers le bas. </font></span><span class="fs12"><font class="">Assurez-vous de nourrir les fils bien, et que tout semble rentré sur le chemin à l'intérieur. </font></span><span class="fs12"><font class="">Encore une fois, vérifier tous les courts métrages avant de fixer le dessus avec les boulons M3.</font></span></p><hr class="mt1 mb3"><h3 id="enjoyyourtalkiepi" class="mt1 mb1 cf1"><font class=""><span class="fs12">Profitez de votre talkiepi!</span></font></h3><p class="mb2"><span class="fs12"><font class="">C'est tout! </font></span><span class="fs12"><font class="">Vous êtes prêt à parler à un autre client mumble ou, si vous avez fait deux, votre autre talkiepi!</font></span></p><p class="mb2"><span class="fs12"><img src="http://projectable.me/content/images/2016/09/IMG_8925-2.JPG" alt="" class="" data-selected="false"><img src="http://projectable.me/content/images/2016/09/IMG_8926.JPG" alt="" class="" data-selected="false"><img src="http://projectable.me/content/images/2016/09/IMG_8927-1.JPG" alt="" class="" data-selected="false"></span></p><hr class="mt1 mb3"><h3 id="somethingdifferent" class="mt1 mb1 cf1"><font class=""><span class="fs12">Quelque chose de différent?</span></font></h3><p class="mb2"><span class="fs12"><font class="">Je tenté de faire une peinture de finition, mais je n'ai pas juste la patience, ou espace de travail pour faire un bon travail de pulvérisation quelque chose de ce petit. </font></span><span class="fs12"><font class="">Je dois cependant un tas de différents PLA de couleur. </font></span><span class="fs12"><font class="">Check it out en bleu et maintenant rouge!</font></span></p><p class="mb2"><span class="fs12"><img src="http://projectable.me/content/images/2016/09/IMG_8978.JPG" alt="" class="" data-selected="false"><img src="http://projectable.me/content/images/2016/09/IMG_8979.JPG" alt="" class="" data-selected="false"><img src="http://projectable.me/content/images/2016/09/IMG_8993.JPG" alt="" class="" data-selected="false"></span></p><h3 id="whatsnext" class="mt1 mb1 cf1"><font class=""><span class="fs12">Et après...</span></font></h3><p class="mb2"><span class="fs12"><font class=""><font class="">J'ai un Raspberry Pi Zero, </font></font><span class=""><a href="https://www.kickstarter.com/projects/1728237598/hubpiwi-raspberry-pi-zero-hub-with-wifi-no-cable-c"><font class=""><font class="">HubPiWi</font></font></a></span><font class=""><font class=""> , et une batterie USB.</font></font></span></p><p class="mb2"><span class="fs12"><img src="http://projectable.me/content/images/2016/09/IMG_8994.JPG" alt="" class="" data-selected="false"></span></p><p class="mb2"><span class="fs12"><font class=""><font class="">Je vais essayer de construire un beaucoup plus petit et vraiment </font></font><span class=""><font class=""><font class="">walkie</font></font></span><font class=""><font class=""> talkiepi,.</font></font></span></p><p class="mb2"><font class=""><span class="fs12">test initial et quelques modifications mineures du code et talkiepi est en cours d'exécution sur un Raspberry Pi Zéro avec HubPiWi.</span></font></p><p class="mb2"><span class=""><span class="fs12"><img src="http://projectable.me/content/images/2016/09/Screen-Shot-2016-09-11-at-9-40-11-PM.png" alt="" class="" data-selected="false"><img src="http://projectable.me/content/images/2016/09/IMG_9013.JPG" alt="" class="" data-selected="false"><img src="http://projectable.me/content/images/2016/09/IMG_9011.JPG" alt="" class="" data-selected="false"></span><span class="fs9">Source: </span></span><span class="fs9"><span class="imTACenter">Daniel Chote </span><span class="">http://projectable.me/</span></span></p></div></div>]]></description>
			<pubDate>Tue, 09 May 2017 16:38:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?il-a-construit-des-walkie-talkie-wifi-pour-ses-enfants--</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/5j3z3qr7</guid>
		</item>
		<item>
			<title><![CDATA[Utiliser le GPIO et Interagir avec le monde réel]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_7d872u3m"><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Chez lecteurs (lectrices) nous arrivons à la partie la plus intéressante, selon moi, de l’utilisation du raspberry PI.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Il s’agit de l’utilisation des ports GPIO (les 26 broches situées en haut a droite de votre raspberry). Cela ne vous évoque rien ? Et bien dites vous qu’il s’agit simplement d’une porte permettant a vos programme d’interagir avec le monde réel…</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Je souhaite donc utiliser ce dernier pour gérer dans un premier temps, mon système d’éclairage, et dans un second temps, d’autres appareils et systèmes électriques de mon appart.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Comme je suis une pipe en électronique, j’ai commencé petit en construisant une “maquette” (le terme est pompeux vu la gueule de la maquette) de mon appart (aucune ressemblance avec le réel d’ailleurs) en me fixant pour défis de le piloter depuis une interface web.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">J’ai réussi, et pour vous filer l’eau a la bouche (ou vous faire carrément bailler selon vos intérêts) voici une petite démo vidéo, cliquez sur l’image ci dessous pour la télécharger :</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs12 cf2"><span><a href="http://www.idleman.fr/ressources/Video/video-2012-08-15-01-10-26.mp4" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2012/08/image_thumb12.png" width="514" height="384" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Pour ceux qui ne veulent pas de la vidéo, petit récap en images :</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">J’ai développé une interface web PHP appelée depuis mon raspberry PI qui a cette tronche :</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs12 cf2"><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/08/1.png" class="inline-block"><img title="1" alt="1" src="http://blog.idleman.fr/wp-content/uploads/2012/08/1_thumb.png" width="517" height="487" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Et une “maquette” papier de mon appart avec trois diodes électroluminescentes (LED) :</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs12 cf2"><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/08/image13.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2012/08/image_thumb13.png" width="511" height="334" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Je peux activer/désactiver une LED de la maquette en appuyant sur la zone d’état de chaque lignes :</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs12 cf2"><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/08/2.png" class="inline-block"><img title="2" alt="2" src="http://blog.idleman.fr/wp-content/uploads/2012/08/2_thumb.png" width="513" height="486" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs12 cf2"><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/08/image14.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2012/08/image_thumb14.png" width="514" height="384" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Je peux également appuyer sur le bouton “Joyeux noël” qui m’allumera chaque diodes pendant une seconde à tour de rôle.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Notez bien que pour suivre ce tutoriel, vous devez auparavant avoir fait le tutoriel : <span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="cf2"><a href="http://blog.idleman.fr/?p=1506">Raspberry PI ~ 04 : Configurer en serveur</a></span> ou avoir installé le serveur web apache par vos propres moyens sur le rapsberry pi</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;" class="fs12">Comment j’ai fait : 1. Partie électronique…</strong></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Je me suis intéressé aux ports GPIO du raspberry PI, ce sont de petites broches (au nombre de 26) qui peuvent se comporter en entrée comme en sortie (recevoir une information ou en envoyer une) ces broches que nous appellerons PIN, ont deux états possibles : 0 (off) ou 1 (on).</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs12 cf2"><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/08/2012-08-15-01.06.58.jpg" class="inline-block"><img title="2012-08-15 01.06.58" alt="2012-08-15 01.06.58" src="http://blog.idleman.fr/wp-content/uploads/2012/08/2012-08-15-01.06.58_thumb.jpg" width="523" height="394" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Dans la suite de ce tutoriel, nous nommerons chaque PIN par leur numéro d’ordre de haut en bas et de gauche à droite (en prenant pour repère que la carte SD représente le haut du raspberry PI)</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Ce serait une erreur de penser que chaque port GPIO est utilisable, car nombre d’entre eux sont réservés à d’autres tâches que de servir d’entrée sorties pour nous pauvres mortels.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">EN réalité, seuls 8 ports sur les 26 sont vraiment disponibles, ce qui nous laisse la possibilité de contrôler 8 matériels de notre appart diffèrent maximums, a moins d’acheter une carte d’extension des ports.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Voila le schéma explicatif de chacun des PIN &nbsp;(source, le wiki de raspberry):</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs12 cf2"><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/08/254px-GPIOs.png" class="inline-block"><img title="254px-GPIOs" alt="254px-GPIOs" src="http://blog.idleman.fr/wp-content/uploads/2012/08/254px-GPIOs_thumb.png" width="248" height="562" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Ça parait peut être compliqué comme ça pour les néophytes de l’électronique comme moi, mais ça ne l’est pas, voila les choses essentielles a retenir :</span></p><ul style="margin-right: 0px; margin-bottom: 1.71429rem; margin-left: 0px; border: 0px; vertical-align: baseline; list-style-position: outside; line-height: 24px; widows: 1;" class="cf3"><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs12">Les numéros sur le schéma ne correspondent pas du tout aux positions “physiques” des pins (c’est vrai, pourquoi se simplifier la vie après tout?) donc considérez que je vous donnerais toujours les numéro physique et ne tenez pas compte des numéro inscrit sur le schéma</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs12">Les pin 1 (en jaune) et 2 (en rouge) sont réservés a fournir du courant, le pin 1 fournis du 3,3 volts, le pin 2 du 5 volts</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs12">Le pin 6 (en noir) est la masse (donc 0 volts), on s’en servira pour fermer notre circuit</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs12">Les pins 7,11,12,13,15,16,18 et 22 (en vert) sont les ports que nous pouvons utiliser pour nos magouilles</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs12">Les autres pins sont réservés pour des trucs qui nous dépassent, si il y a un électronicien dans la salle, je l’invite a nous fournir une petite explication <img class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Rire" src="http://blog.idleman.fr/wp-content/uploads/2012/08/wlEmoticon-openmouthedsmile1.png" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px;" data-selected="false"></span></li></ul><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Donc globalement pour allumer une diode nous utiliseront ? …</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Le pin de masse (pin 6 en noir) et un des pin entrée sorties (au choix 7,11,12,13,15,16,18,22 en verts).</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Nous allons monter notre circuit électronique de manière simplissime comme ça :</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs12 cf2"><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/08/image15.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2012/08/image_thumb15.png" width="520" height="374" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">On vas utiliser la broche 11 (position physique) et la mettre a 0 ou 1 (via notre programme php), lorsqu’elle sera sur 1, le courant passera dans une petite résistance de 270 Ohms (pour protéger la Led et éviter qu’elle claque) puis directement dans notre led qui s’éclairera.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Enfin le circuit sera fermé a l’aide de la broche 6 qui sert de masse.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">ça c’est l’idéal, 2 différences sur mon circuit réel:</span></p><ol style="margin-right: 0px; margin-bottom: 1.71429rem; margin-left: 0px; border: 0px; vertical-align: baseline; list-style-position: outside; line-height: 24px; widows: 1;" class="cf3"><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs12">Je n’ai pas de résistance, j’ai donc fait sans, ce qui rend la LED vulnérable si elle est allumée trop longtemps (j’entends déjà les électroniciens de l’assistance grogner au fond de la salle XD)</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs12">Je n’ai pas branché une, mais 3 led (pour rendre ma maquette un peu plus vivante), pour se faire, rien de plus simple, j’utilise deux ports de plus et je relie tout a la masse :</span></li></ol><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs12 cf2"><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/08/image16.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2012/08/image_thumb16.png" width="527" height="379" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Pour monter votre circuit, de simples fils suffisent, cependant je vous conseille très vivement d’acheter ou de dégoter quelque part des connecteurs adaptés aux broches afin d’éviter les faux contacts avec le pin, un câble d’imprimante démonté comme le mien ferait l’affaire aussi :</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs12 cf2"><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/08/2012-08-15-01.08.27.jpg" class="inline-block"><img title="2012-08-15 01.08.27" alt="2012-08-15 01.08.27" src="http://blog.idleman.fr/wp-content/uploads/2012/08/2012-08-15-01.08.27_thumb.jpg" width="538" height="404" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">pour relier l’autre bout de mes fils aux diodes, j’ai utilisé une table de connexion que j’avais acheté pour faire un peut d’électronique amateur, évidemment vous n’avez pas a investir vous aussi la dedans, c’est juste plus pratique que d’entortiller voir souder les fils autour des pattes de chaque led.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;" class="fs12">Comment j’ai fait : 2. Partie programmation</strong></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Une fois le montage électronique effectué, vous allez devoir signaler au raspberry PI &nbsp;d’ouvrir ou fermer les PIN (7 11 et 12 dans mon exemple) pour allumer/éteindre les LED que vous souhaitez.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Pour &nbsp;nous faciliter la vie, nous allons installer une petite librairie toute bête qui nous permettra de faire ce genre de commandes dans la console du raspberry PI :</span></p><div class="fs12"><div class="wlWriterEditableSmartContent cf3" id="scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:f2b278b3-3102-49e9-b0cd-0ae8cb8c8f5c" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1; display: inline; float: none;"><div id="crayon-56c5eed33f4e1413361024" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; line-height: 15px !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf3" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf5" style="margin-left: 0px; vertical-align: baseline; line-height: 2; width: 656px; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="656" data-minrequestedwidth="656"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt imVc" data-settings="show" style="width: 19px; height: 15px; padding: 0px !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c5eed33f4e1413361024-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;">1</div></div></td><td class="crayon-code imVt" style="width: 634px; height: 15px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c5eed33f4e1413361024-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="cf4"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">gpio </span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">write</span><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span><span class="crayon-cn" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">11</span><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span><span class="crayon-cn" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">1</span></span></div></div></td></tr></tbody></table></div></div></div><span style="line-height: 24px; widows: 1;" class="cf3"></span></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">qui signifiera : met l’état de la pin 11 à 1</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Une fois cette librairie installée, nous utiliserons mon petit script gratuitement mis a votre disposition afin de donner une interface web plus conviviale a ces lignes de commandes.</span></p><p align="left" style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">La librairie se nomme <span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="cf2"><a href="https://projects.drogon.net/raspberry-pi/wiringpi/download-and-install/" target="_blank">wiring PI</a></span>, pour l’installer depuis la ligne de commande de votre raspberry, suivez les instructions du lien.</span></p><p align="left" style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Si tout se passe bien et que votre circuit électronique est correctement monté, &nbsp;lorsque vous taperez :</span></p><div class="fs12"><div class="wlWriterEditableSmartContent cf3" id="scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:03fd2b11-ff40-4dec-8538-57e59d1b2809" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1; display: inline; float: none;"><div id="crayon-56c5eed33f4f2222259734" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; line-height: 15px !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf3" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf5" style="margin-left: 0px; vertical-align: baseline; line-height: 2; width: 656px; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="656" data-minrequestedwidth="656"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt imVc" data-settings="show" style="width: 19px; height: 15px; padding: 0px !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c5eed33f4f2222259734-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;">1</div></div></td><td class="crayon-code imVt" style="width: 634px; height: 15px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c5eed33f4f2222259734-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="cf4"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">gpio </span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">mode</span><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span><span class="crayon-cn" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">0</span><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">out</span></span></div></div></td></tr></tbody></table></div></div><br>Cette ligne définira le PIN 11 comme une sortie<br><div id="crayon-56c5eed33f4f9779194984" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; line-height: 15px !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf3" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf5" style="margin-left: 0px; vertical-align: baseline; line-height: 2; width: 656px; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="656" data-minrequestedwidth="656"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt imVc" data-settings="show" style="width: 19px; height: 15px; padding: 0px !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c5eed33f4f9779194984-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;">1</div></div></td><td class="crayon-code imVt" style="width: 634px; height: 15px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c5eed33f4f9779194984-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="cf4"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">gpio </span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">write</span><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span><span class="crayon-cn" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">0</span><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span><span class="crayon-cn" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">1</span></span></div></div></td></tr></tbody></table></div></div></div><span style="line-height: 24px; widows: 1;" class="cf3"></span></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">La diode connectée a la PIN 11 devrait s’allumer, tapez alors</span></p><div class="fs12"><div class="wlWriterEditableSmartContent cf3" id="scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:d606cdc9-5e1b-4c8b-be6e-f2121af9c1b1" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1; display: inline; float: none;"><div id="crayon-56c5eed33f4ff420217967" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; line-height: 15px !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf3" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf5" style="margin-left: 0px; vertical-align: baseline; line-height: 2; width: 656px; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="656" data-minrequestedwidth="656"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt imVc" data-settings="show" style="width: 19px; height: 15px; padding: 0px !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c5eed33f4ff420217967-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;">1</div></div></td><td class="crayon-code imVt" style="width: 634px; height: 15px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c5eed33f4ff420217967-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="cf4"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">gpio </span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">write</span><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span><span class="crayon-cn" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">0</span><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span><span class="crayon-cn" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">0</span></span></div></div></td></tr></tbody></table></div></div></div><span style="line-height: 24px; widows: 1;" class="cf3"></span></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Pour l’éteindre <img class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Rire" src="http://blog.idleman.fr/wp-content/uploads/2012/08/wlEmoticon-openmouthedsmile1.png" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px;" data-selected="false"></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Et la si vous suivez vous êtes en train de vous dire : <em style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">“Attends un peu, il a mis “0” et pas “11” comme numéro de pin ?!!”</em></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">C’est juste, seulement rappelez vous que les électroniciens “adorent” les numéro de PIN “logiques” qui ne correspondent pas aux numéro “physiques”, notre pin qui se situe physiquement a la 11 eme position est représenté dans l’ordinateur comme le numéro 0</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><em style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;" class="fs12">“Han mais comment savoir qui correspond à quoi maintenant?”</em></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">A l’aide d’une super table de correspondance fournie par notre amis créateur de wiringPi :</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs12 cf2"><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/08/pins.png" class="inline-block"><img title="pins" alt="pins" src="http://blog.idleman.fr/wp-content/uploads/2012/08/pins_thumb.png" width="518" height="465" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Les numéros centraux sont les positions physiques des PIN, les numéro de la colonne “wiringPI Pin” sont les correspondances que vous devrez appeler dans vos lignes de commandes, le reste ne vous en souciez pas ça risque de bien vous embrouiller.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">ainsi pour parler du pin 15 j’utiliserais le chiffre 3, pour le pin 12 le chiffre 1, pour le 11 le 0 etc…</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><em style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;" class="fs12">“Ca vas être vraiment chiant à gérer tout ça”</em></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">C’est la que ma petite interface PHP vous facilite la vie, j’y ai intégré la table des correspondances, vous n’aurez donc à vous soucier que des positions physiques des PIN.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Mon script est disponible a l’adresse &nbsp;: <span class="cf2"><a href="http://www.raspberry-pi.ovh/files/pihome.zip" target="_blank" class="imCssLink">http://idleman.fr/ressources/PHP/pihome.zip</a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Téléchargez le et décompressez le dans le dossier /var/www de votre raspberry PI</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Puis accédez a l’adresse internet de votre raspberry PI (en tapant 127.0.0.1 dans un navigateur si vous êtes depuis le raspberry PI ou en tapant l’adresse IP réseaux du raspberry PI si vous êtes sur un autre PC du réseau).</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Si vous voulez ajouter/supprimer/modifier le nombre de LED, les ports utilisés etc… vous avez juste a modifier le fichier configuration.php aux lignes suivantes</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs12 cf2"><span><a href="http://blog.idleman.fr/wp-content/uploads/2012/08/image17.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2012/08/image_thumb17.png" width="535" height="201" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Ajoutez le libellé de la led et son numéro physique de PIN associé.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">C’est tout pour aujourd’hui, cette partie du rasp n’est pas facile à appréhender pour les gens qui ne viennent pas du monde informatique ou du monde électronique, n’hésitez donc pas a poser vos questions ici si vous avez le moindre soucis <img class="wlEmoticon wlEmoticon-smile" alt="Sourire" src="http://blog.idleman.fr/wp-content/uploads/2012/08/wlEmoticon-smile1.png" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px;" data-selected="false">.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Dans un prochain tuto, nous tenterons d’agrandir l’expérience et de contrôler non pas des LED mais de véritables lampes d’appartement en utilisant le même principe (mais un tout petit peu plus d’électronique)</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12">Edit : Si vous avez installé lightppd au lieu d'apache, ça ne fonctionnera que si vous faites la manip suivante :</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 24px; widows: 1;" class="cf1"><span class="fs12"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; line-height: 18px; text-align: justify;" class="cf6">Hello,</span><br style="line-height: 18px; text-align: justify;" class="cf6"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; line-height: 18px; text-align: justify;" class="cf6">Suite à l’installation de Lighttpd, je me retrouve avec ce tuto ici qui ne fonctionne plus.</span><br style="line-height: 18px; text-align: justify;" class="cf6"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; line-height: 18px; text-align: justify;" class="cf6">Après plusieurs heures de recherches, le problème vient du fait que Lighttpd exécute la commande system() uniquement pour les applications placées dans /usr/bin, or, en suivant ce tuto, la commande gpio est lancée à partir de /usr/local/bin…</span><br style="line-height: 18px; text-align: justify;" class="cf6"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; line-height: 18px; text-align: justify;" class="cf6">La solution a été de déplacer « l’application » gpio dans le bon dossier, ce qui n’est pas propre du tout mais je n’ai pas trouvé comment changer le dossier dans la config du serveur.</span><br style="line-height: 18px; text-align: justify;" class="cf6"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; line-height: 18px; text-align: justify;" class="cf6">Si ça peut en aider d’autres </span><img class="wp-smiley" alt=":)" src="http://blog.idleman.fr/wp-includes/images/smilies/icon_smile.gif" style="padding: 0px; border-width: 0px; vertical-align: baseline; box-shadow: none; max-width: 100%; border-radius: 0px; line-height: 18px; color: rgb(65, 65, 65); text-align: justify; margin-right: 0.07em !important; margin-left: 0.07em !important; display: inline !important; height: 1em !important; width: 1em !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-selected="false"></span></p></div>]]></description>
			<pubDate>Thu, 23 Feb 2017 16:17:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?utiliser-le-gpio-et-interagir-avec-le-monde-reel</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/7d872u3m</guid>
		</item>
		<item>
			<title><![CDATA[Macberry Pi : configurer un Raspberry Pi et l'utiliser comme serveur Time Machine]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_g6410y78"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1"><span class="fsinherit ff1">Nous vous proposons aujourd'hui une série d'articles qui va vous permettre d'intégrer facilement un Raspberry Pi dans un environnement Apple.</span><br></p><div class="imTAJustify field field-name-body field-type-text-with-summary field-label-hidden fs16.24 cf1 ff2 cb1"><div id="md1" class="field-items fsinherit ff1"><div class="field-item even fsinherit ff1"><br class=""><br class=""><p class="mb1 fsinherit ff1"><img src="http://img.staticmacg.com/2013/3/macgpic_1362738650_optim.jpg" alt="" class="imTACenter centre" data-selected="false"></p><br class=""><more class=""><br class=""><br class=""><h2 class="fs1.2em cf2 ff3">INSTALLER ET CONFIGURER UN RASPBERRY PI</h2><br class=""><br class=""><p class="mb1 fsinherit ff1">La première chose à faire est d'acheter un Raspberry Pi. Nous avons besoin de la version B de l'appareil, qui est doté d'une prise RJ45.</p><br class=""><br class=""><p class="mb1 fsinherit ff1">En plus de la carte elle-même, il nous faudra une carte SD pour le système (nous vous recommandons une carte SDHC Class 6 de 4 Go), une alimentation USB capable de fournir 700 mA au minimum (un chargeur d'iPhone est parfait pour cet usage), un câble microUSB et un câble RJ45 pour relier le Raspberry Pi au réseau. Dans notre cas, nous avons aussi investi dans un boîtier, mais un simple morceau de carton suffit amplement.</p><br class=""><br class=""><p class="mb1 fsinherit ff1"><img src="http://img.staticmacg.com/2013/3/macgpic_1362738509_scaled_optim.jpg" alt="" class="imTACenter centre" data-selected="false"></p><br class=""><br class=""><p class="mb1 fsinherit ff1">Pour l'installation initiale, il faudra aussi un clavier USB, un câble HDMI et un écran compatible, n'importe quel téléviseur LCD devrait suffire. Un Mac avec un lecteur de cartes SD est aussi indispensable pour l'installation.</p><br class=""><br class=""><h3 class="fs1.2em cf3 ff1">L'installation initiale</h3><br class=""><br class=""><p class="mb1 fsinherit ff1">Nos explications ont été écrites pour des personnes qui n'ont jamais utilisé de distribution Linux et n'importe quel néophyte devrait pouvoir mettre en place un serveur Time Machine. La première chose à faire est d'aller télécharger une image du système du Raspberry Pi. Nous avons utilisé <b><span class="fsinherit cf2 ff1"><a href="http://www.raspberry-pi.ovh/raspberry-raspbian-os-system-2019.html" target="_blank" class="imCssLink">la distribution Raspbian</a></span></b> qui est proposée par la fondation à l'origine du projet. Il s'agit d'une variante de la distribution GNU/Linux Debian optimisée pour le processeur ARM du Raspberry Pi.</p><br class=""><br class=""><p class="mb1 fsinherit ff1">Une fois l'image téléchargée, nous allons utiliser un petit outil qui va installer le système sur la carte SD. Attention, cette dernière sera totalement effacée. <b><span class="fsinherit cf2 ff1"><a href="http://alltheware.wordpress.com/2012/12/11/easiest-way-sd-card-setup/" target="_blank" class="imCssLink">Téléchargez</a></span></b> <a href="http://www.raspberry-pi.ovh/files/RPi-sd-card-builder-v1.2.zip" target="_blank" class="imCssLink">RPi-sd card builder</a> (<span class="fs11 cf4 ff4">key : </span><strong class="fsinherit ff1"><span class="fs11 cf4 ff1">eD9dtFpoKnbZqP1hkvrv43_Pvc9xadMVxRP2K-M8n88)</span></strong><span class="fsinherit ff1">, un utilitaire qui va préparer la carte. Le fonctionnement est simple : vous choisissez l'image téléchargée précédemment, vous choisissez la carte SD et vous attendez. Avec une carte de 4 Go Class 6, l'installation prend moins de 5 minutes.</span></p><br class=""><br class=""><p class="mb1 fsinherit ff1"><img src="http://img.staticmacg.com/2013/3/macgpic_1362738712_converted_optim.jpg" alt="" class="imTACenter centre" data-selected="false"></p><br class=""><br class=""><p class="mb1 fsinherit ff1">Maintenant, il faut placer la carte dans l'emplacement SD du Raspberry Pi, brancher un clavier USB, le câble HDMI et la prise microUSB. Après quelques secondes, le système devrait démarrer et vous allez arriver sur l'écran de configuration du Raspberry Pi.</p><br class=""><br class=""><p class="mb1 fsinherit ff1">La première chose à faire est d'utiliser tout l'espace de la carte SD, en utilisant le menu <code class="fs1em ff5">expand_rootfs</code>. Il faut ensuite changer le mot de passe de l'utilisateur dans le menu <code class="fs1em ff5">change_pass</code>, configurer le clavier dans <code class="fs1em ff5">configure_keyboard</code> et activer l'accès SSH dans <code class="fs1em ff5">ssh</code>.</p><br class=""><br class=""><p class="mb1 fsinherit ff1"><img src="http://img.staticmacg.com/2013/3/macgpic_1362738722_scaled_optim.jpg" alt="" class="imTACenter centre" data-selected="false"></p><br class=""><br class=""><p class="mb1 fsinherit ff1"><img src="http://img.staticmacg.com/2013/3/macgpic_1362738743_scaled_optim.jpg" alt="" class="imTACenter centre" data-selected="false"></p><br class=""><br class=""><p class="mb1 fsinherit ff1">Pour les amateurs, il est aussi possible d'overclocker le Raspberry Pi, mais nous n'en avons pas besoin dans notre cas.</p><br class=""><br class=""><p class="mb1 fsinherit ff1">Petite subtilité ici, il existe en fait plusieurs modèles de Raspberry Pi : la version A et la version B originales disposent de 256 Mo de RAM, partagée entre le système et le contrôleur vidéo, alors que la version B actuelle dispose de 512 Mo de RAM. Si vous avez un Raspberry Pi récent doté de 512 Mo de RAM, il n'y a rien à faire ici, alors que si vous avez un modèle doté de 256 Mo de RAM, il faut se rendre dans <code class="fs1em ff5">memory_split</code> et définir une mémoire vidéo de 16 Mo. Comme nous n'allons pas utiliser la partie vidéo du Raspberry Pi, nous allons allouer le maximum de mémoire au système.</p><br class=""><br class=""><pre class="mt1 mb2 fs1em ff5"><code class="fs1em ff5">sudo reboot<br class=""></code></pre><br class=""><br class=""><p class="mb1 fsinherit ff1">Une fois le Raspberry Pi redémarré, il faut vous connecter avec le nom d'utilisateur <code class="fs1em ff5">pi</code> et votre mot de passe. Nous allons ensuite taper une commande qui va nous permettre d'obtenir l'adresse IP du Raspberry Pi.</p><br class=""><br class=""><pre class="mt1 mb2 fs1em ff5"><code class="fs1em ff5">ifconfig<br class=""></code></pre><br class=""><br class=""><p class="mb1 fsinherit ff1">Une fois l'adresse obtenue, vous pouvez ranger le clavier et l'écran, la suite se fera sur votre Mac.</p><br class=""><br class=""><h3 class="fs1.2em cf3 ff1">Détection du Raspberry Pi</h3><br class=""><br class=""><p class="mb1 fsinherit ff1">Nous allons maintenant profiter d'une technologie intégrée à Mac OS X depuis Jaguar, Bonjour. Cette technologie permet à un périphérique de s'annoncer directement sur le réseau, ce qui va permettre d'éviter d'utiliser l'adresse IP du Raspberry Pi.</p><br class=""><br class=""><p class="mb1 fsinherit ff1">Première chose à faire, lancer le Terminal sur votre Mac et taper la commande suivante, en utilisant l'adresse IP obtenue précédemment.</p><br class=""><br class=""><pre class="mt1 mb2 fs1em ff5"><code class="fs1em ff5">ssh pi@adresse_ip<br class=""></code></pre><br class=""><br class=""><p class="mb1 fsinherit ff1">Entrez votre mot de passe et tapez ensuite la commande suivante. Elle va installer Avahi, une implémentation libre du protocole Bonjour, et les programmes nécessaires à son fonctionnement.</p><br class=""><br class=""><pre class="mt1 mb2 fs1em ff5"><code class="fs1em ff5"> sudo apt-get update </code></pre><br class=""><br class=""><pre class="mt1 mb2 fs1em ff5"><code class="fs1em ff5">sudo apt-get install libdb5.1-dev db5.1-util libgcrypt11-dev avahi-daemon libavahi-client-dev<br class=""></code></pre><br class=""><br class=""><p class="mb1 fsinherit ff1">Une fois Avahi installé, la commande suivante va permettre de lancer le programme à chaque démarrage.</p><br class=""><br class=""><pre class="mt1 mb2 fs1em ff5"><code class="fs1em ff5">sudo update-rc.d avahi-daemon defaults<br class=""></code></pre><br class=""><br class=""><p class="mb1 fsinherit ff1">Maintenant, nous allons utiliser Avahi pour que le Raspberry Pi soit accessible sur une adresse compréhensible et pas sur son adresse IP. La commande va créer un service qui va permettre au Raspberry Pi de s'annoncer pour un accès SSH. Pour ceux qui ne connaissent pas Nano, il suffit d'utiliser les commandes <code class="fs1em ff5">^O</code> pour sauver et <code class="fs1em ff5">^X</code> pour quitter.</p><br class=""><br class=""><pre class="mt1 mb2 fs1em ff5"><code class="fs1em ff5">sudo nano /etc/avahi/services/ssh.service<br class=""></code></pre><br class=""><br class=""><p class="mb1 fsinherit ff1">Dans ce fichier, il faut copier les données suivantes :</p><br class=""><br class=""><pre class="mt1 mb2 fs1em ff5"><code class="fs1em ff5">&lt;?xml version="1.0" standalone='no'?&gt;&lt;!--*-nxml-*--&gt;<br class=""> &lt;!DOCTYPE service-group SYSTEM "avahi-service.dtd"&gt;<br class=""> &lt;service-group&gt;<br class=""> &lt;name replace-wildcards="yes"&gt;%h SSH&lt;/name&gt;<br class=""> &lt;service&gt;<br class=""> &lt;type&gt;_ssh._tcp&lt;/type&gt;<br class=""> &lt;port&gt;22&lt;/port&gt;<br class=""> &lt;/service&gt;<br class=""> &lt;/service-group&gt;<br class=""></code></pre><br class=""><br class=""><p class="mb1 fsinherit ff1">On va aussi en profiter pour changer le nom utilisé pour identifier le Raspberry Pi sur le réseau. Par défaut, il utilise le hostname <code class="fs1em ff5">raspberrypi</code>, nous allons utiliser <code class="fs1em ff5">MacberryPi</code>.</p><br class=""><br class=""><pre class="mt1 mb2 fs1em ff5"><code class="fs1em ff5">sudo nano /etc/hosts<br class=""></code></pre><br class=""><br class=""><p class="mb1 fsinherit ff1">Dans ce fichier, il faut changer la valeur qui suit <code class="fs1em ff5">127.0.1.1</code> par le nom voulu.</p><br class=""><br class=""><pre class="mt1 mb2 fs1em ff5"><code class="fs1em ff5">sudo nano /etc/hostname<br class=""></code></pre><br class=""><br class=""><p class="mb1 fsinherit ff1">Ici, il faut mettre en début de fichier le nom voulu.</p><br class=""><br class=""><p class="mb1 fsinherit ff1">Une fois que c'est fait, il faut redémarrer et vérifier que le Raspberry Pi est accessible. La commande suivante permet de redémarrer le périphérique.</p><br class=""><br class=""><pre class="mt1 mb2 fs1em ff5"><code class="fs1em ff5">sudo reboot<br class=""></code></pre><br class=""><br class=""><p class="mb1 fsinherit ff1">Si tout s'est bien passé, l'accès SSH va être fermé et vous pourrez ensuite vous connecter après environ une minute avec la commande qui suit.</p><br class=""><br class=""><pre class="mt1 mb2 fs1em ff5"><code class="fs1em ff5">ssh pi@MacberryPi.local<br class=""></code></pre><br class=""><br class=""><p class="mb1 fsinherit ff1">Le Raspbbery Pi est donc accessible en SSH <em class="fsinherit ff1">via</em> l'adresse <code class="fs1em ff5">MacberryPi.local</code>, ce qui évite de devoir déterminer l'adresse IP de l'appareil : c'est le Raspberry Pi lui-même qui va effectuer la correspondance et vous simplifier la vie.</p><br class=""><br class=""><p class="mb1 fsinherit ff1">Nous pourrions éteindre le Raspberry Pi avec la commande suivante, mais nous allons plutôt nous attaquer à le transformer en serveur Time Machine.</p><br class=""><br class=""><pre class="mt1 mb2 fs1em ff5"><code class="fs1em ff5">sudo halt<br class=""></code></pre><br class=""><br class=""></more></div></div></div><div class="imTAJustify smart-paging-pager fs16.24 cf1 ff2 cb1"><h2 class="element-invisible fs1.2em cf2 ff3">PAGES</h2><div class="item-list fsinherit ff1"><ul class="mb3 imTACenter pager fsinherit ff1"><b><li class="mb4 fsinherit ff1"><select class="smart-paging-pager-box fs16.24 ff1"><option selected="" value="http://www.macg.co/matériel/2013/03/macberry-pi-configurer-un-raspberry-pi-et-lutiliser-comme-serveur-time-machine" class="">Page: 1</option><option value="http://www.macg.co/matériel/2013/03/macberry-pi-configurer-un-raspberry-pi-et-lutiliser-comme-serveur-time-machine/page/0/1" class="">Page: 2</option></select></li></b><b><li class="mt2 mb5 pager-next fsinherit ff1"><span class="fsinherit cf2 ff1"><a title="Aller à la page suivante" href="http://www.macg.co/mat%C3%A9riel/2013/03/macberry-pi-configurer-un-raspberry-pi-et-lutiliser-comme-serveur-time-machine/page/0/1">suivant ›</a></span></li></b> <b><li class="mt2 mb5 pager-last last fsinherit ff1"><span class="fsinherit cf2 ff1"><a title="Aller à la dernière page" href="http://www.macg.co/mat%C3%A9riel/2013/03/macberry-pi-configurer-un-raspberry-pi-et-lutiliser-comme-serveur-time-machine/page/0/1">dernier »</a></span></li></b><b><li class="mt2 mb5 pager-last last fsinherit ff1"><div><br></div></li></b></ul></div></div><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">S'il est possible de partager le contenu de la carte SD du Raspberry Pi, nous vous conseillons tout de même d'utiliser une clef USB ou un disque dur dédié à cet usage, en fonction de vos besoins. Pour créer un espace accessible depuis tous vos appareils, une simple clef USB suffira, pour effectuer des sauvegardes Time Machine, un disque dur est évidemment requis, pour des questions de capacité.</p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1"><img src="http://static.macgeneration.com/img/2011/9/20120605_Raspeberry-Pi-20120607-142146.jpg" alt="MacBerry Pi" class="imTACenter centre" data-selected="false"></p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">Le Raspberry Pi, spécialement dans ses premières versions, souffre d'un souci : des ports USB incapables de fournir les 500 mA de la norme. Concrètement, les disques durs 2,5" alimentés par le bus USB ne fonctionnent pas directement sur le Raspberry Pi, il est nécessaire d'utiliser une source d'alimentation externe comme un chargeur de smartphone ou un hub USB alimenté. Le meilleur choix reste bien évidemment un modèle 3,5", qui dispose de sa propre alimentation. Ne vous encombrez pas d'un modèle USB 3.0 : le Raspberry Pi se limite à l'USB 2.0.</p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><h3 class="imTAJustify fs1.2em cf3 ff2 cb1">La gestion du stockage</h3><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">Avant d'installer les logiciels nécessaires, nous allons d'abord nous occuper du stockage. Il existe trois solutions : utiliser un disque dur formaté dans un système de fichiers adapté à Linux (ext4), utiliser le système de fichier HFS+ d'Apple ou utiliser un disque dur formaté en NTFS (via NTFS3G, comme sur Mac). Nous n'allons aborder que la seconde solution.</p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">Branchez le disque dur au Raspberry Pi et connectez-vous, via une commande dans le Terminal. Pour simplifier les choses, nous supposons que vous avez formaté le disque dur en HFS+ depuis un Mac.</p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><pre class="mt1 mb2 imTAJustify fs16.24 cf1 ff5 cb1"><code class="fs1em ff5">ssh pi@MacberryPi.local<br class=""></code></pre><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">Maintenant, nous allons installer les outils permettant de lire et écrire sur une partition en HFS+ depuis Linux.</p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><pre class="mt1 mb2 imTAJustify fs16.24 cf1 ff5 cb1"><code class="fs1em ff5">sudo apt-get install hfsplus hfsutils hfsprogs<br class=""></code></pre><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">Une fois l'installation effectuée, nous allons monter la partition et modifier le système pour qu'elle soit chargée à chaque démarrage. Attention, le système cherchera le disque dur à chaque démarrage, ce qui peut poser des soucis s'il est débranché, en arrêtant le processus de démarrage. Dans ce cas, le plus simple est d'éteindre le Raspberry Pi et de le rallumer en branchant le disque dur.</p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><pre class="mt1 mb2 imTAJustify fs16.24 cf1 ff5 cb1"><code class="fs1em ff5">sudo blkid<br class=""></code></pre><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">Cette commande va lister les périphériques et vous devriez obtenir un résultat de ce type. Il faut copier la valeur UUID, que nous allons utiliser pour identifier le disque dur.</p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><pre class="mt1 mb2 imTAJustify fs16.24 cf1 ff5 cb1"><code class="fs1em ff5">/dev/sda1: UUID="2b629aaa-74c8-348b-b78a-6c11e2b9ca90" LABEL="Time Machine" TYPE="hfsplus"<br class=""></code></pre><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">Maintenant, créez un point de montage dans le dossier <code class="fs1em ff5">media</code>, que nous allons appeler ici <code class="fs1em ff5">timemachine</code>.</p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><pre class="mt1 mb2 imTAJustify fs16.24 cf1 ff5 cb1"><code class="fs1em ff5">sudo mkdir /media/timemachine<br class=""></code></pre><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">Dans ce dossier, nous allons monter automatiquement notre disque dur, en allant modifier le fichier <code class="fs1em ff5">/etc/fstab</code>. Attention, alors que la commande <code class="fs1em ff5">blkid</code> donne l'UUID entre guillemets, il ne faut pas en mettre dans le fichier fstab. Il faut donc ajouter la seconde ligne de code à la fin du fichier fstab pour monter automatiquement le disque dur.</p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><pre class="mt1 mb2 imTAJustify fs16.24 cf1 ff5 cb1"><code class="fs1em ff5">sudo nano /etc/fstab<br class=""> UUID=votre_UUID /media/timemachine hfsplus rw,force,exec,auto,users 0 3<br class=""></code></pre><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">Maintenant, nous allons redémarrer le Raspberry Pi, nous reconnecter et vérifier que le disque dur est bien monté. Si tout se passe bien, les données déjà présentes sur le disque dur devraient apparaître.</p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><pre class="mt1 mb2 imTAJustify fs16.24 cf1 ff5 cb1"><code class="fs1em ff5">sudo reboot<br class=""> ssh pi@MacberryPi.local<br class=""> cd /media/timemachine<br class=""> ls<br class=""></code></pre><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><h3 class="imTAJustify fs1.2em cf3 ff2 cb1">L'installation de Netatalk</h3><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">Apple, pour le partage de fichiers, utilise son propre protocole, l'AFP. Une implémentation libre de ce dernier existe, elle est d'ailleurs utilisée dans beaucoup de NAS : il s'agit de Netatalk. Pour une prise en charge fonctionnelle de Time Machine sous Lion et Mountain Lion, il est nécessaire d'installer une version récente du logiciel, nous allons donc télécharger et compiler la dernière version de Netatalk (la 3.0.2 à l'heure où nous écrivons ces lignes). Le processus peut être long, le Raspberry Pi, rappelons-le, n'est pas un foudre de guerre.</p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><pre class="mt1 mb2 imTAJustify fs16.24 cf1 ff5 cb1"><code class="fs1em ff5">cd ~/<br class=""> wget http://sourceforge.net/projects/netatalk/files/netatalk/3.0.2/netatalk-3.0.2.tar.gz<br class=""> tar xvzf netatalk-3.0.2.tar.gz<br class=""> cd netatalk-3.0.2<br class=""> ./configure --with-init-style=debian --with-zeroconf<br class=""> make<br class=""> sudo make install<br class=""></code></pre><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">Une fois Netatalk compilé et installé, nous allons lancer le logiciel automatiquement au démarrage, avec la commande suivante.</p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><pre class="mt1 mb2 imTAJustify fs16.24 cf1 ff5 cb1"><code class="fs1em ff5">sudo update-rc.d netatalk defaults<br class=""></code></pre><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><h3 class="imTAJustify fs1.2em cf3 ff2 cb1">Partager un dossier via AFP</h3><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">Nous allons maintenant partager un dossier du disque dur via AFP sur le réseau. Nous allons donc créer un utilisateur dédié (pour plus de sécurité) et un dossier, auquel nous allons lier le compte. C'est ce compte utilisateur qu'il faudra utiliser (avec son mot de passe associé) pour accéder au partage à travers le Finder.</p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><pre class="mt1 mb2 imTAJustify fs16.24 cf1 ff5 cb1"><code class="fs1em ff5">cd /media/timemachine<br class=""> mkdir AFP<br class=""> sudo adduser afp<br class=""> sudo chown afp /media/timemachine/AFP<br class=""></code></pre><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">La seconde étape consiste à configurer Netatalk pour que le dossier soit partagé.</p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><pre class="mt1 mb2 imTAJustify fs16.24 cf1 ff5 cb1"><code class="fs1em ff5">sudo nano /usr/local/etc/afp.conf<br class=""></code></pre><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">Nous allons modifier le fichier pour qu'il ressemble à celui qui suit. La variable <code class="fs1em ff5">mimic model</code> indique que le Raspberry Pi se fera ici passer pour un boîtier Time Capsule.</p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><pre class="mt1 mb2 imTAJustify fs16.24 cf1 ff5 cb1"><code class="fs1em ff5">[Global]<br class=""> vol preset = default_for_all_vol<br class=""> log file = /var/log/netatalk.log<br class=""> uam list = uams_dhx.so,uams_dhx2_passwd.so<br class=""> save password = yes<br class=""> mimic model = TimeCapsule<br class=""><br class=""> [default_for_all_vol]<br class=""> cnid scheme = dbd<br class=""></code></pre><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">À la fin de notre fichier, nous allons ensuite ajouter notre partage. Vous devez entrer le nom du partage entre crochets et ajouter le chemin. Vous pouvez insérer plusieurs utilisateurs en modifiant la variable <code class="fs1em ff5">valid users</code> et en en ajoutant d'autres : il suffit de les séparer par une espace. Puis il faut sauver (<code class="fs1em ff5">^O</code>) et quitter (<code class="fs1em ff5">^X</code>).</p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><pre class="mt1 mb2 imTAJustify fs16.24 cf1 ff5 cb1"><code class="fs1em ff5">[Mon Premier partage AFP]<br class=""> path = /media/timemachine/AFP<br class=""> valid users = afp<br class=""></code></pre><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">Maintenant, vous pouvez redémarrer Netatalk et attendre que le partage apparaisse dans le Finder.</p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><pre class="mt1 mb2 imTAJustify fs16.24 cf1 ff5 cb1"><code class="fs1em ff5">/etc/init.d/netatalk restart<br class=""></code></pre><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1"><img src="http://img.staticmacg.com/2013/3/macgpic_1362738981_scaled_optim.jpg" alt="" class="imTACenter centre" data-selected="false"></p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><h3 class="imTAJustify fs1.2em cf3 ff2 cb1">Effectuer des sauvegardes Time Machine</h3><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">Pour effectuer des sauvegardes Time Machine en réseau, le fonctionnement est totalement identique. Il faut créer un utilisateur (pour plus de sûreté), choisir ce que l'on veut partager et l'activer dans Netatalk.</p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><pre class="mt1 mb2 imTAJustify fs16.24 cf1 ff5 cb1"><code class="fs1em ff5">cd /media/timemachine<br class=""> mkdir timemachine<br class=""> sudo adduser timemachine<br class=""> sudo chown afp /media/timemachine/timemachine<br class=""> sudo nano /usr/local/etc/afp.conf<br class=""></code></pre><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">La seule différence vient d'une variable à ajouter : <code class="fs1em ff5">time machine = yes</code>.</p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><pre class="mt1 mb2 imTAJustify fs16.24 cf1 ff5 cb1"><code class="fs1em ff5">[Mon Time Machine]<br class=""> path = /media/USBstorage/timemachine<br class=""> valid users = timemachine<br class=""> time machine = yes<br class=""></code></pre><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">Comme auparavant, il faut redémarrer Netatalk pour que le partage apparaisse.</p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><pre class="mt1 mb2 imTAJustify fs16.24 cf1 ff5 cb1"><code class="fs1em ff5">/etc/init.d/netatalk restart<br class=""></code></pre><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">Une fois que c'est fait, OS X devrait vous proposer votre Raspberry Pi dans la liste des disques durs disponibles pour une sauvegarde Time Machine.</p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1"><img src="http://img.staticmacg.com/2013/3/macgpic_1362738992_scaled_optim.jpg" alt="" class="imTACenter centre" data-selected="false"></p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><h3 class="imTAJustify fs1.2em cf3 ff2 cb1">Un point sur les performances</h3><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">Avant de terminer, un point sur les performances. Le Raspberry Pi n'est pas un appareil très rapide, et son sous-système USB est lent : l'Ethernet et les prises USB 2.0 se partagent le même bus en interne et les performances sont donc limitées. Dans le meilleur des cas, vous atteindrez donc les limites de l'Ethernet à 100 mégabits/s de l'appareil (12,5 Mo/s) mais vous serez parfois en dessous, notamment dès qu'il faudra traiter des petits fichiers. Pour information, les performances sont généralement supérieures quand le disque dur est formaté en ext4 et nettement inférieures quand le disque dur est formaté en NTFS. Dans notre cas, le côté pratique du HFS+ est toutefois plus avantageux que le faible gain dû au passage en ext4.</p><br class="imTAJustify fs16.24 cf1 ff2 cb1"><br class="imTAJustify fs16.24 cf1 ff2 cb1"><p class="mb1 imTAJustify fs16.24 cf1 ff2 cb1">Le Raspberry Pi n'est donc pas totalement viable pour effectuer des sauvegardes Time Machine, spécialement si vous avez beaucoup de données à sauver. Mais pour sauvegarder une machine comme un MacBook Air doté d'un SSD de 64 Go, les performances sont suffisantes. Il faut simplement bien prendre en compte que la sauvegarde initiale sera bien plus lente qu'avec un véritable boîtier Time Capsule ou avec un disque dur en local.</p></div>]]></description>
			<pubDate>Sat, 04 Feb 2017 07:18:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?macberry-pi---configurer-un-raspberry-pi-et-l-utiliser-comme-serveur-time-machine</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/g6410y78</guid>
		</item>
		<item>
			<title><![CDATA[Un mediacenter en moins de 15 minutes avec OSMC]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_7839v4gq"><div class="mb1 single-infobox2 cf3 cb2"><div class="container"><div class="row"><div class="col-lg-12 col-sm-12"><div class="imTALeft entry-info clearfix single-large-info-bloc cf2 cb1"><span class="fs16"><span class="imTAJustify cf1">Les Raspberry Pi, à la fois puissants, compacts et </span><span class="imTAJustify cf1">bon marché peuvent se transformer à peu de frais en un mediacenter pour votre salon. Suivez ce guide pour tirer le meilleur parti possible de votre ordinateur compact avec OSMC !</span><br></span></div></div></div></div></div><div class="p402_premium visible-image cf3 cb2"><div class="p402_hide visible-image"><article id="post-3382" class="mt1 lazynormal visible-image"><div class="entry-content visible-image"><div class="mb2 imTAJustify entry-text visible-image cf6"><div class="imTACenter image_social_box nw visible-image"><div id="attachment_3393" class="wp-caption aligncenter visible-image fs0.8em"><div class="imTAJustify"><span class="fs16"><img src="http://www.papergeek.fr/wp-content/uploads/2016/05/television-chromecast.jpg" data-original="http://www.papergeek.fr/wp-content/uploads/2016/05/television-chromecast.jpg" data-mobile="http://www.papergeek.fr/wp-content/uploads/2016/05/television-chromecast.jpg" alt="Cette vieille TV des années 1970 a été transformée en TV connectée avec un Chromecast - mais vous pourriez également faire la même avec un Raspberry Pi, plus ouvert !" width="1000" height="563" srcset="http://static.papergeek.fr/2016/05/television-chromecast.jpg 1000w, http://static.papergeek.fr/2016/05/television-chromecast-768x432.jpg 768w" sizes="(max-width: 1000px) 100vw, 1000px" data-selected="false" class="lazy lazymobile size-full wp-image-3393"></span></div><p class="imTAJustify mb3 wp-caption-text"><span class="fs16">Cette vieille TV des années 1970 a été transformée en TV connectée avec un Chromecast – mais vous pourriez également faire la même chose avec un Raspberry Pi, plus ouvert !</span></p></div></div><h2 class="imTAJustify mt2 mb4 cf4"><span class="fs16">OSMC : votre Raspberry Pi se transforme en mediacenter</span></h2><p class="imTAJustify mb3"><span class="fs16">Doté d’un, quad-core à 900 MHz, de 1Go de RAM, d’un port ethernet, d’un port HDMI et de 4 ports USB, le Raspberry Pi 2 que nous allons utiliser pour notre tutoriel est parfaitement approprié pour l’utilisation en tant que mediacenter. Ce mediacenter basé Raspberry Pi est une affaire !</span></p><div class="imTACenter image_social_box nw visible-image"><div id="attachment_3392" class="wp-caption aligncenter visible-image fs0.8em"><div class="imTAJustify"><span class="fs16"><img src="http://www.papergeek.fr/wp-content/uploads/2016/05/osmc-interface.jpg" data-original="http://www.papergeek.fr/wp-content/uploads/2016/05/osmc-interface.jpg" data-mobile="http://www.papergeek.fr/wp-content/uploads/2016/05/osmc-interface.jpg" alt="L'interface très soignée (mais en Anglais) d'OSMC" width="1024" height="576" srcset="http://static.papergeek.fr/2016/05/osmc-interface.jpg 1024w, http://static.papergeek.fr/2016/05/osmc-interface-768x432.jpg 768w" sizes="(max-width: 1024px) 100vw, 1024px" data-selected="false" class="lazy lazymobile size-full wp-image-3392"></span></div><p class="imTAJustify mb3 wp-caption-text"><span class="fs16">L’interface très soignée (mais en anglais) d’OSMC</span></p></div></div><p class="imTAJustify mb3"><span class="fs16">Dans ce guide, nous allons utiliser OSMC, une distribution de mediacenter compatible avec toutes les versions de Raspberry Pi et extrêmement facile à installer. Très proche (OSMC en est un dérivé), <span class="cf5">Kodi est également un excellent second choix de mediacenter à installer</span><span class="cf5"> </span>sur votre Raspberry Pi avec des options de personnalisation très avancées et une traduction en français. Mais aussi avec une interface beaucoup moins intuitive.</span></p><div class="imTACenter image_social_box nw visible-image"><div id="attachment_3402" class="wp-caption aligncenter visible-image fs0.8em"><div class="imTAJustify"><span class="fs16"><img src="http://www.papergeek.fr/wp-content/uploads/2016/05/osmc-menus.jpg" data-original="http://www.papergeek.fr/wp-content/uploads/2016/05/osmc-menus.jpg" data-mobile="http://www.papergeek.fr/wp-content/uploads/2016/05/osmc-menus.jpg" alt="Les menus OSMC" width="1024" height="576" srcset="http://static.papergeek.fr/2016/05/osmc-menus.jpg 1024w, http://static.papergeek.fr/2016/05/osmc-menus-768x432.jpg 768w" sizes="(max-width: 1024px) 100vw, 1024px" data-selected="false" class="lazy lazymobile size-full wp-image-3402"></span></div><p class="imTAJustify mb3 wp-caption-text"><span class="fs16">Les menus sont très intuitifs : difficile de faire plus simple ! Vous pourrez facilement naviguer avec votre souris – une télécommande est également en vente sur le site d’OSMC</span></p></div></div><h3 class="imTAJustify mt2 mb4 cf3"><span class="fs16">Requis dans ce guide</span></h3><ul class="mb3"><li class="imTAJustify"><span class="fs16">Un Raspberry Pi Zero, 1, 2 ou 3</span></li><li class="imTAJustify"><span class="fs16">Un cable micro USB et une source d’alimentation USB</span></li><li class="imTAJustify"><span class="fs16">Une carte microSD catégorie 10 (la plus rapide possible) d’une capacité d’au moins 8Go</span></li><li class="imTAJustify"><span class="fs16">Un dongle USB wifi compatible</span></li><li class="imTAJustify"><span class="fs16">Une souris sans fil</span></li><li class="imTAJustify"><span class="fs16">(Optionnel) Une carte son USB ou un DAC</span></li></ul><h3 class="imTAJustify mt2 mb4 cf3"><span class="fs16">L’installation d’OSMC</span></h3><ul class="mb3"><li class="imTAJustify"><span class="fs16"><a href="http://osmc.tv/download/" target="_blank" class="imCssLink">Rendez-vous sur le site d’OSMC dans la rubrique <span class="cf1">Downloads</span></a></span></li></ul><div class="imTACenter image_social_box nw visible-image"><div id="attachment_3389" class="wp-caption aligncenter visible-image fs0.8em"><div class="imTAJustify"><span class="fs16"><img src="http://www.papergeek.fr/wp-content/uploads/2016/05/osmc-telecharger-pour-votre-plateforme.png" data-original="http://www.papergeek.fr/wp-content/uploads/2016/05/osmc-telecharger-pour-votre-plateforme.png" data-mobile="http://www.papergeek.fr/wp-content/uploads/2016/05/osmc-telecharger-pour-votre-plateforme.png" alt="Onglet Downloads OSMC" width="684" height="428" srcset="http://static.papergeek.fr/2016/05/osmc-telecharger-pour-votre-plateforme.png 684w, http://static.papergeek.fr/2016/05/osmc-telecharger-pour-votre-plateforme-525x328.png 525w, http://static.papergeek.fr/2016/05/osmc-telecharger-pour-votre-plateforme-340x213.png 340w, http://static.papergeek.fr/2016/05/osmc-telecharger-pour-votre-plateforme-242x151.png 242w" sizes="(max-width: 684px) 100vw, 684px" data-selected="false" class="lazy lazymobile size-full wp-image-3389"></span></div><p class="imTAJustify mb3 wp-caption-text"><span class="fs16">Allez sur le site internet d’OSMC, et cliquez sur Dowloads</span></p></div></div><ul class="mb3"><li class="imTAJustify"><span class="fs16">Téléchargez le programme d’installation correspondant à votre système d’exploitation</span></li></ul><p class="imTAJustify mb3"><span class="fs16">L’installation d’OSMC est grandement simplifiée par la présence d’un programme d’installation à télécharger sur votre ordinateur. Celui-ci vous permet de configurer par avance OSMC, et de transférer l’image customisée sur votre carte microSD.</span></p><ul class="mb3"><li class="imTAJustify"><span class="fs16">Ouvrez le programme d’installation que vous venez de télécharger</span></li></ul><ul class="mb3"><li class="imTAJustify"><span class="fs16">Choisissez la langue (English) et votre type de Raspberry Pi – ici Raspberry Pi 2 / 3, et cliquez sur le triangle</span></li></ul><ul class="mb3"><li class="imTAJustify"><span class="fs16">Sélectionnez la version la plus récente puis cliquez sur la flèche de droite</span></li></ul><div class="imTAJustify ads"><div class=""><ins data-ad-client="ca-pub-1050794388709878" data-ad-slot="3772224608" data-adsbygoogle-status="done" class="adsbygoogle fs16"><div class="imTAJustify"></div></ins></div></div><div class="imTAJustify image_social_box visible-image"><br></div><ul class="mb3"><li class="imTAJustify"><span class="fs16">Sélectionnez <span class="cf1">On a SD card</span> puis cliquez sur suivant</span></li></ul><div class="imTACenter image_social_box visible-image"><span class="imTAJustify visible-image fs16"><img src="http://www.papergeek.fr/wp-content/uploads/2016/05/osmc-wifi.png" data-original="http://www.papergeek.fr/wp-content/uploads/2016/05/osmc-wifi.png" data-mobile="http://www.papergeek.fr/wp-content/uploads/2016/05/osmc-wifi.png" alt="osmc-wifi" width="640" height="473" class="imTAJustify mb3 lazy lazymobile aligncenter size-full wp-image-3391" data-selected="false"></span></div><ul class="mb3"><li class="imTAJustify"><span class="fs16">Si vous avez un dongle USB wifi, choisissez <span class="cf1">Wireless connection</span>, ou <span class="cf1">Wired connection</span> le cas échéant, si vous projettez de relier votre Rasberry Pi à votre box au moyen d’un câble ethernet</span></li></ul><div class="imTACenter image_social_box visible-image"><span class="imTAJustify visible-image fs16"><img src="http://www.papergeek.fr/wp-content/uploads/2016/05/osmc-informations-wifi.png" data-original="http://www.papergeek.fr/wp-content/uploads/2016/05/osmc-informations-wifi.png" data-mobile="http://www.papergeek.fr/wp-content/uploads/2016/05/osmc-informations-wifi.png" alt="osmc-informations-wifi" width="640" height="475" class="imTAJustify mb3 lazy lazymobile aligncenter size-full wp-image-3387" data-selected="false"></span></div><p class="imTAJustify mb3"><span class="fs16">Entrez les informations requises sur votre réseau wifi – vu que l’installation se fait Raspberry Pi éteint, il faut rentrer toutes les informations à la main. Dans la majeure partie des cas, si vous hésitez, choisissez WPA/WPA2 PSK dans le champ <span class="cf1">Is your network encrypted ? </span></span></p><p class="imTAJustify mb3"><span class="fs16">Le cas échéant, si vous vous rendez-compte que le wifi ne marche pas, recommencez la procédure depuis le début.</span></p><div class="imTACenter image_social_box visible-image"><span class="imTAJustify visible-image fs16"><img src="http://www.papergeek.fr/wp-content/uploads/2016/05/osmc-destination-choisir-carte-sd.png" data-original="http://www.papergeek.fr/wp-content/uploads/2016/05/osmc-destination-choisir-carte-sd.png" data-mobile="http://www.papergeek.fr/wp-content/uploads/2016/05/osmc-destination-choisir-carte-sd.png" alt="osmc-destination-choisir-carte-sd" width="640" height="472" class="imTAJustify mb3 lazy lazymobile aligncenter size-full wp-image-3386" data-selected="false"></span></div><ul class="mb3"><li class="imTAJustify"><span class="fs16">Branchez votre carte microSD et cliquez sur <span class="cf1">refresh</span> : votre carte microSD devrait apparaître – sélectionnez-la</span></li></ul><ul class="mb3"><li class="imTAJustify"><span class="fs16">Cochez <span class="cf1">I Accept The End User Agreement</span> et cliquez sur suivant</span></li></ul><div class="imTACenter image_social_box visible-image"><span class="imTAJustify visible-image fs16"><img src="http://www.papergeek.fr/wp-content/uploads/2016/05/osmc-progres.png" data-original="http://www.papergeek.fr/wp-content/uploads/2016/05/osmc-progres.png" data-mobile="http://www.papergeek.fr/wp-content/uploads/2016/05/osmc-progres.png" alt="osmc-progres" width="640" height="478" class="imTAJustify mb3 lazy lazymobile aligncenter size-full wp-image-3388" data-selected="false"></span></div><p class="imTAJustify mb3"><span class="fs16">Le programme télécharge et installe le système directement sur votre carte SD. Confirmez à chaque fois que le programme vous le demande et laissez l’opération se terminer. Vous pouvez désormais brancher le port HDMI de votre Raspberry Pi à votre télé, brancher le dongle USB wifi, la souris, enfin brancher l’alimentation et profiter immédiatement de votre mediacenter OSMC.</span></p></div></div></article></div></div></div>]]></description>
			<pubDate>Fri, 20 Jan 2017 22:26:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?un-mediacenter-en-moins-de-15-minutes-avec-osmc</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/7839v4gq</guid>
		</item>
		<item>
			<title><![CDATA[Première utilisation de votre Raspberry Pi ;-)]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_3n4a3g33"><h1 class="title entry-title cf1"><br></h1><h1 class="title entry-title cf1"><span class="imTAJustify fs16 cf2">Au début, il n’est pas évident de comprendre comment utiliser votre Raspberry Pi. C’est pourquoi nous allons dans ce tutoriel vous guider lors de la première prise en main de votre appareil. Voyons dans un premier temps le matériel nécessaire à son utilisation.</span></h1><p class="mt1 mb1 cf2"><span id="more-303" class="fs16"></span></p><h2 class="imTAJustify cf1"><span class="fs16">Matériel nécessaire</span></h2><ul class="cf2"><li class="imTAJustify"><span class="fs16 cf3"><a href="http://www.amazon.fr/gp/product/B00QI0WYHS/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00QI0WYHS&amp;linkCode=as2&amp;tag=raspberrypi075-21" rel="nofollow target=" _blank"="">Clavier et souris avec un port USB</a></span></li><li class="imTAJustify"><span class="fs16"><span class="cf3"><a href="http://www.amazon.fr/gp/product/B01469QE3M/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B01469QE3M&amp;linkCode=as2&amp;tag=raspberrypi075-21" rel="nofollow target=" _blank"="">Carte SD</a></span> (avec au moins 8Go d’espace disponible)</span></li><li class="imTAJustify"><span class="fs16 cf3"><a href="http://www.amazon.fr/gp/product/B00N2VILDM/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00N2VILDM&amp;linkCode=as2&amp;tag=raspberrypi075-21" rel="nofollow target=" _blank"="">Câble Ethernet</a></span></li><li class="imTAJustify"><span class="fs16 cf3"><a href="http://www.amazon.fr/gp/product/B014I8SSD0/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B014I8SSD0&amp;linkCode=as2&amp;tag=raspberrypi075-21" rel="nofollow target=" _blank"="">Câble HDMI</a></span></li><li class="imTAJustify"><span class="fs16"><span class="cf3"><a href="http://www.amazon.fr/gp/product/B00U88KSHO/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00U88KSHO&amp;linkCode=as2&amp;tag=raspberrypi075-21" rel="nofollow target=" _blank"="">Chargeur de mobile</a></span> (avec une tête micro-USB et &nbsp;une tête USB)</span></li><li class="imTAJustify"><span class="fs16">Optionnel : <span class="cf3"><a href="http://www.amazon.fr/gp/product/B004MGCOKM/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B004MGCOKM&amp;linkCode=as2&amp;tag=raspberrypi075-21" rel="nofollow target=" _blank"="">un hub USB mobile</a></span> qui dispose de sa propre alimentation</span></li></ul><h2 class="imTAJustify cf1"><span class="fs16">Préparation de la carte</span></h2><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Votre carte SD est ce qui va servir de mémoire à votre Raspberry Pi : elle stockera absolument toutes les informations, à savoir : les fichiers textes, musiques, photos, vidéos, etc., mais aussi le système d’exploitation. Comme votre micro-ordinateur ne possède pas en elle-même de mémoire, vous l’aurez compris, il va vous falloir l’installer dessus.</span></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Téléchargez donc dans un premier temps le <span class="cf3"><a href="http://www.raspberrypi.org/downloads/raspbian/" target="_blank" class="imCssLink">système d’exploitation</a></span> (distribution Linux nommée Raspbian, un dérivé de Debian). Choisissez la version XXXXX. Vous pouvez aussi vous passer de l’adaptation et opter pour la version Debian originale, mais la dérivée améliore grandement les performances puisqu’elle a été spécialement conçue pour cet appareil. Nous verrons plus loin comment l’installer sur le Raspberry.</span></p><h2 class="imTAJustify cf1"><span class="fs16">Branchement de vos périphériques avec votre Raspberry Pi</span></h2><ol class="cf2"><li class="imTAJustify"><span class="fs16">Insérez votre carte SD dans le connecteur Raspberry Pi dédié</span></li><li class="imTAJustify"><span class="fs16">Branchez le câble ethernet à la box de votre fournisseur d’accès à internet (FAI)</span></li><li class="imTAJustify"><span class="fs16">Branchez le clavier et la souris aux ports USB</span></li><li class="imTAJustify"><span class="fs16">Branchez le câble HDMI avec l’écran</span></li><li class="imTAJustify"><span class="fs16">Finissez par brancher l’alimentation</span></li></ol><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Votre Raspberry Pi devrait alors démarrer automatiquement.</span></p><h2 class="imTAJustify cf1"><span class="fs16">Premiers paramétrages</span></h2><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Lors de votre premier lancement, vous devriez tomber sur l’écran suivant :</span></p><figure id="attachment_283" class="alignnone cf2"><div class="fs16 cf3"><div><div><div><a data-fancybox-title="" class="inset-border zoom-hover fb inline-block" href="http://www.raspberrypi-france.fr/wp-content/uploads/2016/04/raspbian_install.png" rel="attachment wp-att-283"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/04/raspbian_install-300x167.png" alt="raspbian_install" width="300" height="167" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/04/raspbian_install-300x167.png 300w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/04/raspbian_install.png 692w" sizes="(max-width: 300px) 100vw, 300px" class=" size-medium wp-image-283" data-selected="false"><div class="zoom-hover-overlay"><div class="zoom-hover-title-container"><i class="icon-search zoom-hover-title cf4"></i></div></div></a></div></div></div></div></figure><ul class="cf2"><li class="imTAJustify"><span class="fs16">info : informations sur cet outil de configuration</span></li><li class="imTAJustify"><span class="fs16">expan_roofts : étendre l’espace disponible à l’utilisation de votre carte SD</span></li><li class="imTAJustify"><span class="fs16">overscan : déplacer ou recentrer l’image par rapport a l’écran</span></li><li class="imTAJustify"><span class="fs16">configure keyboard : changer la langue du clavier</span></li><li class="imTAJustify"><span class="fs16">change_pass: changer le mots de passe de l’utilisateur principal « pi » (par défaut “raspberry”)</span></li><li class="imTAJustify"><span class="fs16">change_locale : changer le langage système</span></li><li class="imTAJustify"><span class="fs16">change_timezone : changer le fuseau horaire</span></li><li class="imTAJustify"><span class="fs16">memory_split : modifier les paramètres d’allocation de la mémoire</span></li><li class="imTAJustify"><span class="fs16">overclock : modifier la cadence du processeur pour en améliorer les performances</span></li><li class="imTAJustify"><span class="fs16">ssh : active la connexion SSH (nous en aurons besoin)</span></li><li class="imTAJustify"><span class="fs16">boot_behavior : lors du démarrage, cela fait arriver directement sur l’interface graphique, et non un invité de commande</span></li><li class="imTAJustify"><span class="fs16">update : pour les mises a jour</span></li></ul><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Consultez <span class="cf3"><a href="http://www.raspberrypi-france.fr/raspbian-raspberry-pi-2/">notre tutoriel</a></span> qui vous guidera pas à pas dans l’installation de Raspbian. Votre Raspberry Pi est désormais correctement configuré. Vous devriez alors avoir atterri sur l’interface graphique ci-dessous :</span></p><figure id="attachment_329" class="alignnone cf2"><div class="fs16 cf3"><div><div><div><a data-fancybox-title="" class="inset-border zoom-hover fb inline-block" href="http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/bureau_lxde.jpg" rel="attachment wp-att-329"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/bureau_lxde-300x225.jpg" alt="Bureau LXDE" width="300" height="225" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/bureau_lxde-300x225.jpg 300w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/bureau_lxde-80x60.jpg 80w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/bureau_lxde.jpg 702w" sizes="(max-width: 300px) 100vw, 300px" class=" size-medium wp-image-329" data-selected="false"><div class="zoom-hover-overlay"><div class="zoom-hover-title-container"><i class="icon-search zoom-hover-title cf4"></i></div></div></a></div></div></div></div></figure><h2 class="imTAJustify cf1"><span class="fs16">Installation d’une application : VLC</span></h2><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Pour vous montrer comment marche une installation sur votre nano-ordinateur, nous allons installer VLC. Cela vous sera aussi pratique pour lire vos fichier audio et video.</span></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Ouvrer donc la console LX en double-cliquant sur l’icone « <strong class="">LXTerminal</strong> ». Entrez les lignes de code suivantes :</span></p><pre class="mt2 mb2 cf2"><span class="fs16 ff1">sudo aptitude update</span></pre><p class="mt1 mb1 imTAJustify cf2"><em class="fs16">Mise à jour de la liste des paquets (requis avant toute installation)</em></p><pre class="mt2 mb2 cf2"><span class="fs16 ff1">sudo aptitude install vlc</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Patientez jusqu’à la fin de l’installation, puis lancez un fichier vidéo (vous pouvez en récupérer un sur internet via le navigateur « Epiphany », dont vous trouverez un raccourci rapide sur le bureau).</span></p><h2 class="imTAJustify cf1"><span class="fs16">Connecter votre Raspberry Pi à votre ordinateur en SSH</span></h2><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Vous aurez sans doute constaté la lenteur du système. Celle-ci est due à l’utilisation de l’interface graphique. C’est pourquoi nous vous proposons maintenant de prendre le contrôle de votre Raspberry depuis votre ordinateur, grâce au protocole SSH (que nous vous avions conseillé d’activer lors du paramétrage initial au débout de ce tutoriel).</span></p><h3 class="imTAJustify cf1"><span class="fs16">Changement des mots de passe</span></h3><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Nous allons commencer par améliorer la sécurité de votre appareil en changeant le mot de passe de l’utilisateur ayant tous les droits, appelé <em class="">root</em>. Ouvrez le terminal LX, puis tapez la ligne de code suivante :</span></p><pre class="mt2 mb2 cf2"><span class="fs16 ff1">sudo passwd root</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Idem pour l’utilisateur <em class="">pi</em> si vous ne l’avez pas fait lors des premiers paramétrages :</span></p><pre class="mt2 mb2 cf2"><span class="fs16 ff1">sudo passwd pi</span></pre><h3 class="imTAJustify cf1"><span class="fs16">Récupération de l’adresse IP</span></h3><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Nous allons maintenant récupérer l’adresse IP de votre carte réseau, appelée <em class="">eth0</em> sous Linux :</span></p><pre class="mt2 mb2 cf2"><span class="fs16 ff1">ifconfig</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Celle-ci devrait apparaître dans la deuxième ligne, après « <strong class="">inet addr</strong> <strong class="">»</strong>, tel que dans la capture ci-dessous. Prenez-en note, nous la réutiliserons par la suite.</span></p><figure id="attachment_333" class="alignnone cf2"><div class="fs16 cf3"><div><div><div><a data-fancybox-title="" class="inset-border zoom-hover fb inline-block" href="http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/ifconfig.png" rel="attachment wp-att-333"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/ifconfig-300x196.png" alt="Adresse IP - ifconfig" width="300" height="196" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/ifconfig-300x196.png 300w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/ifconfig-768x501.png 768w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/ifconfig.png 836w" sizes="(max-width: 300px) 100vw, 300px" class=" size-medium wp-image-333" data-selected="false"><div class="zoom-hover-overlay"><div class="zoom-hover-title-container"><i class="icon-search zoom-hover-title cf4"></i></div></div></a></div></div></div></div></figure><h3 class="imTAJustify cf1"><span class="fs16">Paramétrage de la connexion SSH</span></h3><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Nous allons ajouter un niveau supplémentaire de sécurité en désactivant l’accès en SSH de l’utilisateur <em class="">root</em>. Commencez par taper la ligne de code suivante :</span></p><pre class="mt2 mb2 cf2"><span class="fs16 ff1">sudo nano /etc/ssh/sshd_config</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Naviguez vers la ligne « <strong class="">PermitRootLogin</strong> » et changez le « <strong class="">Yes</strong> » en « <b class="">No</b> ».</span></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Maintenant nous allons changer le port de communication 22 par un autre port, pour rendre difficile l’accès à votre Raspeberry pour quelqu’un de malveillant. Allez vers la ligne « <strong class="">Port</strong> », puis modifiez le port, 22 par défaut, par un autre nombre inférieur à 65 535, et autre qu’un port qui pourrait être déjà utilisé. Pour cela, consultez <span class="cf3"><a href="http://fr.wikipedia.org/wiki/Port_(logiciel)" target="_blank">cette liste</a></span> afin d’éviter de choisir un chiffre conflictuel.</span></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Quittez ce menu avec la combinaison <strong class="">Ctrl+X</strong>, puis <strong class="">Y</strong> pour enregistrer vos modifications, et enfin <strong class="">Entrée</strong> pour terminer et écraser le fichier précédant. Nous allons redémarrer le protocole SSH pour qu’il soit pris en compte, entrez le code suivant :</span></p><pre class="mt2 mb2 cf2"><span class="fs16 ff1">/etc/init.d/ssh restart</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Débranchez maintenant vos périphériques : souris, clavier et écran. Ceux-ci ne nous sont plus utiles.</span></p><h3 class="imTAJustify cf1"><span class="fs16">Se connecter à Raspberry Pi sous Windows</span></h3><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Nous vous proposons d’utiliser <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank" class="imCssLink"><span class="cf3">PuTTy</span>.</a> Son interface client est plutôt simple et rapide à renseigner : rentrez l’adresse IP relevée précédemment dans « <strong class="">Host Name (or IP address)</strong> », puis le port choisi dans le champs suivant, et enfin cochez « <strong class="">SSH</strong> » juste en-dessous.</span></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Nous vous conseillons de sauvegarder ces paramètres pour vous connecter plus rapidement à l’avenir. Pour cela, entrez par exemple « <em class="">Raspberry Pi</em> » dans le champs « <strong class="">Saved Sessions</strong> », et cliquez sur « <strong class="">Save »</strong>.</span></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Un message d’avertissement vous informera que la connexion n’est pas sécurisée, validez ceci. Une nouvelle console s’ouvrira alors, dans laquelle vous pourrez entrer votre identifiant d’utilisateur, à savoir <em class="">pi</em> ou <em class="">root</em>, avec le mot de passe défini auparavant.</span></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Félicitations, vous êtes désormais connecté à votre Raspberry depuis votre ordinateur !</span></p><h3 class="imTAJustify cf1"><span class="fs16">Se connecter à votre Raspberry Pi sous Linux/GNU</span></h3><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Ouvrez une console et entrez la ligne suivante (en considérant que l’adresse IP de votre Raspberry relevée précédemment est <em class="">192.168.1.5</em>):</span></p><pre class="mt2 mb2 cf2"><span class="fs16 ff1">ssh 192.168.1.5</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Notez qu’il existe également une version PuTTY sous Linux.</span></p><h3 class="imTAJustify cf1"><span class="fs16">Se connecter à votre Raspberry Pi sous Mac</span></h3><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Pour utiliser PuTTY sous Mac, nous vous invitons a consulter le très bon <span class="cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">tutoriel</a></span>.</span></p><h2 class="imTAJustify cf1"><br></h2><p class="mt1 cf2"><span class="fs16">Vous pouvez maintenant tirer tout le profit de votre Raspberry Pi, tout en ayant approché quelques manœuvres de base. </span></p><p class="mt1 cf2"><br></p><p class="mt1 cf2"><span class="fs11"><span class="">Source : </span><span class="cf5 cb1">raspberrypi-france.fr</span></span></p></div>]]></description>
			<pubDate>Sun, 08 Jan 2017 09:13:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?premiere-utilisation-de-votre-raspberry-pi----</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/3n4a3g33</guid>
		</item>
		<item>
			<title><![CDATA[Les magazines de raspberrypi.org]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_72552j09"><div class="imTACenter"><br></div><div class="imTACenter"><br></div><div class="imTACenter"><span class="fs12"><a href="http://www.raspberry-pi.ovh/files/Projects_Book_v1.pdf" target="_blank" class="imCssLink inline-block"><img class="image-0" src="http://www.raspberry-pi.ovh/images/raspberrybook.png"  title="" alt=""/></a></span><span class="fs12"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="fs12"><a href="http://" target="_blank" class="imCssLink inline-block"><img class="image-1" src="http://www.raspberry-pi.ovh/images/Pi-Projects2-Collected-RGB-1.jpg"  title="" alt=""/></a></span><br></div><div><br></div><div class="imTACenter">Raspberry Pi Projects 2 x 200 pages d'idées, d'inspiration et des guides pour vous aider avec votre prochain projet Raspberry Pi !<br></div><div class="imTACenter"><br></div><div class="imTACenter">D'autres sont disponibles sur : <a href="http://www.raspberrypi.org/magpi/issues/" target="_blank" class="imCssLink">http://www.raspberrypi.org/magpi/issues/</a></div><div><br></div><div><span class="fs8">Source http://www.raspberrypi.org</span></div></div>]]></description>
			<pubDate>Sun, 01 Jan 2017 00:58:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?les-magazines-de-raspberrypi-org</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/72552j09</guid>
		</item>
		<item>
			<title><![CDATA[Retour sur Noobs ]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_a1wvf05l"><h1 class="imTAJustify cf1 cb1"><span class="fs12">Installer un système d’exploitation :</span></h1><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">Il existe plusieurs systèmes d’exploitation pour le <span class=""><span class="cf2 cb2">Raspberry pi</span></span>, pour en installer un sur votre carte SD je vous recommande de passer par Noobs, <span class="">Noobs</span> est un assistant qui va vous permettre d’installer un ou plusieurs systèmes d’exploitation sur votre <span class="cf2 cb2">carte mémoire</span>. Si vous avez fait un tour sur la <span class="cf2">page download</span> du site officiel de la fondation vous avez pu voire qu’on peut télécharger plusieurs systèmes d’exploitation, en faites il y a deux méthodes. Sois-vous téléchargé et installer <span class="">Noobs</span> et vous choisissez directement le système d’exploitation à installer sur votre <span class="cf2 cb2">Raspberry pi </span>ou sois vous graver un système d’exploitation depuis votre ordinateur sur votre carte SD.</span></p><h3 class="imTAJustify cf1 cb1"><span class="fs12">Voici les avantages que possède Noobs :</span></h3><ul class="mb1 cf3 cb1"><li class="imTAJustify"><span class="fs12">– Vous pouvez installer <span class=""><span class="">2 systèmes d’exploitation sur une même </span><span class="cf2 cb2"><b>carte SD</b></span></span></span></li><li class="imTAJustify"><span class="imTACenter fs12">– En cas de problème il vous pouvez réinitialiser ou désinstaller le système d’exploitation qui vous pose problème.</span></li><li class="imTAJustify"><span class="imTACenter fs12">– Tous est simplifiés au maximum dans une interface très épurée</span></li></ul><hr class="imTAJustify symple-divider solid &nbsp;cf3"><h2 class="imTAJustify cf1 cb1"><span class="fs12">Installer Noobs sur votre carte SD</span></h2><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">Commencer par télécharger Noobs. <span class=""><em class="">Le fichier fait 1,1 Go</em></span></span></p><p class="mb1 cf3 cb1"><b class="imTACenter cf2 cb2"><span class="imTAJustify symple-button-inner fs12 cf4"><a href="http://downloads.raspberrypi.org/NOOBS_latest" target="_blank" class="imCssLink">Cliquez ici pour télécharger la dernière version de Noobs en .zip</a></span></b></p><p class="mb1 cf3 cb1"><b class="imTACenter cf2 cb2"><span class="imTAJustify symple-button-inner fs12 cf4">Cliquez ici pour télécharger la dernière version de Noobs en torrent</span></b></p><p class="imTAJustify mb1 cf3 cb1"><span class="fs12"><em class="">Si vous ne savez pas ce qu’est un torrent opter pour le .zip</em></span></p><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">Décompresser ensuite l’archive zip obtenue dans un dossier.</span></p><h3 class="imTAJustify cf1 cb1"><span class="fs12">PC</span></h3><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">Insérer sur votre PC une <span class="cf2">carte mémoire</span> vierge d’au moins 4 Go.</span></p><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">Déplacer les fichiers de <span class="">Noobs</span> précédemment placé dans un dossier, vers la <span class="cf2">carte mémoire</span>.</span></p><div id="attachment_10264" class="imTACenter wp-caption aligncenter cf3 cb1"><div class="imTAJustify"><span class="fs12 cf2"><img title="Guide du débutant" src="http://the-raspberry.com/wp-content/uploads/2013/11/windows-sdcard.png" alt="windows sdcard Guide du débutant Raspberry pi" width="642" height="450" class="wp-image-10264 size-full" data-selected="false"></span></div><p class="imTAJustify mt1 mb2 wp-caption-text"><span class="fs12">TRANSFERT DES FICHIERS SUR LA CARTE MÉMOIRE</span></p></div><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">Une fois les fichiers transférer vous pouvez retirer votre carte mémoire et l’insérer dans votre <span class="cf2">Raspberry pi</span>.</span></p><h3 class="imTAJustify cf1 cb1"><span class="fs12">Mac</span></h3><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">Insérer sur votre Mac une <span class="cf2">carte mémoire</span> vierge d’au moins 4 Go.</span></p><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">Déplacer les fichiers de <span class="">Noobs</span> précédemment placé dans un dossier, vers la <span class="cf2">carte mémoire</span>.</span></p><div id="attachment_10261" class="imTACenter wp-caption aligncenter cf3 cb1"><div class="imTAJustify"><span class="fs12 cf2"><img title="Guide du débutant" src="http://i0.wp.com/the-raspberry.com/wp-content/uploads/2013/11/macsdcard.png?resize=689%2C287" alt="macsdcard Guide du débutant" width="689" height="287" class="size-full wp-image-10261" data-selected="false"></span></div><p class="imTAJustify mt1 mb2 wp-caption-text"><span class="fs12">TRANSFERT DES FICHIERS SUR LA CARTE MÉMOIRE</span></p></div><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">Une fois les fichiers transférer vous pouvez retirer votre <span class="cf2">carte mémoire</span> et l’insérer dans votre <span class="cf2">Raspberry pi</span>.</span></p><p class="mb1 cf3 cb1"></p><hr class="imTAJustify symple-divider solid &nbsp;cf3"><h2 class="imTAJustify cf1 cb1"><span class="fs12">Brancher votre Raspberry pi</span></h2><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">Pour branchez votre Raspberry pi à un écran vous aurez besoin de :</span></p><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">– <span class="cf2">Un câble HDMI</span></span></p><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">– Une <span class="cf2">clé WIFI</span> ou un <span class="cf2">câble Ethernet</span></span></p><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">– Un <span class="cf2">câble d’alimentation micro USB</span></span></p><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">Brancher le <span class="cf2">câble HDMI</span> de votre Raspberry pi à votre écran</span></p><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">Brancher le <span class="cf2">câble Ethernet</span> de votre Raspberry pi à votre livebox</span></p><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">Brancher le câble d’alimentation de votre Raspberry pi à une prise secteur</span></p><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">Assurez-vous ensuite d’avoir un <span class="cf2 cb2">clavier et une souris</span><span class="cf2"> </span>brancher à votre Raspberry pi.</span></p><h2 class="imTAJustify cf1 cb1"><span class="fs12">Choisir son système d’exploitation</span></h2><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">Au premier démarrage vous allez tomber sur l’interface de Noobs, cette interface vous permet de choisir le ou les systèmes d’exploitation que vous désirez installé sur votre Raspberry pi.</span></p><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">– Vous avez le choix entre plusieurs systèmes d’exploitation</span></p><p class="imTAJustify mb1 cf3 cb1"><span class="fs12"><img title="Guide du débutant" src="http://downloads.raspberrypi.org/raspbian/Raspbian.svg" alt="Raspbian Guide du débutant" width="64" class="" data-selected="false"> <span class="">Raspbian :</span> Debian optimiser pour le Raspberry pi</span></p><p class="imTAJustify mb1 cf3 cb1"><span class="fs12"><img title="Guide du débutant" src="http://downloads.raspberrypi.org/arch/arch.svg" alt="arch Guide du débutant" width="64" class="" data-selected="false"> <span class="">ArchLinux :</span> Une distribution Linux pour appareil à processeur ARM</span></p><p class="imTAJustify mb1 cf3 cb1"><span class="fs12"><img title="Guide du débutant" src="http://downloads.raspberrypi.org/pidora/Pidora.svg" alt="Pidora Guide du débutant" width="64" class="" data-selected="false"> &nbsp;<span class="">Pidora :</span> Version optimiser de Fedora pour le <span class="cf2">Raspberry pi</span></span></p><p class="imTAJustify mb1 cf3 cb1"><span class="fs12"><img title="Guide du débutant" src="http://downloads.raspberrypi.org/openelec/OpenELEC.svg" alt="OpenELEC Guide du débutant" width="64" class="" data-selected="false"> <span class="">Openelec :</span> Mediacenter basé sur XBMC</span></p><p class="imTAJustify mb1 cf3 cb1"><span class="fs12"><img title="Guide du débutant" src="http://downloads.raspberrypi.org/raspbmc/Raspbmc.svg" alt="Raspbmc Guide du débutant" width="64" class="" data-selected="false"> &nbsp;<span class="">Raspbmc :</span> Mediacenter basé sur XBMC</span></p><p class="imTAJustify mb1 cf3 cb1"><span class="fs12"><span class=""> RISC OS:</span> Un système d’exploitation développé en 1988, très rapide</span></p><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">Je vous recommande Raspbian et Openelec</span></p><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">Avec Noobs, il vous est possible d’installer plusieurs systèmes d’exploitation sur la même carte SD. Il vous suffit pour cela de cocher les systèmes d’exploitation que vous désirez puis de cliquer sur Install.</span></p><div id="attachment_10270" class="imTACenter wp-caption aligncenter cf3 cb1"><div class="imTAJustify"><span class="fs12 cf2"><img title="Guide du débutant" src="http://i0.wp.com/the-raspberry.com/wp-content/uploads/2013/11/os-noobs.png?resize=494%2C392" alt="os noobs Guide du débutant Raspberry pi" width="494" height="392" class="wp-image-10270" data-selected="false"></span></div><p class="imTAJustify mt1 mb2 wp-caption-text"><span class="fs12">COCHER LE OU LES SYSTÈMES D’EXPLOITATION QUE VOUS DÉSIREZ PUIS CLIQUER SUR INSTALL</span></p></div><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">Il faudra ensuite patienter quelques minutes le temps que le système d’exploitation s’installe sur votre <span class="cf2">carte mémoire</span>.</span></p><p class="imTAJustify mb1 cf3 cb1"><span class="fs12">Une fois le chargement terminé vous devrez choisir sur quel système d’exploitation démarrer. Si vous n’avez choisi d’installer qu’un seul système d’exploitation, il démarrera à la fin du chargement.</span></p></div>]]></description>
			<pubDate>Mon, 26 Dec 2016 14:30:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?retour-sur-noobs-</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/a1wvf05l</guid>
		</item>
		<item>
			<title><![CDATA[8 conseils pour bien démarrer avec son Raspberri Pi par François MOCQ de framboise314]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_4i36a2qh"><div class="imTACenter"><br></div><div class="imTACenter"><span class="fs12">L'ebook utile par <a href="http://www.framboise314.fr/wp-content/uploads/2016/11/ebook_8conseils_raspberrypi.pdf" target="_blank" class="imCssLink">François MOCQ</a> :</span></div><div class="imTACenter"><br></div><div class="imTACenter"><br></div><div class="imTACenter"><a href="http://www.raspberry-pi.ovh/files/ebook_8conseils_raspberrypi.pdf" target="_blank" class="imCssLink inline-block"><img class="image-0" src="http://www.raspberry-pi.ovh/images/ebOok.jpg"  title="" alt=""/></a><br></div><div class="imTACenter"><br></div><div class="imTACenter">Merci François !</div><div class="imTACenter"><br></div><div class="imTACenter"><b><span class="fs12">Source : </span><span class="imTALeft fs12">http://www.framboise314.fr</span></b></div></div>]]></description>
			<pubDate>Sun, 25 Dec 2016 20:31:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?8-conseils-pour-bien-demarrer-avec-son-raspberri-pi-par-francois-mocq-de-framboise314</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/4i36a2qh</guid>
		</item>
		<item>
			<title><![CDATA[Raspberry Pi lance Pixel, l’OS parfait pour votre vieux PC ou Mac]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_h6e1w34o"><div class="mb1 single-infobox2 cf5 cb2"><h1 class="h2 main-title fs36.1 cf1"><br></h1><div><span class="fs12"><span class="imTAJustify cf1">La fondation Raspberry Pi annonce lancer son OS Pixel sur Mac et PC pour en faire profiter le plus grand nombre et permettre, entre autres, de donner un second souffle à de vieilles machines. Une belle initiative qui vaut la peine que l’on s’y attarde.</span><br></span></div><div class="container"><div class="row"><div class="col-lg-12 col-sm-12"><div class="entry-info clearfix single-large-info-bloc cf4 cb1"><span class="fs12"><span class="imTACenter cf3"><span><span><span><a href="http://static.papergeek.fr/2016/12/raspberry-pi-pixel-os-pc-mac.jpg" rel="lightbox" data-effect="mfp-3d-unfold" title="Raspberry Pi lance Pixel, l'OS parfait pour votre vieux PC ou Mac" class="visible-image"><span class="imTAJustify visible-image cf2"><img src="http://static.papergeek.fr/2016/12/raspberry-pi-pixel-os-pc-mac.jpg" data-original="http://static.papergeek.fr/2016/12/raspberry-pi-pixel-os-pc-mac.jpg" data-mobile="http://static.papergeek.fr/2016/12/raspberry-pi-pixel-os-pc-mac.jpg" alt="raspberry pi pixel os pc mac" width="1200" height="675" class="mb2 lazy lazymobile alignnone wp-image-13396 size-full" data-selected="false"></span></a></span></span></span></span><br></span></div></div></div></div></div><div class="p402_premium visible-image cf5 cb2"><div class="p402_hide visible-image"><article id="post-13389" class="mt1 lazynormal visible-image"><div class="entry-content visible-image"><div class="mb3 imTAJustify entry-text visible-image cf2"><p class="mb2"><span class="fs12">Avec son mini PC Raspberry Pi, la fondation a prouvé que l’on pouvait débuter en informatique, <span class="cf3">coder et concevoir des projets dingues pour pas cher</span>. Aujourd’hui, on reparle de l’OS Pixel qui a été lancé en septembre dernier pour les machines de la marque, qu’il est aujourd’hui possible de télécharger gratuitement et de faire tourner sur votre PC ou Mac via un DVD ou <span class="cf3">en boutant le système depuis une clé USB</span>.</span></p><p class="mb2"><span class="fs12">Pixel est un OS très peu gourmand en ressource. Seulement 512 MB de RAM sont nécessaires pour le faire tourner, ce qui le rend accessible à de très nombreuses machines, même anciennes. Quelques bugs persistent encore et l’OS Pixel de Raspberry ne fonctionne pas encore sur toutes les machines, mais la fondation assure travailler sur la question et proposera régulièrement des mises à jour.</span></p><p class="mb2"><span class="fs12"><span class="cf3">Après avoir lancé un starter kit Raspberry Pi pour les débutants</span><span class="">, l’ouverture de Pixel est un moyen de populariser le système d’exploitation et ainsi avoir plus de retour sur ce dernier, et l’améliorer plus rapidement. Dans la mesure où il n’est pas nécessaire de l’installer sur votre disque dur, vous pouvez simplement le lancer en parallèle depuis une clé USB et utiliser, ou non, le mode persistant qui sauvegardera vos fichiers et données chaque session.</span></span></p><p class="mb2"><span class="fs12">Toujours dans une démarche éducative, c’est un formidable moyen pour les étudiants d’avoir un OS à portée de main pour pouvoir apprendre à coder n’importe où. À l’école comme à la maison, une simple clé USB avec un OS léger, rapide et comprenant quelques logiciels pratiques comme cela est le cas de certaines distributions Linux. On pense par exemple à Debian sur lequel Pixel est basé. Vous pouvez l’essayer dès maintenant.</span></p><p class="mb2 imTACenter"><span class="cf1"><span class="fs12 cf3"><a href="http://www.raspberrypi.org/blog/pixel-pc-mac/" target="_blank" class="imCssLink">Télécharger l’OS Pixel de Raspeberry Pi depuis cette page</a></span></span></p><p class="mb2"><span class="fs12 cf3"><a href="http://static.papergeek.fr/2016/12/raspberry-pi-pixel-os-vieux-pc.jpg" rel="lightbox" data-effect="mfp-3d-unfold" title="Raspberry Pi lance Pixel, l'OS parfait pour votre vieux PC ou Mac"></a></span></p><div class="imTACenter image_social_box visible-image"><span class="cf3"><span><span><span><a href="http://static.papergeek.fr/2016/12/raspberry-pi-pixel-os-vieux-pc.jpg" rel="lightbox" data-effect="mfp-3d-unfold" title="Raspberry Pi lance Pixel, l'OS parfait pour votre vieux PC ou Mac" class="visible-image"><span class="imTAJustify visible-image fs12 cf2"><img src="http://static.papergeek.fr/2016/12/raspberry-pi-pixel-os-vieux-pc.jpg" data-original="http://static.papergeek.fr/2016/12/raspberry-pi-pixel-os-vieux-pc.jpg" data-mobile="http://static.papergeek.fr/2016/12/raspberry-pi-pixel-os-vieux-pc.jpg" alt="raspberry pi pixel os vieux pc" width="1200" height="900" class="mb2 lazy lazymobile alignnone wp-image-13398 size-full" data-selected="false"></span></a></span></span></span></span></div><p class="mb2"><span class="fs12 cf3"><a href="http://static.papergeek.fr/2016/12/raspberry-pi-pixel-os.jpg" rel="lightbox" data-effect="mfp-3d-unfold" title="Raspberry Pi lance Pixel, l'OS parfait pour votre vieux PC ou Mac"></a></span></p><div class="imTACenter image_social_box visible-image"><span class="cf3"><span><span><span><a href="http://static.papergeek.fr/2016/12/raspberry-pi-pixel-os.jpg" rel="lightbox" data-effect="mfp-3d-unfold" title="Raspberry Pi lance Pixel, l'OS parfait pour votre vieux PC ou Mac" class="visible-image"><span class="imTAJustify visible-image fs12 cf2"><img src="http://static.papergeek.fr/2016/12/raspberry-pi-pixel-os.jpg" data-original="http://static.papergeek.fr/2016/12/raspberry-pi-pixel-os.jpg" data-mobile="http://static.papergeek.fr/2016/12/raspberry-pi-pixel-os.jpg" alt="raspberry pi pixel os" width="1025" height="769" class="mb2 lazy lazymobile alignnone wp-image-13397 size-full" data-selected="false"></span></a></span></span></span></span></div></div><div class="imTAJustify entry-meta-rating cf2"></div><div class="row post-infos"><div class="col-sm-6 post-categories"><div class="post-info-titre"><br></div><div><br></div></div><div class="imTARight post-tags &nbsp;ff1"></div></div><div class="single-pagination ff1"></div></div></article></div></div></div>]]></description>
			<pubDate>Fri, 23 Dec 2016 14:24:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?raspberry-pi-lance-pixel,-l-os-parfait-pour-votre-vieux-pc-ou-mac</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/h6e1w34o</guid>
		</item>
		<item>
			<title><![CDATA[Installer Putty sur Mac ]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_b80155q5"><h2 class="post-title cf1 cb1"><span class="fs16">Installer Putty sur Mac (et exporter ses paramètres sur Linux, Mac et Windows)</span></h2><div class="imTAJustify post-content cf1 cb1"><p class="mb1 imTACenter"><span class="fs16"><img title="1096868275_18a67f8a2d_o" src="http://www.korben.info/wp-content/uploads/2010/03/1096868275_18a67f8a2d_o.jpg" alt="" width="650" height="200" srcset="//korben.info/wp-content/uploads/2010/03/1096868275_18a67f8a2d_o.jpg 650w, //korben.info/wp-content/uploads/2010/03/1096868275_18a67f8a2d_o-192x59.jpg 192w" sizes="(max-width: 650px) 100vw, 650px" class="size-full wp-image-10508 aligncenter" data-selected="false"></span></p><p class="mb1"><span class="fs16"><strong>Putty</strong> est un petit soft pour Linux et <span class="cf2"><a href="https://www.amazon.fr/s/ref=nb_sb_noss_2?__mk_fr_FR=%C3%85M%C3%85%C5%BD%C3%95%C3%91&amp;url=search-alias%3Daps&amp;field-keywords=windows&amp;tag=amazon03abc-21&amp;rh=i%3Aaps%2Ck%3Awindows" rel="nofollow">Windows</a></span> qui permet de gérer les connexions SSH de ses serveurs. Autant dire que c'est devenu mon meilleur ami depuis des années. Mais sur <strong>Mac</strong>, point de Putty... En effet, il n'y en a pas vraiment besoin car nativement via le <strong>terminal d'OSX</strong>, il est possible de sauvegarder ses paramètres de connexion. Pour cela, lancez un terminal, cliquez sur le menu Shell puis "<em>Nouvelle connexion distante</em>" pour ajouter vos paramètres de connexions à vos serveurs chéris.</span></p><p class="mb1 imTACenter"><span class="fs16"><img title="Capture d’écran 2010-03-22 à 15.06.37" src="http://www.korben.info/wp-content/uploads/2010/03/Capture-d%E2%80%99%C3%A9cran-2010-03-22-%C3%A0-15.06.37.png" alt="" width="502" height="502" class="alignnone size-full wp-image-10505" data-selected="false"></span></p><p class="mb1"><span class="fs16">Puis juste pour le fun, et pour facilement passer de l'un à l'autre, je me suis mis en tête d'installer quand même <strong>Putty sous Mac OSX</strong>. Voici donc comment migrer un Putty Linux vers un Putty Mac (ou vice versa). Vous allez voir, c'est assez simple.</span></p><ul class="mb2"><li class="mt1 mb3"><span class="fs16">Tout d'abord, il faut installer <strong>XCode</strong> qui est le SDK OSX réservé aux développeurs. Rien de plus simple, il est en <span class="cf2"><a href="http://idmsa.apple.com/IDMSWebAuth/login?appIdKey=891bd3417a7776362562d2197f89480a8547b108fd934911bcbea0110d07f757&path=%2Fdownload%2F&rv=1" target="_blank" class="imCssLink">libre téléchargement ici</a></span>.</span></li><li class="mt1 mb3"><span class="fs16">Installez ensuite Mac Ports <span class="cf2"><a href="http://www.macports.org/" target="_blank" class="imCssLink">que vous trouverez ici</a></span>. <strong>Mac Ports</strong> est un projet qui a pour but d'adapter sur Mac les grands classiques du logiciel open source tel que .... Putty (vous me suivez... ;-) ) Ils en sont actuellement à plus de 6 000 logiciels portés. Pas mal !</span></li><li class="mt1 mb3"><span class="fs16">Ouvrez ensuite un terminal et entrez la commande suivante : <em>sudo port install putty</em></span></li><li class="mt1 mb3"><span class="fs16">Laissez mouliner <span class="cf2"><a href="http://korben.info/et-hop.html">et hop</a></span>, Putty sera installé sur votre ordinateur.</span></li><li class="mt1 mb3"><span class="fs16">Récupérez ensuite le répertoire (caché) .putty dans votre <em>/home/pseudo </em>(sous Linux - Remplacez user par votre nom d'utilisateur) et placer le à l'identique dans le <em>/Users/pseudo</em> du Mac (et vice versa si vous voulez passer d'OSX à Linux)</span></li><li class="mt1 mb3"><span class="fs16">Et voilà, le tour est joué ! Entrez la commande 'putty' dans un terminal et le logiciel se lancera avec tous vos paramètres.</span></li></ul><p class="mb1"><span class="fs16">De quoi gagner du temps, même si je pense qu'au final, c'est plus pratique de basculer progressivement de Putty vers le gestionnaire SSH natif d'OSX.</span></p><p class="mb1 imTACenter"><span class="fs16 cf2"><span><a href="http://www.korben.info/wp-content/uploads/2010/03/Capture-d%E2%80%99%C3%A9cran-2010-03-22-%C3%A0-15.27.18.png" class="inline-block"><img title="Capture d’écran 2010-03-22 à 15.27.18" src="http://www.korben.info/wp-content/uploads/2010/03/Capture-d%E2%80%99%C3%A9cran-2010-03-22-%C3%A0-15.27.18.png" alt="" width="516" height="540" class="alignnone size-full wp-image-10506" data-selected="false"></a></span></span></p><p class="mb1"><span class="fs16">Petite parenthèse, si vous êtes sous <span class="cf2"><a href="http://korben.info/univers/windows">Windows</a></span>, vous pouvez exporter votre configuration Putty mais tout se passe en base de registre ce qui veut dire que vous ne pourrez faire de migration de Putty à Putty que sous Windows (et pas Windows &lt;-&gt; Mac ou Windows &lt;-&gt; Linux... En tout cas, pas à ma connaissance. Mais si vous avez une astuce à ce sujet, je serai ravi de la connaitre)</span></p><p class="mb1"><span class="fs16">Faites Démarrer / Exécuter et entrez la commande suivante :</span></p><blockquote class="mb2 cb2"><p class="mb1"><span class="fs16">regedit /e putty.reg “HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions”</span></p></blockquote><p class="mb1"><span class="fs16">Récupérez ensuite le fichier putty.reg, placez vous sur le nouveau Windows et importez ce fichier dans la base de registre en double cliquant simplement dessus (ou en faisant "Fichier "-&gt; "Importer" dans regedit). Et vous aurez récupéré votre conf Putty Windows.</span></p><p class="mb1"><br></p><p class="mb1"><span class="fs12">Source : http://korben.info/</span></p></div></div>]]></description>
			<pubDate>Wed, 30 Nov 2016 16:55:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?installer-putty-sur-mac-</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/b80155q5</guid>
		</item>
		<item>
			<title><![CDATA[Installer une caméra de vidéosurveillance grâce à votre Raspberry Pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_ez0h7kl6"><h1 class="title entry-title cf1"><br></h1><h1 class="title entry-title cf1"><span class="imTAJustify fs12 cf2">Dans la série des périphériques, suite à la dongle wifi et la clé Bluetooth, penchons-nous maintenant sur l’installation d’une caméra avec la Raspberry Pi. Notre but ici et de vous proposer un guide pour sa mise en place, avec un budget raisonnable (c’est-à-dire cohérent avec le prix du micro-ordinateur) et avec une retransmission sur smartphone ou PC.</span><br></h1><h2 class="imTAJustify cf1"><span class="fs12">Prérequis matériel</span></h2><ul class="imTAJustify cf2"><li class=""><span class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B003VNKNEQ/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B003VNKNEQ&amp;linkCode=as2&amp;tag=raspberrypi075-21" rel="nofollow" target="_blank">Une carte mémoire SD</a></span></li><li class=""><span class="fs12"><span class="cf3"><a href="http://www.amazon.fr/gp/product/B00MBH6XNS/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00MBH6XNS&amp;linkCode=as2&amp;tag=raspberrypi075-21" rel="nofollow" target="_blank">Une alimentation 5V avec port micro-USB</a></span> (pour la Raspberry Pi 3, prenez plutôt <span class="cf3"><a href="http://www.amazon.fr/gp/product/B01566WOAG/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B01566WOAG&amp;linkCode=as2&amp;tag=raspberrypi075-21" rel="nofollow" target="_blank">cette alimentation</a></span>)</span></li><li class=""><span class="fs12"><span class="cf3"><a href="http://www.amazon.fr/gp/product/B008AS4C3U/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B008AS4C3U&amp;linkCode=as2&amp;tag=raspberrypi075-21" rel="nofollow" target="_blank">Un adaptateur wifi vers USB</a></span> (Si vous avez une Raspberry Pi 3, vous n’en avez pas besoin étant donné que le wifi est déjà intégré)</span></li><li class=""><span class="fs12">Un moniteur (tel que votre télévision)</span></li><li class=""><span class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B014I8SSD0/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B014I8SSD0&amp;linkCode=as2&amp;tag=raspberrypi075-21" rel="nofollow" target="_blank">Un câble HDMI</a></span></li><li class=""><span class="fs12 cf3"><a href="http://amzn.to/29dVUxF" rel="nofollow" target="_blank">Un module de caméra</a></span></li><li class=""><span class="fs12"><span class="cf3"><a href="http://www.amazon.fr/gp/product/B01CCOXV34/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B01CCOXV34&amp;linkCode=as2&amp;tag=raspberrypi075-21" rel="nofollow" target="_blank">Une Rapsberry Pi</a></span> (dans ce tutoriel, nous nous basons sur la version Raspbian Wheezy)</span></li><li class=""><span class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B010180JMO/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B010180JMO&amp;linkCode=as2&amp;tag=raspberrypi075-21" rel="nofollow" target="_blank">Un boitier pour celle-ci</a></span></li></ul><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">La valeur totale de ces appareils et accessoires devrait être d’une centaine d’euros.</span></p><h2 class="imTAJustify cf1"><span class="fs12">Préparation</span></h2><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Si cela n’est pas déjà fait, commencez par l’installation de Raspbian. Pour cela, jetez un œil <span class="cf3"><a href="http://www.raspberry-pi.ovh/raspberry-raspbian-os-system-2019.html" target="_blank" class="imCssLink">sur notre tutoriel</a></span>. Il nous est nécessaire puisqu’il gère la communication entre le matériel physique et les applications. De plus, ce dérivé de Debian est parfait pour ce type d’utilisation : stable et régulièrement mis à jour, sur lequel vous trouverez une multitude d’articles et d’aides sur le web.</span></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Assurez-vous par ailleurs d’avoir bien activé la connexion SSH, dont nous avons détaillé la méthode <span class="cf3"><a href="http://www.raspberry.global/blog/index.php?id=a5bbi1wz" target="_blank" class="imCssLink">dans ce guide</a></span>. Activez en outre le module caméra de la même manière, via le menu <em class="">Raspi Config</em>.</span></p><figure id="attachment_601" class="mt2 mb2 aligncenter cf2"><div class="inset-border fs12"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/raspi_config.png" alt="Ecran Raspi Config" width="750" height="466" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/raspi_config.png 750w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/raspi_config-300x186.png 300w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/raspi_config-400x250.png 400w" sizes="(max-width: 750px) 100vw, 750px" class=" size-full wp-image-601" data-selected="false"></div></figure><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Nous allons, en dernière étape de ce préambule, vérifier que tout est bien à jour :</span></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">sudo apt-get install rpi-update
sudo rpi-update</span></pre><p class="mt1 mb1 imTAJustify cf2"><em class="fs12">Met à jour le firmware.</em></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">sudo apt-get update
sudo apt-get upgrade</span></pre><p class="mt1 mb1 imTAJustify cf2"><em class="fs12">Met à jour les fichiers.</em></p><h2 class="imTAJustify cf1"><span class="fs12">Communication SSH</span></h2><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Nous allons maintenant connecter notre ordinateur hôte au micro-ordinateur. Cela nous permettra de mettre à jour ou paramétrer <span class="cf3"><a href="http://www.amazon.fr/Raspberry-Pi-Module-Cam%C3%A9ra-5MP/dp/B00E1GGE40/ref=as_li_ss_tl?ie=UTF8&qid=1467616839&sr=8-1&keywords=camera+raspberry+pi&linkCode=sl1&tag=raspberrypi075-21&linkId=19d7fbee783a19dfadeff283d3ae1848" target="_blank" class="imCssLink">la caméra</a></span> sur laquelle ce dernier sera connecté, à distance. Vous l’aurez compris : nous n’allons pas dans ce tutoriel simplement installer une caméra, mais un appareil puissant, sur lequel les possibilités seront variées puisqu’il accueille un système d’exploitation de la famille Linux. Que vous soyez sur Mac ou sur Windows, la connexion est relativement simple et <a href="http://www.raspberry.global/blog/index.php?id=a5bbi1wz" class="imCssLink"><span class="cf3">détaillée ici</span>.</a></span></p><figure id="attachment_615" class="mt2 mb2 aligncenter cf2"><div class="inset-border fs12"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/04/SSH-300x143.jpg" alt="Protocole de connexion SSH" width="300" height="143" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/04/SSH-300x143.jpg 300w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/04/SSH.jpg 750w" sizes="(max-width: 300px) 100vw, 300px" class=" wp-image-615 size-medium" data-selected="false"></div></figure><h2 class="imTAJustify cf1"><span class="fs12">Paramétrage du wifi</span></h2><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Si vous n’avez pas encore installé de <span class="cf3"><a href="http://www.amazon.fr/gp/product/B008AS4C3U/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B008AS4C3U&amp;linkCode=as2&amp;tag=raspberrypi075-21" rel="nofollow" target="_blank">dongle wifi</a></span> sur votre <span class="cf3"><a href="http://www.amazon.fr/gp/product/B01CCOXV34/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B01CCOXV34&amp;linkCode=as2&amp;tag=raspberrypi075-21" rel="nofollow" target="_blank">Raspberry Pi</a></span>, nous vous conseillons d’aller jeter un œil <span class="cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">sur cet article</a></span>. En voici un bref résumé : entrez la commande ci-dessous dans votre terminal de commande (PuTTY si vous êtes sous Windows).</span></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">sudo nano /etc/network/interfaces</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Allez à la fin du fichier, puis ajoutez les lignes suivantes (ou modifiez-les si elles existent déjà), en adaptant le SSID et le mot de passe avec vos paramètres :</span></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">allow-hotplug wlan0
iface wlan0
inet dhcp
wpa-ssid "SSID"
wpa-psk "MOT_DE_PASSE"</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Redémarrez pour appliquer les modifications :</span></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">sudo reboot</span></pre><figure id="attachment_501" class="mt2 mb2 aligncenter cf2"><div class="inset-border fs12"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/wifi-300x249.jpg" alt="Wifi" width="300" height="249" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/wifi-300x250.jpg 300w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/wifi.jpg 750w" sizes="(max-width: 300px) 100vw, 300px" class=" wp-image-501 size-medium" data-selected="false"></div></figure><h2 class="imTAJustify cf1"><span class="fs12">Assemblage de la caméra</span></h2><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Passons maintenant à l’assemblage matériel de la caméra. Nous ne pouvons vous guider ici précisément puisque les instructions dépendent du boitier que vous avez choisi.</span></p><figure id="attachment_659" class="mt2 mb2 aligncenter cf2"><div class="inset-border fs12"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/RPi-Camera.jpg" alt="Rasberry Pi avec caméra branchée" width="750" height="563" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/RPi-Camera.jpg 750w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/RPi-Camera-300x225.jpg 300w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/RPi-Camera-80x60.jpg 80w" sizes="(max-width: 750px) 100vw, 750px" class=" wp-image-659 size-full" data-selected="false"></div></figure><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Nous pouvons cependant vous conseiller de trouver un moyen de fixer la <span class="cf3"><a href="http://www.amazon.fr/gp/product/B01CCOXV34/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B01CCOXV34&amp;linkCode=as2&amp;tag=raspberrypi075-21" rel="nofollow" target="_blank">Raspberry Pi</a></span>, pour éviter qu’elle ne se balade ; et de vous assurer qu’aucun métal ne touche un circuit imprimé. Vous pouvez aussi choisir de couvrir ou non la LED de la caméra par un papier noir, pour rendre &nbsp;le dispositif plus discret. Celle-ci indique la détection d’un mouvement ou le commencement d’un enregistrement, ce qui peut avoir un effet dissuasif, selon l’utilisation que vous en faites. Cette ligne de commande vous permet de la désactiver :</span></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">disable_camera_led=1</span></pre><p class="mt1 mb1 imTAJustify cf2"><em class="fs12">Changez-le « <strong class="">1</strong> » en « <strong class="">0</strong> » si vous souhaitez la réactiver par la suite.</em></p><p class="mt1 mb1 cf2"><span class="fs12"><br><ins data-ad-client="ca-pub-9402832712987716" data-ad-slot="5910827582" data-adsbygoogle-status="done" class="adsbygoogle"><ins id="aswift_0_expand" class=""><ins id="aswift_0_anchor" class=""><iframe width="728" height="90" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" id="aswift_0" name="aswift_0" class=""></iframe></ins></ins></ins><br></span></p><h2 class="imTAJustify cf1"><span class="fs12">Mise en place de la détection de mouvement</span></h2><figure id="attachment_660" class="mt2 mb2 aligncenter cf2"><div class="inset-border fs12"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/3D_IPS_Motion_Detection.png" alt="Détection de mouvement" width="750" height="417" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/3D_IPS_Motion_Detection.png 750w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/3D_IPS_Motion_Detection-300x167.png 300w" sizes="(max-width: 750px) 100vw, 750px" class=" wp-image-660 size-full" data-selected="false"></div></figure><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Nous allons ici nous aider du logiciel <em class="">motion</em>, qui va vous permettre de personnaliser la surveillance et la détection de mouvement grâce à ses nombreux paramètres. De plus, il s’agit d’un logiciel open-source gratuit, ce qui va vous permettre d’y greffer les fonctionnalités que vous souhaitez. Pour l’installer :</span></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">sudo apt-get install motion</span></pre><p class="mt1 mb1 imTAJustify cf2"><em class="fs12">Assurez-vous d’avoir les pleins pouvoir en effectuant ces opérations via l’utilisateur « pi ».</em></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Patientez pendant l’installation des paquets, et validez par « <em class="">y</em> ». Cette version n’a pas encore été bien adaptée pour notre Raspberry Pi. Nous allons y ajouter un programme pour que cela fonctionne de manière plus stable :</span></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">cd /tmp
sudo apt-get install -y libjpeg62 libjpeg62-dev libavformat53 libavformat-dev libavcodec53 libavcodec-dev libavutil51 libavutil-dev libc6-dev zlib1g-dev libmysqlclient18 libmysqlclient-dev libpq5 libpq-dev
wget https://www.dropbox.com/s/xdfcxm5hu71s97d/motion-mmal.tar.gz</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Décompressons le dossier :</span></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">tar zxvf motion-mmal.tar.gz</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Puis, mettons à jour le logiciel <em class="">motion</em> pour qu’il communique bien avec l’addon que nous venons de télécharger :</span></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">sudo mv motion /usr/bin/motion
sudo mv motion-mmalcam.conf /etc/motion.conf</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Mettons maintenant à jour les programmes qui agissent en arrière-plan de <em class="">motion</em>, appelés <em class="">daemons</em> :</span></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">sudo nano /etc/default/motion</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Modifions-en la ligne suivante :</span></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">start_motion_daemon=yes</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Notez par ailleurs la commande suivante pour accéder et adapter le fichier de configuration de <em class="">motion</em> :</span></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">sudo nano /etc/motion.conf</span></pre><p class="mt1 mb1 imTAJustify cf2"><em class="fs12">(La version spéciale de motion-mmal voit son fichier de configuration se trouver sur /etc/ et non /etc/motion/).</em></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Assurons-nous de bien de donner les privilèges nécessaires à l’utilisateur « <em class="">motion</em> » lorsque l’on installe le programme du même nom en SSH, via l’utilisateur « <em class="">pi</em> » connecté. Nous allons utiliser ces privilèges pour exécuter « <em class="">motion</em> » au démarrage :</span></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">sudo chmod 664 /etc/motion.conf
sudo chmod 755 /usr/bin/motion
sudo touch /tmp/motion.log
sudo chmod 775 /tmp/motion.log</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Nous allons maintenant utiliser une version modifiée de <em class="">motion.conf</em>, plus adaptée à nos besoins, que vous pouvez <span class="cf3"><a href="http://www.codeproject.com/KB/system/665518/raspberry_surveillance_cam_scavix.zip" target="_blank">trouver ici</a></span>. Téléchargez-la puis décompressez-la sous : <em class="">/etc/motion.conf</em>. Voici les principales modifications apportées :</span></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">daemon on</span></pre><p class="mt1 mb1 imTAJustify cf2"><em class="fs12">Exécute motion, de manière systématique, en arrière-plan.</em></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">logfile /tmp/motion.log</span></pre><p class="mt1 mb1 imTAJustify cf2"><em class="fs12">Enregistre le journal dans le dossier « /tmp » &nbsp;pour que l’utilisateur puisse y accéder, à l’inverse de « /home/pi ».</em></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">width 1280
height 720</span></pre><p class="mt1 mb1 imTAJustify cf2"><em class="fs12">Résolution de la vidéosurveillance fixée à 1280 x 720 pixels.</em></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">framerate 2</span></pre><p class="mt1 mb1 imTAJustify cf2"><em class="fs12">Cadence d’enregistrement : 2 image/seconde. Le flux vidéo continu consommerait inutilement beaucoup de mémoire.</em></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">pre_capture 2
post_capture 2</span></pre><p class="mt1 mb1 imTAJustify cf2"><em class="fs12">Option pour enregistrer des images avant et après qu’un mouvement ait été surpris par la caméra.</em></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">max_mpeg_time 600</span></pre><p class="mt1 mb1 imTAJustify cf2"><em class="fs12">Limite la séquence vidéo à 10 minutes : le chiffre étant renseigné en secondes (60 secondes X 10 minutes). Notez que si vous utilisez la version « motion » et non « motion-mmal », vous pourriez obtenir l’erreur suivante :</em></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">Unknown config option &nbsp;« max_mpeg_time »</span></pre><p class="mt1 mb1 imTAJustify cf2"><em class="fs12">Remplacez alors « max_mpeg_time » par « max_movie_time ».</em></p><p class="mt1 mb1 imTAJustify cf2"><em class="fs12">Le rendu vidéo peut être impossible à lire par certains lecteurs, tels que VLC. Le code-ci-dessous permet d’y remédier en le convertissant en MPEG-4 :</em></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">ffmpeg_video_codec msmpeg4</span></pre><p class="mt1 mb1 imTAJustify cf2"><em class="fs12">Rendons maintenant possible l’accès au flux vidéo direct autre qu’en « localhost » :</em></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">stream_localhost off</span></pre><p class="mt1 mb1 imTAJustify cf2"><em class="fs12">Vous pouvez par ailleurs protéger l’accès à ce flux avec un login et un mot de passe. Adaptez-les en conséquence dans les commandes ci-dessous :</em></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">stream_auth_method 2
stream_authentication LOGIN:MOT_DE_PASSE</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Retrouvez toutes ces options et bien plus encore <a href="http://www.lavrsen.dk/foswiki/bin/view/Motion/ConfigFileOptions" target="_blank" class="imCssLink"><span class="cf3">dans la documentation en ligne de</span><span class="cf3"> </span><em class="cf3 cb1">motion</em></a>.</span></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Redémarrons maintenant la Rapsberry Pi pour que les modifications soient prises en compte :</span></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">sudo reboot</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">La LED indiquant l’enregistrement ou la détection de mouvement de votre caméra par <em class="">motion</em> devrait être allumée.</span></p><h2 class="imTAJustify cf1"><span class="fs12">Enregistrer les vidéos de la caméra sur un serveur Windows</span></h2><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Les vidéos peuvent prendre pas mal de place et la carte SD de la Raspberry Pi a ses limites. Nous vous proposons donc ici de les enregistrer sur un serveur Windows. Commencez par <span class="cf3"><a href="http://windows.microsoft.com/fr-fr/windows/share-files-with-someone" target="_blank">partager un dossier</a></span>. Ouvrez ensuite <em class="">fstab</em> avec PuTTY ou entrez directement ceci sur le terminal de commande de la Raspberry Pi :</span></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">sudo nano /etc/fstab</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Nous devons y faire prendre en compte le partage Windows :</span></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">//NOM_DU_SERVEUR/NOM_DU_PARTAGE /mnt/camshare cifs username=NOM_D_UTILISATEUR_POUR_LE_PARTAGE,password=MOT_DE_PASSE_POUR_LE_PARTAGE,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Vérifiez que l’utilisateur dispose des privilèges nécessaires en lecture, écriture et modification pour ce dossier partagé. Redémarrez votre mini-ordinateur, vous &nbsp;devriez y voir un nouveau dossier « <em class="">/mnt/camshare</em> ». Pour que <em class="">motion</em> y enregistre toutes les vidéos, ajoutez ceci dans le fichier <em class="">motion.conf</em> :</span></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">target_dir /mnt/camshare</span></pre><h2 class="imTAJustify cf1"><span class="fs12">Lancement automatique de <em class="">motion</em> au démarrage</span></h2><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Si vous avez suivi nos instructions jusqu’ici, vous pourriez avoir des problèmes dans le lancement automatique de <em class="">motion</em> après un redémarrage du micro-ordinateur. Cela vient du fait que le dossier partagé n’est pas correctement paramétré au moment où le programme tente d’y accéder. Éditons donc le fichier de configuration :</span></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">sudo nano /etc/init.d/motion</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Pour y ajouter :</span></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">sleep 30</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Vous trouverez <span class="cf3"><a href="http://www.codeproject.com/KB/system/665518/raspberry_surveillance_cam_scavix.zip" target="_blank">le fichier tout fait, avec les bons paramètres ici</a></span>yyyyyyyyyyyyyyyyyyyyyyyyyy.</span></p><p class="mt1 mb1 cf2"><span class="fs12"><br><ins data-ad-client="ca-pub-9402832712987716" data-ad-slot="5910827582" data-adsbygoogle-status="done" class="adsbygoogle"><ins id="aswift_1_expand" class=""><ins id="aswift_1_anchor" class=""><iframe width="728" height="90" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" id="aswift_1" name="aswift_1" class=""></iframe></ins></ins></ins><br></span></p><h2 class="imTAJustify cf1"><span class="fs12">Mise en place de la caméra</span></h2><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Il est maintenant temps d’installer la caméra à l’endroit souhaité ! Gardez deux choses à l’esprit avant de l’y fixer :</span></p><ul class="imTAJustify cf2"><li class=""><span class="fs12">Mettez-la dans un endroit sec, à l’abris de la pluie et de l’humidité ;</span></li><li class=""><span class="fs12">Placez-la à portée du signal wifi de votre routeur.</span></li></ul><figure id="attachment_661" class="mt2 mb2 aligncenter cf2"><div class="inset-border fs12"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/Security-Camera-System-Installation.jpg" alt="Mise en place de la caméra" width="750" height="422" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/Security-Camera-System-Installation.jpg 750w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/Security-Camera-System-Installation-300x169.jpg 300w" sizes="(max-width: 750px) 100vw, 750px" class=" size-full wp-image-661" data-selected="false"></div></figure><h2 class="imTAJustify cf1"><span class="fs12">Accéder en direct au flux vidéo</span></h2><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Il vous est désormais possible de lire le flux vidéo en direct de votre caméra depuis n’importe quel navigateur internet. Pour cela, entrez l’URL suivante :</span></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">http://ADRESSE_IP_DE_LA_RASPBERRY_PI:8080</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Le nombre <em class="">8080</em> en fin d’URL correspond au port de communication paramétré par le fichier <em class="">motion.conf</em>. Il vous est possible de le modifier en y changeant « stream_port ».</span></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Sachez cependant que le navigateur Google Chrome n’est pas capable de lire directement les données du flux vidéo. Pour y remédier, créez un fichier HTML avec une grande image incluant l’adresse de la caméra.</span></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Sur les autres navigateurs et VLC, vous ne devriez pas rencontrer de problème, sauf Internet Explorer. Une solution existe, elle est détaillée <span class="cf3"><a href="http://www.lavrsen.dk/foswiki/bin/view/Motion/WebcamServer" target="_blank" class="imCssLink">juste ici</a></span>.</span></p><h2 class="imTAJustify cf1"><span class="fs12">Accéder de n’importe où au flux vidéo</span></h2><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Enfin, sachez qu’il vous est aussi possible d’accéder à la caméra de n’importe quel endroit. La principale difficulté ici est que certains fournisseurs d’accès à internet renouvellent votre adresse IP à intervalle régulier. Il vous faut donc activer ce que l’on appelle un service de nom de domaine dynamique, de manière à toujours accéder à l’adresse IP locale de votre <span class="cf3"><a href="http://www.amazon.fr/gp/product/B01CCOXV34/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B01CCOXV34&amp;linkCode=as2&amp;tag=raspberrypi075-21" rel="nofollow" target="_blank">Raspberry Pi</a></span>, de n’importe où. Pour cela, nous vous invitons à vous rendre sur <span class="cf3"><a href="http://dyn.com/" target="_blank">dyn.com</a></span>, qui propose divers services gratuits sur divers routeurs. Une fois paramétré, vous accéderez aux flux vidéo via cette URL, depuis votre PC, votre tablette ou même de votre smartphone :</span></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">http://mondomaine.com:8080</span></p><figure id="attachment_662" class="mt2 mb2 aligncenter cf2"><div class="inset-border fs12"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/iphone-video-security-app.jpg" alt="Surveillance vidéo sur smartphone" width="750" height="742" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/iphone-video-security-app.jpg 750w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/iphone-video-security-app-300x297.jpg 300w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/iphone-video-security-app-125x125.jpg 125w" sizes="(max-width: 750px) 100vw, 750px" class=" wp-image-662 size-full" data-selected="false"></div></figure><h2 class="imTAJustify cf1"><span class="fs12">Pour aller plus loin</span></h2><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Ce tutoriel peut vous servir de base pour installer une caméra de surveillance, mais ne s’y limite pas. En effet, une fois mise en place, nombreuses sont les possibilités qui s’offrent à vous. Vous pouvez par exemple <span class="cf3"><a href="http://medium.com/@Cvrsor/how-to-make-a-diy-home-alarm-system-with-a-raspberry-pi-and-a-webcam-2d5a2d61da3d#.cxbbd9ete" target="_blank" class="imCssLink">utiliser ceci</a></span> pour <span class="cf3"><a href="http://growl.info/" target="_blank" class="imCssLink">recevoir des notifications</a></span> sur votre mobile lorsque votre caméra détecte un mouvement. Aussi, un capteur supplémentaire vous renseignerait sur les conditions météorologiques extérieures.</span></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Vous avez peut-être de votre côté réussi à mettre en place votre propre caméra. Dites-nous comment vous l’utilisez, le matériel choisi ou encore ce que vous y avez ajouté comme fonctionnalité supplémentaire.</span></p><p class="mt1 mb1 imTAJustify cf2"><br></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Source : </span><span class="imTALeft fs12 cf4 cb1">raspberrypi-france.fr</span></p></div>]]></description>
			<pubDate>Sat, 29 Oct 2016 15:10:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?installer-une-camera-de-videosurveillance-grace-a-votre-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/ez0h7kl6</guid>
		</item>
		<item>
			<title><![CDATA[Utiliser sa Raspberry Pi comme tuner TNT]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_z71u9qa0"><h1 class="title entry-title cf1"><span class="fs16"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)"><br></a></span></h1><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Faire de sa Raspberry Pi un média center est abordable en terme de coût, mais n’est pas simple dans son installation. Ce tutoriel vous en détaille donc les étapes, afin de transformer votre nano-ordinateur en véritable tuner TNT.</span></p><h2 class="imTAJustify cf1"><span class="fs16">Matériel nécessaire à la transformation de votre Raspberry Pi en tuner TNT</span></h2><ul class="imTAJustify cf2"><li class=""><span class="fs16 cf3">Carte micro SD</span></li><li class=""><span class="fs16 cf3">Alimentation micro USB</span></li><li class=""><span class="fs16 cf3">Câble HDMI</span></li><li class=""><span class="fs16 cf3">Raspberry Pi</span></li><li class=""><span class="fs16 cf3">Tuner TNT</span></li></ul><h2 class="imTAJustify cf1"><span class="fs16">Choisir sa source de chaînes de télévision</span></h2><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Nous allons maintenant devoir trouver où aller chercher nos chaînes de télévision. Pour cela, deux propositions s’offrent à nous :</span></p><ol class="imTAJustify cf2"><li class=""><span class="fs16">Depuis un tuner TNT, avec assez de bande passante pour notre Raspberry Pi</span></li><li class=""><span class="fs16">Ou depuis une playlist, comme celle du routeur Freebox V6 Revolution</span></li></ol><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">La première option est plus générale, mais n’est paradoxalement pas plus simple. Trouver <span class="cf3">un tuner TNT</span> dont le driver est compatible avec la Raspberry Pi est un véritable casse-tête. En effet, un coup d’oeil sur les <span class="cf3">périphériques officiellement compatibles</span> vous fera prendre conscience du choix restreint qui se présente : certains ne sont plus disponibles à la vente ; d’autres ne sont même pas réellement compatibles alors qu’inscrits dans la liste.</span></p><h3 class="imTAJustify cf1"><span class="fs16">Choisir son tuner TNT avec lequel faire fonctionner sa Raspberry Pi</span></h3><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Rendez-vous tout d’abord sur <span class="cf3"><a href="http://www.linuxtv.org/wiki/index.php/DVB-T_USB_Devices#DVB-T_USB_Devices" target="_blank" class="imCssLink">ce site</a></span>, et faites un premier tri par la colonne « <em class="">supported</em>« , afin de voir clairement les options s’offrent à nous. Dans un souci de simplicité, oubliez les cartes qui disposent de double-tuners, celles-ci requièrent beaucoup d’électricité. Cela nous obligerait à nous munir en plus <span class="cf3">d’un hub alimenté</span>. Nous avons sélectionné 3 modèles qui correspondent le mieux à nos critères et seront compatibles avec Linux :</span></p><ul class="imTAJustify cf2"><li class=""><span class="fs16 cf3">Elgato EyeTV DTT Deluxe</span></li><li class=""><span class="fs16">Avermedia A815U Tuner USB</span></li><li class=""><span class="fs16">Terratec Cinergy Hybrid Stick</span></li></ul><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Nous allons dans la suite de ce tutoriel nous baser sur le premier modèle. Celui-ci a l’avantage d’être compact et livré avec plusieurs accessoires intéressants, comprenant cordons et connecteurs. De plus, de <span class="cf3">nombreux sites</span> témoignent de sa stabilité sur Linux.</span></p><figure id="attachment_417" class="mt2 mb2 aligncenter cf2"><span class="fs16 cf3"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/Elgato_1-300x300.jpg" alt="Elgato EyeTV DTT Deluxe - coffret" width="300" height="300" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/Elgato_1-300x300.jpg 300w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/Elgato_1-150x150.jpg 150w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/Elgato_1-768x768.jpg 768w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/Elgato_1-1024x1024.jpg 1024w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/Elgato_1-125x125.jpg 125w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/02/Elgato_1.jpg 1500w" sizes="(max-width: 300px) 100vw, 300px" class=" wp-image-417 size-medium" data-selected="false"></span><div class="zoom-hover-overlay">Raspberry Pi en tuner TNT<div class="zoom-hover-title-container"><i class="icon-plus-circled zoom-hover-title cf4"></i></div></div></figure><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Le problème de la Raspberry Pi, c’est son instabilité chronique avec différents périphériques USB : le pilote génère souvent des erreurs que l’on ne retrouve pas avec d’autres appareils. Il nous faut donc choisir avec précaution un logiciel stable et adapté à notre nano-ordinateur.</span></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Nous apprécions particulièrement le projet open source Kodi (ex XBMC), sur lequel 3 dérivés existent, à savoir : Raspbmc, Xbian et OpenElec. Le problème d’OpenElec est qu’il cache l’accès au système d’exploitation Linux, ce qui le rend assez incompatible avec l’utilisation d’une Raspberry Pi. Xbian, qui utilise la distribution Raspbian commune à notre Raspberry Pi, n’a quant à lui pas reconnu notre clavier sans fil pendant nos tests. Raspbmc, fonctionnant tout comme Xbian sous Raspbian, se veut plus stable de par la fréquence de ses mises à jour.</span></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Nous donc détaillerons donc ici les étapes à suivre pour l’installation du micrologiciel qui nous semble le meilleur, c’est-à-dire Raspbmc. Sachez cependant que de nombreux autres tutoriels existent sur internet pour les autres micro-logiciels.</span></p><h2 class="imTAJustify cf1"><span class="fs16">Installation de Raspbmc</span></h2><ol class="imTAJustify cf2"><li class=""><span class="fs16">Depuis l’écran d’accueil, survolez « <em class="">Programme</em> » et sélectionnez « <em class="">Raspbmc Setting</em> ».</span></li><li class=""><span class="fs16">Dans « <em class="">Network configuration</em> » qui est le premier onglet, retrouvez l’adresse IP de votre Raspberry Pi.</span></li><li class=""><span class="fs16">Sélectionnez ensuite « <em class="">System Configuration</em> », puis naviguez vers la fin de la liste pour trouver « <em class="">TVHeadEnd Server</em>« . Activez-le, notez le numéro de port indiqué, et validez par « <em class="">Ok</em>« .</span></li><li class=""><span class="fs16">Ouvrez un navigateur web, et renseignez l’adresse IP de votre Raspberry Pi, suivie du numéro de port relevé dans le point 3 précédant.</span></li><li class=""><span class="fs16">Une interface devrait alors apparaître, avec dans « <em class="">Configuration</em>« , « <em class="">DVB Inputs</em> » puis « <em class="">Select TV adapter</em>« , le périphérique USB que vous avez branché.</span></li></ol><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Il peut arriver que celui-ci ne s’affiche pourtant pas. Dans ce cas, suivez les étapes ci-dessous :</span></p><ol class="imTAJustify cf2"><li class=""><span class="fs16">Branchez votre clavier USB sur votre Raspberry Pi.</span></li><li class=""><span class="fs16">Utilisez les flèches pour atteindre le bouton d’extinction de l’interface, et sélectionnez « <em class="">Sortir</em>« .</span></li><li class=""><span class="fs16">Appuyez sur <strong class="">Echap</strong> jusqu’à atteindre un écran noir.</span></li><li class=""><span class="fs16">Entrez l’utilisateur « <strong class="">pi</strong> » dans le champs « <em class="">Login:</em> « , validez, puis entrez « <strong class="">raspberry</strong> » dans le champs « <em class="">Password:</em> « . Notez que le texte ne s’affichera pas pendant que vous le tapez, et que votre clavier peut être configuré en anglais (le A d’un clavier Azerty donnera alors un Q en Qwerty).</span></li><li class=""><span class="fs16">Entrez enfin les lignes suivantes dans votre terminal de commandes :</span></li></ol><pre class="mt2 mb2 cf2"><span class="fs16 ff1">sudo apt-get install bash-completion firmware-linux* sudo reboot</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs16">Votre Raspberry Pi redémarrera, et l’interface apparaîtra de nouveau. Votre tuner TNT devrait maintenant être reconnu. Le décodage du flux vidéo digital DVB-T peut se faire de 2 manières : soit avec une licence appelée MPEG-2 valant 2€ sur le <span class="cf3">site officiel du projet Raspberry Pi</span> ; soit gratuitement concernant les chaînes en haute définition en H.264, ou MPEG-4 AVC. Il est possible d’aller encore plus loin avec votre Raspberry, en ajoutant par exemplaire un émulateur de jeux ou un serveur Torrent.</span></p><p class="mt1 imTAJustify cf2"><span class="fs16">Le champs des possibilités est vaste, faites-nous donc savoir en commentaires ce que vous avez réussi à mettre en place.</span></p><p class="mt1 imTAJustify cf2"><br></p><p class="mt1 imTAJustify cf2"><span class="fs11"><span class="">Source : </span><span class="imTALeft cf5 cb1">http://www.raspberrypi-france.fr/</span></span></p></div>]]></description>
			<pubDate>Fri, 23 Sep 2016 21:40:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?utiliser-sa-raspberry-pi-comme-tuner-tnt</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/z71u9qa0</guid>
		</item>
		<item>
			<title><![CDATA[Tutoriel : Comment se connecter au Wi-Fi avec un Raspberry Pi 3 ?]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_ju20qwu8"><h1 class="title entry-title cf1"><br></h1><h1 class="title entry-title cf1"><span class="fs16 cf2">Une des améliorations apportées par</span><span class="fs16 cf2"> </span><span class="fs16 cf2">le </span><b class="fs16 cf3 cb1"><span class="cf2">Raspberry pi 3</span></b><span class="fs16 cf2 cb1"> </span><span class="fs16 cf2">est l’intégration du Wi-FI. Il vous est désormais possible de vous passer du traditionnel dongle ou d’un capteur et utiliser directement le Wi-Fi intégré. Voici les étapes à suivre pour activer la puce Wifi pour profiter du réseau et contrôler tout genre de périphérique. D’abord, commencez par vérifier l’état de votre Raspbian pour savoir s’il est à jour. Si nécessaire, effectuez la mise à jour du système d’exploitation de votre Raspberry Pi avant de procéder à tout ce qui va suivre.</span></h1><h2 class="cf1"><span class="fs16">Configuration de la version bureau</span></h2><p class="mt1 mb1 cf2"><span class="fs16">Commencez par débrancher tous les réseaux filaires. Il faudra ensuite identifier l’icône réseau. Ouvrez-le en cliquant dessus. Une liste de box va se dérouler et vous devez trouver le vôtre. Si à l’ouverture du box il vous demande un MDP ou une clé, entrez-la et appuyez sur OK pour continuer. Attendez le temps que votre box se connecte. Lorsque l’icône vire au bleu, cela veut dire que la connexion est faite. Vous pourrez vérifier l’état et la puissance de la connexion.</span></p><h2 class="cf1"><span class="fs16">Configuration avec la ligne de commande</span></h2><p class="mt1 mb1 cf2"><span class="fs16">Si vous n’utilisez pas la version bureau mais la version Lite, vous devez configurer la Wifi en passant par la ligne de commande. Il faudra d’abord éditer le fichier wpa_supplicant.conf. Il faut ensuite donner les informations concernant votre box. Configurez le nom de votre box et insérez le mot de passe. Au final, vous devez avoir quelque chose du genre</span></p><pre class="mt2 mb2 cf2"><span class="fs16 ff1">network={ ssid=”&lt;nomDeLaBox&gt;” psk=”&lt;cléDeSécurité&gt;” key_mgmt=WPA-PSK }</span></pre><p class="mt1 mb1 cf2"><span class="fs16">Fermez ensuite la fenêtre après avoir enregistrer les modifications. CLTR +O pour enregistrer, CLTR+X pour fermer la boite de dialogue. Voilà, votre Wifi est maintenant configuré sur <b><span>votre Raspberry pi 3</span></b> avec succès. Pour vérifier son état, vous pouvez utiliser la commande « ifconfig wlan0 ».</span></p></div>]]></description>
			<pubDate>Mon, 15 Aug 2016 16:02:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?tutoriel---comment-se-connecter-au-wi-fi-avec-un-raspberry-pi-3--</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/ju20qwu8</guid>
		</item>
		<item>
			<title><![CDATA[Récupérez 1 GB d’espace sur votre Raspberry Pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_uihl1vt9"><h2 class="post-title cf1 cb1"><span class="fs12">Récupérez 1 GB d’espace sur votre Raspberry Pi</span></h2><div class="post-thumbnail cf1 cb1"><p class="mb1 ribbon"><b><span class="fs12 cf2"><a href="http://tech.korben.info/t/recuperez-1-gb-despace-sur-votre/3405">1</a></span></b></p><p class="mb1 image"><span class="fs12"><img width="650" height="200" src="http://korben.info/wp-content/uploads/2016/05/raspbian.png_lightbox-650x200.png" alt="" srcset="//korben.info/wp-content/uploads/2016/05/raspbian.png_lightbox.png 650w, //korben.info/wp-content/uploads/2016/05/raspbian.png_lightbox-475x146.png 475w, //korben.info/wp-content/uploads/2016/05/raspbian.png_lightbox-400x123.png 400w" sizes="(max-width: 650px) 100vw, 650px" class="attachment-650x200 size-650x200 wp-post-image" data-selected="false"></span></p></div><div class="imTAJustify post-content cf1 cb1"><p class="mb1"><span class="fs12">Si vous utilisez <strong>Rapsbian</strong> sur votre<strong> Raspberry Pi</strong>, vous ne le savez peut être pas, mais il est possible de libérer 1 GB d'espace sur la micro carte SD assez facilement.</span></p><p class="mb1"><span class="fs12">En effet, LibreOffice, Wolfram, Minecraft et Sonic qui sont présents par défaut dans l'OS bouffent un max de place.</span></p><p class="mb1"><span class="fs12">Il faut purger et désinstaller les applications comme ceci :</span></p><blockquote class="mb2 cb2"><p class="mb1"><span class="fs12">sudo apt-get autoremove --purge wolfram-engine minecraft-pi sonic-pi libreoffice*</span></p></blockquote><p class="mb1"><span class="fs12">Terminez ensuite avec un petit :</span></p><blockquote class="mb2 cb2"><p class="mb1"><span class="fs12">sudo apt-get clean</span></p></blockquote><p class="mb1"><span class="fs12">Notez aussi qu'il existe une version allégée de Raspbian que vous pourrez <a href="https://minibianpi.wordpress.com/" target="_blank" class="imCssLink"><span class="cf3">trouver ici</span> </a>ou celle-ci qui s'appelle <span class="cf3"><a href="https://minibianpi.wordpress.com/" target="_blank" class="imCssLink">Minibian</a></span>.</span></p></div></div>]]></description>
			<pubDate>Wed, 13 Jul 2016 18:56:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?recuperez-1-gb-d-espace-sur-votre-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/uihl1vt9</guid>
		</item>
		<item>
			<title><![CDATA[Guide : créer une PirateBox à partir d’une Raspberry Pi. Partie 4/4]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_03x1bs4x"><h1 class="entry-header cf1"><span class="fs16">Une PirateBox à partir d’une Raspberry Pi : Bonus</span></h1><h4 class="cf1"><p class="mb1"><span class="fs16">Un petit bonus en provenance de StarLord, un lecteur qui n’a visiblement pas apprécié de devoir sortir un fer à souder pour éteindre la Piratebox construite avec la Raspberry Pi. Il nous livre donc un guide pour une extinction facile de l’engin, à partir d’une autre machine de son entourage.</span></p></h4><h1 class="entry-header cf1"><p class="mb1"><span class="fs16">Je vous livre le guide tel quel, suivant les étapes, et les commentaires tel que je les ai reçus.</span></p><p class="mb1"><span id="more-27941" class="fs16"></span></p><p class="mb1"><span class="fs16 cf2"><span><span><a class="lightview" title="Minimachines.net 2015-02-27 12_43_54" href="http://farm9.staticflickr.com/8590/16039485824_8d883b3544_o.png" rel="lightbox"><img title="Minimachines.net 2015-02-27 12_43_54" src="http://farm9.staticflickr.com/8590/16039485824_dd03fcf2d9.jpg" alt="Minimachines.net 2015-02-27 12_43_54" width="500" height="368" class="aligncenter" data-selected="false"></a></span></span></span></p><p class="mb1"><span class="fs16">Il s’agit de solutions logicielles. Bien entendu sur une machine connectée au réseau local il est possible de prendre la main (avec Putty sous Windows par exemple) et de lancer la commande “sudo halt” ou “sudo reboot”:</span></p><p class="mb1"><span class="fs16 cf2"><span><span><a class="lightview" title="Minimachines.net 2015-03-28 12_38_10" href="http://farm8.staticflickr.com/7617/16333924683_4c1461074d_o.png" rel="lightbox"><img title="Minimachines.net 2015-03-28 12_38_10" src="http://farm8.staticflickr.com/7617/16333924683_963bc08e6d.jpg" alt="Minimachines.net 2015-03-28 12_38_10" width="500" height="334" class="aligncenter" data-selected="false"></a></span></span></span></p><p class="mb1"><span class="fs16"> </span></p><p class="mb1 imTACenter"><em class="fs16">Un exemple de connexion avec Putty : il faut s’identifier puis taper la commande pour éteindre.</em></p><p class="mb1"><span class="fs16">Mais quand on ne dispose pas d’un ordinateur sous la main, comment faire ? Il reste la solution de la tablette ou du smartphone… Oui, mais la saisie sur ces machines est parfois pénible, et passer du temps à tenter de saisir un mot de passe sur un tout petit écran lorsque l’on a de gros doigts et une épreuve de patience !</span></p><p class="mb1"><span class="fs16">Heureusement certains développeurs se sont dévoués pour le bien être de la communauté des utilisateurs de Rasp qui veulent redémmarrer et qui ont des gros doigts… Formulé différemment, il existe de nombreuses applications Android pour communiquer avec le Raspberry Pi. Examinons une alternative au montage “hard”.</span></p><p class="mb1 imTACenter"><span class="fs16 cf2"><span><span><a class="lightview" title="Minimachines.net 2015-03-28 12_40_42" href="http://farm9.staticflickr.com/8720/16766559180_c8999ae445_o.png" rel="lightbox"><img title="Minimachines.net 2015-03-28 12_40_42" src="http://farm9.staticflickr.com/8720/16766559180_c8999ae445_o.png" alt="Minimachines.net 2015-03-28 12_40_42" width="295" height="488" class="aligncenter" data-selected="false"></a></span></span></span></p><p class="mb1"><span class="fs16">Raspi Check est une application gratuite et très intéressante à récupérer sur le Google Play. Elle permet d’avoir quelques informations sur la machine. Ci dessus une Raspebrry Pi V2 configurée en tant que serveur Logitech Media Server.</span></p><p class="mb1 imTACenter"><span class="fs16 cf2"><span><span><a class="lightview" title="Minimachines.net 2015-03-28 12_42_48" href="http://farm8.staticflickr.com/7620/16928109546_885f62bf92_o.png" rel="lightbox"><img title="Minimachines.net 2015-03-28 12_42_48" src="http://farm8.staticflickr.com/7620/16928109546_885f62bf92_o.png" alt="Minimachines.net 2015-03-28 12_42_48" width="408" height="673" class="aligncenter" data-selected="false"></a></span></span></span></p><p class="mb1"><span class="fs16">La fonction qui nous intéresse particulièrement est celle permettant l’extinction ou le redémarrage de la machine. Il faut toucher le bouton en haut à droite (non, l’autre droite) pour faire apparaître le choix “Reboot” ou “Halt”. Même avec de gros doigts, c’est faisable !</span></p><p class="mb1"><span class="fs16">Bon, pour être tout à fait honnête, il y a tout de même une partie pénible : la configuration ! Hé oui, il va falloir taper des mots de passe avec les gros doigts… Deux étapes seront nécessaires :</span></p><ol class="mb1"><li class="mb2"><span class="fs16">Configurer le Raspberry pour que le SSH soit activé</span></li><li class="mb2"><span class="fs16">Configurer Raspi Check pour indiquer l’adresse IP du Raspberry, le mot de passe SSH et le mot de passe “root”.</span></li></ol><p class="mb1"><span class="fs16">Voyons cela.</span></p><p class="mb1 imTACenter"><span class="fs16 cf2"><span><span><a class="lightview" title="Minimachines.net 2015-03-28 12_45_24" href="http://farm9.staticflickr.com/8717/16928127016_049e004429_o.png" rel="lightbox"><img title="Minimachines.net 2015-03-28 12_45_24" src="http://farm9.staticflickr.com/8717/16928127016_049e004429_o.png" alt="Minimachines.net 2015-03-28 12_45_24" width="493" height="305" class="aligncenter" data-selected="false"></a></span></span></span></p><p class="mb1"><span class="fs16">Ouvrez une session sur votre Raspberry en direct ou via Putty ou autre et tapez la commande :</span></p><pre class="mt1 mb1"><span class="fs16 ff1">sudo raspi-config</span></pre><p class="mb1"><span class="fs16">Cela permet de lancer l’utilitaire de configuration du système de la carte. Sélectionner “<em class="">Advanced Options</em>”.</span></p><p class="mb1 imTACenter"><span class="fs16 cf2"><span><span><a class="lightview" title="Minimachines.net 2015-03-28 12_48_22" href="http://farm8.staticflickr.com/7632/16766611300_f845d147f4_o.png" rel="lightbox"><img title="Minimachines.net 2015-03-28 12_48_22" src="http://farm8.staticflickr.com/7632/16766611300_64b505c5e3.jpg" alt="Minimachines.net 2015-03-28 12_48_22" width="500" height="317" class="aligncenter" data-selected="false"></a></span></span></span></p><p class="mb1 imTACenter"><em class="fs16">Dans l’écran suivant sélectionnez Enable SSH:</em></p><p class="mb1"><span class="fs16">Maintenant que le Raspberry est configuré on va configurer l’application Raspi Check.</span></p><p class="mb1"><span class="fs16 cf2"><span><span><a class="lightview" title="Minimachines.net 2015-03-28 12_49_41" href="http://farm9.staticflickr.com/8692/16334003793_0ed0aaa001_o.png" rel="lightbox"><img title="Minimachines.net 2015-03-28 12_49_41" src="http://farm9.staticflickr.com/8692/16334003793_0ed0aaa001_o.png" alt="Minimachines.net 2015-03-28 12_49_41" width="399" height="663" class="aligncenter" data-selected="false"></a></span></span></span></p><p class="mb1"><span class="fs16">Dans la zone <em class="">Name</em> tapez le nom de votre machine (ici LMS pour Logitech Media Server).</span></p><p class="mb1"><span class="fs16">Dans la zone <em class="">Hostname</em>, tapez l’adresse IP de la Raspberry.</span></p><p class="mb1"><span class="fs16">Dans la zone <em class="">SSH username</em>, tapez “pi” qui est le username par défaut de l’utilisateur SSH.</span></p><p class="mb1"><span class="fs16 cf2"><span><span><a class="lightview" title="Minimachines.net 2015-03-28 12_51_02" href="http://farm8.staticflickr.com/7286/16952786802_4c0ede85aa_o.png" rel="lightbox"><img title="Minimachines.net 2015-03-28 12_51_02" src="http://farm8.staticflickr.com/7286/16952786802_4c0ede85aa_o.png" alt="Minimachines.net 2015-03-28 12_51_02" width="363" height="604" class="aligncenter" data-selected="false"></a></span></span></span></p><p class="mb1"><span class="fs16">Dans la liste déroulante <em class="">Authentification method</em>, sélectionnez <em class="">password</em>.</span></p><p class="mb1"><span class="fs16">Le mote de passe SSH par défaut est “raspberry”.</span></p><p class="mb1"><span class="fs16">Le port par défaut est 22 et le mot de passe super utilisateur est : “raspberry” si vous utilisez Raspbian ce qui est le cas de ce tuto PirateBox, “nosoup4u” si vous utilisez une distribution Squeezeplug par exemple.</span></p><p class="mb1"><span class="fs16">En tout état de cause si vous n’avez pas les mots de passe par défaut, c’est que vous les avez changés (et que vous savez ce que vous faites) !</span></p><p class="mb1"><span class="fs16">Voila donc expliqué en quelques lignes comment éteindre proprement une Raspberry Pi avec un smartphone. Bien entendu cette solution suppose que la carte est connectée au réseau et que l’on dispose d’une machine s’y connectant aussi.</span></p><p class="mb1"><span class="fs16">La méthode expliquée ici est simple et intéressante. Les possesseurs d’iPhone ou de WindowsPhone ou de blackberry auront surement une application dédiée identique. Pour ma part, je reste amoureux de ma câblerie puisque je trouve la solution plus simple à manipuler rapidement. Un appui sur un bouton et cela s’éteint. Cela peut être pratique quand quelqu’un écrit « Mais c’est quoi ce réseau Wifi de partage plein de photos de tata Jeanine ? ».</span></p><p class="mb1"><span class="fs16">A vrai dire les 2 peuvent cohabiter, la solution matérielle ne coûtant que quelques euros et la solution logicielle étant gratuite.</span></p></h1></div>]]></description>
			<pubDate>Tue, 14 Jun 2016 22:28:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?guide---creer-une-piratebox-a-partir-d-une-raspberry-pi--partie-4-4</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/03x1bs4x</guid>
		</item>
		<item>
			<title><![CDATA[Guide : créer une Box à partir d’une Raspberry Pi. Partie 3/4]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_51nnmh86"><h1 class="entry-header cf1 cb1"><span class="fs16">Une PirateBox à partir d’une Raspberry Pi 3eme partie</span></h1><h4 class="cf1 cb1"><p class="mb1"><span class="fs16">Voici la troisième partie de ce guide, une étape un peu cosmétique mais qui reste importante pour beaucoup d’utilisateurs. Avec une esthétique et un nom très lié à la flibuste, la PirateBox ne peut pas être intégrée dans tous les environnements. Il est temps de remèdier au problème.</span></p></h4><p class="mb1 cf1 cb1"><span class="fs16">Si vous avez suivi les <a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink"><span class="cf2">étapes 1</span> <span class="cf2">et 2</span></a> de ce guide vous avez une carte Raspberry Pi parfaitement fonctionnelle, prête à diffuser des contenus mais également à les recevoir. Problème, elle s’affiche ornée d’une tête de mort et exploite un réseau baptisé PirateBox.</span></p><p class="mb1 cf1 cb1"><span class="fs16">Si vous comptez utiliser la boite au sein d’une entreprise ou pour proposer un service à des amis, si votre idée est de partager des photos lors d’un événement familial, ce look n’est peut être pas parfait. Evidemment, entre geeks, entre copains, c’est largement suffisant mais sans regretter le moins du monde la philosophie du produit, il est possible de l’adoucir quelque peu pour éviter trop de questions.</span></p><p class="mb1 cf1 cb1"><span class="fs16 cf2"><span><span><span><a class="lightview inline-block" title="Minimachines.net 2015-03-19 11_53_56" href="http://farm8.staticflickr.com/7637/16242402503_eddc6e4266_o.png" rel="lightbox"><img title="Minimachines.net 2015-03-19 11_53_56" src="http://farm8.staticflickr.com/7637/16242402503_232c99d6a2.jpg" alt="Minimachines.net 2015-03-19 11_53_56" width="500" height="279" class="aligncenter" data-selected="false"></a></span></span></span></span></p><p class="mb1 cf1 cb1"><span class="fs16">Et on va commencer par changer le SSID du Wifi de la Raspberry Pi. Le SSID c’est le nom qui apparaît et que vous sélectionnez pour vous connecter à la PirateBox. Le SSID actuel est <em class="">PirateBox – Share Freely</em> ce qui n’est pas forcément idéal. Des clients potentiels en visite dans votre entreprise ne vont pas se connecter dessus pour récupérer les fichiers dont vous leur parlez par exemple. Si vous gérez une bibliothèque et que vous &nbsp;désirez proposer des livres numériques libres de droit, il faudra impérativement rebaptiser ce SSID.</span></p><p class="mb1 cf1 cb1"><span class="fs16">Pour se faire, nous allons exploiter<a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink"> <span class="cf2">à nouveau Putty que l’on a vu dans la première partie du guide</span></a> pour nous connecter sur la carte.</span></p><p class="mb1 imTACenter cf1 cb1"><span class="fs16"><iframe src="http://gfycat.com/ifr/NextGloomyAlabamamapturtle" width="832" height="514" frameborder="0" scrolling="no" class=""></iframe></span></p><p class="mb1 cf1 cb1"><span class="fs16">Une fois identifié, il faut se rendre dans le dossier /opt/piratebox/conf/ du système pour modifier le fichier hostapd.conf. Si vous n’avez aucune compétence sous Linux ce n’est pas un problème, faites simplement les commandes suivantes après votre identification et votre mot de passe.</span></p><pre class="mt1 mb1 cf1"><span class="fs16 ff1">CD /opt/piratebox/conf/</span></pre><p class="mb1 cf1 cb1"><span class="fs16">puis &nbsp;entrée à pour être sur le bon répertoire. Pianotez ensuite</span></p><pre class="mt1 mb1 cf1"><span class="fs16 ff1">sudo nano hostapd.conf</span></pre><p class="mb1 cf1 cb1"><span class="fs16">puis une nouvelle fois &nbsp;entrée. Sudo nous donne le droit administrateur d’éditer un fichier de configuration de la machine et de l’enregistrer avec nano qui est un éditeur de texte. Hostapd.conf est le fichier de configuration qui renferme le nom du SSID a changer.</span></p><p class="mb1 cf1 cb1"><span class="fs16">Vous avez la ligne suivante qui apparaît :</span></p><p class="mb1 cf1 cb1"><span class="fs16">ssid=piratebox: free share</span></p><p class="mb1 cf1 cb1"><span class="fs16">Vous pouvez la modifier comme bon vous semble en évitant les caractères accentués et autres éléments posant soucis du type point d’exclamation ou autres. Faites Contrôle + O pour sauvegarder, validez avec entrée puis Contrôle + X pour quitter. Il ne vous reste plus qu’a redémarrer la Raspberry Pi avec</span></p><pre class="mt1 mb1 cf1"><span class="fs16 ff1">sudo reboot</span></pre><p class="mb1 cf1 cb1"><span class="fs16 cf2"><span><span><span><a class="lightview inline-block" title="Minimachines.net 2015-03-19 12_33_09" href="http://farm9.staticflickr.com/8562/16655300077_89a0667868_o.png" rel="lightbox"><img title="Minimachines.net 2015-03-19 12_33_09" src="http://farm9.staticflickr.com/8562/16655300077_53f44764a5.jpg" alt="Minimachines.net 2015-03-19 12_33_09" width="500" height="167" class="aligncenter" data-selected="false"></a></span></span></span></span></p><p class="mb1 cf1 cb1"><span class="fs16">La Piratebox se réinitialise mais le nom du réseau de connexion à changé, vous voyez dans les réseaux Wifi disponibles celui que vous avez choisi et sauvegardé.</span></p><p class="mb1 cf1 cb1"><span class="fs16">Cette première étape terminée il va falloir s’atteler à l’interface de la machine qui arbore toujours une grosse tête de mort et un texte en anglais.</span></p><p class="mb1 cf1 cb1"><span class="fs16">Pour modifier facilement la page vous pouvez utiliser la commande <em class="">sudo nano</em> mais pour plus de facilité il est préférable de se connecter à la carte mémoire embarquée sur la Raspberry Pi depuis un ordinateur distant. Mais cette fois-ci avec un logiciel de transfert de données, un logiciel de FTP. Si vous êtes déjà équipé d’un logiciel de ce type, utilisez le, sinon vous pouvez télécharger <span class="cf2"><a href="http://filezilla-project.org/" target="_blank" class="imCssLink">l’excellent et gratuit FileZilla ici</a></span>. (Si vous êtes sur un ordinateur où vous ne pouvez rien installer, <a href="http://www.raspberry-pi.ovh/files/winscp570.zip" target="_blank" class="imCssLink"><span class="cf2">vous pouvez essayer la version portable de WinSCP ici</span>.</a>)</span></p><p class="mb1 cf1 cb1"><span class="fs16">Il vous faut connaitre l’adresse IP de votre PirateBox et que celle-ci soit allumée et connectée au même réseau que votre ordinateur. L’adresse IP vous la connaissez déjà si vous avez réussi a vous connecter à la carte n SSH via Putty, c’est la même, dans mon cas : 192.168.1.165.</span></p><p class="mb1 cf1 cb1"><span class="fs16 cf2"><span><span><span><a class="lightview inline-block" title="Minimachines.net 2015-03-19 12_48_40" href="http://farm8.staticflickr.com/7631/16862681825_dda9e405b1_o.png" rel="lightbox"><img title="Minimachines.net 2015-03-19 12_48_40" src="http://farm8.staticflickr.com/7631/16862681825_dda9e405b1_o.png" alt="Minimachines.net 2015-03-19 12_48_40" width="527" height="498" class="aligncenter" data-selected="false"></a></span></span></span></span></p><p class="mb1 cf1 cb1"><span class="fs16">On va donc créer un nouveau site FTP avec FileZilla : Faites une combinaison de touches Contrôle + S pour lancer le gestionnaire de site puis cliquez sur <em class="">Nouveau site</em>. Dans hôte<strong class=""> (1)</strong> collez l’adresse IP de la Raspberry Pi. Sélectionnez un protocole SFTP sécurisé <strong class="">(2)</strong>. Puis choisissez un type d’authentification Normale <strong class="">(3)</strong> en précisant votre login <strong class="">(4)</strong> et mot de passe <strong class="">(5)</strong>. Les mêmes que pour Putty. Une fois ces informations entrées, appuyez sur Connexion <strong class="">(6)</strong>.</span></p><p class="mb1 cf1 cb1"><span class="fs16 cf2"><span><span><span><a class="lightview inline-block" title="Minimachines.net 2015-03-19 13_45_00" href="http://farm9.staticflickr.com/8585/16861864902_a4f353b555_o.png" rel="lightbox"><img title="Minimachines.net 2015-03-19 13_45_00" src="http://farm9.staticflickr.com/8585/16861864902_a4f353b555_o.png" alt="Minimachines.net 2015-03-19 13_45_00" width="406" height="274" class="aligncenter" data-selected="false"></a></span></span></span></span></p><p class="mb1 cf1 cb1"><span class="fs16">Vous voilà dans l’arborescence de votre Piratebox. Un lien pratique qui permettra également de récupérer facilement les données que d’autres auront transféré sur la carte et éventuellement de faire un peu de ménage… Une PirateBox qui traîne laisse toujours l’opportunité au plus lourd de vos invité/copain/collègue de venir y glisser quelques fichiers pas forcément tout public.</span></p><p class="mb1 cf1 cb1"><span class="fs16 cf2"><span><span><span><a class="lightview inline-block" title="Minimachines.net 2015-03-19 14_30_47" href="http://farm8.staticflickr.com/7644/16677210659_571857e3ee_o.png" rel="lightbox"><img title="Minimachines.net 2015-03-19 14_30_47" src="http://farm8.staticflickr.com/7644/16677210659_571857e3ee_o.png" alt="Minimachines.net 2015-03-19 14_30_47" width="481" height="269" class="aligncenter" data-selected="false"></a></span></span></span></span></p><p class="mb1 cf1 cb1"><span class="fs16">Pour accéder au fichier HTML qui gère la page d’accueil du système, il faut remonter au répertoire racine des fichiers en cliquant sur les deux petits points en haut de la liste plusieurs fois jusqu’à ce que vous voyez une arborescence correspondant à l’image ci dessus.</span></p><p class="mb1 cf1 cb1"><span class="fs16 cf2"><span><span><span><a class="lightview inline-block" title="Minimachines.net 2015-03-19 14_33_20" href="http://farm9.staticflickr.com/8710/16862203242_5cb6124f52_o.png" rel="lightbox"><img title="Minimachines.net 2015-03-19 14_33_20" src="http://farm9.staticflickr.com/8710/16862203242_7049a3801a.jpg" alt="Minimachines.net 2015-03-19 14_33_20" width="500" height="411" class="aligncenter" data-selected="false"></a></span></span></span></span></p><p class="mb1 cf1 cb1"><span class="fs16">Ouvrez ensuite le répertoire <strong class="">opt</strong> puis <strong class="">piratebox</strong> puis <strong class="">www</strong>. Le fichier à modifier est<strong class="">Index.html</strong>.</span></p><p class="mb1 cf1 cb1"><span class="fs16">Transférez le sur votre PC et éditez le comme bon vous semble , à votre convenance. Les images sont modifiables ou remplaçables et le fichier peut être édité à votre guise. J’ai donc rebaptisé ma page ShareBox, créé un petit logo et le résultat est plus sympathique. Evidemment, suivant vos compétences, il sera possible de modifier entièrement cette page. Vous pouvez également modifier le fichier<strong class=""> chat_content.html</strong>pour le franciser.</span></p><p class="mb1 cf1 cb1"><span class="fs16 cf2"><span><span><span><a class="lightview inline-block" title="Minimachines.net 2015-03-19 15_36_14" href="http://farm8.staticflickr.com/7638/16676220768_6d9af3bf9c_o.png" rel="lightbox"><img title="Minimachines.net 2015-03-19 15_36_14" src="http://farm8.staticflickr.com/7638/16676220768_c4b9e6a77f_z.jpg" alt="Minimachines.net 2015-03-19 15_36_14" width="501" height="640" class="aligncenter" data-selected="false"></a></span></span></span></span></p><p class="mb1 cf1 cb1"><span class="fs16">Et voilà, nous sommes prêts pour la dernière étape de ce guide qui consistera à habiller la solution de manière à la rendre plus présentable et transportable que dans ce simple format de cartes Raspberry Pi en ballade.</span></p></div>]]></description>
			<pubDate>Thu, 02 Jun 2016 15:58:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?guide---creer-une-box-a-partir-d-une-raspberry-pi--partie-3-4</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/51nnmh86</guid>
		</item>
		<item>
			<title><![CDATA[Guide : créer une Box à partir d’une Raspberry Pi. Partie 2/4]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_4p727nlw"><h1 class="entry-header cf1"><span class="fs12">Une PirateBox à partir d’une Raspberry Pi 2eme partie</span></h1><h4 class="cf1"><p class="mb1"><span class="fs12">Après la mise en place de la carte Raspberry Pi en vue d’en faire une PirateBox, voici comment monter le serveur Wifi afin de transformer l’ensemble en un hotspot de partage de données.</span></p></h4><p class="mb1 cf1"><span class="fs12">Si vous arrivez sur cette page sans avoir lu <span class="cf2"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">la première partie de ce guide, il est encore temps de le faire</a></span>. L’idée globale du projet y est décrite ainsi que les divers éléments nécessaires à sa mise en route tant au point de vue matériel que logiciel .Commencer ce guide à partir de cette page est possible mais sera plus ardue.</span></p><p class="mb1 cf1"><span id="more-26888" class="fs12"></span></p><p class="mb1 imTACenter cf1"><span class="fs12"> </span></p><p class="mb1 cf1"><span class="fs12">Donc, si vous avez bien suivi les étapes de la première partie vous avez une Raspberry Pi prête à l’emploi, sous Raspbian et vous y êtes connectés à un réseau local via un câble, et ce réseau lui même connecté à Internet. La clé Wifi n’est pas encore en place. Sur le même réseau une autre machine a ouvert une session SSH sur la Pi pour plus de commodité. (Si vous n’avez rien compris à cette phrase, <span class="cf2"><a href="http://www.minimachines.net/actu/tests/tutos/guide-creer-une-piratebox-a-partir-dune-raspberry-pi-26812" target="_blank">il faut vraiment aller lire la première partie du guide</a></span>).</span></p><p class="mb1 cf1"><span class="fs12">Sous Putty ou quelque soit votre logiciel SSH, vous allez pouvoir piloter la carte pour installer les divers composants nécessaires à cette PirateBox. Cela se passe en ligne de commandes mais il n’y a rien de véritablement sorcier.</span></p><p class="mb1 cf1"><span class="fs12 cf2"><a class="lightview inline-block" title="Minimachines.net 2015-02-26 19_21_08" href="http://farm9.staticflickr.com/8681/16468060800_43d18803de_o.png" rel="lightbox"><img title="Minimachines.net 2015-02-26 19_21_08" src="http://farm9.staticflickr.com/8681/16468060800_4a924c6806.jpg" alt="Minimachines.net 2015-02-26 19_21_08" width="500" height="313" class="aligncenter" data-selected="false"></a></span></p><p class="mb1 cf1"><span class="fs12">Première étape, mettre à jour le logiciel. Parce qu’on a beau venir de le télécharger, il est possible que toutes les dernières mises à jour ne fassent pas partie de cette archive. On va donc pianoter ceci dans notre console :</span></p><pre class="mt1 mb1 cf1"><span class="fs12 ff1">sudo apt-get update</span></pre><p class="mb1 cf1"><span class="fs12">Puis appuyez sur Entrée.</span></p><p class="mb1 cf1"><span class="fs12"><em class="">Sudo</em> est un programme qui va nous servir à exécuter un ordre donné à la machine. Ici on lance <em class="">apt-get </em>qui est le programme de gestion de paquets de Debian. Le gestionnaire de paquets étant en quelque sorte le programme qui installe et met à jour les divers éléments du système. Apt-get se charge non seulement de trouver tout seul les ressources nécessaires à cette tâche sur Internet mais il exécute ensuite les divers ordres de décompression et de mise en place. C’est, en quelque sorte, la tour de contrôle des téléchargements de la machine : Il va chercher les paquets et leur dit où venir se garer dans votre système. Update est plutôt simple à comprendre, c’est la mise à jour automatique gérée par apt-get, il vérifie la version locale des divers éléments du système et les compare à celles en référence disponibles en ligne. S’il y en a une nouvelle, il la télécharge et la remplace.</span></p><p class="mb1 cf1"><br></p><p class="mb1 cf1"><span class="fs12">Cette commande effectuée, nous allons en profiter pour apprendre 2 ou 3 trucs sur le terminal.</span></p><p class="mb1 cf1"><span class="fs12">Pianotez simplement <em class="">sud</em> et appuyez sur TAB. Normalement l’ordre <em class="">sudo</em> est apparu. Pianotez ensuite un espace et <em class="">apt-g</em> puis à nouveau TAB. Vous l’aurez compris, la touche TAB termine les instructions identifiées par le système, cela permet d’éviter des frappes inutiles.</span></p><p class="mb1 cf1"><span class="fs12">Autre truc si vous utilisez Putty, vous pouvez faire un copié-collé dans l’interface en faisant un clic droit sur la souris. Cela devrait largement faciliter le travail suivant.</span></p><p class="mb1 cf1"><span class="fs12">Votre Update devrait être terminé et nous allons donc passer à la suite.</span></p><p class="mb1 cf1"><span class="fs12">Pianotez ensuite, ligne par ligne, avec un appui sur entrée à la fin de chaque ligne, les instructions suivantes :</span></p><pre class="mt1 mb1 cf1"><span class="fs12 ff1">sudo apt-get -y install lighttpd 
sudo /etc/init.d/lighttpd stop
sudo update-rc.d lighttpd remove</span></pre><p class="mb1 cf1"><span class="fs12">Nous venons là &nbsp;d’installer <strong class="">lighttpd</strong>, un serveur web, sur la distribution Raspbian.</span></p><pre class="mt1 mb1 cf1"><span class="fs12 ff1">sudo apt-get -y install dnsmasq 
sudo /etc/init.d/dnsmasq stop 
sudo update-rc.d dnsmasq remove</span></pre><p class="mb1 cf1"><span class="fs12">Ici, il s’agit de <strong class="">dnsmasq</strong>, le serveur qui fournira la gestion des DNS à votre PirateBox.</span></p><pre class="mt1 mb1 cf1"><span class="fs12 ff1">sudo apt-get -y install hostapd 
sudo /etc/init.d/hostapd stop 
sudo update-rc.d hostapd remove</span></pre><p class="mb1 cf1"><span class="fs12">Enfin, nous installons <strong class="">Hostapd</strong> qui gérera le point d’accès Wifi de la Piratebox.</span></p><pre class="mt1 mb1 cf1"><span class="fs12 ff1">sudo apt-get -y install iw</span></pre><p class="mb1 cf1"><span class="fs12"><strong class="">Iw</strong> est un utilitaire de configuration Wifi dont le système à besoin pour fonctionner.</span></p><p class="mb1 cf1"><span class="fs12">Nous pouvons maintenant télécharger le script de la PirateBox lui même. Il s’agit d’une copie du fichier stocké sur un FTP Free.</span></p><pre class="mt1 mb1 cf1"><span class="fs12 ff1">wget "http://psx2pc.free.Fr/piratebox/piratebox-ws_current.tar.gz"</span></pre><p class="mb1 cf1"><span class="fs12">Puis le décompresser</span></p><pre class="mt1 mb1 cf1"><span class="fs12 ff1">tar xzf piratebox-ws_current.tar.gz</span></pre><p class="mb1 cf1"><span class="fs12">Il faut ensuite aller dans le répertoire nouvellement créé et installer le script.</span></p><pre class="mt1 mb1 cf1"><span class="fs12 ff1">cd piratebox
 sudo mkdir -p /opt
 sudo cp -rv piratebox /opt
 sudo ln -s /opt/piratebox/init.d/piratebox /etc/init.d/piratebox
 sudo update-rc.d piratebox defaults
 sudo /etc/init.d/piratebox start</span></pre><p class="mb1 cf1"><span class="fs12"><span class="cf2"><a class="lightview inline-block" title="Minimachines.net 2015-02-26 22_54_09" href="http://farm9.staticflickr.com/8657/16034767334_5ffca7fd88_o.png" rel="lightbox"><img title="Minimachines.net 2015-02-26 22_54_09" src="http://farm9.staticflickr.com/8657/16034767334_6d326890a4.jpg" alt="Minimachines.net 2015-02-26 22_54_09" width="500" height="313" class="aligncenter" data-selected="false"></a></span><br>Une erreur ! Pas de panique, c’est normal, on vient de demander à la machine de lancer la PirateBox dont le script exploite une clé Wifi qui n’est pas connectée à la Raspberry Pi. Normal que le script ne se déroule donc pas correctement.</span></p><p class="mb1 cf1"><span class="fs12">Voilà, votre PirateBox est fonctionnelle. Au prochain redémarrage elle lancera le script si la carte USB est installée et vous pourrez la voir dans les réseaux Wifi disponibles avec votre smartphone et votre tablette. Pour arrêter proprement la Raspberry on va pianoter</span></p><pre class="mt1 mb1 cf1"><span class="fs12 ff1">sudo halt</span></pre><p class="mb1 cf1"><span class="fs12">Les leds de la tablette clignotent avant de ne plus laisser que la rouge, signalant qu’elle est toujours sous tension.</span></p><p class="mb1 cf1"><span class="fs12"> </span></p><div id="plusmoins" class="cf1"><h2 class=""><span class="fs12">Aparté optionnel</span></h2><p class="mb1"><span class="fs12">Et là, on touche du doigt un problème lié à notre petite solution Rasberry Pi. La PirateBox est dépourvue d’écran et de clavier dans son fonctionnement habituel. Difficile donc de la stopper <em class="">proprement</em> en pianotant un ordre. On peut y remédier physiquement grâce aux GPIO de la carte qui permettent d’interagir avec elle. Cette étape est totalement optionnelle et demande un matériel qui ne se trouvera pas chez tout le monde. C’est néanmoins uns solution facile à monter et assez aisée à installer, vous pourrez la réaliser plus tard et je vais donc rapidement décrire ici. Pour ce montage, vous aurez besoin d’un bouton poussoir, de quelques connecteurs mâles pour se brancher aux pins de la carte Raspberry Pi et de 2 résistances. L’une en 330Ω, l’autre en 10 kΩ.</span></p><p class="mb1"><span class="fs12 cf2"><a class="lightview inline-block" title="Minimachines.net 2015-02-27 12_43_54" href="http://farm9.staticflickr.com/8590/16039485824_8d883b3544_o.png" rel="lightbox"><img title="Minimachines.net 2015-02-27 12_43_54" src="http://farm9.staticflickr.com/8590/16039485824_dd03fcf2d9.jpg" alt="Minimachines.net 2015-02-27 12_43_54" width="500" height="368" class="aligncenter" data-selected="false"></a></span></p><p class="mb1"><span class="fs12">Connectez les éléments comme ci dessus, soit avec une carte de montage de type breadboard, soit en les soudant ensemble.</span></p><p class="mb1"><span class="fs12">L’interrupteur <strong class="">(1)</strong> est connecté sur une patte vers un pin terre (GND) de la Raspberry Pi <strong class="">(2)</strong> d’un côté. De l’autre, il se connecte au pin 3.3V <strong class="">(4) </strong>de la carte avec une résistance 10KΩ <strong class="">(4) </strong>mais également au pin 25 de la Pi <strong class="">(6) </strong>avec une résistance 330Ω <strong class="">(5)</strong>. Ce petit montage peut être fait facilement en soudant directement les résistances à même les câbles et une fois protégé par de la gaine rétractable, cela ne prendra guère de place.</span></p><p class="mb1"><span class="fs12 cf2"><a class="lightview inline-block" title="Minimachines.net 2015-02-27 03_27_47" href="http://farm9.staticflickr.com/8609/16036526464_e0b9b2b88a_o.png" rel="lightbox"><img title="Minimachines.net 2015-02-27 03_27_47" src="http://farm9.staticflickr.com/8609/16036526464_32b192acfa.jpg" alt="Minimachines.net 2015-02-27 03_27_47" width="500" height="313" class="aligncenter" data-selected="false"></a></span></p><p class="mb1"><span class="fs12">Il faut ensuite allumer la Raspberry Pi à nouveau et retourner sur une session SSH. De là, on va télécharger un petit script Python permettant de réagir à la pression du bouton. On tape :</span></p><pre class="mt1 mb1"><span class="fs12 ff1">wget "http://iot-projects.com/data/uploads/files/RPi_h_r.py"</span></pre><p class="mb1"><span class="fs12">Puis entrée. Un fichier de quelques octets est téléchargé. On pianote ensuite un ordre pour exploiter l’éditeur de texte <em class="">nano</em> afin qu’il ouvre le fichier rc.local qui exécutera ce petit script en tâche de fond au démarrage de la Raspberry Pi.</span></p><pre class="mt1 mb1"><span class="fs12 ff1">sudo nano /etc/rc.local</span></pre><p class="mb1"><span class="fs12">Dans l’éditeur, on descend avec les touches fléchées jusqu’à la ligne <em class="">exit 0.</em></span></p><p class="mb1"><span class="fs12 cf2"><a class="lightview inline-block" title="Minimachines.net 2015-02-27 03_33_41" href="http://farm9.staticflickr.com/8674/16471294078_190a158c00_o.png" rel="lightbox"><img title="Minimachines.net 2015-02-27 03_33_41" src="http://farm9.staticflickr.com/8674/16471294078_4df870e6e1.jpg" alt="Minimachines.net 2015-02-27 03_33_41" width="500" height="313" class="aligncenter" data-selected="false"></a></span></p><p class="mb1"><span class="fs12">Juste au dessus, on colle la ligne suivante :</span></p><pre class="mt1 mb1"><span class="fs12 ff1">sudo python /home/pi/RPi_h_r.py &amp;</span></pre><p class="mb1"><span class="fs12">Cela exécutera le script de contrôle au bouton à chaque démarrage. On sauvegarde avec Ctrl + X sur le clavier. On valide les changements avec un O sur le clavier. Puis « entrée » pour valider le nom et l’arborescence du fichier. C’est fait. Désormais une pression courte sur le bouton redémarrera la Pi tandis qu’une pression longue la fera s’éteindre comme si on avait pianoté notre fameux ordre<em class="">halt</em>.</span></p><p class="mb1"><span class="fs12">Vous trouverez des cartes de type Breadboard et des câbles compatibles <span class="cf2"><a href="http://www.amazon.fr/s/?_encoding=UTF8&camp=1642&creative=19458&field-keywords=Breadboard&linkCode=ur2&rh=n%3A322086011%2Ck%3ABreadboard&tag=blogeeenet-21&url=search-alias%3Dtoys&linkId=IQ4PZBKJDNVH4FYC" target="_blank" class="imCssLink">sur Amazon dans diverses variantes en suivant ce lien</a></span>. Quant aux résistances, vous trouverez des <span class="cf2"><a href="http://www.amazon.fr/gp/product/B00PC9DBUA/ref=as_li_tl?ie=UTF8&camp=1642&creative=19458&creativeASIN=B00PC9DBUA&linkCode=as2&tag=blogeeenet-21&linkId=6ECWPUL3RIS32Q2E" target="_blank" class="imCssLink">kits très complet de plusieurs centaines de pièces pour moins de 10€ sur Amazon comme celui-ci</a></span>.</span></p><p class="mb1"><span class="fs12">On débranche alors le câble MicroUSB puis ensuite le câble Ethernet. Il suffit alors de connecter la clé USB Wifi et de rebrancher une source d’alimentation pour voir la PirateBox se mettre en marche depuis n’importe quelle machine ayant un Wifi activé.</span></p></div><p class="mb1 cf1"><br></p><p class="mb1 cf1"><span class="fs12">Pour vérifier que tout fonctionne, vous pouvez prendre une tablette et vous connecter au réseau <em class="">PirateBox – Share Freely </em>et tenter d’uploader une image par exemple. En cliquant sur le menu <em class="">files, </em>vous devriez le voir apparaître et pouvoir l’afficher ou le télécharger.</span></p><p class="mb1 cf1"><span class="fs12">Dans la prochaine partie, nous allons voir comment améliorer l’esthétique de cette PirateBox. Puisque je suppose que pour un usage professionnel du système, peu seront enclins à recueillir des données d’une page web qui arbore une tête de mort...</span></p><p class="mb1 cf1"><br></p></div>]]></description>
			<pubDate>Thu, 02 Jun 2016 08:13:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?guide---creer-une-box-a-partir-d-une-raspberry-pi--partie-2-4</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/4p727nlw</guid>
		</item>
		<item>
			<title><![CDATA[Guide : créer une PirateBox à partir d’une Raspberry Pi. Partie 1/4]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_3oy54293"><p class="mb1 cf1 cb1">Qui dit PirateBox ne dit pas forcément Pirate, l’objet est avant tout destiné au partage d’information. Ce nom générique lui colle à la peau et lui donne mauvaise presse, mais l’idée générale est bien plus simple et positive que celle d’un outil ayant la vocation du piratage.</p><p class="mb1 cb1"><span class="fs16">Concretement, <span class="cf2"><a href="http://fr.wikipedia.org/wiki/PirateBox" target="_blank">La PirateBox</a></span><span class="cf1"> c’est une boite qui sert à stocker des informations afin de les partager localement sur un réseau Wifi. Créées à l’origine pour échanger des documents libres du domaine public, ces drôles d’objets peuvent avoir une foule d’autres usages pratiques.</span></span></p><p class="mb1 cf1 cb1"><span class="fs16">Le principe est simple, on prend sa machine habituelle, on se connecte à la PirateBox via Wifi en direct et on communique avec son stockage au travers d’une interface. Là on peut écrire des données et en lire. Mais pas en effacer.</span></p><p class="mb1 cf1 cb1"><span class="fs16">Quel usage avoir d’une PirateBox ? C’est simple, c’est comme une grosse clé USB sans fil où tout le monde peut envoyer des images, documents, vidéos et autres fichiers et lire les éléments envoyés par les autres. Dès lors, les usages sont énormes : Regrouper les photos que font tous les invités lors d’un événement familial pour en faire une sorte de pèle mêle numérique géant. Partager des documents de travail au cours d’une réunion où tout le monde pourra ajouter ses propres notes, et toutes les situations où un stockage de ce type, autonome ou non en énergie, pourra être utile.</span></p><p class="mb1 cf1 cb1">Au préalable : Avant d’aller plus loin dans la lecture de ce billet, si le projet vous intéresse il faudra télécharger Raspbian qui pèse presque 1 Go. Vous pouvez donc commencer dés maintenant en <a href="http://downloads.raspberrypi.org/raspbian_latest" target="_blank" class="imCssLink">cliquant sur ce lien</a>.</p><p class="mb1 cf1 cb1"><span class="fs16">Dans cette première partie nous allons faire 2 choses importantes, d’abord lister les éléments indispensables à la réalisation du projet, ensuite préparer la carte mémoire qui embarquera le système.</span></p><h2 class="cf1 cb1"><span class="fs16">Le matériel requis.</span></h2><ul class="mb1 cf1 cb1"><li class="mb2"><span class="fs16">Une Rasberry Pi évidemment, peu importe le modèle, une A, une B ou une B+. Je pense que beaucoup d’utilisateurs qui attendent la nouvelle Raspberry Pi 2 chercheront quelque chose à faire de leur ancienne carte. Cette solution est un recyclage possible.</span></li></ul><ul class="mb1 cf1 cb1"><li class="mb2"><span class="fs16">Une carte de stockage au format de votre Raspberry Pi. SDHC ou MicroSDHC. La capacité de votre carte déterminera la capacité de votre espace libre en partage sur la PirateBox. Si vous comptez échanger des photos ou des document lourds, quelques Go de libres seront rapidement occupés. Attention, la qualité de la carte est importante et j’ai essuyé de nombreux problèmes avec des modèles d’entrée de gamme.</span></li></ul><ul class="mb1 cf1 cb1"><li class="mb2"><span class="fs16">Une clé USB Wifi compatible avec la Raspberry Pi. Préférez les clés disposant d’un chipset Ralink RT5370 qui est directement reconnu par Raspbian, le système Linux de la carte. Il est 100% fonctionnel avec la carte et propose une antenne amovible.</span></li></ul><ul class="mb1 cf1 cb1"><li class="mb2"><span class="fs16">Une source d’alimentation, un chargeur USB ou une batterie externe, peut importe.</span></li></ul><p class="mb1 cf1 cb1"><span class="fs16">Pour l’installation en elle même, il vous faudra une seconde machine qui permettra de vous connecter à la carte et d’en prendre le contrôle. Un câble Ethernet permettant de connecter la RPi temporairement au réseau est donc utile.</span></p><p class="mb1 cf1 cb1"><br></p><p class="mb1 cf1 cb1"><span class="fs16">Pour préparer la carte SDHC, commencez par l’insérer dans votre PC habituel. Il vous faudra ensuite télécharger Raspbian, le système d’exploitation de base de la Raspberry Pi. Il pèse presque 1 Go aussi si vous n’avez pas commencé à télécharger le fichier, <span class="cf3"><a href="http://downloads.raspberrypi.org/raspbian_latest" target="_blank" class="imCssLink">il est urgent de le faire en suivant ce lien</a></span>. Une fois rapatrié, le fichier dois être décompressé à un endroit dont vous vous souviendrez.</span></p><p class="mb1 cf1 cb1"><span class="fs16">Il vous faudra également un logiciel pour monter l’image téléchargée sur la carte SDHC. Suivant votre système d’exploitation, vous devrez en utiliser des différents .</span></p><p class="mb1 cf1 cb1"><span class="fs16 cf3"><span><a class="lightview inline-block" title="Minimachines.net 2015-02-25 13_24_54" href="http://farm9.staticflickr.com/8673/16642424962_4b50357d74_o.png" rel="lightbox"><img title="Minimachines.net 2015-02-25 13_24_54" src="http://farm9.staticflickr.com/8673/16642424962_4b50357d74_o.png" alt="Minimachines.net 2015-02-25 13_24_54" width="347" height="214" class="aligncenter" data-selected="false"></a></span></span></p><p class="mb1 cf1 cb1"><span class="fs16">Sous Windows 7/8 10, le plus simple est d’utiliser Rufus qui ne nécessite pas d’installation système. <span class="cf3"><a href="http://www.raspberry-pi.ovh/files/rufus-2.7.exe" target="_blank" class="imCssLink">Téléchargez le</a></span> ou <a href="http://rufus.akeo.ie/?locale=fr_FR" target="_blank" class="imCssLink">sur le site officiel </a>sur votre bureau et lancez le. Il est possible que Windows réclame un lancement en tant qu’administrateur, rien de compliqué, faites un clic droit sur l’icône et choisissez « Exécutez en tant qu’administrateur ».</span></p><p class="mb1 cf1 cb1"><span class="fs16 cf3"><span><a class="lightview inline-block" title="Minimachines.net 2015-02-25 16_52_41" href="http://farm9.staticflickr.com/8573/16457419648_a0c815489d_o.png" rel="lightbox"><img title="Minimachines.net 2015-02-25 16_52_41" src="http://farm9.staticflickr.com/8573/16457419648_625c0bfd5f.jpg" alt="Minimachines.net 2015-02-25 16_52_41" width="314" height="500" class="aligncenter" data-selected="false"></a></span></span></p><p class="mb1 cf1 cb1"><span class="fs16">Une fois le programme ouvert, commencez par vérifier qu’il s’adresse bien à votre carte SDHC <strong class="">(1)</strong> en vérifiant la lettre utilisée par le programme, ici F:. Allez ensuite chercher dans votre arborescence le fichier image de Raspbian <strong class="">(2)</strong>.</span></p><p class="mb1 cf1 cb1"><span class="fs16 cf3"><span><a class="lightview inline-block" title="Minimachines.net 2015-02-25 13_38_09" href="http://farm9.staticflickr.com/8573/16023618373_08986e6fd4_o.png" rel="lightbox"><img title="Minimachines.net 2015-02-25 13_38_09" src="http://farm9.staticflickr.com/8573/16023618373_08986e6fd4_o.png" alt="Minimachines.net 2015-02-25 13_38_09" width="229" height="96" class="aligncenter" data-selected="false"></a></span></span></p><p class="mb1 cf1 cb1"><span class="fs16">Si vous ne le voyez pas, vérifiez bien que vous avez choisi de voir <em class="">Tous les fichiers</em>dans l’interface de recherche de Rufus. Une fois trouvé, sélectionnez le et appuyez sur OK. Lancez l’opération en cliquant sur Démarrer <strong class="">(3)</strong>.</span></p><p class="mb1 imTACenter cf1 cb1"><span class="fs16"><iframe src="http://gfycat.com/ifr/HealthyPlayfulDingo" width="376" height="600" frameborder="0" scrolling="no" class=""></iframe></span></p><p class="mb1 cf1 cb1"><span class="fs16">Votre carte Raspbian est désormais prête à être insérée dans votre Raspberry Pi pour la suite des opérations. Branchez un clavier, un écran et un câble Ethernet à votre Pi, puis alimentez la.</span></p><p class="mb1 imTACenter cf1 cb1"><span class="fs16"><iframe src="https://www.youtube.com/embed/4VmQPb3acQ4" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen" class=""></iframe></span></p><p class="mb1 cf1 cb1"><span class="fs16">Il va falloir exécuter le premier démarrage de la carte et configurer le système, rien de bien sorcier, il suffit de suivre la vidéo ci-dessus. Seul élément important, mis à part l’extension du système sur la totalité de la carte et la définition des éléments de localisation (clavier, date et heure), il est important de démarrer en mode terminal et non pas sur l’interface graphique de l’engin. C’est ici également que vous pourrez changer le mot de passe de la carte.</span></p><p class="mb1 cf1 cb1"><span class="fs16 cf3"><span><a class="lightview inline-block" title="Minimachines.net 2015-02-25 15_03_28" href="http://farm9.staticflickr.com/8571/16642706561_d31671c2b9_o.png" rel="lightbox"><img title="Minimachines.net 2015-02-25 15_03_28" src="http://farm9.staticflickr.com/8571/16642706561_2edfb1e7c2.jpg" alt="Minimachines.net 2015-02-25 15_03_28" width="500" height="251" class="aligncenter" data-selected="false"></a></span></span></p><p class="mb1 cf1 cb1"><span class="fs16">Après un redémarrage, vous vous retrouvez sur une interface prête à passer à la suite des opérations. Pianotez <em class="">ifconfig</em> pour connaitre l’adresse IP de la Raspberry Pi sur votre réseau, il faut bien sur que le câble Ethernet soit branché. Sur les lignes qui apparaissent, notez l’adresse IP qui suit la mention <em class="">inet adr.</em></span></p><p class="mb1 cf1 cb1"><span class="fs16 cf3"><span><a class="lightview inline-block" title="Minimachines.net 2015-02-25 15_07_38" href="http://farm9.staticflickr.com/8612/16456583618_876656a962_o.png" rel="lightbox"><img title="Minimachines.net 2015-02-25 15_07_38" src="http://farm9.staticflickr.com/8612/16456583618_c16f4caf7b.jpg" alt="Minimachines.net 2015-02-25 15_07_38" width="500" height="443" class="aligncenter" data-selected="false"></a></span></span></p><p class="mb1 cf1 cb1"><span class="fs16">Téléchargez ensuite un logiciel de connexion SSH. Sous Windows, <span class="cf3"><a href="http://www.putty.org/" target="_blank">je vous conseille Putty</a></span> qui est à la fois léger, performant et gratuit. Lancez le.</span></p><p class="mb1 cf1 cb1"><span class="fs16">Dans la case IP Address <strong class="">(1)</strong> indiquez cette IP, pour moi : <strong class="">192.168.1.165</strong>. En Port <strong class="">(2)</strong>indiquez 22. En <strong class="">(3)</strong> vérifiez que l’option SSH est bien activée.</span></p><p class="mb1 cf1 cb1"><span class="fs16">Vous pouvez sauvegarder ces informations en indiquant un nom en <strong class="">(4)</strong> puis en cliquant sur <em class="">Save</em> en <strong class="">(5)</strong>. Cliquez ensuite sur <em class="">Open en <strong class="">(6)</strong>.</em></span></p><p class="mb1 cf1 cb1"><span class="fs16 cf3"><span><a class="lightview inline-block" title="Minimachines.net 2015-02-25 15_12_06" href="http://farm9.staticflickr.com/8618/16456613328_6569fd4c32_o.png" rel="lightbox"><img title="Minimachines.net 2015-02-25 15_12_06" src="http://farm9.staticflickr.com/8618/16456613328_f248cf1cd1.jpg" alt="Minimachines.net 2015-02-25 15_12_06" width="500" height="419" class="aligncenter" data-selected="false"></a></span></span></p><p class="mb1 cf1 cb1"><span class="fs16">Il est probable que vous ayez un message d’alerte de sécurité. Ignorez le &nbsp;en cliquant sur <em class="">Oui</em>.</span></p><p class="mb1 cf1 cb1"><span class="fs16 cf3"><span><a class="lightview inline-block" title="Minimachines.net 2015-02-25 15_13_39" href="http://farm9.staticflickr.com/8629/16458021819_eb4ecd995c_o.png" rel="lightbox"><img title="Minimachines.net 2015-02-25 15_13_39" src="http://farm9.staticflickr.com/8629/16458021819_30a595d12d.jpg" alt="Minimachines.net 2015-02-25 15_13_39" width="500" height="312" class="aligncenter" data-selected="false"></a></span></span></p><p class="mb1 cf1 cb1"><span class="fs16">Vous n’avez plus qu’a indiquer login et mot de passe (par défaut pi / raspberry) depuis le clavier de votre machine, et vous voilà aux commandes de votre carte distante.</span></p><p class="mb1 cf1 cb1"><span class="fs16">Vous êtes parés pour la prochaine étape de ce guide où on installera et configurera la PirateBox via cette interface fournie par Putty pour piloter la carte.</span></p><p class="mb1 cf1 cb1"><br></p></div>]]></description>
			<pubDate>Wed, 01 Jun 2016 12:58:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?guide---creer-une-piratebox-a-partir-d-une-raspberry-pi--partie-1-4</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/3oy54293</guid>
		</item>
		<item>
			<title><![CDATA[Installer le gestionnaire de paquet Synaptic]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_1v1z7g8z"><header class="entry-header"><h1 class="entry-title"><span class="fs16">Installer le gestionnaire de paquet Synaptic</span></h1></header><div class="mt1 entry-featured"><div class="entry-thumb"><span class="fs16"><img width="801" height="563" src="http://the-raspberry.com/wp-content/uploads/2014/02/synaptic2.png" alt="synaptic" class="attachment-entry size-entry wp-post-image" data-selected="false"></span></div></div><div class="mt1 entry-content content"><p class="mb1"><span class="fs16">Sachez que l’on peut installer, désinstaller ou mettre à jour un paquet sans forcément passer par des lignes de commande, et oui on peut aussi le faire en passant par l’interface graphique. Pour cela il faut utiliser un gestionnaire de paquets. Dans ce tutoriel nous allons voir comment installer Synaptic qui est le plus connu et le meilleur gestionnaire de paquet.</span></p><h1 class=""><span class="fs16">Installer Synaptic</span></h1><p class="mb1"><span class="fs16">sudo apt-get install synaptic</span></p><p class="mb1"><span class="fs16">Une fois installé, Synaptic apparaitra dans la catégorie préférences.</span></p><p class="mb1"><span class="fs16"><img alt="synaptic gestionnaire de packet" src="http://the-raspberry.com/wp-content/uploads/2014/02/synaptic-gestionnaire-de-packet.png" width="354" height="184" class="mb1 alignnone size-full wp-image-11555" data-selected="false"></span></p><p class="mb1"><span class="fs16">Au premier démarrage de synaptic il faudra indiquer le mot de passe du Raspberry pi, par défaut c’est toujours « Raspberry »</span></p><p class="mb1"><span class="fs16"><img alt="synaptic paquets" src="http://the-raspberry.com/wp-content/uploads/2014/02/2013_12_22_110223.png" width="290" height="217" class="mb1 alignnone size-full wp-image-11548" data-selected="false"></span></p><h1 class=""><span class="fs16">Mettre à jour les paquets</span></h1><p class="mb1"><span class="fs16">Cliquer sur recharger, cela revient à faire un sudo apt-get update</span></p><p class="mb1"><span class="fs16 cf1"><a href="http://the-raspberry.com/wp-content/uploads/2014/02/recharger.png"><img alt="recharger" src="http://the-raspberry.com/wp-content/uploads/2014/02/recharger.png" width="58" height="43" class="mb1 alignnone size-full wp-image-11553" data-selected="false"></a></span></p><p class="mb1"><span class="fs16">Puis cliquer sur tout mettre à niveau, cela revient à un sudo apt-get upgrade</span></p><p class="mb1"><span class="fs16"><img alt="tout mettre à niveau" src="http://the-raspberry.com/wp-content/uploads/2014/02/tout-mettre-%C3%A0-niveau.png" width="106" height="45" class="mb1 alignnone size-full wp-image-11556" data-selected="false"></span></p><p class="mb1"><span class="fs16">C’est bon vos paquets sont à jour </span></p><h1 class=""><span class="fs16">Installer un paquet</span></h1><p class="mb1"><span class="fs16">Cliquer sur rechercher</span></p><p class="mb1"><span class="fs16 cf1"><a href="http://the-raspberry.com/wp-content/uploads/2014/02/rechercher.png"><img alt="rechercher" src="http://the-raspberry.com/wp-content/uploads/2014/02/rechercher.png" width="96" height="37" class="mb1 alignnone size-full wp-image-11554" data-selected="false"></a></span></p><p class="mb1"><span class="fs16">Une fenêtre s’ouvre, entrer le nom du paquet que vous voulez télécharger, ici je veux télécharger LibreOffice donc j’entre libreoffice et je cliquer sur rechercher.</span></p><p class="mb1"><span class="fs16 cf1"><a href="http://the-raspberry.com/wp-content/uploads/2014/02/2013_12_23_105334.png"><img alt="2013_12_23_105334" src="http://the-raspberry.com/wp-content/uploads/2014/02/2013_12_23_105334.png" width="310" height="148" srcset="http://the-raspberry.com/wp-content/uploads/2014/02/2013_12_23_105334-300x143.png 300w, http://the-raspberry.com/wp-content/uploads/2014/02/2013_12_23_105334.png 310w" sizes="(max-width: 310px) 100vw, 310px" class="mb1 alignnone size-full wp-image-11550" data-selected="false"></a></span></p><p class="mb1"><span class="fs16">Là toute une liste de paquet apparait, faites un clic droit sur le premier paquet puis « Sélectionner pour installation »</span></p><p class="mb1"><span class="fs16 cf1"><a href="http://the-raspberry.com/wp-content/uploads/2014/02/2013_12_23_110001.png"><img alt="2013_12_23_110001" src="http://the-raspberry.com/wp-content/uploads/2014/02/2013_12_23_110001.png" width="700" height="298" class="mb1 alignnone size-full wp-image-11551" data-selected="false"></a></span></p><p class="mb1"><span class="fs16">Une fenêtre s’ouvre avec tous les paquets requis pour l’installation, cliquer sur « Ajouter à la sélection ».</span></p><p class="mb1"><span class="fs16 cf1"><a href="http://the-raspberry.com/wp-content/uploads/2014/02/ajouter-%C3%A0-la-selec-.png"><img alt="ajouter à la selection" src="http://the-raspberry.com/wp-content/uploads/2014/02/ajouter-%C3%A0-la-selec-.png" width="415" height="340" class="mb1 alignnone size-full wp-image-11561" data-selected="false"></a></span></p><p class="mb1"><span class="fs16">Cliquer ensuite sur Appliquer (à coter de mettre à niveau).</span></p><p class="mb1"><span class="fs16 cf1"><a href="http://the-raspberry.com/wp-content/uploads/2014/02/appliquer-synaptic.png"><img alt="appliquer synaptic" src="http://the-raspberry.com/wp-content/uploads/2014/02/appliquer-synaptic.png" width="49" height="36" class="mb1 alignnone size-full wp-image-11560" data-selected="false"></a></span></p><p class="mb1"><span class="fs16">Une fenêtre s’ouvrira cliquer sur valider et le téléchargement des paquets va débuter.</span></p><p class="mb1"><span class="fs16"><img alt="paquets download" src="http://the-raspberry.com/wp-content/uploads/2014/02/paquets-download.png" width="451" height="236" class="mb1 alignnone size-full wp-image-11552" data-selected="false"></span></p><p class="mb1"><span class="fs16">Une fois le téléchargement terminé libreoffice est bien installé sur votre Raspberry pi.</span></p></div></div>]]></description>
			<pubDate>Thu, 19 May 2016 07:28:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?installer-le-gestionnaire-de-paquet-synaptic</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/1v1z7g8z</guid>
		</item>
		<item>
			<title><![CDATA[Comment créer / modifier une partition Swap ?]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_om5f2r4q"><h1 class=""><span class="fs12 cf1"><a name="comment-creermodifier-une-partition-swap" id="comment-creermodifier-une-partition-swap" href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-creer-une-parition-swap">Comment créer / modifier une partition Swap ?</a></span></h1><div class="level1 cf8"><hr class=""><p class="mb1"></p><p class="mb1"></p><div class="imTAJustify noteclassic"><span class="fs12">Une partition Swap est un fichier qui va servir à stocker les informations quand la mémoire vive de l'ordinateur est complètement pleine.</span></div><p class="mb1"></p><p class="mb1"></p><div class="imTAJustify notetip"><span class="fs12">Avantage : Pouvoir utiliser beaucoup plus de mémoire que de mémoire vive disponible.</span></div><p class="mb1"></p><p class="mb1"></p><div class="imTAJustify notewarning"><span class="fs12">Inconvénient : Le fichier d'échange (Swap) est placé sur le disque dur (carte SD pour le raspberry) ce qui le rend extrêmement lent par rapport à la mémoire vive de l'ordinateur.</span></div><p class="mb1"></p><p class="mb1"></p><p class="mb1"><br></p><p class="mb1"><span class="fs12">Connectez vous en local sur votre raspberry ou par <span class="cf2"><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-se-connecter-en-ssh" class="wikilink1" title="raspberry-pi:comment-se-connecter-en-ssh">ssh</a></span> avec l'utilisateur <strong>pi</strong>. Vous pouvez aussi prendre n'importe quel utilisateur avec les droits<span class="cf2"><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-devenir-super-utilisateur" class="wikilink1" title="raspberry-pi:comment-devenir-super-utilisateur">sudo</a></span>.</span></p><p class="mb1"><span class="fs12">Par défault, Raspbian dispose d'un Swap de <strong>100Mo</strong>, nous allons le modifier à <strong>256Mo</strong> ou plus selon vos besoins.</span></p><p class="mb1"><br></p><p class="mb1"><br></p><p class="mb1"><span class="fs12">Vérifiez qu'il y'a bien un Swap actif :</span></p><p class="mb1"><br></p><p class="mb1"><br></p><pre class="mt1 mb1 code bash cf3"><span class="fs12 ff1">top</span></pre><p class="mb1"><br></p><p class="mb1"><br></p><p class="mb1"><span class="fs12">Regardez le haut du tableau il devrait y avoir :</span></p><p class="mb1"><br></p><p class="mb1"><br></p><pre class="mt1 mb1 code bash cf3"><span class="fs12 ff1">KiB Mem: &nbsp;&nbsp;&nbsp;<span class="nu0 cf4">188080</span> total, &nbsp;&nbsp;&nbsp;<span class="nu0 cf4">46552</span> used, &nbsp;&nbsp;<span class="nu0 cf4">141528</span> <b><span class="kw2 cf5">free</span></b>, &nbsp;&nbsp;&nbsp;&nbsp;<span class="nu0 cf4">6484</span> buffers
KiB Swap: &nbsp;&nbsp;<span class="nu0 cf4">102396</span> total, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="nu0 cf4">0</span> used, &nbsp;&nbsp;<span class="nu0 cf4">102396</span> <b><span class="kw2 cf5">free</span></b>, &nbsp;&nbsp;&nbsp;<span class="nu0 cf4">20736</span> cached</span></pre><p class="mb1"><br></p><p class="mb1"><br></p><p class="mb1"><span class="fs12">Première ligne : Mémoire physique, Seconde ligne : <strong>Swap</strong></span></p><p class="mb1"><span class="fs12"><strong><br></strong></span></p><p class="mb1"></p><div class="imTAJustify notetip"><span class="fs12">Pour quitter la commande top : Ctrl + C</span></div><p class="mb1"></p><p class="mb1"></p><pre class="mt1 mb1 code bash cf3"><span class="fs12 ff1"><b><span class="kw2 cf5">sudo</span></b> <b><span class="kw2 cf5">nano</span></b> <span class="sy0 cf6">/</span>etc<span class="sy0 cf6">/</span>dphys-swapfile</span></pre><p class="mb1"><br></p><p class="mb1"><br></p><p class="mb1"><span class="fs12">Très simple il suffit de changer 100 par 256:</span></p><p class="mb1"><br></p><p class="mb1"><br></p><pre class="mt1 mb1 code bash cf3"><span class="fs12 ff1"><span class="re2 cf7">CONF_SWAPSIZE</span>=<span class="nu0 cf4">256</span></span></pre><p class="mb1"><br></p><p class="mb1"><br></p><p class="mb1"><span class="fs12">Sur nano pour enregistrer et quitter :</span></p><p class="mb1"><br></p><p class="mb1"><br></p><pre class="mt1 mb1 code cf3"><span class="fs12 ff1">Ctrl + O
Entrer
Ctrl + X</span></pre><p class="mb1"><br></p><p class="mb1"><br></p><p class="mb1"><span class="fs12">On va régénérer le swap :</span></p><p class="mb1"><br></p><p class="mb1"><br></p><pre class="mt1 mb1 code bash cf3"><span class="fs12 ff1"><b><span class="kw2 cf5">sudo</span></b> dpkg-reconfigure dphys-swapfile</span></pre><p class="mb1"><br></p><p class="mb1"><br></p><p class="mb1"><span class="fs12">On vérifie les nouvelles valeurs avec <strong>top</strong> :</span></p><p class="mb1"><br></p><p class="mb1"><br></p><pre class="mt1 mb1 code bash cf3"><span class="fs12 ff1">KiB Mem: &nbsp;&nbsp;&nbsp;<span class="nu0 cf4">188080</span> total, &nbsp;&nbsp;&nbsp;<span class="nu0 cf4">46672</span> used, &nbsp;&nbsp;<span class="nu0 cf4">141408</span> <b><span class="kw2 cf5">free</span></b>, &nbsp;&nbsp;&nbsp;&nbsp;<span class="nu0 cf4">6548</span> buffers
KiB Swap: &nbsp;&nbsp;<span class="nu0 cf4">262140</span> total, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="nu0 cf4">0</span> used, &nbsp;&nbsp;<span class="nu0 cf4">262140</span> <b><span class="kw2 cf5">free</span></b>, &nbsp;&nbsp;&nbsp;<span class="nu0 cf4">20740</span> cached</span></pre><p class="mb1"><br></p><p class="mb1"><br></p><p class="mb1"><span class="fs12">C'est terminé, si vous voulez un jour désactiver le Swap (jusqu'au prochain reboot):</span></p><p class="mb1"><br></p><p class="mb1"><br></p><pre class="mt1 mb1 code bash cf3"><span class="fs12 ff1"><b><span class="kw2 cf5">sudo</span></b> swapoff <span class="re5">-a</span></span></pre><p class="mb1"><br></p><p class="mb1"><br></p><p class="mb1"><span class="fs12">Réactiver le Swap :</span></p><p class="mb1"><br></p><p class="mb1"><br></p><pre class="mt1 mb1 code bash cf3"><span class="fs12 ff1"><b><span class="kw2 cf5">sudo</span></b> swapon <span class="sy0 cf6">/</span>var<span class="sy0 cf6">/</span>swap</span></pre></div><h2 id="the__comments" class="cf8"><br></h2><div><br></div><div><br></div></div>]]></description>
			<pubDate>Mon, 09 May 2016 06:48:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?comment-creer---modifier-une-partition-swap--</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/om5f2r4q</guid>
		</item>
		<item>
			<title><![CDATA[BerryBoot : Le multiboot raspberry pi et pi Zero !]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_dk21351j"><span class="fs16"><b><span class="cf1">BerryBoot : Le multiboot avec Raspberry !</span><br class="cf1"></b><br class="cf1"><span class="cf1">Sur le Raspberry Pi, il est possible de mettre en place du multiboot avec BerryBoot. Cela va permettre d'installer plusieurs OS sur une même carte SD, et de choisir sur lequel on souhaite démarrer !</span><br class="cf1"><br class="cf1"></span><ul class="mb1 cf1"><li class=""><span class="fs16">Tout d'abord on <span class="cf2"><a href="http://www.berryterminal.com/doku.php/berryboot" target="_blank" class="imCssLink">télécharge BerryBoot</a></span> puis on décompresse les fichiers directement sur la carte SD. (Carte SD vierge et en FAT32).<br class=""></span></li><li class=""><span class="fs16">Apres il suffit de démarrer sur cette carte SD. Là BerryBoot apparait! <img src="http://www.libellules.ch/phpBB2/images/smilies/crazyeyes.gif" alt=":crazy:" title="crazy" class="" data-selected="false"> <br class=""><br class=""></span><ul class="mb1"><li class=""><span class="fs16">1er écran : Choisir <b><span class="">yes</span></b> et le type de connection utilisé. (Par cable cocher <b><span class="">wired</span></b>)<br class=""><br class=""><img src="http://img15.hostingpics.net/pics/801773bb1.png" alt="Image" class="" data-selected="false"><br class=""></span></li><li class=""><span class="fs16">2e écran : Chosir sur quel support seront stocké les OS installés. Selectionner la carte SD (ex : mmcblk0...) Mettre l'option "file system" sur <b><span class="">ext4</span></b>.<br class=""><br class=""><img src="http://img15.hostingpics.net/pics/661783bb2.png" alt="Image" class="" data-selected="false"></span></li></ul></li></ul><span class="fs16"><br class="cf1"><img src="http://www.libellules.ch/phpBB2/images/smilies/icon_idea.gif" alt=":idea:" title="Idea" class="" data-selected="false"><span class="cf1"> Voilà votre multiboot est configuré, il ne reste plus qu'a ajouter des OS! Pour cela cliquer sur </span><b><span class="cf1">Edit menu</span></b><br class="cf1"><img src="http://www.libellules.ch/phpBB2/images/smilies/icon_arrow.gif" alt=":arrow:" title="Arrow" class="" data-selected="false"><span class="cf1"> Delà il sera possible de : Ajouter, editer, cloner, faire des point de sauvegarde, les supprimer, reinistialiser l'OS...</span><br class="cf1"><br class="cf1"><img src="http://img15.hostingpics.net/pics/47845072255450bd64f256ab1452cd5f051d89media500x375.png" alt="Image" class="" data-selected="false"><br class="cf1"><br class="cf1"><span class="cf1"> Les OS sont téléchargé directement depuis BerryBoot.</span><br class="cf1"><span class="cf1"> BerryBoot est compatible avec la norme HDMI-CEC (Gestion via la télécommande de la TV).</span><span class="cf1"> </span><br class="cf1"><br class="cf1"><img src="http://img15.hostingpics.net/pics/358306berrybootmenu.png" alt="Image" class="" data-selected="false"></span></div>]]></description>
			<pubDate>Mon, 02 May 2016 05:11:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?berryboot---le-multiboot-raspberry-pi-et-pi-zero--</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/dk21351j</guid>
		</item>
		<item>
			<title><![CDATA[Changer la langue de votre Raspberry pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_o85lg1o9"><header class="entry-header cf2 cb1"><h1 class="entry-title cf1"><span class="fs12">Changer la langue de votre Raspberry pi</span></h1></header><div class="mt1 entry-content content cf2 cb1"><p class="mb1"><span class="fs12"><span class="">Changer la langue de votre Raspberry pi</span> c’est possible ! Cela serait dommage de laisser l’anglais alors qu’il est possible de mettre le français en moins de 30 secondes.</span></p><p class="mb1"><span class="fs12">Pour<em class=""> changer la langue du Raspberry pi </em>commencer par ouvrir un terminal et entrer cela :</span></p><p class="mb1"><span class="fs12 cf3 cb2"><a href="http://i0.wp.com/the-raspberry.com/wp-content/uploads/2013/03/IMG_0078.jpg"><img alt="IMG 0078 Changer la langue du Raspberry pi" src="http://i0.wp.com/the-raspberry.com/wp-content/uploads/2013/03/IMG_0078.jpg?resize=532%2C398" title="Changer la langue du Raspberry pi" width="532" height="398" srcset="http://the-raspberry.com/wp-content/uploads/2013/03/IMG_0078-300x225.jpg 300w, http://the-raspberry.com/wp-content/uploads/2013/03/IMG_0078-1024x768.jpg 1024w, http://the-raspberry.com/wp-content/uploads/2013/03/IMG_0078-624x468.jpg 624w, http://the-raspberry.com/wp-content/uploads/2013/03/IMG_0078.jpg 3072w" sizes="(max-width: 532px) 100vw, 532px" class="mb1 alignnone &nbsp;wp-image-31" data-selected="false"></a></span></p><pre class="mt2 mb1 cf4"><span class="fs12 ff1">sudo raspi-config</span></pre><p class="mb1"><span class="fs12">Un écran comme cela va s’ouvrir : avec les flèches de votre clavier déplacer le curseur sur change_locale et appuyer sur la touchée Entrée de votre clavier.</span></p><p class="mb1"><span class="fs12 cf3 cb2"><a href="http://i1.wp.com/the-raspberry.com/wp-content/uploads/2013/03/IMG_00851.jpg"><img alt="IMG 00851 Changer la langue du Raspberry pi" src="http://i1.wp.com/the-raspberry.com/wp-content/uploads/2013/03/IMG_00851.jpg?resize=598%2C447" title="Changer la langue du Raspberry pi" width="598" height="447" class="mb1 alignnone &nbsp;wp-image-39" data-selected="false"></a></span></p><p class="mb1"><span class="fs12">Une fois cela fait faites défiler la liste et décocher en appuyant sur espace tout ce qui est coché. Aller ensuite trouver la ligne « fr_FR.UTF-8 » et cocher là avec la touche espace puis appuyer sur la touche Entrée.</span></p><p class="mb1"><span class="fs12 cf3 cb2"><a href="http://i2.wp.com/the-raspberry.com/wp-content/uploads/2013/03/IMG_0082.jpg"><img alt="IMG 0082 Changer la langue du Raspberry pi" src="http://i2.wp.com/the-raspberry.com/wp-content/uploads/2013/03/IMG_0082.jpg?resize=464%2C349" title="Changer la langue du Raspberry pi" width="464" height="349" class="mb1 alignnone &nbsp;wp-image-36" data-selected="false"></a></span></p><p class="mb1"><span class="fs12"> </span></p><p class="mb1"><span class="fs12">Faites Finish et redémarrer le <span class="">Raspberry pi</span>, après le démarrage il sera en français. Vous venez de<span class=""> </span><span class="imUl">changer la langue du Raspberry pi</span></span></p></div></div>]]></description>
			<pubDate>Tue, 26 Apr 2016 05:34:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?changer-la-langue-de-votre-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/o85lg1o9</guid>
		</item>
		<item>
			<title><![CDATA[Transformer votre Rasbperry Pi en media Center]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_ht123336"><h1 class="title entry-title fs22 cf2"><span class="imTAJustify fs14 cf1">Vous pourriez être intéressé par un media center, ou centre multimédia : dispositif depuis lequel vous pouvez donc lire les fichiers multimédias (audio, image et vidéo), jouer à des jeux vidéo, regarder la télévision et bien plus encore. L’idée est de regrouper tout ce genre de fonctions sur un seul appareil.</span><br></h1><p class="mt1 mb1 imTAJustify fs14 cf1">Nous vous expliquons dans ce tutoriel comment mettre en place le lecteur OSMC, qui va gérer les flux de données multimédia sur la Raspberry Pi, depuis un appareil utilisant Windows, Mac ou Linux.</p><h2 class="imTAJustify fs18 cf2">Quel lecteur multimédia pour notre media center ?</h2><p class="mt1 mb1 imTAJustify fs14 cf1">Si vous avez suivi <span class="cf3">notre tutoriel sur la transformation de la Raspberry Pi en tuner TNT</span> , alors vous devriez être familier avec Kodi (ex-XBMC). Pour les autres, il s’agit d’un lecteur qui gère les flux multimédias. Habituellement relié à une télévision, il permet d’écouter un morceau, regarder des films, faire des recherches sur internet, etc. Ce qui démarque Kodi du reste des lecteurs multimédias, c’est qu’il s’agit d’un logiciel libre. Vous pouvez donc y greffer d’autres programmes pour en améliorer l’expérience et les fonctionnalités. De plus, il existe une déclinaison de Kodi spécialement conçue pour fonctionner sous le système d’exploitation Raspbian de la Rapsberry Pi, ce qui en fait une solution des plus stables. Nous avons donc l’outil virtuel, penchons-nous maintenant sur les prérequis matériels.</p><figure id="attachment_528" class="mt2 mb2 aligncenter fs14 cf1"><div class="inset-border"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/osmc_meta-1024x576.png" alt="Logo OSMC" width="750" height="422" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/osmc_meta-1024x576.png 1024w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/osmc_meta-300x169.png 300w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/osmc_meta-768x432.png 768w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/osmc_meta.png 1920w" sizes="(max-width: 750px) 100vw, 750px" class=" wp-image-528 size-large" data-selected="false"></div></figure><h2 class="imTAJustify fs18 cf2">Prérequis matériels à l’installation du media center</h2><p class="mt1 mb1 imTAJustify fs14 cf1">Voici ont les outils indispensables à la transformation de votre micro-ordinateur en centre multimédia :</p><ul class="imTAJustify fs14 cf1"><li class="fs14">Evidemment, <strong class=""><span class="cf3">une Raspberry Pi</span></strong> (3ème génération de préférence, pour sa puissance) ;</li><li class="fs14"><strong class=""><span class="cf3">Un câble d’alimentation</span></strong> pour le micro-ordinateur ;</li><li class="fs14"><strong class=""><span class="cf3">Une carte SD</span></strong>, plutôt rapide, de 16Go de mémoire minimum ;</li><li class="fs14"><strong class="">Un écran</strong> (celui de votre télévision fera certainement très bien l’affaire) ;</li><li class="fs14">Vous pourrez connecter ce dernier via <strong class=""><span class="cf3">un câble HDMI</span></strong> ;</li><li class="fs14">A l’inverse de votre Raspberry Pi, votre télévision peut ne pas disposer de port HDMI. Dans ce cas, il vous faudra vous procurer <strong class=""><span class="cf3">un convertisseur, HDMI vers VGA</span></strong>.</li></ul><p class="mt1 mb1 imTAJustify fs14 cf1">Au-delà de tout cela, vous pouvez aussi vous munir du matériel ci-dessous. Sachez cependant qu’aucun de ces accessoires n’est nécessaire, mais il peut améliorer votre confort d’utilisation.</p><ul class="imTAJustify fs14 cf1"><li class="fs14">Un <strong class=""><span class="cf3">disque dur externe autoalimenté</span></strong>, sur lequel vous stockerez les fichiers multimédias (les fichier vidéo comme les films peuvent être particulièrement lourds et occuper trop de place sur la carte SD) ;</li><li class="fs14"><strong class=""><span class="cf3">Un boitier</span></strong> pour votre Raspberry Pi, pour l’esthétique ;</li><li class="fs14"><strong class=""><span class="cf3">Un mini-clavier sans fil disposant d’un trackpad</span></strong>, pour éviter les allers-retours entre votre canapé et votre Raspberry. Celui-ci vous permettra d’en prendre le contrôle à distance.</li></ul><p class="mt1 mb1 imTAJustify fs14 cf1">Sachez en outre que des packs comprenant les accessoires complets pour media center sont disponibles à la vente.</p><figure id="attachment_530" class="mt2 mb2 aligncenter fs14 cf1"><div class="inset-border"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/xbmc-keyboard-shortcuts-ft-1024x553.jpg" alt="XBMC avec clavier muni d'un trackpad" width="750" height="405" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/xbmc-keyboard-shortcuts-ft-1024x553.jpg 1024w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/xbmc-keyboard-shortcuts-ft-300x162.jpg 300w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/xbmc-keyboard-shortcuts-ft-768x415.jpg 768w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/xbmc-keyboard-shortcuts-ft.jpg 1366w" sizes="(max-width: 750px) 100vw, 750px" class=" wp-image-530 size-large" data-selected="false"></div></figure><h2 class="imTAJustify fs18 cf2">Installation de OSMC</h2><p class="mt1 mb1 imTAJustify fs14 cf1">Rendez-vous maintenant sur <a href="http://osmc.tv/download/" target="_blank" class="imCssLink"><span class="cf3">le site officiel de OSMC</span> </a>(ex-Raspbmc). Cliquez sur le système d’exploitation que vous souhaitez utiliser pour votre carte SD. Téléchargez-le puis lancez l’installation sur la carte.</p><figure id="attachment_529" class="mt2 mb2 aligncenter fs14 cf1"><div class="inset-border"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/osmc_installation-1024x860.jpg" alt="Installation de OSMC" width="750" height="630" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/osmc_installation-1024x860.jpg 1024w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/osmc_installation-300x252.jpg 300w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/osmc_installation-768x645.jpg 768w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/osmc_installation.jpg 1683w" sizes="(max-width: 750px) 100vw, 750px" class=" wp-image-529 size-large" data-selected="false"></div></figure><ol class="imTAJustify fs14 cf1"><li class="imTAJustify fs14">Il vous sera demandé, à la première étape de l’installation, de choisir votre langue et la machine sur laquelle installer OSMC. Renseignez donc votre langue et la version de votre Raspberry Pi (ex. : pour la Raspberry Pi 2 ou 3, choisissez « <em class="">Raspberry Pi 2/3</em> »).</li><li class="imTAJustify fs14">Le deuxième écran vous demande quelle version vous souhaitez installer. Choisissez la plus récente, en vérifiant bien que l’option « <em class="">Use a local build on my computer</em> » soit bien décochée.</li><li class="imTAJustify fs14">La troisième fenêtre vous demande sur quel type de périphérique vous voulez installer le lecteur multimédia. Cliquez donc sur « <em class="">on an SD card</em> ».</li><li class="imTAJustify fs14">Vient alors le choix du type de connexion internet : avec ou sans fil. Le choix du wifi vous amène à entrer les identifiants de votre réseau domestique sur lequel vous allez connecter le media-center</li><li class="imTAJustify fs14">Vous allez maintenant définir le périphérique sur lequel vous allez mettre en place OSMC. Choisissez donc votre carte SD, cliquez sur le bouton pour passer à la prochaine étape et validez la licence. L’installation commence.</li><li class="imTAJustify fs14">Une fois terminée, vous pouvez retirer votre carte SD. Vous venez d’y installer OSMC !</li></ol><p class="mt1 mb1 imTAJustify fs14 cf1">Etape finale, connectez votre carte micro SD au port de votre Raspberry Pi, et votre écran au port HDMI grâce au câble adapté. Félicitations, vous avez fait de votre micro-ordinateur un media center !</p><p class="mt1 mb1 imTAJustify fs14 cf1"><br></p><p class="mt1 imTAJustify fs14 cf1">Sachez que vous trouverez sur Google Play, ou sur l’AppStore, des applications vous permettant de le contrôler à distance depuis votre smartphone. </p><p class="mt1 imTAJustify fs14 cf1"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)"><br></a></p><p class="mt1 imTAJustify fs14 cf1">Source : <span class="cb1">raspberrypi-france.fr</span></p></div>]]></description>
			<pubDate>Tue, 12 Apr 2016 23:57:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?transformer-votre-rasbperry-pi-en-media-center</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/ht123336</guid>
		</item>
		<item>
			<title><![CDATA[Mettre à jour les logiciels du Raspberry pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_0otwo3lc"><header><header class="entry-header cf2"><h1 class="entry-title cf1"><span class="fs12">Mettre à jour les logiciels du Raspberry pi</span></h1></header><div class="mt1 entry-content content cf2"><p class="mb1"><span class="fs12">Tous comme Windows ou Mac le Raspberry pi (Raspbian) à des mises à jour logiciel.</span></p><p class="mb1"><span id="more-70" class="fs12"></span></p><h1 class="cf1"><span class="fs12">Mettre à jour les logiciels (paquets)</span></h1><p class="mb1"><span class="fs12">Pour mettre à jour les logiciels du Raspberry pi ouvrez un terminal et faites</span></p><p class="mb1"><span class="fs12">sudo apt-get update &amp; sudo apt-get upgrade</span></p><h1 class="cf1"><span class="fs12">Explication de la ligne</span></h1><p class="mb1"><span class="fs12">sudo apt-get update va chercher les mises a jour et sudo apt-get upgrade va les installer .</span></p><p class="mb1"><span class="fs12">Voilà vous savez désormais comment mettre a jour les logiciels de votre Raspberry pi, vous pouvez effectuer cette action tous les jours si vous le souhaitez, car il y a presque tous les jours des mises à jour.</span></p><h1 class="cf1"><span class="fs12">Mettre à jour le Firmware</span></h1><p class="mb1"><span class="fs12">Il suffit de faire :</span></p><pre class="mt2 mb1 cf3"><span class="fs12 ff1">sudo rpi-update</span></pre><p class="mb1"><span class="fs12"> </span></p></div></header></div>]]></description>
			<pubDate>Mon, 11 Apr 2016 21:31:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?mettre-a-jour-les-logiciels-du-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/0otwo3lc</guid>
		</item>
		<item>
			<title><![CDATA[Créer son blog personnel avec Ghost sur le Raspberry pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_03y90kf0"><header class="entry-header cf2"><h1 class="entry-title cf1"><span class="fs12">Créer son blog personnel avec Ghost sur le Raspberry pi</span></h1></header><div class="mt1 entry-featured cf2"><div class="entry-thumb"><span class="fs12"><img width="801" height="422" src="http://the-raspberry.com/wp-content/uploads/2014/01/ghost_cms.jpg" alt="ghost_cms" srcset="http://the-raspberry.com/wp-content/uploads/2014/01/ghost_cms-300x158.jpg 300w, http://the-raspberry.com/wp-content/uploads/2014/01/ghost_cms.jpg 948w" sizes="(max-width: 801px) 100vw, 801px" class="attachment-entry size-entry wp-post-image" data-selected="false"></span></div></div><div class="mt1 entry-content content cf2"><p class="mb1"><span class="fs12">Ghost est une plateforme de blogging un peut comme WordPress ou Drupal, apparu l’année dernière, il a comme particularité d’être extrêmement rapide, car il utilise Node Js qui est un serveur web ultra rapide et qui peut fonctionner sur un Raspberry pi.</span></p><h1 class="cf1"><span class="fs12">Introduction</span></h1><p class="mb1"><span class="fs12">Ghost est uniquement une plateforme de blog, ce n’est pas un CMS à part entière (vous ne pourrez pas faire un site e-commerce avec), l’interface est très simpliste et très épurée. Le point fort de Ghost est que tous les thèmes disponibles sont des thèmes responsive, cela signifie que l’interface sera adaptée pour smartphone et tablette tactile.</span></p><h2 class="cf1"><span class="fs12">Captures d’écrans de Ghost</span></h2><div class="imTACenter wp-caption alignnone"><span class="fs12"><img title="ghost cms tableau de bord" src="https://managewp.com/wp-content/uploads/2013/04/ghost-1.jpg" alt="" width="670" height="460" class="" data-selected="false"></span><p class="mt2 mb2 wp-caption-text"><span class="fs12">TABLEAU DE BORD</span></p></div><p class="mb1"><span class="fs12"> </span></p><div class="imTACenter wp-caption alignnone"><span class="fs12"><img src="http://korben.info/wp-content/uploads/2013/10/1bcfb49b1f869d411f6e5ec8182ffe83_large.jpg" alt="" width="700" height="481" class="" data-selected="false"></span><p class="mt2 mb2 wp-caption-text"><span class="fs12">RÉDACTION D’UN ARTICLE</span></p></div><p class="mb1"><span class="fs12">En faites pour l’instant Ghost est uniquement disponible pour l’installation sur son propre serveur, car l’installation nécessite certaines compétences en informatique. Vous ne pouvez pas installer Ghost sur un hébergement mutualisé. Il devrait normalement bientôt y avoir un service gratuit de blogging avec Ghost (un peut comme wordpress.com), mais aucune date n’a encore été avancée.</span></p><h1 class="cf1"><span class="fs12">Installation</span></h1><p class="mb1"><span class="fs12">Commencer par vous connecter en Ssh sur votre Raspberry pi, les commandes seront complexe et il vaut mieux faire du copier-coller au moins vous serez sur de ne pas vous trompez.</span></p><p class="mb1"><span class="fs12">Pour commencer il faut mettre à jour tous les paquets</span></p><pre class="mt3 mb1 cf3"><span class="fs12 ff1">sudo apt-get update</span></pre><pre class="mt3 mb1 cf3"><span class="fs12 ff1">sudo apt-get upgrade</span></pre><p class="mb1"><span class="fs12">Ensuite faites toutes les commandes ci-dessous <span class="">l’une après l’autre</span></span></p><h3 class="cf1"><span class="fs12">Node js</span></h3><ol class="mb1"><li class=""><span class="fs12">On télécharge l’archive de node js</span></li></ol><pre class="mt3 mb1 cf3"><span class="fs12 ff1">sudo wget http://node-arm.herokuapp.com/node_latest_armhf.deb</span></pre><ol class="mb1"><li class=""><span class="fs12">Et on installe le fichier</span></li></ol><pre class="mt3 mb1 cf3"><span class="fs12 ff1">sudo dpkg -i node_latest_armhf.deb</span></pre><h3 class="cf1"><span class="fs12">Ghost</span></h3><ol class="mb1"><li class=""><span class="fs12">On télécharge l’archive de la dernière version de Ghost</span></li></ol><pre class="mt3 mb1 cf3"><span class="fs12 ff1">sudo wget https://ghost.org/zip/ghost-latest.zip</span></pre><ol class="mb1"><li class=""><span class="fs12">On décompresse l’archive</span></li></ol><pre class="mt3 mb1 cf3"><span class="fs12 ff1">unzip ghost-latest.zip -d ghost</span></pre><ol class="mb1"><li class=""><span class="fs12">Le contenu de l’archive a été décompressé dans le dossier ghost, on se rend donc dans ce dossier</span></li></ol><pre class="mt3 mb1 cf3"><span class="fs12 ff1">cd ghost/</span></pre><h3 class="cf1"><span class="fs12">Node packet manager</span></h3><ol class="mb1"><li class=""><span class="fs12">On l’installe ( l’installation est assez longue )</span></li></ol><pre class="mt3 mb1 cf3"><span class="fs12 ff1">sudo npm install --production</span></pre><h3 class="cf1"><span class="fs12">Base de données</span></h3><ol class="mb1"><li class=""><span class="fs12">On installe un gestionnaire de base de données mysql</span></li></ol><pre class="mt3 mb1 cf3"><span class="fs12 ff1">sudo apt-get install sqlite3</span></pre><h3 class="cf1"><span class="fs12">Forever</span></h3><p class="mb1"><span class="fs12">Forever est obligatoire pour pouvoir faire tourner Node.js en arrière-plan même quand la session SSH est terminée.</span></p><ol class="mb1"><li class=""><span class="fs12">Pour l’installer faites</span></li></ol><pre class="mt3 mb1 cf3"><span class="fs12 ff1">sudo npm install forever -g</span></pre><ol class="mb1"><li class=""><span class="fs12">On le configure avec node js</span></li></ol><pre class="mt3 mb1 cf3"><span class="fs12 ff1">sudo NODE_ENV=production forever start index.js</span></pre><p class="mb1"><span class="fs12">C’est bon, ghost est maintenant près a fonctionné il ne reste plus qu’a le démarrer.</span></p><h1 class="cf1"><span class="fs12">Démarrer Ghost</span></h1><p class="mb1"><span class="fs12">Pour démarrer Ghost, il faudra faire la commande</span></p><pre class="mt3 mb1 cf3"><span class="fs12 ff1">sudo forever index.js --production</span></pre><p class="mb1"><span class="fs12">Ghost démarrera quelque seconde après, il faudra faire cette commande à chaque fois que vous voudrez démarrer Ghost, il ne se démarre pas au démarrage du Raspberry pi.</span></p><h1 class="cf1"><span class="fs12">Accéder à Ghost</span></h1><p class="mb1"><span class="fs12">Ouvrez un navigateur sur votre Raspberry pi <del class="">ou sur un ordinateur de votre réseau local</del> et aller à l’adresse <span class="cf4"><a href="http://localhost:2368/">http://localhost:2368/</a></span></span></p><div class="symple-box &nbsp;red none &nbsp;cf5"><span class="fs12">Cela ne fonctionnera que sur votre Raspberry pi, pas sur un autre ordinateur<br class=""></span></div><h1 class="cf1"><span class="fs12">Accéder à Ghost à partir d’un ordinateur dans le réseau local</span></h1><div class="symple-box &nbsp;yellow none &nbsp;cf6"><span class="fs12">Le réseau local désigne tous les ordinateurs connectés à une même livebox<br class=""></span></div><p class="mb1"><span class="fs12">Dans le dossier ghost que vous avez créé, vous trouverez le fichier config.js. Vous pouvez soit l’éditer avec l’interface graphique soit avec le terminal.</span></p><p class="mb1"><span class="fs12 cf4"><a href="http://the-raspberry.com/wp-content/uploads/2014/01/2014_01_26_180621.png"><img src="http://the-raspberry.com/wp-content/uploads/2014/01/2014_01_26_180621.png" alt="ghost dossier" width="643" height="499" class="mb1 alignnone size-full wp-image-11191" data-selected="false"></a></span></p><p class="mb1"><span class="fs12">Pour l’éditer directement dans un terminal, il faut faire la commande :</span></p><p class="mb1"><span class="fs12 cf4"><a href="http://the-raspberry.com/wp-content/uploads/2014/01/2014_01_26_180720.png"><img src="http://the-raspberry.com/wp-content/uploads/2014/01/2014_01_26_180720.png" alt="" width="326" height="18" srcset="http://the-raspberry.com/wp-content/uploads/2014/01/2014_01_26_180720-300x16.png 300w, http://the-raspberry.com/wp-content/uploads/2014/01/2014_01_26_180720.png 326w" sizes="(max-width: 326px) 100vw, 326px" class="mb1 alignnone size-full wp-image-11192" data-selected="false"></a></span></p><pre class="mt3 mb1 cf3"><span class="fs12 ff1">sudo nano config.js</span></pre><p class="mb1"><span class="fs12">Assurer vous quand vous faites cette commande de bien vous trouvez dans le dossier /ghost sinon sa ne marchera pas. Pour aller dans le dossier ghost faites</span></p><pre class="mt3 mb1 cf3"><span class="fs12 ff1"> ghost/</span></pre><p class="mb1"><span class="fs12">Quand vous êtes dans le fichier il faut descendre un peux puis trouver la ligne « host: ‘127.0.0.1’ » changer cette ligne avec au lieu de « 127.0.0.1 » mettez l’adresse ip locale de votre Raspberry pi qui est sous la forme de « 192.168.x.x ». Vous trouvez cette ip avec la commande « ifconfig ».</span></p><p class="mb1"><span class="fs12">Trouvez ensuite la ligne « port :’2368′ » (cette ligne est juste en dessous de la ligne host). Changer le port en 80. Vous n’êtes pas obligé de changer le port, mais ce sera plus facile d’accéder à Ghost en allant à une URL avec à la fin :80 qu’avec à la fin &nbsp;:2368</span></p><p class="mb1"><span class="fs12"><img src="http://the-raspberry.com/wp-content/uploads/2014/01/2014_01_26_181131.png" alt="config ghost" width="564" height="344" class="mb1 alignnone size-full wp-image-11193" data-selected="false"></span></p><p class="mb1"><span class="fs12">Enregistrer le fichier puis démarrer à nouveau Ghost.</span></p><p class="mb1"><span class="fs12">Vous pouvez maintenant accéder à Ghost à partir de n’importe quels ordinateurs,tablettes ou smartphones connectés à votre réseau local pour cela il vous suffit de vous rendre à l’adresse –&gt;<span class="">192.168.x.x:80</span> (remplacer par l’ip de votre Raspberry pi)</span></p><p class="mb1"><span class="fs12">Pour accéder à l’administration de Ghost, allez à l’adresse <span class="">192.168.x.x:80/admin</span></span></p><p class="mb1"><span class="fs12 cf4"><a href="http://the-raspberry.com/wp-content/uploads/2014/01/2014_01_26_182419.png"><img src="http://the-raspberry.com/wp-content/uploads/2014/01/2014_01_26_182419-1024x808.png" alt="Ghost raspberry pi" width="980" height="773" srcset="http://the-raspberry.com/wp-content/uploads/2014/01/2014_01_26_182419-1024x808.png 1024w, http://the-raspberry.com/wp-content/uploads/2014/01/2014_01_26_182419.png 1177w" sizes="(max-width: 980px) 100vw, 980px" class="mb1 alignnone size-large wp-image-11194" data-selected="false"></a></span></p></div></div>]]></description>
			<pubDate>Wed, 30 Mar 2016 20:32:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?creer-son-blog-personnel-avec-ghost-sur-le-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/03y90kf0</guid>
		</item>
		<item>
			<title><![CDATA[RASP-PiTFT]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_3qy41f91"><h2 style="font-weight: normal; margin: 0px 0px 0.6em; overflow: hidden; padding-top: 0.5em; padding-bottom: 0.17em; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(170, 170, 170); width: auto; line-height: 19.2px; widows: 1; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" class="cf1"><span class="mw-headline fs12" id="Introduction">Introduction</span></h2><div style="line-height: 19.2px; widows: 1; width: 650px;" class="cf1"><table class="metadata plainlinks ambox ambox-notice" style="margin: 0px 65px; border-width: 1px 1px 1px 10px; border-style: solid; border-color: rgb(170, 170, 170) rgb(170, 170, 170) rgb(170, 170, 170) rgb(30, 144, 255); background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody><tr><td class="mbox-image imVt" style="padding: 2px 0px 2px 0.5em; text-align: center;"><div style="width: 52px;"><span class="fs12"><img alt="" src="http://mchobby.be/wiki/images/c/c8/Ambox_notice.png" width="40" height="40" style="vertical-align: middle;" data-selected="false"></span></div></td><td class="mbox-text imVt" style="padding: 0.25em 0.5em; width: 432.219px;"><span class="fs12">Si vous avez téléchargé l'image 'Easy Install' proposée par AdaFruit (ou utilisé le script) alors cette étape n'est pas nécessaire. Elle est déjà réalisée! Cette partie du tutoriel est destiné aux utilisateurs avancés qui désire savoir comment configurer et adapter l'installation du noyaux</span></td></tr></tbody></table></div><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12"><span style="text-decoration: none; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" class="cf2"><a href="http://mchobby.be/wiki/index.php?title=Fichier:RASP-PiTFT-Soft-Install-01.jpg" class="image inline-block"><img alt="RASP-PiTFT-Soft-Install-01.jpg" src="http://mchobby.be/wiki/images/9/98/RASP-PiTFT-Soft-Install-01.jpg" width="480" height="369" style="vertical-align: middle;" data-selected="false"></a></span><small><i><br></i></small></span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><br></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Vous devrez installer un nouveau noyaux Linux (un kernel) pour faire fonctionner nativement le TFT 2.8" et l'écran tactile. Par chance, AdaFruit Industries à créé un paquet noyaux (<i>kernel package</i>) qu'il suffit simplement d'installer sur votre Raspbian (ou dérivé de Raspbian) à la place d'avoir besoin d'une nouvelle image à graver sur une carte SD. Cette option <i>kernel package</i> facilite les tâches de mise-à-jour du système.</span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Pour utiliser le paquet .deb noyau d'AdaFruit, vous devez utiliser Raspbian ou un dérivé. Cela ne fonctionnera pas avec Arch ou autres systèmes Linux. Etant donné que Raspbian est le seul OS officiel du Pi, il sera aussi le seul OS supporté par AdaFruit Industries pour ce produit! <span style="padding-right: 13px; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFZJREFUeF59z4EJADEIQ1F36k7u5E7ZKXeUQPACJ3wK7UNokVxVk9kHnQH7bY9hbDyDhNXgjpRLqFlo4M2GgfyJHhjq8V4agfrgPQX3JtJQGbofmCHgA/nAKks+JAjFAAAAAElFTkSuQmCC); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 100% 50%; background-repeat: no-repeat;" class="cf3"><a href="http://adafruit-download.s3.amazonaws.com/adafruit-ts.zip" target="_blank" class="imCssLink">Pour les autres OS, vous pouvez recompiler votre propre kernel en utilisant la patch d'AdaFruit</a></span> mais il n'y a ni tutoriel, ni support, ni planification pour une telle approche.</span></p><h2 style="font-weight: normal; margin: 0px 0px 0.6em; overflow: hidden; padding-top: 0.5em; padding-bottom: 0.17em; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(170, 170, 170); width: auto; line-height: 19.2px; widows: 1; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" class="cf1"><span class="mw-headline fs12" id="Avant_de_commencer">Avant de commencer</span></h2><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Vous aurez besoin d'une installation fonctionnelle de Raspbian avec un accès réseau. Si vous avez besoin d'aide pour préparer votre Pi, vous pouvez consulter <a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">nos <span style="background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" class="cf2">tutoriels Raspberry</span></a> ou les </span><span class="fs12 cf4">les <a href="http://learn.adafruit.com/adafruit-raspberry-pi-lesson-1-preparing-and-sd-card-for-your-raspberry-pi" target="_blank" class="imCssLink">Pi tutorials d'AdaFruit </a>(Anglais).</span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><br></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Nous allons effectuer nos préparatifs par l'intermédiaire d'un câble console, mais vous pourriez le faire depuis une console sur une connexion directe via HDMI/TV ou via SSH. Tout ce qui vous donne accès au shell fonctionnera!</span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">N'oubliez pas d'exécuter <b>sudo apt-get update</b> !</span></p><h2 style="font-weight: normal; margin: 0px 0px 0.6em; overflow: hidden; padding-top: 0.5em; padding-bottom: 0.17em; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(170, 170, 170); width: auto; line-height: 19.2px; widows: 1; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" class="cf1"><span class="mw-headline fs12" id="T.C3.A9l.C3.A9chargement_et_installation">Téléchargement et installation</span></h2><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Pour télécharger les différents fichiers nécessaires, vous devez exécuter les commandes suivantes:</span></p><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); line-height: 1.1em; widows: 1;" class="cf1"><span class="fs12 ff1">cd ~
wget http://adafruit-download.s3.amazonaws.com/libraspberrypi-bin-adafruit.deb
wget http://adafruit-download.s3.amazonaws.com/libraspberrypi-dev-adafruit.deb
wget http://adafruit-download.s3.amazonaws.com/libraspberrypi-doc-adafruit.deb
wget http://adafruit-download.s3.amazonaws.com/libraspberrypi0-adafruit.deb
wget http://adafruit-download.s3.amazonaws.com/raspberrypi-bootloader-adafruit-112613.deb
</span></pre><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12"><small><i><br></i></small></span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Installez ensuite le nouveau Kernel avec la commande:</span></p><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); line-height: 1.1em; widows: 1;" class="cf1"><span class="fs12 ff1">sudo dpkg -i -B *.deb
</span></pre><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Cela prendra quelques minutes... c'est donc le moment idéal pour faire un café ou un sandwich.</span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><br></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12"><span style="text-decoration: none; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" class="cf2"><a href="http://mchobby.be/wiki/index.php?title=Fichier:RASP-PiTFT-Soft-Install-03.png" class="image inline-block"><img alt="RASP-PiTFT-Soft-Install-03.png" src="http://mchobby.be/wiki/images/thumb/9/9e/RASP-PiTFT-Soft-Install-03.png/480px-RASP-PiTFT-Soft-Install-03.png" width="480" height="302" style="vertical-align: middle;" data-selected="false"></a></span><br><br></span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Maintenant, il ne reste plus qu'a rebooter pour achever l'installation.</span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Faite un <b>shutdown</b> ("arrêt") si vous n'avez pas encore installé le TFT. Une fois arrêté, débranchez l'alimentation, placez le TFT sur le Pi et remettez sous tension.</span></p><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); line-height: 1.1em; widows: 1;" class="cf1"><span class="fs12 ff1">sudo shutdown -h now
</span></pre><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Si votre TFT est déjà en place, faite simplement un <b>reboot</b> avec l'instruction suivante:</span></p><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); line-height: 1.1em; widows: 1;" class="cf1"><span class="fs12 ff1">sudo reboot
</span></pre><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Maintenant que vous avez rebooté, connectez vous en mode console (via le cable console/TV/SSH). L'écran n'est pas encore actif, nous allons d'abord vérifier que tout est en ordre!</span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Exécutez la commande suivante pour installer le pilote de l'écran. Notez de l'écran passera de blanc à noir indiquant ainsi que la commande est exécutée avec succès.</span></p><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); line-height: 1.1em; widows: 1;" class="cf1"><span class="fs12 ff1">sudo modprobe spi-bcm2708
sudo modprobe fbtft_device name=adafruitts rotate=90
export FRAMEBUFFER=/dev/fb1
startx 
</span></pre><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12"><span style="text-decoration: none; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" class="cf2"><a href="http://mchobby.be/wiki/index.php?title=Fichier:RASP-PiTFT-Soft-Install-04.png" class="image inline-block"><img alt="RASP-PiTFT-Soft-Install-04.png" src="http://mchobby.be/wiki/images/thumb/2/26/RASP-PiTFT-Soft-Install-04.png/480px-RASP-PiTFT-Soft-Install-04.png" width="480" height="302" style="vertical-align: middle;" data-selected="false"></a></span><br><small><i><br></i></small></span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Vous devriez voir le bureau Raspbian apparaître sur le TFT!</span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Félicitation, vous venez de finir le premier test avec succès. Nous allons maintenant installer automatiquement les modules noyaux du TFT au boot (<i>démarrage</i>).</span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Enfoncez les touches CONTROL-C de la consome pour quitter <i>X serveur</i> (afin de poursuivre la configuration)</span></p><h2 style="font-weight: normal; margin: 0px 0px 0.6em; overflow: hidden; padding-top: 0.5em; padding-bottom: 0.17em; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(170, 170, 170); width: auto; line-height: 19.2px; widows: 1; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" class="cf1"><span class="mw-headline fs12" id="Auto-chargement_des_modules">Auto-chargement des modules</span></h2><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Bon, passons maintenant à l'auto-chargement des modules. Commençons par éditer la liste /etc/modules avec</span></p><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); line-height: 1.1em; widows: 1;" class="cf1"><span class="fs12 ff1">sudo nano /etc/modules
</span></pre><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">et ajouter les deux lignes</span></p><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); line-height: 1.1em; widows: 1;" class="cf1"><span class="fs12 ff1">spi-bcm2708
fbtft_device
</span></pre><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Pressez ensuite Control-X Y [Touche ENTREE] pour sauver</span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12"><span style="text-decoration: none; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" class="cf2"><a href="http://mchobby.be/wiki/index.php?title=Fichier:RASP-PiTFT-Soft-Install-10.png" class="image inline-block"><img alt="RASP-PiTFT-Soft-Install-10.png" src="http://mchobby.be/wiki/images/thumb/8/89/RASP-PiTFT-Soft-Install-10.png/480px-RASP-PiTFT-Soft-Install-10.png" width="480" height="302" style="vertical-align: middle;" data-selected="false"></a></span><br><small><i><br></i></small></span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Ce n'est pas encore fini! Vous devez maintenant ajouter les détails de la configurations dans un nouveau fichier '<i>modprobe</i>:</span></p><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); line-height: 1.1em; widows: 1;" class="cf1"><span class="fs12 ff1">sudo nano /etc/modprobe.d/adafruit.conf
</span></pre><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">et ajouter les options suivantes</span></p><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); line-height: 1.1em; widows: 1;" class="cf1"><span class="fs12 ff1">options fbtft_device name=adafruitts rotate=90 frequency=32000000
</span></pre><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">et sauvez le fichier comme vous l'avez déjà fait.</span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">La variable <b>rotate=</b> indique au pilote de faire une rotation de l'écran de <b>0 90 180</b> ou <b>270</b> degrés. <b>0</b> est un mode en portrait, avec le bas de l'affichage près du "Logo Adafruit" <b>90</b> est un mode en paysage, avec le bas de l'écran près des boutons. <b>180</b> est un autre mode portrait, avec le haut de l'écran près du "Logo Adafruit" <b>270</b> est un autre mode paysage, avec le haut de l'écran près des boutons.</span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Vous pouvez modifier le fichier à l'aide de <b>nano</b> et rebooter votre Pi pour appliquer les modifications.</span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">La variable <i>frequency=</i> indique la vitesse de communication du bus SPI entre votre Pi et le TFT. Cela influence directement la vitesse de rafraichissement de l'écran. 32MHz (<b>32000000</b>) permet d'atteindre le taux de rafraichissement de 20 FPS (Frame par seconde), ce qui est excellent.</span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Si votre écran ne réagit de façon bizarre ou inattendu, essayez de descendre à 16MHz (<b>16000000</b>)</span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12"><span style="text-decoration: none; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" class="cf2"><a href="http://mchobby.be/wiki/index.php?title=Fichier:RASP-PiTFT-Soft-Install-11.png" class="image inline-block"><img alt="RASP-PiTFT-Soft-Install-11.png" src="http://mchobby.be/wiki/images/thumb/7/7c/RASP-PiTFT-Soft-Install-11.png/480px-RASP-PiTFT-Soft-Install-11.png" width="480" height="302" style="vertical-align: middle;" data-selected="false"></a></span><br><small><i><br></i></small></span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Faite un <b>sudo reboot</b> et surveillez les messages apparaissant sur la console (ou exécutez <b>dmesg</b> dans une console après avoir encodé votre login). Les messahe indique clairement l'installation des modules. Cherchez plus particulièrement après la détection de STMPE610 et la fréquence de l'écran ILI9340 (mis en évidence dans la capture ci-dessous).</span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12"><span style="text-decoration: none; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" class="cf2"><a href="http://mchobby.be/wiki/index.php?title=Fichier:RASP-PiTFT-Soft-Install-12.png" class="image inline-block"><img alt="RASP-PiTFT-Soft-Install-12.png" src="http://mchobby.be/wiki/images/thumb/4/43/RASP-PiTFT-Soft-Install-12.png/480px-RASP-PiTFT-Soft-Install-12.png" width="480" height="302" style="vertical-align: middle;" data-selected="false"></a></span><br><small><i><br></i></small></span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Nous pouvons configurer l'écran tactile le paramètre <b>rotate=90</b> à l'aide des instructions suivantes (voyez la section suivante pour une calibration plus précise ou une autre valeur de "rotate=XX")</span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Créez le répertoire et le nouveau fichier de configuration pour la calibration:</span></p><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); line-height: 1.1em; widows: 1;" class="cf1"><span class="fs12 ff1">sudo mkdir /etc/X11/xorg.conf.d
sudo nano /etc/X11/xorg.conf.d/99-calibration.conf
</span></pre><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Entrez ensuite les lignes suivantes et sauvez le fichier.</span></p><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); line-height: 1.1em; widows: 1;" class="cf1"><span class="fs12 ff1"> &nbsp;&nbsp;&nbsp;Section "InputClass"
 &nbsp;&nbsp;&nbsp;Identifier "calibration"
 &nbsp;&nbsp;&nbsp;MatchProduct "stmpe-ts"
 &nbsp;&nbsp;&nbsp;Option "Calibration" "3800 200 200 3800"
 &nbsp;&nbsp;&nbsp;Option "SwapAxes" "1"
 &nbsp;&nbsp;&nbsp;EndSection
</span></pre><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12"><span style="text-decoration: none; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" class="cf2"><a href="http://mchobby.be/wiki/index.php?title=Fichier:RASP-PiTFT-Soft-Install-13.png" class="image inline-block"><img alt="RASP-PiTFT-Soft-Install-13.png" src="http://mchobby.be/wiki/images/thumb/1/1a/RASP-PiTFT-Soft-Install-13.png/480px-RASP-PiTFT-Soft-Install-13.png" width="480" height="302" style="vertical-align: middle;" data-selected="false"></a></span><br><small><i><br></i></small></span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Vous pouvez maintenant exécuter <i>X Serveur</i> une nouvelle fois à l'aide de la commande</span></p><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); line-height: 1.1em; widows: 1;" class="cf1"><span class="fs12 ff1">FRAMEBUFFER=/dev/fb1 startx
</span></pre><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Enfoncez les touches CONTROL-C pour quitter <i>X Serveur</i></span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Si vous ne voulez pas taper "FRAMEBUFFER=/dev/fb1" avant "startx" alors il faut définir ce paramètre dans votre profile.</span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">Editez le fichier profile à l'aide de la commande: <b>sudo nano ~/.profile</b> et ajoutez la ligne</span></p><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); line-height: 1.1em; widows: 1;" class="cf1"><span class="fs12 ff1">export FRAMEBUFFER=/dev/fb1
</span></pre><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span class="fs12">près du haut du fichier et sauvez le fichier. La modification sera active après un log-out (déconnexion) ou un reboot (redémarrage).</span></p><p style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 19.2px; widows: 1;" class="cf1"><span style="text-decoration: none; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" class="fs12 cf2"><a href="http://mchobby.be/wiki/index.php?title=Fichier:RASP-PiTFT-Soft-Install-14.png" class="image inline-block"><img alt="RASP-PiTFT-Soft-Install-14.png" src="http://mchobby.be/wiki/images/thumb/c/c7/RASP-PiTFT-Soft-Install-14.png/480px-RASP-PiTFT-Soft-Install-14.png" width="480" height="313" style="vertical-align: middle;" data-selected="false"></a></span></p></div>]]></description>
			<pubDate>Fri, 18 Mar 2016 14:45:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?rasp-pitft</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/3qy41f91</guid>
		</item>
		<item>
			<title><![CDATA[Comment se connecter à la Raspberry Pi depuis votre ordinateur en SSH]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_a308fspb"><h1 class="title entry-title cf1"><br></h1><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Vous pouvez, pour diverses raisons, vouloir prendre le contrôle de votre Raspberry Pi depuis votre ordinateur. Cela peut être plus pratique puisque vous pouvez utiliser le clavier, la souris ou l’écran de ce dernier pour naviguer sur la Raspberry Pi. Vous optimiseriez ainsi l’utilisation de vos périphériques. Pour cela, le protocole secure shell (SSH) s’avère idéal pour l’échange de données chiffrées entre vos deux appareils.</span></p><h2 class="imTAJustify cf1"><span class="fs12">Comment activer le SSH du côté Raspberry Pi</span></h2><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Vous devez tout d’abord activer le protocole SSH du côté Raspberry Pi, en utilisant <em class="">Raspi Config</em>. Ouvrez donc un terminal, puis tapez la ligne de code ci-dessous :</span></p><pre class="mt2 mb2 cf2"><span class="fs12 ff1">sudo raspi-config</span></pre><figure id="attachment_601" class="mt2 mb2 aligncenter cf2"><div class="inset-border fs12"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/raspi_config.png" alt="Activation SSH sur l'écran Raspi Config" width="750" height="466" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/raspi_config.png 750w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/raspi_config-300x186.png 300w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/raspi_config-400x250.png 400w" sizes="(max-width: 750px) 100vw, 750px" class=" wp-image-601 size-full" data-selected="false"></div></figure><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">La fenêtre de configuration de base, <a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink"><span class="cf3">que nous vous décrivions dans ce tutoriel</span> (</a></span><span class="imTALeft fs12 cf4 cb1"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">Première utilisation de votre Raspberry Pi)</a></span><span class="fs12">, s’ouvre alors. Naviguez jusqu’à «</span><span class="fs12"> </span><em class="fs12">SSH – Enable or disable SSH server</em><span class="fs12"> </span><span class="fs12">», et activez-le en choisissant «</span><span class="fs12"> </span><em class="fs12">Enable</em><span class="fs12"> </span><span class="fs12">». Patientez pendant que les modifications sont prises en comptes, puis validez lorsque cela vous est demandé.</span></p><h2 class="imTAJustify cf1"><span class="fs12">Activation du SSH côté ordinateur hôte</span></h2><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Vous devez, sur votre ordinateur hôte, ouvrir un terminal de commande pour utiliser la fonctionnalité SSH de Linux. Afin de confondre votre Raspberry Pi, vous devez en connaitre l’adresse IP. Si vous l’ignorez, vous pourrez la trouver en entrant le code ci-dessous dans le terminal de votre micro-ordinateur. Elle s’affichera alors juste après « inet addr : ».</span></p><pre class="mt2 mb2 cf2"><span class="fs12 ff1">sudo ifconfig</span></pre><ul class="cf2"><li class="imTAJustify"><h3 class="cf1"><span class="fs12">Procédure sur mac :</span></h3></li></ul><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Ouvrez donc un invité de commande, qui se trouve dans le dossier «<em class=""> Utilitaires</em> » puis «<em class=""> Applications</em> ».</span></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Entrez la commande suivante, en modifiant l’adresse « <em class="">192.168.0.13</em> » par celle de votre Raspberry Pi, et « <em class="">pi</em> » par votre nom d’utilisateur (ce dernier étant le nom par défaut).</span></p><pre class="mt2 mb2 cf2"><span class="fs12 ff1">ssh <em class="">pi</em>@<em class="">192.168.0.13</em></span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Lors de la première tentative de connexion, un message d’avertissement peut apparaître, indiquant que la vérification d’identité de la machine n’est pas possible. Validez, vous atterrirez alors sur une fenêtre requérant votre mot de passe utilisateur sur la Rasbperry Pi. Renseignez-le (par défaut : « <em class="">rapsberry</em> »). Un nouveau message devrait alors vous indiquer que la connexion est bien établie entre vos 2 appareils.</span></p><ul class="cf2"><li class="imTAJustify"><h3 class="cf1"><span class="fs12">Procédure sur Windows</span></h3></li></ul><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Vous aurez ici besoin du <span class="cf3"><a href="http://www.putty.org/" target="_blank" class="imCssLink">programme PuTTY</a></span> , <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank" class="imCssLink"><span class="cf3">disponible gratuitement ici</span> </a>. Il s’agit d’une interface client qui gère les communications SSH sur le système d’exploitation Windows. Téléchargez-le, installez-le, puis lancez-le.</span></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Dans la catégorie « <em class="">Session</em> » de départ, entrez dans le champs « <em class="">Host name</em> » l’adresse IP de votre Raspberry Pi. Assurez-vous que le type de connexion pré-choisi est bien « <em class="">SSH</em> », cliquez sur « <em class="">Open</em> » puis lancez la connexion.</span></p><figure id="attachment_602" class="mt2 mb2 aligncenter cf2"><div class="inset-border fs12"><img src="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/putty_conf.png" alt="Configuration SSH de l'interface client PuTTY" width="736" height="704" srcset="http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/putty_conf.png 736w, http://www.raspberrypi-france.fr/wp-content/uploads/2016/03/putty_conf-300x287.png 300w" sizes="(max-width: 736px) 100vw, 736px" class=" wp-image-602 size-full" data-selected="false"></div></figure><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Comme sur mac, un message d’avertissement apparaît la première fois. Renseignez les identifiants utilisateur: « <em class="">pi</em> », « <em class="">raspberry</em> ».</span></p><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Félicitations, vous venez donc de vous connecter à votre micro-ordinateur avec votre ordinateur hôte ! Vous pouvez le vérifier en tapant la commande suivante :</span></p><pre class="mt2 mb2 cf2"><span class="fs12 ff1">Ls</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Le dossier en cours d’utilisation du micro-ordinateur et son contenu devraient alors s’afficher. Notez cependant que lors de vos prochaines utilisations, le message d’erreur ci-dessous peut apparaître.</span></p><pre class="mt2 mb2 cf2"><span class="fs12 ff1">WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!</span></pre><p class="mt1 mb1 imTAJustify cf2"><span class="fs12">Cela arrive lorsque vous avez réinstallé le système d’exploitation Raspbian : vos identifiants SSH ont alors été renouvelés. Pour les actualiser, entrez ceci dans votre invité de commande, en remplaçant « <em class="">000.000.0.0</em> » par l’adresse IP de votre Raspberry Pi :</span></p><pre class="mt2 mb2 imTAJustify cf2"><span class="fs12 ff1">ssh-keygen -R 000.000.0.0</span></pre><p class="mt1 imTAJustify cf2"><span class="fs12">Utilisez-vous votre ordinateur pour naviguez dans la Rapsberry Pi, ou y avez vous dédié souris, clavier et écran ?</span></p><p class="mt1 imTAJustify cf2"><br></p><p class="mt1 imTAJustify cf2"><span class="fs12">Source : </span><span class="imTALeft fs12 cf4 cb1">http://www.raspberrypi-france.fr/</span></p></div>]]></description>
			<pubDate>Thu, 17 Mar 2016 16:35:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?comment-se-connecter-a-la-raspberry-pi-depuis-votre-ordinateur-en-ssh</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/a308fspb</guid>
		</item>
		<item>
			<title><![CDATA[Optimisation, trucs & astuces Raspberry]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_4al7np00"><header><header class="entry-header cf1" style="margin: 0px 0px 1.71429rem; padding: 0px; border: 0px; vertical-align: baseline; line-height: 14px; widows: 1;"><h1 class="entry-title" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; clear: both; line-height: 1.2;"><span class="fs16">Optimisation, trucs &amp; astuces</span></h1></header><div class="entry-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; line-height: 1.71429; widows: 1;"><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;" class="fs16">Les points abordés :</strong></p><ol style="margin-right: 0px; margin-bottom: 1.71429rem; margin-left: 0px; border: 0px; vertical-align: baseline; list-style-position: outside; line-height: 1.71429;" class="cf1"><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs16">Accéder à la console du RPI sans écran/clavier branché à celui-ci</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs16">Déporter le bureau virtuel du raspberry PI sur votre ordinateur (toujours sans écran)</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs16">Optimiser le serveur http en remplaçant Apache2 par lighttpd</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs16">Transformer le raspberry PI en seedbox (serveur multimédia avec client torrent intégré, le tout accessible sur le réseau et stocké sur un disque dur externe s’il vous plaît).</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs16">Quelques manips pour personnaliser un peu la tronche du raspberry PI (nom, message d’arrivée etc…)</span></li></ol><h2 style="margin: 1.71429rem 0px; padding: 0px; border: 0px; vertical-align: baseline; clear: both; line-height: 1.6;" class="cf1"><span class="fs16">Accéder à la console du raspberry PI sans écran</span></h2><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Depuis le début des tutos, vous aurez peut-être constaté que j’utilise uniquement le mode console et non le bureau graphique, en effet je n’ai pas d’écran pour le Raspberry et j’y accède depuis mon ordinateur portable ce qui me permet de trimballer le RPI et d’y accéder depuis n’importe quel PC sans trainer un écran 19 pouces, un clavier, et une souris derrière moi <img class="wlEmoticon wlEmoticon-openmouthedsmile" src="http://blog.idleman.fr/wp-content/uploads/2013/04/wlEmoticon-openmouthedsmile1.png" alt="Rire" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px;" data-selected="false">.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Ceci est possible grâce à la communication SSH, pour faire court et grossier : votre Raspberry pi comprend un serveur nommé : SSH, auquel vous pouvez vous connecter depuis un client SSH depuis n’importe quel PC, une fois connecté, vous aurez accès au terminal comme si vous étiez sur le rapsberry PI</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs16 cf3"><span><a href="http://blog.idleman.fr/wp-content/uploads/2013/04/image8.png" class="inline-block"><img title="image" src="http://blog.idleman.fr/wp-content/uploads/2013/04/image_thumb8.png" alt="image" width="555" height="392" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Pour vous connecter à cette console, il vous suffit de télécharger et d’installer le programme gratuit Putty, puis de rentrer l’Ip locale de votre Raspberry PI et cliquer sur “Open”</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs16 cf3"><span><a href="http://blog.idleman.fr/wp-content/uploads/2013/04/image9.png" class="inline-block"><img title="image" src="http://blog.idleman.fr/wp-content/uploads/2013/04/image_thumb9.png" alt="image" width="490" height="437" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Pour obtenir l’Ip réseau du raspberry PI, vous pouvez regarder sur le panel de votre box (les pc qui y sont connectés), ou brancher temporairement un écran au raspberry pi et taper la commande ifconfig, l’ip suis le libellé “inet addr”</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs16 cf3"><span><a href="http://blog.idleman.fr/wp-content/uploads/2013/04/image10.png" class="inline-block"><img title="image" src="http://blog.idleman.fr/wp-content/uploads/2013/04/image_thumb10.png" alt="image" width="486" height="309" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Notez que cette IP peut changer (bien que votre box essaye généralement de conserver des Ip “favorites” par machine), vous pouvez donc la fixer une bonne fois pour toute avec la manip suivante qui permet de passer d’une Ip dite “dynamique” à une Ip “statique” :</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16"> </span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Tapez dans la console :</span></p><div id="crayon-56c61f3cf118d656842770" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate cf1" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; line-height: 15px !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf1" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf6" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="656" data-minrequestedwidth="656"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt imVc" data-settings="show" style="width: 19px; height: 23px; padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c61f3cf118d656842770-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs16">1</span></div></div></td><td class="crayon-code imVt" style="width: 634px; height: 23px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c61f3cf118d656842770-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs16"><span class="crayon-e cf4" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">sudo</span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">nano</span></span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">/</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">etc</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">/</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">network</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">/</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">interfaces</span></span></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Et remplacez</span></p><div id="crayon-56c61f3cf1198001172193" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate cf1" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; line-height: 15px !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf1" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf6" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="656" data-minrequestedwidth="656"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt imVc" data-settings="show" style="width: 19px; height: 23px; padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c61f3cf1198001172193-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs16">1</span></div></div></td><td class="crayon-code imVt" style="width: 634px; height: 23px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c61f3cf1198001172193-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs16"><span class="crayon-e cf4" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">iface </span><span class="crayon-e cf4" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">eth0 </span><span class="crayon-e cf4" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">inet</span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">dhcp</span></span></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">par</span></p><div id="crayon-56c61f3cf119e965259332" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate cf1" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; line-height: 15px !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf1" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 90px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf6" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="656" data-minrequestedwidth="656"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt imVc" data-settings="show" style="width: 19px; height: 138px; padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c61f3cf119e965259332-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs16">1</span></div><div class="crayon-num crayon-striped-num cf7" data-line="crayon-56c61f3cf119e965259332-2" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div><div class="crayon-num" data-line="crayon-56c61f3cf119e965259332-3" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs16">3</span></div><div class="crayon-num crayon-striped-num cf7" data-line="crayon-56c61f3cf119e965259332-4" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">4</span></div><div class="crayon-num" data-line="crayon-56c61f3cf119e965259332-5" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs16">5</span></div><div class="crayon-num crayon-striped-num cf7" data-line="crayon-56c61f3cf119e965259332-6" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">6</span></div></div></td><td class="crayon-code imVt" style="width: 634px; height: 138px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line cf9" id="crayon-56c61f3cf119e965259332-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs16"><span class="crayon-e cf4" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">iface </span><span class="crayon-e cf4" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">eth0 </span><span class="crayon-e cf4" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">inet </span><span class="crayon-m cf8" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">static</span></span></div><div class="crayon-line crayon-striped-line" id="crayon-56c61f3cf119e965259332-2" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> &nbsp;&nbsp;&nbsp;</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">address</span></span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-cn" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">192.168.1.x</span></span></span></div><div class="crayon-line" id="crayon-56c61f3cf119e965259332-3" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs16"><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> &nbsp;&nbsp;&nbsp;</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">netmask</span></span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-cn" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">255.255.255.0</span></span></span></div><div class="crayon-line crayon-striped-line" id="crayon-56c61f3cf119e965259332-4" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> &nbsp;&nbsp;&nbsp;</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">network</span></span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-cn" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">192.168.1.0</span></span></span></div><div class="crayon-line" id="crayon-56c61f3cf119e965259332-5" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs16"><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> &nbsp;&nbsp;&nbsp;</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">broadcast</span></span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-cn" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">192.168.1.255</span></span></span></div><div class="crayon-line crayon-striped-line" id="crayon-56c61f3cf119e965259332-6" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> &nbsp;&nbsp;&nbsp;</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">gateway</span></span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-cn" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">192.168.1.1</span></span></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Il vous faudra remplacer le libellé de “address” par votre Ip réseaux actuelle ainsi que</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">netmask</strong> : Vous pouvez le trouver dans la valeur “Mask” du ifconfig</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">broadcast</strong> : Vous pouvez le trouver dans la valeur “Bcast” du ifconfig</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">gateway</strong> : C’est l’Ip de votre routeur/box, vous pouvez la trouver dans le panel admin de votre box sous le libellé (serveur DHCP le plus souvent)</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Enregistrez et redémarrez, votre Ip sera fixe et toujours accessible depuis Putty.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Attention !! Notez bien que lorsque vous fixez cette ip, elle ne peut plus s’adapter dynamiquement à un autre réseau, aussi si vous trimballez votre rpi autre part, pensez à remettre l’ip en dynamique.</span></p><h2 style="margin: 1.71429rem 0px; padding: 0px; border: 0px; vertical-align: baseline; clear: both; line-height: 1.6;" class="cf1"><span class="fs16">Déporter le bureau virtuel du raspberry PI sur votre ordinateur (toujours sans écran)</span></h2><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Si vous n’aimez pas trop la ligne de commande ou que vous souhaitez faire une manip sur le bureau virtuel du raspberry pi sans avoir d’écran, vous pouvez installer un serveur dit “VNC” qui permet de déporter l’affichage du raspberry Pi, sur un autre pc, vous avez donc un écran dans un autre ^^ :</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs16 cf3"><span><a href="http://blog.idleman.fr/wp-content/uploads/2013/04/image11.png" class="inline-block"><img title="image" src="http://blog.idleman.fr/wp-content/uploads/2013/04/image_thumb11.png" alt="image" width="511" height="404" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Il existe de nombreux serveurs VNC disponibles, mais le moins contraignant à installer est tightvncserver.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Pour l’installer, tapez la ligne de commande</span></p><div id="crayon-56c61f3cf11a5124151085" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate cf1" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; line-height: 15px !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf1" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf6" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="656" data-minrequestedwidth="656"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt imVc" data-settings="show" style="width: 19px; height: 23px; padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c61f3cf11a5124151085-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs16">1</span></div></div></td><td class="crayon-code imVt" style="width: 634px; height: 23px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c61f3cf11a5124151085-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs16"><span class="crayon-e cf4" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">sudo</span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">apt</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">get </span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">install </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">tightvncserver</span></span></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Il vous faudra alors lancer le serveur avec la commande</span></p><div id="crayon-56c61f3cf11aa378561074" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate cf1" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; line-height: 15px !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf1" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf6" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="656" data-minrequestedwidth="656"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt imVc" data-settings="show" style="width: 19px; height: 23px; padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c61f3cf11aa378561074-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs16">1</span></div></div></td><td class="crayon-code imVt" style="width: 634px; height: 23px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c61f3cf11aa378561074-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="crayon-i fs16" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; font-weight: inherit !important;"><span class="cf5">tightvncserver</span></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Et ce à chaque fois que vous voudrez l’utiliser, vous pouvez bien entendu vous débrouiller pour lancer cette commande au démarrage via un service ou un cron ou autre…</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Au premier lancement il va vous demander un mot de passe pour se connecter au bureau distant, si vous n’êtes pas trop dingue, vous mettrez le même que celui de votre compte raspberry PI <img class="wlEmoticon wlEmoticon-smile" src="http://blog.idleman.fr/wp-content/uploads/2013/04/wlEmoticon-smile1.png" alt="Sourire" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px;" data-selected="false"></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Lorsqu’il demande si vous voulez de la lecture seule, répondez n (non)</span></p><div id="crayon-56c61f3cf11b0639882601" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate cf1" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; line-height: 15px !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf1" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf6" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="656" data-minrequestedwidth="656"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt imVc" data-settings="show" style="width: 19px; height: 23px; padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c61f3cf11b0639882601-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs16">1</span></div></div></td><td class="crayon-code imVt" style="width: 634px; height: 23px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c61f3cf11b0639882601-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs16"><span class="crayon-e cf4" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">Would </span><span class="crayon-e cf4" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">you </span><span class="crayon-e cf4" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">like </span><span class="crayon-st cf8" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">to</span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">enter</span></span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">a</span></span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">view</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">only </span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">password</span></span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-sy" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">(</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">y</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">/</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">n</span></span><span class="cf5"><span class="crayon-sy" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">)</span></span><span class="cf5"><span class="crayon-sy" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">?</span></span></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Le serveur est lancé et configuré :</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs16 cf3"><span><a href="http://blog.idleman.fr/wp-content/uploads/2013/04/image12.png" class="inline-block"><img title="image" src="http://blog.idleman.fr/wp-content/uploads/2013/04/image_thumb12.png" alt="image" width="554" height="155" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16"> </span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Notez que le serveur est lancé par défaut sur le port “2” qu’il faudra retenir, ainsi que l’adresse ip de votre raspberry (cf partie connexion à la ligne de commande)</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Il vous faut maintenant un client de connexion VNC sur la machine où vous souhaitez déporter l’affichage du raspberry PI, realVNC est gratuit, simple, performant et dispo pour Linux, Mac , et Windows: <span class="cf3"><a href="http://www.realvnc.com/download/viewer/" target="_blank" class="imCssLink">http://www.realvnc.com/download/viewer/</a></span><span class="cf3"> &nbsp;- </span><span class="cf3"><a href="http://www.raspberry-pi.ovh/files/VNC-Viewer-5.3.0-Windows-32bit.exe" target="_blank" class="imCssLink">Windows 32</a></span><span class="cf3"> - </span><span class="cf3"><a href="http://www.raspberry-pi.ovh/files/VNC-Viewer-5.3.0-Windows-64bit.zip" target="_blank" class="imCssLink">Windows 64</a></span><span class="cf3"> - </span><span class="cf3"><a href="http://www.raspberry-pi.ovh/files/VNC-Viewer-5.3.0-Linux-ARM.gz" target="_blank" class="imCssLink">RASPBERRY </a></span><span class="cf3">- </span><span class="cf3"><a href="http://www.raspberry-pi.ovh/files/VNC-Viewer-5.3.0-Linux-ARM" target="_blank" class="imCssLink">RASPBERRY ARM</a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Installez et lancez realVnc puis entrez l’adresse Ip réseau de votre Raspberry PI, suivie de votre port (par défaut 2) les deux séparés par “:”</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs16 cf3"><span><a href="http://blog.idleman.fr/wp-content/uploads/2013/04/image13.png" class="inline-block"><img title="image" src="http://blog.idleman.fr/wp-content/uploads/2013/04/image_thumb13.png" alt="image" width="430" height="247" border="0" style="margin-right: auto; margin-left: auto; padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: block; float: none; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Et cliquez sur “Connect”</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">NB : de mémoire, un warning va vous avertir que la connexion n’est pas sécurisée, cliquez sur le bouton continue (à moins que ça vous froisse que ca ne soit pas sécurisé évidemment <img class="wlEmoticon wlEmoticon-smilewithtongueout" src="http://blog.idleman.fr/wp-content/uploads/2013/04/wlEmoticon-smilewithtongueout2.png" alt="Tire la langue" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px;" data-selected="false">, chez vous ça ne change pas grand chose, mais évitez de vous connecter depuis un lieu public ou du boulot)</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Le client vous demande alors le mot de passe que vous avez donné au serveur VNC lors de son installation :</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs16 cf3"><span><a href="http://blog.idleman.fr/wp-content/uploads/2013/04/image14.png" class="inline-block"><img title="image" src="http://blog.idleman.fr/wp-content/uploads/2013/04/image_thumb14.png" alt="image" width="418" height="216" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Vous arrivez ensuite sur votre bureau distant et pouvez interagir avec comme vous le souhaitez <img class="wlEmoticon wlEmoticon-smile" src="http://blog.idleman.fr/wp-content/uploads/2013/04/wlEmoticon-smile1.png" alt="Sourire" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px;" data-selected="false"></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16"> </span></p><h2 style="margin: 1.71429rem 0px; padding: 0px; border: 0px; vertical-align: baseline; clear: both; line-height: 1.6;" class="cf1"><span class="fs16">Optimiser le serveur http en remplaçant Apache par Lighttpd</span></h2><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">On a vu dans le tuto <a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">Tuto <span class="cf3">Configurer en serveur</span></a> comment mettre en place un serveur dit “http” pouvant héberger des sites web sur le Raspberry PI.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Nous avions choisi le serveur Apache qui est le plus populaire, mais aussi le plus vieux et le plus lourd de ce qui se fait en ce moment.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Apache fait beaucoup d’entrées fichiers ce qui peut à long terme abimer la carte SD de votre raspberry PI, il est donc plus intéressant de se tourner vers ) des serveurs plus légers comme <span class="cf3"><a href="http://nginx.org/" target="_blank" class="imCssLink">Nginx</a></span> (vs <a href="http://www.raspberry-pi.ovh/files/nginx-1.8.1.zip" target="_blank" class="imCssLink">1.81</a>) ou <span class="cf3"><a href="http://www.lighttpd.net/" target="_blank" class="imCssLink">lighttpd</a></span> </span><span class="fs16">Les deux sont très rapides, légers et peu gourmands en ressources, et n’en déplaisent aux fanatiques de l’un ou de l’autre : ils sont relativement équivalents.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Parce qu’il faut faire un choix, et parce qu’il s’est avéré moins chiant à installer, j’ai choisis lighttpd * les pro-nginx vous pouvez huer *.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">lighttpd a surtout un gros avantage pour moi : il est beaucoup plus simple de le relier à PHP que nginx (c’est du vécu, j’ai fait 4/5 tutos sur nginx, aucun n’était d’accord avec l’autre, et certains parlaient même d’installer lighttpd en premier puis de le désinstaller afin d’avoir les prérequis pour nginx… bref)</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Donc si vous avez Apache, commencez par le désinstaller correctement sinon il fera interférence avec lighttpd par la suite. Attention cependant apache peut être très chiant a désinstaller, le mieux reste encore de repartir d’un Raspian vierge si vous le pouvez, sinon je vous laisse vous amuser comme je l’ai fait à tester tout plein de manip pour vous débarrasser de l’outrecuidant correctement.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">La commande suivante semble fonctionner pour la désinstallation d’apache2 &nbsp;(à vos risques et perils):</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;"><span id="crayon-56c61f3cf11ba924576070" class="crayon-syntax crayon-syntax-inline &nbsp;crayon-theme-monokai crayon-theme-monokai-inline crayon-font-consolas" style="margin: 0px 2px; padding: 0px 2px; vertical-align: baseline; box-sizing: border-box; width: auto; border: 1px solid rgb(0, 0, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; line-height: 15px !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="crayon-pre crayon-code fs16" style="margin: 0px; padding: 0px; vertical-align: baseline; width: auto; overflow: visible; border: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"><span class="cf4">sudo</span> </span><span class="crayon-v" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">apt</span><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span><span class="crayon-r" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">get</span><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span><span class="crayon-v" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">remove</span><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">--</span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">purge</span><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span><span class="crayon-sy" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">$</span><span class="crayon-sy" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">(</span><span class="crayon-v" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">dpkg</span><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">l</span><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span><span class="crayon-v" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">apache</span><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">*</span><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">|</span><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span><span class="crayon-r" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">grep</span><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span><span class="crayon-v" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">ii</span><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">|</span><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span><span class="crayon-r" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">awk</span><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span><span class="crayon-s" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">'{print $2}'</span><span class="crayon-sy" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">)</span></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Installez ensuite Lighttpd</span></p><div id="scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:86dbdb27-6077-4ce5-b906-232d8932b9b8" class="wlWriterEditableSmartContent cf1" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; display: inline; float: none;"><div id="crayon-56c61f3cf11bf472817210" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate fs16" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf1" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf6" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="656" data-minrequestedwidth="656"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt imVc" data-settings="show" style="width: 19px; height: 15px; padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c61f3cf11bf472817210-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;">1</div></div></td><td class="crayon-code imVt" style="width: 634px; height: 15px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c61f3cf11bf472817210-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="crayon-e cf4" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">sudo</span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">apt</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">get </span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">install </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">lighttpd</span></span></div></div></td></tr></tbody></table></div></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Puis les pré-requis pour avoir php5 et le relier à Lighhtpd</span></p><div id="scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:49fd26e8-9516-472c-b972-ff62f10b12bd" class="wlWriterEditableSmartContent cf1" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; display: inline; float: none;"><div id="crayon-56c61f3cf11c4748660569" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate fs16" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf1" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 30px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf6" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="656" data-minrequestedwidth="656"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt imVc" data-settings="show" style="width: 19px; height: 30px; padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c61f3cf11c4748660569-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;">1</div><div class="crayon-num crayon-striped-num cf7" data-line="crayon-56c61f3cf11c4748660569-2" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">2</div></div></td><td class="crayon-code imVt" style="width: 634px; height: 30px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c61f3cf11c4748660569-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">sudo </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">apt</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">get </span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">install </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">php5</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">common </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">php5</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">cgi </span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">php5</span></span></div><div class="crayon-line crayon-striped-line" id="crayon-56c61f3cf11c4748660569-2" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">sudo </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">lighty</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">enable</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">mod </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">fastcgi</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">php</span></span></div></div></td></tr></tbody></table></div></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Redémarrez le serveur http</span></p><div id="scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:df2e99bb-e943-4d3a-a522-6b20079433d9" class="wlWriterEditableSmartContent cf1" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; display: inline; float: none;"><div id="crayon-56c61f3cf11c9079976690" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate fs16" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf1" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf6" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="656" data-minrequestedwidth="656"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt imVc" data-settings="show" style="width: 19px; height: 15px; padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c61f3cf11c9079976690-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;">1</div></div></td><td class="crayon-code imVt" style="width: 634px; height: 15px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c61f3cf11c9079976690-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">sudo </span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">service </span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">lighttpd </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">force</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">reload</span></span></div></div></td></tr></tbody></table></div></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">A ce moment là si vous avez des erreurs types “port 80 busy” un truc du style, c’est que vous avez mal désinstallé Apache et qu’il tourne encore, ou qu’un autre serveur Http est déjà en place.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Et enfin réattribuez les bons droits sur les bons dossiers pour que Lighttpd puisse faire son boulot</span></p><div id="scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:305ac917-2a4d-4a1d-b7eb-3ee1c126426a" class="wlWriterEditableSmartContent cf1" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; display: inline; float: none;"><div id="crayon-56c61f3cf11cf164959761" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate fs16" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf1" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 30px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf6" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="656" data-minrequestedwidth="656"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt imVc" data-settings="show" style="width: 19px; height: 30px; padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c61f3cf11cf164959761-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;">1</div><div class="crayon-num crayon-striped-num cf7" data-line="crayon-56c61f3cf11cf164959761-2" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">2</div></div></td><td class="crayon-code imVt" style="width: 634px; height: 30px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c61f3cf11cf164959761-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">sudo </span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">chown </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">www</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">data</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">:</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">www</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">data</span></span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">/</span></span><span class="cf5"><span class="crayon-t" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">var</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">/</span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">www</span></span></div><div class="crayon-line crayon-striped-line" id="crayon-56c61f3cf11cf164959761-2" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">sudo </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">usermod</span></span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">a</span></span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-cn" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">G</span></span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">www</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">data </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">pi</span></span></div></div></td></tr></tbody></table></div></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Si tout s’est bien passé vous devriez pouvoir vous connecter via un navigateur à l’Ip de votre Raspberry PI et voir la page d’accueil par défaut de lighttpd</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs16 cf3"><span><a href="http://blog.idleman.fr/wp-content/uploads/2013/04/image15.png" class="inline-block"><img title="image" src="http://blog.idleman.fr/wp-content/uploads/2013/04/image_thumb15.png" alt="image" width="244" height="185" border="0" style="margin-right: auto; margin-left: auto; padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: block; float: none; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16"> </span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Pour ce qui est de la base de données, je vous conseille également de désinstaller MySQL (si vous n’avez installé aucune appli qui tourne avec évidemment) et de le remplacer par SQLite qui est un peu moins gourmand et épargnera votre raspberry PI également :</span></p><div id="scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:ae99822b-7a4c-429b-9b45-2020f35b4698" class="wlWriterEditableSmartContent cf1" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; display: inline; float: none;"><div id="crayon-56c61f3cf11d5493284585" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate fs16" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf1" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 45px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf6" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="656" data-minrequestedwidth="656"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt imVc" data-settings="show" style="width: 19px; height: 45px; padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c61f3cf11d5493284585-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;">1</div><div class="crayon-num crayon-striped-num cf7" data-line="crayon-56c61f3cf11d5493284585-2" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">2</div><div class="crayon-num" data-line="crayon-56c61f3cf11d5493284585-3" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;">3</div></div></td><td class="crayon-code imVt" style="width: 634px; height: 45px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c61f3cf11d5493284585-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">sudo </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">apt</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">get </span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">install </span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">sqlite3</span></span></div><div class="crayon-line crayon-striped-line" id="crayon-56c61f3cf11d5493284585-2" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">sudo </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">apt</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">get </span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">install </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">libsqlite3</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-cn" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">0</span></span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">libsqlite3</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">dev</span></span></div><div class="crayon-line" id="crayon-56c61f3cf11d5493284585-3" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">sudo </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">apt</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">get </span></span><span class="cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">install </span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">php5</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">sqlite</span></span></div></div></td></tr></tbody></table></div></div></div><h2 style="margin: 1.71429rem 0px; padding: 0px; border: 0px; vertical-align: baseline; clear: both; line-height: 1.6;" class="cf1"><span class="fs16">Utiliser le raspberry PI comme une seedbox</span></h2><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Une seedbox est un serveur dédié au téléchargement de fichiers vidéos/audio/multimédia etc…</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Il est très simple de transformer le Raspberry pi en seedbox afin de pouvoir faire les choses suivantes :</span></p><ul style="margin-right: 0px; margin-bottom: 1.71429rem; margin-left: 0px; border: 0px; vertical-align: baseline; list-style-position: outside; line-height: 1.71429;" class="cf1"><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs16">Avoir un client torrent disponible via une interface web sécurisée</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs16">Pouvoir lancer des torrents à télécharger de n’importe où et en partager non stop tant que le Raspberry est allumé (donc tout le temps vu le peu que ça consomme)</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs16">Enregistrer automatiquement les films (légaux bien entendu) téléchargés sur un disque dur externe (bah oui votre carte SD risque de faire la gueule sinon)</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs16">Accéder aux films de la seedbox depuis n’importe quel PC de votre réseau. On va commencer par monter un disque dur (le plus gros possible) de manière permanente sur le Raspberry PI, puis installer un serveur de partage de fichiers afin de pouvoir rendre accessibles nos fichiers depuis tous les pc de notre réseau, puis on installera un client de torrent permettant le téléchargement et l’envoi de fichiers multimédias, enfin on configurera tout ça pour lier les éléments ensemble.</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs16"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">Monter le disque dur:</strong> des bidouilles de commandes, aucun programme</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs16"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">Installer le serveur de partage de fichiers :</strong> on choisira Samba, qui permet le partage avec des pc Linux, Windows et Mac (mais pas sans douleur)</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs16"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">Installer un client torrent :</strong> on choisira Transmission, le célèbre client torrent natif d’Ubuntu, à mon sens le meilleur qui existe, simple, ultra fonctionnel, beau, peut être utilisé en ligne de commande, en fenêtre depuis le bureau ou carrément via une interface web (ce qui nous intéresse le plus).</span></li></ul><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Premièrement on update parce que ça ne fait jamais de mal avant une installation :</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">sudo apt-get update</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">puis on installe un paquet qui nous sera indispensable par la suite :</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">sudo apt-get install ntfs-3g</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Puis, on trouve un disque dur assez balèze (genre 2To) et on le branche au port USB du raspberry PI. La rapidité de transmission est un plus, mais ce qu’il vous faut c’est surtout :</span></p><ul style="margin-right: 0px; margin-bottom: 1.71429rem; margin-left: 0px; border: 0px; vertical-align: baseline; list-style-position: outside; line-height: 1.71429;" class="cf1"><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs16">Un disque dur grosse capacité</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs16">Un disque dur avec une alim externe (le rpi étant très mauvais avec les périphériques alimentés par USB).</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs16">Un disque dur formaté en NTFS (vous pouvez le mettre en FAT mais il vous faudra modifier quelques paramètres de ce tuto)</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs16">Placez au moins un fichier test.txt sur le disque dur pour faire des tests d’ouverture de disque plus loin dans le tuto</span></li></ul><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">on va créer une sorte de “lecteur permanent” dans le dossier “media” sur lequel on pointera notre client de torrents.</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">sudo mkdir -p /media/disque2To</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">On configure les droits pour que le client torrent puisse écrire dans ce lecteur</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">sudo chmod -R 777 /media/disque2To</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Attendez quelques secondes le temps que le rpi détecte le disque dur puis tapez</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">sudo blkid</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Une liste de périphériques s’affichent, retenez le champ UUID pour le périphérique ayant le LABEL qui correspond à votre disque dur (mon disque dur 2To s’appelle IdleBox)</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs16 cf3"><span><a href="http://blog.idleman.fr/wp-content/uploads/2013/04/image16.png" class="inline-block"><img title="image" src="http://blog.idleman.fr/wp-content/uploads/2013/04/image_thumb16.png" alt="image" width="554" height="77" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Maintenant qu’on connaît l’identifiant unique de notre disque dur, on va spécifier au rpi de lier à chaque démarrage cette id au dossier qu’on a créé spécialement pour lui (/media/disque2To).</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">On édite pour ça le fichier /etc/fstab</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">sudo nano /etc/fstab</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">et on y ajoute la ligne</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">UUID=<strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;" class="cf10">F21843B31843759F</span></strong> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/media/disque2To ntfs-3g &nbsp;&nbsp;defaults &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Évidemment l’UUID doit être modifié en fonction de votre UUID à vous.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs16 cf3"><span><a href="http://blog.idleman.fr/wp-content/uploads/2013/04/image17.png" class="inline-block"><img title="image" src="http://blog.idleman.fr/wp-content/uploads/2013/04/image_thumb17.png" alt="image" width="564" height="53" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Puis on sauvegarde et on reboot</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">sudo reboot</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">A ce stade la normalement le contenu de votre disque dur est monté et est disponible via le dossier /media/disque2To, vous pouvez vérifier qu’il contient bien votre fichier test.txt avec la commande.</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">cd /media/disque2To &amp;&amp; ls</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs16 cf3"><span><a href="http://blog.idleman.fr/wp-content/uploads/2013/04/image18.png" class="inline-block"><img title="image" src="http://blog.idleman.fr/wp-content/uploads/2013/04/image_thumb18.png" alt="image" width="561" height="50" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">(oui moi j’ai un peu plus de bordel qu’un simple fichier test.txt mais le principe reste la <img class="wlEmoticon wlEmoticon-smilewithtongueout" src="http://blog.idleman.fr/wp-content/uploads/2013/04/wlEmoticon-smilewithtongueout2.png" alt="Tire la langue" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px;" data-selected="false">)</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Cette phase est très délicate, le système ou le disque dur font souvent la sourde oreille, vérifiez donc bien que vous avez vos fichiers dans /media/disque2To sans quoi la suite du tuto ne fonctionnera pas.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">En cas d’erreur vérifiez bien :</span></p><ul style="margin-right: 0px; margin-bottom: 1.71429rem; margin-left: 0px; border: 0px; vertical-align: baseline; list-style-position: outside; line-height: 1.71429;" class="cf1"><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs16">Que votre disque dur est bien connecté au port usb du raspberry PI, démarré et alimenté lors du démarrage du raspberry PI</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs16">Que votre disque dur est bien formaté au format NTFS</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs16">Que votre disque dur est bien alimenté par une source autre que le raspberry PI</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs16">Que l’UUID entré dans le /etc/fstab correspond bien à l’UUID de votre disque dur</span></li></ul><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Si l’erreur persiste, essayez de trouver l’erreur au démarrage du Raspberry PI, généralement il vous indique d’où vient la couille avec un gros “FAILED” rouge.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Bien !! Le plus dur est fait !! <img class="wlEmoticon wlEmoticon-openmouthedsmile" src="http://blog.idleman.fr/wp-content/uploads/2013/04/wlEmoticon-openmouthedsmile1.png" alt="Rire" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px;" data-selected="false"></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Maintenant on vas faire en sorte que le disque dur (accessible depuis le dossier /media/disque2To si vous avez bien suivi) soit également disponible en partage, c’est-à-dire que les autres PC de votre réseau local puissent y accéder !</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Pour celà, il vous faudra installer un serveur de partage sur votre Raspberry PI, le plus connu (et le seul que je connais d’ailleurs) est samba !</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">On installe donc samba :</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">sudo apt-get install samba</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Il est possible qu’il soit déjà installé, chez moi il l’était mais c’est peut-être parce que j’avais fait la manip précédemment, dans tous les cas la commande ne vous fera pas de mal <img class="wlEmoticon wlEmoticon-smile" src="http://blog.idleman.fr/wp-content/uploads/2013/04/wlEmoticon-smile1.png" alt="Sourire" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px;" data-selected="false">.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Maintenant que samba est installé il va falloir partager le dossier /media/disque2To sur le réseau.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Pour ça, on commence par éditer le fichier de configuration de samba :</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">sudo nano /etc/samba/smb.conf</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Cherchez la ligne</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2"># security = user</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">et placez en dessous :</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">security = share</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs16 cf3"><span><a href="http://blog.idleman.fr/wp-content/uploads/2013/04/image19.png" class="inline-block"><img title="image" src="http://blog.idleman.fr/wp-content/uploads/2013/04/image_thumb19.png" alt="image" width="506" height="127" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">De cette manière vous ouvrez un peu votre serveur de partage aux utilisateurs autres que les utilisateurs interne du rpi</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Puis cherchez le bloc [print$] …</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Et placez en dessous le bloc :</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">[disque2To]<br>comment = Disque multimedia<br>path = /media/disque2To<br>browseable = yes<br>guest ok = yes<br>writeable = yes<br>public = yes<br>create mask = 0777<br>directory mask = 0777</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs16 cf3"><span><a href="http://blog.idleman.fr/wp-content/uploads/2013/04/image20.png" class="inline-block"><img title="image" src="http://blog.idleman.fr/wp-content/uploads/2013/04/image_thumb20.png" alt="image" width="517" height="299" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Enfin redémarrez samba</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">sudo service samba restart</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Et remettez un ptit coup de permission sur votre dossier partagé pour être sûr.</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">chmod 777 –R /media/disque2To</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Vous devriez maintenant voir le partage depuis vos autres PC, par exemple depuis mon Windows Seven :</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs16 cf3"><span><a href="http://blog.idleman.fr/wp-content/uploads/2013/04/image21.png" class="inline-block"><img title="image" src="http://blog.idleman.fr/wp-content/uploads/2013/04/image_thumb21.png" alt="image" width="522" height="293" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Vérifiez bien que vous avez la permission d’entrer et d’écrire dans le disque.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">nb :</strong> Il est possible que ce sale bataw de Windows vous demande un login/mot de passe alors que nous avons tout fait pour justement ne rien avoir à mettre.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Il vous faudra alors taper:</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">login :</strong> WORKGROUP\votre login Windows</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">mdp :</strong> votre mot de passe Windows</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Cochez la case ‘se souvenir’ histoire de ne plus être emmerdé par la suite.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Bien !! Maintenant que nous avons un disque dur monté et partagé sur le réseau. Il va falloir le remplir avec vos films de vacances légalement téléchargés via un logiciel de torrent !</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Le must pour moi en matière de logiciel de torrent c’est transmission : léger, simple, ergonomique, dispose d’une jolie interface web et facilement configurable</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">sudo apt-get install transmission-daemon</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Transmission va utiliser deux dossiers sur votre disque dur, un dossier pour stocker les fichiers temporaires de téléchargements, et un dossier pour stocker les fichiers finaux, on va donc créer ces deux dossiers</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">sudo mkdir /media/disque2To/downloaded /media/disque2To/pending</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">downloaded :</strong> dossier qui contiendra vos films de vacances terminés<br><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">pending :</strong> dossier qui contiendra vos films de vacances en cours de téléchargement</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">On place ensuite l’utilisateur “pi” dans le groupe de transmission</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">sudo usermod -a -G debian-transmission pi</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Et on place les deux dossiers précédemment créé dans ce groupe aussi (c’est la fête du slip pour gérer les permissions)</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">chgrp debian-transmission /media/disque2To/downloaded /media/disque2To/pending</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Enfin (et c’est la dernière manip concernant les permissions) on donne un droit 770 sur les deux dossiers</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">chmod -R 770 /media/disque2To/downloaded /media/disque2To/pending</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">On édite le fichier de configuration de transmission pour lui filer nos deux dossiers et régler quelques autres configs rigolotes :</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">sudo nano /etc/transmission-daemon/settings.json</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Trouvez les lignes qui correspondent à ça :</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">“download-dir”:” /un/chemin/pourri” ,<br>“incomplete-dir”:” /un/autre/chemin/pourri” ,<br>“incomplete-dir-enabled”: false,<br>“rpc-password”: “un mot de passe crypté super long type {EBIBEIUBSIBSIBSIUB…”,<br>“rpc-username”:”transmission”,<br>“rpc-whitelist “: “127.0.0.1”,</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">et remplissez-les avec les bonnes valeurs</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">“download-dir”:” /media/disque2To/downloaded” ,<br>“incomplete-dir”:” /media/disque2To/pending” ,<br>“incomplete-dir-enabled”: true,<br>“rpc-password”: “mon mot de passe”,<br>“rpc-username”:”mon pseudo”,<br>“rpc-whitelist “: “127.0.0.1,*.*.*.*”,</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Évidemment les lignes ne sont pas toutes collées les unes sous les autres, il vous faudra les chercher <img class="wlEmoticon wlEmoticon-smile" src="http://blog.idleman.fr/wp-content/uploads/2013/04/wlEmoticon-smile1.png" alt="Sourire" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px;" data-selected="false"> (je vous avais pas dit que je vous vendrai du bonheur ?)</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">nb :</strong> Notez que j’ai placé la clause *.*.*.* dans rpc-whitelist, celle-ci indique que toutes les adresses Ip ont le droit de se connecter à votre seedbox (si elles connaissent le user/mot de passe bien entendu), ceci vous permet de vous connecter de partout dans le monde à votre seedbox (il faudra penser à débloquer le port 9091 de votre routeur/box si vous souhaitez y accéder de l’extérieur quand même mais bon…) si vous voulez que Transmission n’accepte que les Ip réseau locale, vous pouvez mettre 192.168.*.* à la place.<i><br></i></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Enregistrez le bousin et relancez le service</span></p><i class="cf1"><blockquote style="margin-bottom: 1.71429rem; margin-left: 0px; padding: 1.71429rem; border-width: 0px; vertical-align: baseline; quotes: none;"><p style="border: 0px; vertical-align: baseline;" class="fs16 cf2">sudo service transmission-daemon reload</p></blockquote></i><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Votre seedbox est fin prête !!</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Pour télécharger de nouveaux films de vacances via des fichiers torrents vous n’avez plus qu’à vous connecter via un navigateur à votre seedbox à l’adresse :</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">http://<span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;" class="cf11"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">ip.du.raspberry.pi</strong></span>:<strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;" class="cf12">9091</span></strong></span></p><h2 style="margin: 1.71429rem 0px; padding: 0px; border: 0px; vertical-align: baseline; clear: both; line-height: 1.6;" class="cf1"><span class="fs16"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;" class="cf11">ip.du.raspberry.pi :</span> L’Ip réseau de votre Raspberry PI (ou son Ip web si vous y accédez depuis un autre endroit que votre réseau local)</span></h2><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;" class="cf12">9091:</span></strong> port par défaut de Transmission (vous pouvez le modifier dans le setting.json, moi j’ai mis 666 pour le fun <img class="wlEmoticon wlEmoticon-smilewithtongueout" src="http://blog.idleman.fr/wp-content/uploads/2013/04/wlEmoticon-smilewithtongueout2.png" alt="Tire la langue" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px;" data-selected="false">)</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">A la connexion Transmission vous demandera les login et mot de passe entrés dans le setting.json:</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs16 cf3"><span><a href="http://blog.idleman.fr/wp-content/uploads/2013/04/image22.png" class="inline-block"><img title="image" src="http://blog.idleman.fr/wp-content/uploads/2013/04/image_thumb22.png" alt="image" width="508" height="432" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Et paf vous atterrissez sur votre client torrent :</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Vos fichiers une fois téléchargés apparaîtront dans le dossier downloaded de votre disque dur, lui même disponible en partage depuis tout votre réseau local.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs16 cf3"><span><a href="http://blog.idleman.fr/wp-content/uploads/2013/04/test.png" class="inline-block"><img title="test" src="http://blog.idleman.fr/wp-content/uploads/2013/04/test_thumb.png" alt="test" width="529" height="443" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16"> </span></p><h2 style="margin: 1.71429rem 0px; padding: 0px; border: 0px; vertical-align: baseline; clear: both; line-height: 1.6;" class="cf1"><span class="fs16">[Bonus] Personnaliser un peu le Raspberry PI</span></h2><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16"> </span></p><h2 style="margin: 1.71429rem 0px; padding: 0px; border: 0px; vertical-align: baseline; clear: both; line-height: 1.6;" class="cf1"><span class="fs16">Changer le nom du Raspberry PI</span></h2><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Par défaut le rpi s’appelle Raspberry pi ce qui est laid nous en conviendrons on à donc cette ligne qui précède toutes nos commande:</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="cf3"><a href="mailto:pi@raspberrypi">pi@raspberrypi</a></span>: ~#</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Pour changer ce nom il faut éditer les fichiers /etc/hostname et /etc/hosts, dans ces deux fichiers, remplacez le nom raspberrypi par le nom que vous souhaitez, puis sauvegardez, fermez et redémarrez le raspberry PI, j’ai appelé le mien pib0x (…je sais… mais je n’avais pas d’idées et j’avais la gueule de bois, ne me jugez pas T_T)</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs16 cf3"><span><a href="http://blog.idleman.fr/wp-content/uploads/2013/04/image23.png" class="inline-block"><img title="image" src="http://blog.idleman.fr/wp-content/uploads/2013/04/image_thumb23.png" alt="image" width="244" height="22" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><h2 style="margin: 1.71429rem 0px; padding: 0px; border: 0px; vertical-align: baseline; clear: both; line-height: 1.6;" class="cf1"><span class="fs16">Mettre un message d’accueil</span></h2><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Lors de l’ouverture d’une console sur votre rpi, vous avez un message par défaut de toute beauté qui s’affiche :</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">The programs included with the Debian GNU/Linux system are free software;<br>the exact distribution terms for each program are described in the<br>individual files in /usr/share/doc/*/copyright.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent<br>permitted by applicable law.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Type ‘startx’ to launch a graphical session</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">On va changer ça par quelque chose d’un peu plus yorkmouth !!</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Pour celà il faut éditer le fichier <strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">/etc/motd</strong> et remplacer le message par ce que vous souhaitez puis sauvegarder et rebooter (encore et toujours)!! Personnellement je vous conseille un message en ascii ça claque toujours</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs16 cf3"><span><a href="http://blog.idleman.fr/wp-content/uploads/2013/04/image24.png" class="inline-block"><img title="image" src="http://blog.idleman.fr/wp-content/uploads/2013/04/image_thumb24.png" alt="image" width="464" height="343" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Pas besoin de vous prendre la tête des jours à faire l’ascii vous-même, des services existent pour ça, <span class="cf3"><a href="http://patorjk.com/software/taag/#p=display&h=3&v=3&f=Small&t=Please%20Pay%20me%20a%20Beer%2C%20I%20need%20a%20Beer%20(Idle)" target="_blank" class="imCssLink">suivez le guide</a></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs16">Je repasserais certainement sur ce tuto pour ajouter de petites astuces de temps en temps, aussi pensez à venir lorgner quand vous avez une minute <img class="wlEmoticon wlEmoticon-smile" src="http://blog.idleman.fr/wp-content/uploads/2013/04/wlEmoticon-smile1.png" alt="Sourire" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px;" data-selected="false"></span></p></div></header></div>]]></description>
			<pubDate>Thu, 10 Mar 2016 20:10:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?optimisation,-trucs---astuces-raspberry</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/4al7np00</guid>
		</item>
		<item>
			<title><![CDATA[Contrôler sa Raspberry pi avec un smartphone ou une tablette Android en wifi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_55p141a3"><header class="entry-header cf2 cb2"><h1 class="entry-title cf1"><span class="fs16">Contrôler sa Raspberry pi avec un smartphone ou une tablette Android en wifi</span></h1><h1 class="entry-title cf1"><br></h1><h1 class="entry-title cf1"><span class="fs16 cf2">Si vous</span><span class="fs16 cf2"> </span><span class="fs16 cf2">transportez souvent votre <span class="cf3 cb1"><a href="http://www.amazon.fr/gp/product/B008PT4GGC/ref=as_li_ss_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B008PT4GGC&amp;linkCode=as2&amp;tag=website0b2-21">Raspberry pi</a></span></span><span class="fs16 cf2"> </span><span class="fs16 cf2">ou que vous l’utilisez</span><span class="fs16 cf2"> </span><span class="fs16 cf2">sur votre télévision,</span><span class="fs16 cf2"> </span><span class="fs16 cf2">il est parfois embêtant de toujours avoir u</span><span class="fs16 cf2">n clavier et une souris</span><span class="fs16 cf2"> </span><span class="fs16 cf2">pour pouvoir le contrôler. Sachez que l’on peut</span><span class="fs16 cf2"> </span><span class="fs16 cf2">contrôler la <span class="cf3 cb1"><a href="http://www.amazon.fr/gp/product/B008PT4GGC/ref=as_li_ss_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B008PT4GGC&amp;linkCode=as2&amp;tag=website0b2-21">Raspberry pi</a></span> avec une application Android</span><span class="fs16 cf2">, c’est très pratique, car on peut bouger le curseur, cliquer et même utiliser le clavier.</span></h1></header><div class="mt1 entry-content content cb2"><p class="mb1 cf2"><span class="fs16">Pour ce tutoriel, il faut vous munir d’un smartphone ou d’une tablette sous Android.</span></p><h1 class="cf1"><span class="fs16">L’application Android</span></h1><p class="mb1"><span class="fs16"><span class="cf2">Télécharger l’application </span><span class="cf2"><span class="cf3"><a href="http://play.google.com/store/search?q=Simple+computer+remote+" target="_blank" class="imCssLink">Simple computer remote</a></span></span><span class="cf2"> sur votre </span><span class="cf4 cb1"><a href="http://www.amazon.fr/s/?_encoding=UTF8&amp;camp=1642&amp;creative=19458&amp;linkCode=ur2&amp;pageMinusResults=1&amp;suo=1399154335181&amp;tag=website0b2-21&amp;url=search-alias%3Daps#/ref=nb_sb_noss_1?__mk_fr_FR=%C3%85M%C3%85%C5%BD%C3%95%C3%91&amp;url=search-alias%3Daps&amp;field-keywords=smartphone&amp;sprefix=smartp%2Caps&amp;rh=i%3Aaps%2Ck%3Asmartphone&amp;sepatfbtf=true&amp;tc=1399154337925">smartphone</a></span><span class="cf2"> ou </span>tablette<span class="cf2"> Android, l’application ne fait que </span><span class="cf2">130k</span><span class="cf2"> et fonctionne avec une version d’</span><span class="cf2">Android 2.1 ou supérieur</span><span class="cf2">.</span></span></p><p class="imTACenter mb1 cf2"><span class="fs16"><img src="http://the-raspberry.com/wp-content/uploads/2014/02/Screenshot_2013-11-21-15-04-26.png" alt="Android raspberry pi control" width="284" height="504" class="mb1 alignnone &nbsp;wp-image-11581" data-selected="false"><img src="http://the-raspberry.com/wp-content/uploads/2014/02/Screenshot_2013-11-21-15-04-34.png" alt="Android raspberry pi control" width="284" height="504" class="mb1 alignnone &nbsp;wp-image-11582" data-selected="false"></span></p><h1 class="cf1"><span class="fs16">Téléchargement du logiciel sur le Raspberry pi</span></h1><p class="mb1 cf2"><span class="fs16">Il faut maintenant télécharger le logiciel sur le Raspberry pi. Ouvre votre navigateur internet (je vous conseille Midori) et rendez-vous à cette adresse internet (recopiez-la dans la barre d’URL ) : <span class="cf3"><a href="http://philproctor.github.io/SimpleComputerRemote/" target="_blank" class="imCssLink">http://philproctor.github.io/SimpleComputerRemote/</a></span></span></p><p class="mb1 cf2"><span class="fs16"><a href="http://www.raspberry-pi.ovh/files/simplecomputerremote_1.2_win32.exe" target="_blank" class="imCssLink">Windows Host	x86 32-bit</a> - </span><span class="fs16"><a href="http://www.raspberry-pi.ovh/files/simplecomputerremote_1.2_win64.exe" target="_blank" class="imCssLink">Windows Host	x64 64-bit</a> - </span><span class="fs16"><a href="http://www.raspberry-pi.ovh/files/simplecomputerremote_1.2_apple.pkg" target="_blank" class="imCssLink">Mac OS X Host	x64 64-bit</a> - </span><span class="fs16"><a href="http://www.raspberry-pi.ovh/files/simplecomputerremote_1.2_i386.deb" target="_blank" class="imCssLink">Linux Host	x86 32-bit</a> - </span><span class="fs16"><a href="http://www.raspberry-pi.ovh/files/simplecomputerremote_1.2_amd64.deb" target="_blank" class="imCssLink">Linux Host	x64 64-bit</a> - </span><span class="fs16"><a href="http://www.raspberry-pi.ovh/files/simplecomputerremote_1.2_armhf.deb" target="_blank" class="imCssLink">Linux Host	ARM (Raspberry Pi)</a> -</span></p><p class="mb1 cf2"><span class="fs16">Repérer la ligne de Linux Host Raspberry pi puis cliquer sur download. Une fenêtre s’ouvre, cliquer sur enregistrer</span></p><p class="mb1 cf2"><span class="fs16"><img src="http://the-raspberry.com/wp-content/uploads/2013/11/2013_11_21_151351.png" alt="2013_11_21_151351" width="816" height="616" srcset="http://the-raspberry.com/wp-content/uploads/2013/11/2013_11_21_151351-300x226.png 300w, http://the-raspberry.com/wp-content/uploads/2013/11/2013_11_21_151351.png 1020w" sizes="(max-width: 816px) 100vw, 816px" class="mb1 alignnone &nbsp;wp-image-10317" data-selected="false"></span></p><p class="mb1 cf2"><span class="fs16">Si tout s’est bien passé, le fichier s’est normalement enregistré dans le dossier pi.</span></p><p class="mb1 cf2"><span class="fs16"><img src="http://the-raspberry.com/wp-content/uploads/2013/11/2013_11_21_151726.png" alt="2013_11_21_151726" width="639" height="484" srcset="http://the-raspberry.com/wp-content/uploads/2013/11/2013_11_21_151726-300x227.png 300w, http://the-raspberry.com/wp-content/uploads/2013/11/2013_11_21_151726.png 639w" sizes="(max-width: 639px) 100vw, 639px" class="mb1 alignnone size-full wp-image-10318" data-selected="false"></span></p><h1 class="cf1"><span class="fs16">Installer le logiciel sur le Raspberry pi</span></h1><p class="mb1 cf2"><span class="fs16">Renommer le fichier en remote.deb</span></p><p class="mb1 cf2"><span class="fs16"><img src="http://the-raspberry.com/wp-content/uploads/2013/11/2013_11_21_152217.png" alt="2013_11_21_152217" width="106" height="89" class="mb1 alignnone size-full wp-image-10316" data-selected="false"></span></p><p class="mb1 cf2"><span class="fs16">Ouvrer le dossier pi en tant qu’utilisateur root en faisant Outils –&gt; ouvrir le dossier en tant qu’utilisateur root</span></p><p class="mb1 cf2"><span class="fs16">Puis ouvrer le dossier dans un terminal en faisant Outils –&gt; ouvrir le dossier dans un terminal</span></p><p class="mb1 cf2"><span class="fs16">Faites maintenant la commande :</span></p><pre class="mt2 mb1 cf5"><span class="fs16 ff1">dpkg -i remote.deb</span></pre><p class="mb1 cf2"><span class="fs16">Rendez-vous dans le dossier /opt.</span></p><p class="mb1 cf2"><span class="fs16">Si tous se passent bien un dossier rekap est apparu dans le dossier /opt. Dans ce dossier se trouve un exécutable, exécuter le.</span></p><p class="mb1 cf2"><span class="fs16">Une fois exécuté le programme qui permet de contrôler son Raspberry pi avec l’application va tourner en tâche de fond.</span></p><p class="mb1 cf2"><span class="fs16"><img src="http://the-raspberry.com/wp-content/uploads/2013/11/2013_11_21_152752.png" alt="2013_11_21_152752" width="639" height="486" srcset="http://the-raspberry.com/wp-content/uploads/2013/11/2013_11_21_152752-300x228.png 300w, http://the-raspberry.com/wp-content/uploads/2013/11/2013_11_21_152752.png 639w" sizes="(max-width: 639px) 100vw, 639px" class="mb1 alignnone size-full wp-image-10313" data-selected="false"></span></p><h1 class="cf1"><span class="fs16">Contrôler son Raspberry pi à l’aide d’un appareil Android</span></h1><p class="mb1 cf2"><span class="fs16">Allez maintenant dans les paramètres de l’application, cochez « Auto-Connect » et cliquez sur « Select Server », choisissez « localhost ». &nbsp;Maintenant sortez des paramètres de l’application et vous pourrez contrôler votre Raspberry pi.</span></p><p class="mb1 cf2"><span class="fs16"><img src="http://the-raspberry.com/wp-content/uploads/2014/02/Screenshot_2013-11-21-15-05-15.png" alt="Android raspberry pi controle" width="284" height="504" class="mb1 alignnone &nbsp;wp-image-11585" data-selected="false"> <img src="http://the-raspberry.com/wp-content/uploads/2014/02/Screenshot_2013-11-21-15-05-28.png" alt="Android raspberry pi controle" width="284" height="504" class="mb1 alignnone &nbsp;wp-image-11586" data-selected="false"></span></p></div></div>]]></description>
			<pubDate>Wed, 02 Mar 2016 21:07:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?controler-sa-raspberry-pi-avec-un-smartphone-ou-une-tablette-android-en-wifi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/55p141a3</guid>
		</item>
		<item>
			<title><![CDATA[Mettre l’image du Raspberry pi en plein écran]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_5x4n4ri7"><header class="entry-header cf3"><h1 class="entry-title cf1"><span class="fs12">Mettre l’image du Raspberry pi en plein écran</span></h1><div><br></div><div><p class="mb1"><span class="fs12">Certains ont peut être remarqué lorsque que vous utilisez un Raspberry pi sur une télé HD,<span class=""> des bandes noires apparaissent sur les cotés</span>, vous aurez beau activer l’overscan ça ne changera rien.</span></p><p class="mb1"><span class="fs12">Pour remédier à ce problème, il faut se rendre dans le fichier config.txt qui se trouve à la racine de votre carte SD. Insérer votre carte SD dans un ordinateur et <span class="">éditer le fichier config.txt</span> en changeant ces valeurs.</span></p><p class="mb1"><span class="fs12">hdmi_mode=16<br class="">hdmi_drive=2<br class="">disable_overscan=1</span></p><p class="mb1"><span class="fs12 cf2"><a href="http://the-raspberry.com/wp-content/uploads/2014/02/2014_02_09_102349.png"><img alt="config.txt hdmi" src="http://the-raspberry.com/wp-content/uploads/2014/02/2014_02_09_102349.png" width="655" height="427" srcset="http://the-raspberry.com/wp-content/uploads/2014/02/2014_02_09_102349-300x195.png 300w, http://the-raspberry.com/wp-content/uploads/2014/02/2014_02_09_102349.png 655w" sizes="(max-width: 655px) 100vw, 655px" class="mb1 alignnone size-full wp-image-11567" data-selected="false"></a></span></p><p class="mb1"><span class="fs12">Pour la petite explication, le hdmi_mode 16 va mètre l’image en 1080p, le hdmi_drive va forcé l’HDMI plutôt que le DVI et disable_overscan va désactiver l’overscan.</span></p></div><div><span class="fs12"><span class="">et &nbsp;</span></span><span class="fs12">taper</span></div><div><span class="fs12"><span class="">SUDO RASPI-CONFIG</span><br class=""><span class="">se déplacer dans la configuration avancée</span><br class=""><span class="">et déactiver l’overscan.</span></span><br></div><div><br></div><div><span class="fs12"><span class="">voir aussi http://elinux.org/RPiconfig</span></span><br></div></header></div>]]></description>
			<pubDate>Mon, 29 Feb 2016 21:22:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?mettre-l-image-du-raspberry-pi-en-plein-ecran</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/5x4n4ri7</guid>
		</item>
		<item>
			<title><![CDATA[Les commandes les plus utiles pour son Raspberry Pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_1517rmw9"><h1 itemprop="itemReviewed" itemscope="" itemtype="http://schema.org/Thing" class="name post-title entry-title cf1 cb1"><span itemprop="name" class="fs16">Les commandes Linux les plus utiles pour son Raspberry Pi</span></h1><div class="clear cf1 cb1"></div><div class="entry cf1 cb1"><p class="mt1 mb1"><span class="fs16">Quel que soit le <b><span class="cf2"><a href="http://raspberrypis.net/trouver-son-systeme-dexploitation-grace-a-noobs/" title="Trouver son système d'exploitation" target="_blank">système d’exploitation installé</a></span></b> sur son Raspberry Pi, il est possible de l’utiliser de <strong class="">différentes manières</strong>. La façon la plus intuitive consiste à utiliser sa souris et à naviguer <strong class="">via l’interface graphique</strong> proposée par le système d’exploitation pour réaliser les actions souhaitées : changer de répertoire, créer un fichier, lancer un programme…</span></p><p class="mt1 mb1"><span class="fs16">Mais toutes ces actions sont également réalisables <strong class="">en ligne de commandes</strong> c’est à dire en saisissant des commandes dans <b><span class="cf2"><a href="http://www.raspberrypi.org/documentation/usage/terminal/" title="Le terminal du Raspberry Pi" target="_blank">un terminal</a></span></b>. L’intérêt de cette seconde méthode est généralement, outre le fait d’épater vos amis, de pouvoir <strong class="">automatiser certaines tâches répétitives</strong> en créant des scripts.</span></p><h2 class="cf3"><span class="fs16">La base de la base</span></h2><p class="mt1 mb1"><span class="fs16">Première étape et non des moindres : <strong class="">ouvrir le terminal</strong> permettant d’y saisir des commandes.</span></p><p class="mt1 mb1"><span class="fs16">Si vous avez le <b><span class="cf2"><a href="http://raspberrypis.net/mot-cle/raspbian/" title="Raspbian" target="_blank">système d’exploitation installé Raspbian</a></span></b>, alors il suffit de cliquer sur l’icône LXTerminal sur le bureau :<br class=""><b><span class="cf2"><a href="http://raspberrypis.net/wp-content/uploads/2014/09/lxterminal.png"><img src="http://raspberrypis.net/wp-content/uploads/2014/09/lxterminal.png" data-lazy-type="image" data-lazy-src="http://raspberrypis.net/wp-content/uploads/2014/09/lxterminal.png" alt="LXTerminal sous Raspbian" width="222" height="196" class="lazy aligncenter size-full wp-image-864 tie-appear" data-selected="false"></a></span></b></span></p><p class="mt1 mb1"><span class="fs16">Il est également possible de le retrouver dans le menu des programmes, dans la catégorie « Accessoires ».</span></p><p class="mt1 mb1"><span class="fs16">Une fois ouvert, vous devriez vous retrouver face à une <strong class="">fenêtre noire</strong> comme celle-ci :</span></p><p class="mt1 mb1"><b><span class="fs16 cf2"><a href="http://raspberrypis.net/wp-content/uploads/2014/09/lxterminal_open.png"><img src="http://raspberrypis.net/wp-content/uploads/2014/09/lxterminal_open-300x181.png" data-lazy-type="image" data-lazy-src="http://raspberrypis.net/wp-content/uploads/2014/09/lxterminal_open-300x181.png" alt="LXTerminal prêt à servir" width="300" height="181" class="lazy aligncenter size-medium wp-image-865 tie-appear" data-selected="false"></a></span></b></p><p class="mt1 mb1"><span class="fs16">Vous êtes maintenant prêt à faire comme dans les films, c’est à dire saisir des lignes de commandes <img draggable="false" alt="😀" src="http://s.w.org/images/core/emoji/72x72/1f600.png" class="emoji tie-appear" data-selected="false"></span></p><h2 class="cf3"><span class="fs16">Les commandes les plus utiles</span></h2><p class="mt1 mb1"><span class="fs16">Voici, dès à présent, une liste non exhaustive des commandes que j’estime utiles pour son Raspberry Pi.</span></p><h3 class="cf3"><span class="fs16">Commandes de commande</span></h3><ul class="mb2"><li class="mb3"><span class="fs16"><strong class="">man &lt;nom de la commande&gt;</strong> : permet de consulter le <strong class="">manuel associé</strong> à la commande passée en paramètre (man = manual). C’est à mon avis la commande la plus utile qui soit puisque grâce à elle, vous pourrez utiliser n’importe quelle commande facilement <img src="http://raspberrypis.net/wp-includes/images/smilies/simple-smile.png" data-lazy-type="image" data-lazy-src="http://raspberrypis.net/wp-includes/images/smilies/simple-smile.png" alt=":)" class="lazy wp-smiley tie-appear" data-selected="false"></span></li><li class="mb3"><span class="fs16"><strong class="">whereis &lt;nom de la commande&gt;</strong> : permet de connaître <strong class="">quel script est exécuté</strong> lors de l’appel à la commande.</span></li></ul><h3 class="cf3"><span class="fs16">Système</span></h3><ul class="mb2"><li class="mb3"><span class="fs16"><strong class="">top</strong> : permet de <strong class="">lister les processus</strong> du système.</span></li><li class="mb3"><span class="fs16"><strong class="">kill</strong> : permet de <strong class="">terminer un processus</strong>.</span></li><li class="mb3"><span class="fs16"><strong class="">df</strong> : permet de connaître l’<strong class="">espace disponible</strong> sur les disques.</span></li><li class="mb3"><span class="fs16"><strong class="">uname</strong> : permet d’afficher des informations importantes du système (version du système…).</span></li><li class="mb3"><span class="fs16"><strong class="">su</strong> : permet de changer d’utilisateur courant (su = switch user).</span></li></ul><h3 class="cf3"><span class="fs16">Fichiers &amp; repertoires</span></h3><ul class="mb2"><li class="mb3"><span class="fs16"><strong class="">pwd</strong> : permet de savoir dans <strong class="">quel répertoire vous vous trouvez</strong> actuellement (pwd = print working directory).</span></li><li class="mb3"><span class="fs16"><strong class="">cd &lt;nom ou chemin du répertoire&gt;</strong> : permet de <strong class="">changer de répertoire courant</strong> (cd = change directory). Cette commande permet de réaliser les mêmes actions que lorsque vous vous baladez avec votre souris dans l’arborescence de votre système.</span></li><li class="mb3"><span class="fs16"><strong class="">mkdir &lt;nom du répertoire&gt;</strong> : permet de <strong class="">créer un nouveau répertoire</strong> dans le répertoire courant (mkdir = make directory). Pour supprimer un répertoire, il suffit d’utiliser la commande <strong class="">rmdir &lt;nom du répertoire&gt;</strong>.</span></li><li class="mb3"><span class="fs16"><strong class="">ls</strong> : permet de <strong class="">lister les fichiers et répertoires</strong> contenus dans le répertoire courant.</span></li><li class="mb3"><span class="fs16"><strong class="">touch &lt;nom du fichier&gt;</strong> : permet de <strong class="">créer un nouveau fichier</strong> vide. A la base, cette commande permet de changer la date de modification du fichier cible mais losqu’il n’existe pas, elle le créé. Pour supprimer un fichier, il suffit de saisir <strong class="">rm &lt;nom du fichier&gt;.</strong></span></li><li class="mb3"><span class="fs16"><strong class="">chmod et chown</strong> : permettent de changer les permissions sur les fichiers et les répertoires.</span></li><li class="mb3"><span class="fs16"><strong class="">cp &lt;fichier source&gt; &lt;répertoire de destination&gt;</strong> : permet de copier le fichier source et de le coller dans le répertoire de destination (cp = copy). Il est également possible de réaliser un « couper/coller » à l’aide de la commande <strong class="">mv &lt;fichier source&gt; &lt;répertoire de destination&gt;</strong> (mv = move).</span></li><li class="mb3"><span class="fs16"><strong class="">cat &lt;nom du fichier&gt;</strong> : permet de lire le contenu d’un fichier (cat = catenate, littéralement concaténer).</span></li><li class="mb3"><span class="fs16"><strong class="">grep &lt;mots à trouver&gt; &lt;fichiers cibles&gt; </strong>: permet de <strong class="">rechercher une chaîne de caractères</strong> dans un ou plusieurs fichiers. Cette commande est extrêmement utile et puissante et je ne peux que vous conseiller de bien lire sa documentation (man grep).</span></li><li class="mb3"><span class="fs16"><strong class="">find</strong> : permet de <strong class="">rechercher des fichiers ou des répertoires</strong> selon leur nom.</span></li></ul><h3 class="cf3"><span class="fs16">Téléchargements</span></h3><ul class="mb2"><li class="mb3"><span class="fs16"><strong class="">wget &lt;adresse de la ressource&gt;</strong> : permet de <strong class="">télécharger la ressource</strong> hébergée à l’adresse définie.</span></li><li class="mb3"><span class="fs16"><strong class="">curl</strong> : permet de <strong class="">télécharger</strong> mais également de <strong class="">transmettre</strong> un fichier vers un serveur distant.</span></li><li class="mb3"><span class="fs16"><strong class="">ftp</strong> : permet de <strong class="">se connecter à l’aide du protocole FTP</strong> à un serveur distant. Vous pourrez ensuite télécharger ou transmettre plusieurs fichiers.</span></li></ul><h3 class="cf3"><span class="fs16">Réseau</span></h3><ul class="mb2"><li class="mb3"><span class="fs16"><strong class="">ping &lt;ip ou nom de domaine&gt;</strong> : permet de vérifier si la machine cible est <strong class="">bien accessible par le réseau</strong>.</span></li><li class="mb3"><span class="fs16"><strong class="">ifconfig</strong> : permet d’afficher des <strong class="">informations concernant les interfaces réseau</strong>. On l’utilise fréquemment pour trouver son IP.</span></li></ul><p class="mt1 mb1"><b><span class="fs16 cf2"><a href="http://raspberrypis.net/wp-content/uploads/2013/02/ip.png"><img src="http://raspberrypis.net/wp-content/uploads/2013/02/ip-300x144.png" data-lazy-type="image" data-lazy-src="http://raspberrypis.net/wp-content/uploads/2013/02/ip-300x144.png" alt="Trouver l'ip du Raspberry Pi" width="300" height="144" class="lazy aligncenter size-medium wp-image-598 tie-appear" data-selected="false"></a></span></b></p><p class="mt1 mb1"><span class="fs16">Enfin, notez que lorsque vous installez un nouveau logiciel sur votre machine, de <strong class="">nouvelles commandes seront disponibles</strong>. Par exemple, après avoir installé le logiciel de traitement de texte Emacs, la commande « emacs » sera disponible en ligne de commande pour lancer le programme.</span></p><p class="mt1 mb1"><span class="fs16">A bientôt !</span></p></div></div>]]></description>
			<pubDate>Fri, 19 Feb 2016 18:22:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?les-commandes-les-plus-utiles-pour-son-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/1517rmw9</guid>
		</item>
		<item>
			<title><![CDATA[Installer Nginx Raspbian, et accélérez votre serveur web Raspberry]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_g11a638z"><h1 class="post-title cf1" style="margin: 0px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Installer Nginx Raspbian, et accélérez votre serveur web Raspberry</span></h1><h1 class="post-title cf1" style="margin: 0px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span style="font-weight: normal;" class="fs16 cf2">C’est donc ici un tutoriel venant compléter</span><span style="font-weight: normal;" class="fs16 cf2"> </span><span style="font-style: inherit; font-weight: inherit; font-variant: inherit; font-stretch: inherit;" class="fs16 cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">celui traitant de l’installation d’un serveur web sur la Raspberry.</a></span><span style="font-weight: normal;" class="fs16 cf2"> </span><span style="font-weight: normal;" class="fs16 cf2">En effet, il sera ici question de l’installation d’</span><span style="font-style: inherit; margin: 0px; padding: 0px; border: 0px; font-variant: inherit; font-stretch: inherit; vertical-align: baseline;" class="fs16 cf2">un serveur web autre qu’Apache, à savoir Nginx</span><span style="font-weight: normal;" class="fs16 cf2">.</span></h1><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Nginx c’est quoi ?</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Avant d’installer Nginx, il convient de comprendre ce qu’est au juste Nginx.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nginx c’est <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">un serveur web</span>.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Il permet donc à un client <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">d’accéder à une ressource</span> sur une machine distante, et à cette machine de <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">retourner la ressource adaptée</span> au client. Il s’agit d’un <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">logiciel libre</span>, distribué sous licence BSD. Il a vu le jour en 2002, en Russie, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">mais ne c’est vraiment développé qu’à partir de 2006</span>, quand il a commencé à être traduit du russe vers l’anglais.</span></p><div id="attachment_1524" class="wp-caption aligncenter cf2" style="margin: 0px auto; padding: 10px 5px; border: 1px solid rgb(223, 223, 223); font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: center; max-width: 100%; widows: 1; width: 610px;"><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="fs16 cf3"><span><a href="http://raspbian-france.fr/wp-content/uploads/2014/04/parts_de_marche_nginx1.jpg" class="inline-block"><img class="wp-image-1524 size-full" src="http://raspbian-france.fr/wp-content/uploads/2014/04/parts_de_marche_nginx1.jpg" alt="Les parts de marché de Nginx monte rapidement" width="600" height="373" style="margin-right: auto; margin-left: auto; padding: 0px; border-width: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; max-width: 100%; height: auto; display: block;" data-selected="false"></a></span></span><p class="wp-caption-text" style="padding-top: 10px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs16">Nginx monte rapidement, ici l’évolution des parts de marché des serveurs web en 2016 – source : w3techs.com</span></p></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Nginx représente 20,4 % des serveurs.</span> C’est bien moins que son principal concurrent Apache, qui représente 60,6 % de parts de marché, mais c’est tout de même énorme. Il occupe ainsi <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">la deuxième place des serveurs</span> (devant les boulets de chez Microsoft avec leurs 14,1%), ce qui est une performance d’autant plus importante que l<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">e concurrent Apache occupe une place historique absolument énorme,</span> et est un acteur majeur, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">non seulement au-travers de son serveur, mais aussi au-travers de la licence Apache.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h3 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Mais pourquoi installer Nginx plutôt qu’Apache ?</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">C’est bien sûr la question la plus importante. <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Pourquoi choisir un serveur secondaire plutôt que l’acteur principal du marché ?</span> La réponse est simple, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">les performances !</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nginx est un serveur dit <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">« Asynchrone »</span>. Cela signifie qu’<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">il peut exécuter plusieurs actions en même temps</span>, sans attendre la fin de la première pour passer à la seconde. <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Ce n’est pas le cas d’Apache</span> qui, s’il permet plusieurs requêtes en même temps va alors <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">lancer de nouveaux processus.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">En clair, cela signifie trois choses.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Premièrement, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Nginx répond beaucoup plus vite</span> qu’Apache.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Deuxièmement, Nginx permet de <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">supporter plus d’utilisateurs simultanément.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Troisièmement, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Nginx consomme moins de RAM qu’Apache</span>, ce qui est très important compte tenu du fait que la Raspberry, même dans <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Raspberry Pi type B" href="http://www.amazon.fr/gp/product/B00T2U7R7I/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00T2U7R7I&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=IXEFHYYRC4D5XWPS" target="_blank" rel="nofollow">son modèle 2</a></span>, ne dispose que de 1024Mo de RAM <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">non extensibles.</span> Cela est d’autant plus important dans le cadre du <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Raspberry Pi modèle A" href="http://www.amazon.fr/gp/product/B00LPESRUK/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00LPESRUK&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">modèle B+ et de ses 512 Mo de RAM.</a></span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Alors vous vous doutez bien que tout <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">cela n’est pas sans contrepartie.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nginx <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">ne réagit pas toujours comme Apache2 avec PHP.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Il n’est pas aussi facile de tester Nginx qu’Apache <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">sur une machine Windows.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Enfin, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Nginx ne supporte pas les fichiers .htaccess,</span> que vous devrez convertir pour Nginx, et que v<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">ous ne mettrez pas dans un fichier dans le répertoire cible</span>, mais dans le fichier de configuration du site.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Cependant, Nginx vaut vraiment le coup, et c’est sans doute <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">un meilleur choix qu’Apache pour un serveur web sur la Raspberry.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Désactiver le serveur Apache</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nous considérerons ici que <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vous avez déjà suivi <span style="font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit;" class="cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">le tutoriel sur l’installation d’un serveur web Apache, avec PHP et MySQL</a></span>.</span> Par conséquent nous ne réinstallerons pas les deux derniers, et <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">nous désactiverons le premier, sans toutefois le désinstaller.</span> Il s’agira là de notre première étape. <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Si vous n’avez pas installé de serveur Apache</span>, vous pouvez passer cette première étape.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Tout d’abord, il convient de <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">désactiver le serveur Apache actuellement en cours d’exécution.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour cela, il suffit d’utiliser la commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_802751" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/init</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.d</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/apache2</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">stop</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Le serveur Apache2 ne tourne plus. Nous allons maintenant <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">l’empêcher de se lancer automatiquement au démarrage de Raspbian</span> comme il le fait pour l’instant.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Ne pas lancer Apache au démarrage</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Sur les dernières versions de Debian (et donc Raspbian), systemd a pris le pas sur la méthode traditionnel de gestion des services.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nous allons donc désactiver Apache au démarrage. Pour cela, il vous suffit de lancer la commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_99482" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">systemctl disable apache2</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Si vous le souhaitez, vous pouvez redémarrer votre Raspberry Pi</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Lancer automatiquement Apache au démarrage</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Il est possible que vous souhaitiez un jour <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">réactiver le démarrage automatique d’Apache</span>. Pour cela, vous devrez utiliser la même commande que pour le désactiver, mais <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">avec des arguments différents :</span></span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_792447" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">systemctl </code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">enable</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apache2</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Cette fois l’argument <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">« enable »</span> va demander au programme de lancer Apache2 au démarrage du serveur.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Notez que vous ne pourrez pas (par défaut) faire cohabiter Apache et Nginx !</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous savez désormais comment <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">activer ou désactiver le démarrage automatique d’Apache</span> et nous allons maintenant pouvoir <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">installer Nginx.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Installer le serveur Nginx pour Raspbian</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Comme nous l’avions fait pour Apache2, nous allons de nouveau utiliser le gestionnaire de paquet « aptitude » pour<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"> installer Nginx et php-fpm sur la Raspberry depuis les dépôts Raspbian.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour cela, il vous suffit d’utiliser la commande :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_331210" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">aptitude </code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">nginx php5-fpm</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Par défaut, Nginx n’est pas lié à PHP. Lors du développement de Nginx, le choix a été fait d’utiliser PHP-FMP (une version plus rapide de PHP) plutôt qu’un PHP plus traditionnel. Par conséquent, on va installer php-fpm pour gérer les fichiers PHP avec Nginx.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous pouvez vérifier si votre serveur marche correctement de la même façon que pour vérifier si un serveur Apache fonctionne, c’est-à-dire <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">en lançant une requête sur le port 80 de votre serveur.</span> Vous obtiendrez alors une page marquée « Welcome to nginx! ».</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Configurer Nginx</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Maintenant que Nginx est bien installé, il va falloir rajouter <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">un tout petit peu de configuration.</span> Nous n’allons pas ici <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vous expliquer comment se configure un serveur Nginx</span>, nous allons simplement <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">modifier le dossier contenant vos sites</span>,<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">ajouter les pages index.php comme pages par défaut, et enfin ajouter PHP.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour cela, éditez le fichier <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">« /etc/nginx/sites-available/default »</span>, par exemple via la commande :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_338243" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">nano </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/nginx/sites-available/default</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">et cherchez la ligne</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_142978" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs16 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">index index.html index.htm index.nginx-debian.html;</code></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">pour la remplacer par la ligne</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_145275" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs16 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">index index.html index.htm index.php;</code></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Cela va rajouter <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">une redirection automatique vers les fichiers « index.php » pour les dossiers du site</span>, comportement par défaut de Apache.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nous allons maintenant activer php-fpm pour Nginx. Pour cela, cherchez les lignes</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_565287" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">3</span></div><div class="line number4 index3 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">4</span></div><div class="line number5 index4 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">5</span></div><div class="line number6 index5 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">6</span></div><div class="line number7 index6 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">7</span></div><div class="line number8 index7 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">8</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash comments fs16 cf6 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">#location ~ \.php$ {</code></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash comments fs16 cf6 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"># &nbsp;&nbsp;include snippets/fastcgi-php.conf;</code></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash comments fs16 cf6 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">#</code></div><div class="line number4 index3 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash comments fs16 cf6 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"># &nbsp;&nbsp;# With php5-cgi alone:</code></div><div class="line number5 index4 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash comments fs16 cf6 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"># &nbsp;&nbsp;fastcgi_pass 127.0.0.1:9000;</code></div><div class="line number6 index5 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash comments fs16 cf6 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"># &nbsp;&nbsp;# With php5-fpm:</code></div><div class="line number7 index6 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash comments fs16 cf6 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"># &nbsp;&nbsp;fastcgi_pass unix:/var/run/php5-fpm.sock;</code></div><div class="line number8 index7 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash comments fs16 cf6 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">#}</code></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">et modifier les afin d’obtenir le résultat suivant :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_248632" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">3</span></div><div class="line number4 index3 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">4</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs16 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">location ~ \.php$ {</code></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash spaces" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> &nbsp;&nbsp;&nbsp;</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">include snippets</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/fastcgi-php</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.conf;</code></span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash spaces" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> &nbsp;&nbsp;&nbsp;</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">fastcgi_pass unix:</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/run/php5-fpm</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.sock;</code></span></div><div class="line number4 index3 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs16 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">}</code></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Il ne nous reste plus qu’à modifier les droits du dossier « /var/www/html » pour pouvoir gérer nos sites plus facilement. Pour cela, il vous suffit de lancer les commandes suivantes :</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_201303" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">chown</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-R www-data:pi </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/html/</code></span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">chmod</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-R 770 </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/html/</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Enfin, vous allons ajouter un fichier « index.php » pour vérifier que PHP fonctionne. Pour cela, lancez la commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_876405" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">echo</code> <code class="bash string cf7" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"&lt;?php phpinfo(); ?&gt;"</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">&gt; </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/html/index</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.php</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Une fois tout ceci fait, vous devez <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">redémarrer Nginx, afin d’appliquer les modifications</span>, toujours avec la commande :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_331662" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/init</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.d</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/nginx</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">restart</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous n’avez plus qu’à <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vérifier le bon fonctionnement du serveur, comme précédemment. Vous devriez obtenir une page affichant les informations de PHP.<br></span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Erreur 403 forbidden, un classique de Nginx.</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Il est possible que vous obteniez une erreur <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">« 403 forbidden »</span>. Cela peux signifier<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">deux choses.</span></span></p><div id="attachment_249" class="wp-caption aligncenter cf2" style="margin: 0px auto; padding: 10px 5px; border: 1px solid rgb(223, 223, 223); font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: center; max-width: 100%; widows: 1; width: 610px;"><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="fs16 cf3"><span><a href="http://raspbian-france.fr/wp-content/uploads/2014/04/erreur_403_nginx.jpg" class="inline-block"><img class="wp-image-249" src="http://raspbian-france.fr/wp-content/uploads/2014/04/erreur_403_nginx.jpg" alt="Page d'erreur 403 d'un serveur Nginx" width="600" height="92" style="margin-right: auto; margin-left: auto; padding: 0px; border-width: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; max-width: 100%; height: auto; display: block;" data-selected="false"></a></span></span><p class="wp-caption-text" style="padding-top: 10px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs16">L’erreur 403 est fréquente avec Nginx, mais simple à corriger.</span></p></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Tout d’abord, cela peut signifier que <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Nginx ne trouve pas de fichier à afficher</span>, mais contrairement à Apache,<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"> il ne va pas lister les fichiers du dossier.</span> Pour tester cela, il<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vous suffit de créer un fichier index.html dans le répertoire « /var/www »</span>, et de re-essayer d’accéder à votre site. Par exemple via la commande :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_477262" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">echo</code> <code class="bash string cf7" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">'Nginx marche !'</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">&gt; </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/html/index</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.html</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Si le problème venait bien de là,<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"> vous devriez obtenir une page marquée « Nginx marche ! « </span>. À vous maintenant de <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">mettre un fichier d’index qui vous convienne.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">En revanche, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">si cela ne résout pas le problème</span>, alors le problème est probablement<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">que Nginx ne peut accéder au répertoire « /var/www/html ».</span> Dans ce cas, il faut<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">donner le répertoire à « www-data », avec les autorisations suffisantes.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour cela, utilisez les deux lignes suivantes :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_905896" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">chown</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">www-data:www-data </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www</code></span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">chmod</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">744 </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www</code></span></div></div></td></tr></tbody></table></div></div><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Conclusion</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Voilà, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Nginx est installé sur la Raspberry, et votre serveur web Raspbian devrait tourner encore plus vite qu’avant !</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Et si ce n’est pas suffisant, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vous pouvez par exemple installer un cache php.</span> Nous ferons peut-être un tutoriel dessus dans quelques temps ;).</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Et dans tous les cas, vous pouvez toujours <span style="font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit;" class="cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">allez faire un tour ici, et vous trouverez peut-être de nouvelles idées d’utilisations de votre Raspberry.</a></span></span></p></div>]]></description>
			<pubDate>Thu, 18 Feb 2016 15:13:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?installer-nginx-raspbian,-et-accelerez-votre-serveur-web-raspberry</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/g11a638z</guid>
		</item>
		<item>
			<title><![CDATA[Un navigateur web optimisé et rapide pour le Raspberry pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_46559vca"><p class="mb1 cf1 cb1"><span class="fs12">La version final du navigateur Epiphany vient d’être annoncé aujourd’hui sur le site officiel de la fondation.</span></p><h3 class="cf2 cb1"><span class="fs12">Les spécificités de ce nouveau navigateur sont :</span></h3><ul class="mb1 cf1 cb1"><li class=""><span class="fs12">Le support HTML5 a été amélioré</span></li><li class=""><span class="fs12">JavaScript JIT</span></li><li class=""><span class="fs12">Décodage vidéo avec accélération matérielle</span></li><li class=""><span class="fs12">ARMv6 optimisation</span></li><li class=""><span class="fs12">Une meilleure interactivité lors de chargement de la page</span></li><li class=""><span class="fs12">Un défilement plus rapide</span></li></ul><p class="mb1 cf1 cb1"><span class="fs12">Les versions future de Raspbian et de Noobs intégrerons Epiphany par défaut, pour l’installer dès maintenant sur votre Raspberry pi il vous suffit de faire ces 3 commandes séparément :</span></p><pre class="mt1 mb1 cf3 cb1"><span class="fs12 ff1">sudo apt-get update</span></pre><pre class="mt1 mb1 cf3 cb1"><span class="fs12 ff1">sudo apt-get dist-upgrade</span></pre><pre class="mt1 mb1 cf3 cb1"><span class="fs12 ff1">sudo apt-get install epiphany-browser</span></pre></div>]]></description>
			<pubDate>Thu, 11 Feb 2016 20:51:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?un-navigateur-web-optimise-et-rapide-pour-le-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/46559vca</guid>
		</item>
		<item>
			<title><![CDATA[Activer la connexion à distance de MySQL sur votre Raspberry Pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_ypu65n8r"><h1 class="post-title cf1" style="margin: 0px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs12">Activer la connexion à distance de MySQL sur votre Raspberry Pi</span></h1><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs12">Aujourd’hui, nous allons nous intéresser à MySQL et plus précisément à comment activer la connexion à distance à la base, c’est à dire depuis une autre machine non connectée à notre Raspberry Pi.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs12"><br>La connexion à distance peut être très utilise si vous disposez d’un serveur sans base de données interne.<br>En effet, vous pouvez choisir de séparer ces deux parties afin d’alléger votre serveur en terme de requête. C’est notamment ce que font les hébergeurs, sur certains serveurs mutualisés.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs12"><br>De plus, ouvrir la connexion à distance permet de se connecter au service MySQL depuis une autre IP (si celle-ci en à l’autorisation) et ainsi gérer sa base de données sans passer par SSH ou autre.<br>Pour ce tutoriel nous considérons que vous avez déjà une Raspberry Pi avec un serveur MySQL installé.</span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs12">Création d’un utilisateur MySQL dédié</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs12">Nous allons devoir dans un premier temps nous connecter à la Raspberry Pi et ensuite nous connecter à MySQL afin de pouvoir créer un nouvel utilisateur destiné à gérer une base à distance.<br>Nous tenons toutefois à vous mettre en garde, créer un connexion à distance augmente les risques d’attaques, utilisez donc un nom d’utilisateur et un mot de passe compliqué et évitez de donner à un utilisateur les droits sur toutes vos tables (préférez la création d’un utilisateur dédié par base), les serveurs sont bien trop souvent la victime d’attaque tel que le brut-force.<br>Ici nous allons créer un nouvel utilisateur « user » avec le mot de passe « mot_de_passe ». Nous lui donnerons les droits sur la base « exemple » et aucune autre.<br>Pour cela, nous devons nous connecter à MySQL en root avec la commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_181223" class="syntaxhighlighter &nbsp;sql" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="sql plain fs12 cf3 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">mysql -u root –p</code></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs12">Votre mot de passe « root » de MySQL va vous être demandé, mot de passe que vous avez renseigné à l’installation de MySQL sur la Raspberry Pi.<br>Maintenant que nous sommes connectés, nous allons créer la base « exemple » :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_713927" class="syntaxhighlighter &nbsp;sql" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><b><code class="sql keyword cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">CREATE</code></b> <b><code class="sql keyword cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">DATABASE</code></b> <code class="sql plain cf3" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">exemple;</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs12">Nous allons utiliser l’ordre « GRANT » afin de définir les privilèges d’un utilisateur.<br>Ici, il pourra effectuer toutes les actions de son choix, depuis n’importe quel ordinateur, mais uniquement sur la base « exemple ».</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_481933" class="syntaxhighlighter &nbsp;sql" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 728px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 692px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><b><code class="sql keyword cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">GRANT</code></b> <code class="sql color1 cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ALL</code> <b><code class="sql keyword cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">PRIVILEGES</code></b> <b><code class="sql keyword cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ON</code></b> <code class="sql plain cf3" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">exemple.* </code><b><code class="sql keyword cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">TO</code></b> <code class="sql color2 cf6" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">user</code><code class="sql plain cf3" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">@</code><code class="sql string cf7" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">'%'</code> <code class="sql plain cf3" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">IDENTIFIED </code><b><code class="sql keyword cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">BY</code></b> <code class="sql string cf7" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">'mot_de_passe'</code><code class="sql plain cf3" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">;</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs12">Cette commande comporte de nombreuses informations que nous allons analyser. Notez qu’il n’est pas nécessaire d’avoir un utilisateur déjà créé, si celui donné n’existe pas, il sera créé automatiquement.<br>En français, cette commande se lis :<br>Donner tous les droits sur la base exemple et ses tables à l’utilisateur « user » pouvant se connecter depuis n’importe où, avec le mot de passe « mot_de_passe ».</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs12">Détaillions un peu cette commande :</span></p><ul style="margin: 40px 0px 40px 50px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><li style="margin-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs12">« exemple.* » permet de stipuler que nous utilisons la base exemple, et « .* » signifie que cela s’applique à toutes les tables.</span></li><li style="margin-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs12">« user » signifie que l’attribution des privilèges va se faire pour l’utilisateur nommé « user »</span></li><li style="margin-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs12">@’%’ correspond à l’adresse IP du serveur distant auquel vous donnez les droits d’accès. Ici « % » équivaut à dire « toutes les adresses ». Une adresse précise peut être utilisée !</span></li></ul><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs12">Une fois ceci fait, vous devez dire à MySQL de prendre en compte les changements effectués, avec l’ordre FLUSH :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_127771" class="syntaxhighlighter &nbsp;sql" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="sql plain cf3" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">flush </code><b><code class="sql keyword cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">privileges</code></b><code class="sql plain cf3" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">;</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs12">Vous pouvez maintenant quitter MySQL avec la commande « exit ».</span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs12">Configurer MySQL pour accepter les connexions externes à la Raspberry Pi</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs12">Maintenant que les droits ont été donnés, nous allons devoir préciser à MySQL que nous souhaitons accepter des connexions externes à la Raspberry Pi.<br>Pour cela, nous allons éditer le fichier de configuration de MySQL situé dans le dossier « /etc/mysql » :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_962967" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="bash functions cf6" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf3" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">nano </code><code class="bash plain cf3" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/mysql/my</code><code class="bash plain cf3" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.cnf</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs12">Nous avons juste à commenter la ligne bind-address, pour commenter une ligne, ajoutez un ‘#’ au début de la ligne.</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_169311" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 cf3 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">bind-address = 127.0.0.1</code></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs12">devient donc</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_926579" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash comments fs12 cf8 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">#bind-address = 127.0.0.1</code></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs12">Par défaut, MySQL n’écoute que les connexions locales (127.0.0.1). Le fait de commenter cette ligne permet de supprimer cette sécurité et ainsi, récupérer les connexions externes !<br>Afin d’appliquer ces changements, redémarrez MySQL avec la ligne suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_972937" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="bash plain cf3" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/init</code><code class="bash plain cf3" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.d</code><code class="bash plain cf3" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/mysql</code> <code class="bash plain cf3" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">restart</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs12"> </span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs12">Modifier le port de MySQL (facultatif)</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs12">Comme nous l’avons dit au début de l’article, les serveurs activant la connexion à distance à MySQL sont souvent victimes d’attaques.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs12">Afin de réduire très fortement le nombre de ces attaques, nous vous conseillons de modifier le port de MySQL.<br>Par défaut, MySQL est configuré pour écouter sur le port 3306, choisissez un port libre, de notre coté nous avons choisi le port 8457, port non utilisé par d’autres logiciels ou protocoles majeurs.<br>Le changement se fait en modifiant le fichier « my.conf » situé dans le dossier « /etc/mysql ».</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_936633" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="bash functions cf6" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf3" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">nano </code><code class="bash plain cf3" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/mysql/my</code><code class="bash plain cf3" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.cnf</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs12">Ce fichier contient deux parties, une partie destinée au client et l’autre à MySQL Server, c’est cette seconde partie qui nous intéresse.<br>Dans la partie suivant la ligne « [mysqld] » modifiez la ligne :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_254723" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 cf3 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">port = 3306</code></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs12">En la remplaçant par</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_165348" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 cf3 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">port = 8457</code></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs12">Ici nous choisissons le port 8457, mais vous pouvez en choisir un autre, en faisant bien attention au fait qu’il ne soit pas utilisé par un autre programme/protocole.<br>Pour finir, redémarrez MySQL pour appliquer les changements :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_476694" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="bash functions cf6" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf3" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">service mysql restart</code></span></div></div></td></tr></tbody></table></div></div><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs12">Conclusion</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs12">N’oubliez pas d’ouvrir les ports TCP de votre box, afin de rediriger le flux vers votre Raspberry Pi. Vous pouvez visiter notre tutoriel <span style="font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit;" class="cf9"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">mettre en ligne serveur web raspbian dydns port forwarding</a></span> qui explique parfaitement comment procéder.<br>Si vous souhaitez monter un serveur de base de données efficace, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf9"><a href="http://www.amazon.fr/gp/product/B010NE3ND8/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B010NE3ND8&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">choisissez une carte SD</a></span> de qualité, et éventuellement <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf9"><a href="http://www.amazon.fr/gp/product/B00C9TEL46/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00C9TEL46&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">un disque dur</a></span> si votre but est de créer de très grosses bases. Vous trouverez des conseils sur notre article sur <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf9"><a href="http://raspbian-france.fr/accessoires-raspberry-pi-2/">les accessoires</a></span>.<br>Enfin, n’oubliez pas que vous pouvez installer d’autres services en plus de votre serveur MySQL, comme par exemple <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf9"><a href="http://raspbian-france.fr/media-center-raspberry-pi-osmc-xbmc/">un media-center !</a></span></span></p></div>]]></description>
			<pubDate>Tue, 09 Feb 2016 14:21:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?activer-la-connexion-a-distance-de-mysql-sur-votre-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/ypu65n8r</guid>
		</item>
		<item>
			<title><![CDATA[Raspberry Pi 2 et Kodi : la solution idéale en 2016 pour faire un média center]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_2y3dory0"><p class="mb1 cf1"><span class="fs12">Aujourd’hui, je vous présente un test-tuto autour du <strong>Raspberry Pi 2</strong> pour une utilisation média center avec <strong>Kodi</strong> (via <strong>OpenElec</strong>).</span></p><p class="mt1 mb1 cf1"><span class="fs12">J’ai testé de nombreux lecteurs, de différents prix, et après avoir testé Kodi difficile de revenir à autre chose (pour la partie logiciel). Je suis également passé par des boîtier Android comme on en trouve par centaine en ce moment, et dans 99% des cas les promesses ne sont pas tenues : nombreuses applications Android (surtout vidéo) inutilisables (lenteur, saccade, interface non adaptée), gestion du 23.976/24 Hz rarement (jamais ?) géré, sortie pseudo 4K (avec des limitations du genre 30 Hz), prise en charge HEVC partielle, …</span></p><p class="mt1 mb1 cf1"><span class="fs12">Je suis donc revenu à un classique lecteur <strong>Full HD</strong> (et <strong>3D</strong>) mais je voulais absolument Kodi. La meilleur solution reste de passer par un HTPC, mais trop coûteux pour mon utilisation. Me voilà donc parti sur un Raspberry Pi 2 !</span></p><p class="mt1 mb1 cf1"><span class="fs12">Quelques mots rapidement sur le Raspberry (je vous laisse chercher sur Google pour plus d’infos) : c’est une carte mère de la taille d’une carte de crédit avec processeur embarqué (quad core 900 Mhz), 1 Go de RAM et une connectique plutôt complète : 4 ports USB, 1 port Ethernet, 1 port HDMI 1.4, 1 port audio mini-jack. Pour la partie stockage, le Pi intègre un port micro-SD.</span></p><p class="mt1 mb1 cf1"><span class="fs12">Alors pour se monter un Raspberry, vous aurez besoin de tout ce matos :</span></p><ul class="cf1"><li><span class="fs12 cf2"><a href="http://www.amazon.fr/gp/product/B00T2U7R7I/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00T2U7R7I&amp;linkCode=as2&amp;tag=hdmot-21" target="_blank">Raspberry Pi 2</a></span></li><li><span class="fs12 cf2"><a href="http://www.amazon.fr/gp/product/B00V4BRFDE/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00V4BRFDE&amp;linkCode=as2&amp;tag=hdmot-21" target="_blank">Carte microSD (rapide, 8 Go ou plus)</a></span></li><li><span class="fs12"><span class="cf2"><a href="http://www.amazon.fr/gp/product/B00M8ZEIW6/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00M8ZEIW6&amp;linkCode=as2&amp;tag=hdmot-21" target="_blank">Boîtier</a></span> (il en existe de nombreux autres)</span></li><li><span class="fs12 cf2"><a href="http://www.amazon.fr/gp/product/B00MM0G0FU/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00MM0G0FU&amp;linkCode=as2&amp;tag=hdmot-21" target="_blank">Cable micro-USB</a></span></li><li><span class="fs12"><span class="cf2"><a href="http://www.amazon.fr/gp/product/B00E3PUIDC/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00E3PUIDC&amp;linkCode=as2&amp;tag=hdmot-21" target="_blank">Adaptateur secteur USB</a></span> (de qualité, &gt; 1.5A)</span></li><li><span class="fs12 cf2"><a href="http://www.amazon.fr/gp/product/B014JPY7ZA/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B014JPY7ZA&amp;linkCode=as2&amp;tag=hdmot-21" target="_blank">Câble RJ45</a></span></li><li><span class="fs12 cf2"><a href="http://www.amazon.fr/gp/product/B003L1ZYYM/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B003L1ZYYM&amp;linkCode=as2&amp;tag=hdmot-21" target="_blank">Câble HDMI</a></span></li></ul><p class="mt1 mb1 cf1"><span class="fs12">Rien d’extraordinaire en soit. Comme vous pouvez le voir dans cette liste, il y a de grande chance que vous trouviez une partie de ce matos dans le fond de votre tiroir (celui où vous avez 40 câbles USB emmêlés là … on a tous un tiroir comme ça) : le câble micro-USB peut être récup d’un ancien smartphone, le chargeur idem (prévoyez quand même un d’au moins 1.5A), le câble RJ45 et même la carte microSD. Bref, dans le meilleur des cas vous n’aurez à acheter que le Raspberry Pi 2 et le boîtier, soit un peu moins de 50 euros !</span></p><p class="mt1 mb1 cf1"><span class="fs12">Prévoyez également de quoi pouvoir lire la carte microSD sur votre PC ! Moi j’ai un lecteur de carte SD sur mon PC portable, donc pas de soucis. Sinon prévoyez un petit adaptateur/lecteur USB. Il existe une autre solution qui consiste à acheter un <span class="cf2"><a href="http://www.amazon.fr/gp/product/B00OQDY972/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00OQDY972&amp;linkCode=as2&amp;tag=hdmot-21" target="_blank">kit de démarrage tout en un Raspberry Pi 2</a></span> avec systèmes d’exploitation pré-installés (via « NOOBS ») : vous n’aurez donc pas besoin d’installer OpenElec via votre PC (le système d’exploitation qui fait tourner Kodi), tout sera +/- automatique. Je n’ai pas testé cette méthode, mais bon pourquoi pas. Il existe également des sites (rs-online.com) qui vendent des cartes microSD avec NOOBS installé. Je vous conseille de faire tout vous même (vous aurez les dernières versions, et en cas de gros problème vous pourrez tout réinstaller en 2/3 clics …).</span></p><p class="mt1 mb1 cf1"><img src="http://www.hd-motion.com/wp-content/uploads/2015/12/screenshot006.png" alt="screenshot006" width="500" height="281" srcset="http://www.hd-motion.com/wp-content/uploads/2015/12/screenshot006-300x169.png 300w, http://www.hd-motion.com/wp-content/uploads/2015/12/screenshot006.png 500w" sizes="(max-width: 500px) 100vw, 500px" class="size-full wp-image-17218 aligncenter colorbox-17070" data-selected="false"></p><p class="mt1 mb1 cf1"><strong class="fs12">Partie logiciel (OpenElec/Kodi), installation :</strong></p><p class="mt1 mb1 cf1"><span class="fs12">Pour faire fonctionner notre Raspberry, il lui faut un système d’exploitation. On va prendre OpenElec qui est optimisé pour Kodi. A l’écriture de cet article, la dernière version d’OpenElec est la 6.1 qui intègre Kodi 16 (dernière version stable officielle). Le développement de Kodi avance de jour en jour … sur le forum officiel, les beta de Kodi 16 s’enchaînent et la sortie officielle est imminente. Kodi 17 a même déjà ses premières builds de test.</span></p><p class="mt1 mb1 cf1"><span class="fs12">Dans tous les cas, vous allez déjà devoir installer la dernière version stable d’OpenElec (6.1 stable) que vous trouverez l'image à installer pour (cliquer sur votre model) : </span><span class="fs12 cf3"><a href="http://releases.openelec.tv/OpenELEC-RPi2.arm-6.0.1.img.gz" target="_blank" class="imCssLink">Raspberry Pi2 Second-Generation quad Raspberry core models (Model B 1024MB)</a> - </span><span class="fs12 cf3"><a href="http://releases.openelec.tv/OpenELEC-RPi.arm-6.0.1.img.gz" target="_blank" class="imCssLink">Raspberry Pi First-Generation single-core models (Model A/B/B+ 256/512MB)</a></span></p><p class="mt1 mb1 cf1"><span class="fs12">J’utilise depuis quelques semaines &nbsp;Kodi 16 et ça tourne parfaitement. Quels avantages me direz-vous ? Et bien par exemple le support des ISO 3D et des MKV MVC 3D (full 3D, pas le simple T&amp;B ou SBS supporté par n’importe quel lecteur), ou encore du DTS-HD et TrueHD (décodé en LPCM, je n’ai pas testé). La dernière build stable d’OpenElec avec Kodi 16 est <a href="https://kodi.tv/download/" target="_blank" class="imCssLink"><span class="cf2">disponible ici</span> </a>(c’est stable vous pouvez y aller, probablement une des dernière vu qu’ils passent déjà à Kodi 17 en beta)</span></p><p class="mt1 mb1 cf1"><span class="imUl fs12">Place à l’installation :</span></p><p class="mt1 mb1 cf1"><span class="fs12">Pour cette partie, vous aurez besoin d’un ordinateur (sauf si vous avez une carte microSD pré-installé, comme dit plus haut, auquel cas je vous laisse chercher sur Google). En effet, il va falloir préparer (très simple, en quelques clics) la carte microSD pour y installer OpenElec.</span></p><p class="mt1 mb1 cf1"><span class="fs12">Une fois OpenElec 6.1 téléchargé (lien ci-dessus), décompressez le fichier .img.gz. Téléchargez également <span class="cf2"><a href="http://www.raspberry-pi.ovh/files/Win32DiskImager-0.9.5-install.exe" target="_blank" class="imCssLink">win32diskimager</a></span> puis installez le. Connectez votre carte microSD à votre ordinateur et lancer Win32DiskImager, sélectionnez le fichier .img et votre carte microSD dans « Device » puis cliquez sur Write.</span></p><p class="mt1 mb1 cf1"><img src="http://www.hd-motion.com/wp-content/uploads/2015/12/Win32DiskImager_Pi.png" alt="Win32DiskImager_Pi" width="408" height="208" srcset="http://www.hd-motion.com/wp-content/uploads/2015/12/Win32DiskImager_Pi-300x153.png 300w, http://www.hd-motion.com/wp-content/uploads/2015/12/Win32DiskImager_Pi.png 408w" sizes="(max-width: 408px) 100vw, 408px" class="size-full wp-image-17213 aligncenter colorbox-17070" data-selected="false"></p><p class="mt1 mb1 cf1"><span class="fs12">Patientez quelques minutes, voilà c’est fait OpenElec est installé sur la carte microSD. Placez là dans votre Raspberry et branchez le, si tout c’est bien passé vous devriez arriver sur Kodi !</span></p><p class="mt1 mb1 cf1"><span class="fs12">Plus tard quand vous maîtriserez OpenElec/Kodi, vous pourrez installer les beta. C’est très simple, il suffit de télécharger l’archive (lien ci-dessus), de la placer dans le dossier « Update » d’OpenElec (si vous êtes sous Windows, vous devriez voir votre Raspberry sur le réseau. Il suffit de déplacer l’archive dans le dossier. Pensez à activer Samba dans Kodi si ce n’est pas déjà fait). Ensuite, un simple reboot suffit pour appliquer la mise à jour.</span></p><p class="mt1 mb1 cf1"><span class="fs12">Si un jour vous voulez un peu plus loin avec votre Raspberry, sachez qu’il existe d’autre système d’exploitation (OpenElec étant principalement optimisé pour Kodi). Il existe par exemple <a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink"><span class="cf2">Recalbox</span> (Tuto console de jeux retrogaming)</a> qui fait office de média center avec Kodi mais aussi console de rétrogamming ! C’est vraiment bien fait avec une interface superbe.</span></p><p class="mt1 mb1 cf1"><img src="http://www.hd-motion.com/wp-content/uploads/2015/12/recalbox-600x337.jpg" alt="recalbox" width="500" height="281" srcset="http://www.hd-motion.com/wp-content/uploads/2015/12/recalbox-768x431.jpg 768w, http://www.hd-motion.com/wp-content/uploads/2015/12/recalbox-600x337.jpg 600w, http://www.hd-motion.com/wp-content/uploads/2015/12/recalbox.jpg 1024w" sizes="(max-width: 500px) 100vw, 500px" class="aligncenter wp-image-17215 colorbox-17070" data-selected="false"></p><p class="mt1 mb1 cf1"><strong class="fs12">Partie logiciel (Kodi), infos et configuration :</strong></p><p class="mt1 mb1 cf1"><span class="fs12">Premier démarrage. Avant, on va parler du contrôle du Pi 2. Déjà, il n’y a pas d’infrarouge ni de bluetooth (vous pouvez acheter un adaptateur USB en plus si vraiment besoin). Le Pi se contrôlera via HDMI-CEC ou via l’application smartphone/tablette (ce que j’utilise car plus rapide et pratique que l’HDMI-CEC et plus d’options également).</span></p><p class="mt1 mb1 cf1"><span class="fs12">De plus, via l’appli mobile, vous n’aurez même plus besoin de naviguer sur l’interface pour aller chercher votre film/série dans son dossier/catégorie pour le lancer. Il suffira de faire « Lecture » sur la fiche de votre film/série n’importe où et votre fichier se lancera sur votre Raspberry !</span></p><p class="mt1 mb1 cf1"><span class="fs12">Kodi est capable de lire de nombreux fichiers. Je ne vais pas tous les lister, mais vous n’aurez aucun problème pour lire des fichiers MP4/MKV au format H264 même avec un débit élevé (fichier d’origine d’un Blu-ray ne pose aucun problème). Les fichiers en 23.976 et 24 Hz sont parfaitement supportés et sans saccades !</span></p><p class="mt1 mb1 cf1"><span class="fs12">Bon par contre, pas de lecture HEVC ni de support 4K. Mais bon, vu le prix et le fait qu’il n’y ait aucune source dans ces formats actuellement … c’est pas une grosse perte !</span></p><p class="mt1 mb1 cf1"><span class="fs12">Pour la 3D, comme je l’ai dit un peu plus haut, il faut passer par l’installation de Kodi 16 minimum pour avoir les ISO 3D et des MKV MVC 3D. A noter que le lancement des ISO 3D est assez long alors qu’un MKV MVC 3D est quasi instantané. Je préfère également le format MKV car il prends moins de place (suppression des pubs, pistes audio indésirées, menu, …). Néanmoins le format MKV MVC 3D ça ne se trouve pas d’origine sur nos Blu-ray, il faudra donc faire une petite conversion (sans re-encodage) en amont avec MakeMKV … Pensez également à bien nommer vos fichiers MKV MVC 3D comme ça : Titre-du-Film.3D.MVC.mkv</span></p><p class="mt1 mb1 cf1"><span class="fs12">Au niveau de l’audio. Le support du DTS et Dolby est parfaitement supporté. Pour le DTS-HD et le Dolby TrueHD, il faudra se contenter d’un encodage en LPCM (je n’ai pas testé). Pas de Dolby ATMOS ni de DTS:X, du moins pas pour le moment.</span></p><p class="mt1 mb1 cf1"><span class="imUl fs12">Les principales options de Kodi à activer :</span></p><p class="mt1 mb1 cf1"><span class="fs12">Il y a tellement d’options dans Kodi qu’il faudrait écrire un bouquin rien que pour ça … alors je vais vous donner les principales options à activer impérativement (si ce n’est pas déjà fait). Avant d’opérer des changements, quand vous serez dans les options de config, passez les paramètres en mode Expert pour avoir accès à toutes les options (texte en bleu ci-dessous) :</span></p><p class="mt1 mb1 cf1"><img src="http://www.hd-motion.com/wp-content/uploads/2015/12/kodi_tuto-600x338.jpg" alt="kodi_tuto" width="500" height="282" srcset="http://www.hd-motion.com/wp-content/uploads/2015/12/kodi_tuto-300x169.jpg 300w, http://www.hd-motion.com/wp-content/uploads/2015/12/kodi_tuto.jpg 600w" sizes="(max-width: 500px) 100vw, 500px" class="aligncenter wp-image-17220 colorbox-17070" data-selected="false"></p><ul class="cf1"><li><span class="fs12">Désactivez « Afficher les flux RSS » : d’une part ça ne sert à rien, ça consomme des ressources et en plus suivant votre thème ça provoque des bugs …</span></li><li><span class="fs12">Ajuster la fréquence d’actualisation : Toujours (option importante : c’est ce qui va permettre de sortir en 24 Hz automatiquement)</span></li><li><span class="fs12">Support MVC video (full frame 3D) : Oui (si vous avez au moins Kodi 16)</span></li><li><span class="fs12">Use Full HD HDMI modes for 3D : Oui (si vous avez au moins Kodi 16)</span></li><li><span class="fs12">Autoriser le contrôle à distance via HTTP (pour utiliser l’application mobile)</span></li><li><span class="fs12">Taux de rafraîchissement : 50.00 ou 60.00 peut importe, c’est pour l’interface</span></li><li><span class="fs12">Mode 3D stéréoscopique/actuel : Désactivé</span></li><li><span class="fs12">Mode préféré : Comme le film</span></li><li><span class="fs12">Sortie audio : à vous de voir suivant votre installation</span></li></ul><p class="mt1 mb1 cf1"><span class="fs12">Voilà, bon c’est qu’une infime partie des options disponibles … et pour personnaliser votre thème, je vous laisse tester ! Sachant que généralement, il y a une petite description de l’option tout en bas.</span></p><p class="mt1 mb1 cf1"><span class="imUl fs12">Les thèmes :</span></p><p class="mt1 mb1 cf1"><span class="fs12">Voici un autre avantage majeur de Kodi : la personnalisation de l’interface ! Il existe un nombre incalculable de thème. J’ai choisi Eminence : simple, fluide, flat design, …</span></p><p class="mt1 mb1 cf1"><span class="fs12">Faites un coup de Google pour trouver les top thèmes de Kodi, ça vous donnera une idée de quoi choisir ! A noter que bien souvent, chaque thème peut être personnaliser facilement depuis le menu de Kodi : il est bien souvent possible de changer la vue pour organiser l’affichage de ses films/séries. On choisira par exemple une vue différente qu’on soit sur ses films ou séries.</span></p><p class="mt1 mb1 cf1"><span class="fs12">Voici une petite vidéo trouvée sur Youtube du thème Eminence que j’utilise :</span></p><p class="mt1 mb1 cf1"><span class="fs12"><iframe src="https://www.youtube.com/embed/-1ql1YIaMRs" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen" class=""></iframe></span></p><p class="mt1 mb1 cf1"><strong class="fs12">Pour aller plus loin, les addons :</strong></p><p class="mt1 mb1 cf1"><span class="fs12">Il existe des centaines de plugins pour Kodi ! Par exemple, mon préféré, j’utilise un plugin qui synchronise automatiquement TV Show Time (application de suivi des séries pour Android ou iOS) : dès qu’un épisode d’une série est visionné, Kodi va marquer automatiquement l’épisode comme vu sur TV Show Time ! Super pratique.</span></p><p class="mt1 mb1 cf1"><span class="fs12">Pour finir, j’ai branché mon Raspberry Pi 2 avec un câble HDMI ActiveHD. Si vous ne connaissez pas ce câble, c’est plus qu’un simple câble HDMI : il intègre un traitement vidéo performant pour améliorer l’image et l’upscale en Full HD ou Ultra-HD. Mon Raspberry me servant principalement à lire des sources HD en 1080p@23.976 Hz (de qualité ! pas avec un bitrate de merde, sinon pas de miracle), tout est upscalé en Ultra-HD par le câble. Bien plus performant que l’upscaling intégré de la TV.</span></p></div>]]></description>
			<pubDate>Wed, 03 Feb 2016 23:25:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?raspberry-pi-2-et-kodi---la-solution-ideale-en-2016-pour-faire-un-media-center</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/2y3dory0</guid>
		</item>
		<item>
			<title><![CDATA[Utiliser une clé Wifi sur le Raspberry pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_7ifdf3gx"><header class="entry-header cf2"><h1 class="entry-title cf1"><span class="fs12">Utiliser une clé Wifi sur le Raspberry pi</span></h1><h1 class="entry-title cf1"><br></h1><h1 class="entry-title cf1"><span class="fs12 cf2">Il existe deux moyens de connecter le Raspberry pi à internet, sois vous utiliser un câble Ethernet, sois une</span><span class="fs12 cf2"> </span><span class="fs12 cf2">clé Wifi</span><span class="fs12 cf2">. Avant toutes choses il faut savoir que toutes les</span><span class="fs12 cf2"> </span><span class="imUl fs12 cf2">clés Wifi</span><span class="fs12 cf2"> </span><span class="fs12 cf2">ne sont pas compatibles avec le Raspberry pi. <a href="http://elinux.org/RPi_USB_Wi-Fi_Adapters" target="_blank" class="imCssLink">Voilà une liste de clés USB compatibles ici</a></span></h1></header><div class="mt1 entry-content content cf2"><h1 class="cf1"><span class="fs12">Configuration</span></h1><p class="mb1"><span class="fs12">Une fois votre <em class="">clé Wifi</em> branchée sur un des ports USB de votre Raspberry pi ouvrer le logiciel <span class="">Wifi Config</span> qui se trouve par défaut sur le bureau.</span></p><p class="mb1"><span class="fs12 cf3"><a href="http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_25_182229.png" class="inline-block"><img src="http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_25_182229.png" alt="wifi config" width="76" height="75" class="mb1 alignnone &nbsp;wp-image-820" data-selected="false"></a></span></p><p class="mb1"><span class="fs12">Si par inadvertance vous l’avez retiré du bureau, il se trouvera ici :</span></p><p class="mb1"><span class="fs12 cf3"><a href="http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_25_182338.png" class="inline-block"><img src="http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_25_182338.png" alt="clé wifi rapsberry pi" width="327" height="273" srcset="http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_25_182338-300x250.png 300w, http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_25_182338.png 327w" sizes="(max-width: 327px) 100vw, 327px" class="mb1 alignnone &nbsp;wp-image-821" data-selected="false"></a></span></p><p class="mb1"><span class="fs12">Une fois Wifi Config ouvert, vous aurez une fenêtre comme ça qui va apparaitre :</span></p><p class="mb1"><span class="fs12"><span class="cf3"><a href="http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_25_182559.png" class="inline-block"><img src="http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_25_182559.png" alt="clé wifi rapsberry pi" width="449" height="366" srcset="http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_25_182559-300x244.png 300w, http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_25_182559.png 449w" sizes="(max-width: 449px) 100vw, 449px" class="mb1 alignnone &nbsp;wp-image-822" data-selected="false"></a></span>t</span></p><p class="mb1"><span class="fs12">Cliquer sur le bouton Scan, là une fenêtre va s’ouvrir. Cette fenêtre affiche tous les réseaux détecter par votre clé. Si vous ne voyez aucun réseau Wifi se n’est pas normal, essayer de débrancher / rebrancher votre clé Wifi puis réessayer.</span></p><p class="mb1"><span class="fs12 cf3"><a href="http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_25_183050.png" class="inline-block"><img src="http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_25_183050.png" alt="clé wifi rapsberry pi" width="454" height="267" srcset="http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_25_183050-300x176.png 300w, http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_25_183050.png 454w" sizes="(max-width: 454px) 100vw, 454px" class="mb1 alignnone &nbsp;wp-image-823" data-selected="false"></a></span></p><p class="mb1"><span class="fs12">Doublecliqué sur votre réseau Wifi puis indiquer dans la fenêtre qui vient de s’ouvrir votre clé WEP à côté de Key 0 (veiller à ce que Key 0 soit bien cocher). Pour valider, cliquez sur Add.</span></p><p class="mb1"><span class="fs12 cf3"><a href="http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_25_183416.png" class="inline-block"><img src="http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_25_183416.png" alt="clé wifi rapsberry pi" width="419" height="541" srcset="http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_25_183416-232x300.png 232w, http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_25_183416.png 419w" sizes="(max-width: 419px) 100vw, 419px" class="mb1 alignnone &nbsp;wp-image-824" data-selected="false"></a></span></p><p class="mb1"><span class="fs12">Si vous avez correctement inscrit la clé WEP, vous devrez être connecté au Wifi, vous pouvez le vérifier dans l’onglet Current Status. L’adresse IP de votre Raspberry pi se trouve sur cet onglet, vous en aurez besoin pour vous <span class="cf3"><a href="http://the-raspberry.com/ssh-raspberry-pi">connecter en SSH</a></span> ou pour <span class="cf3"><a href="http://the-raspberry.com/vnc">contrôler votre Raspberry pi à distance avec VNC</a></span>.</span></p><p class="mb1"><span class="fs12 cf3"><a href="http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_25_183753.png" class="inline-block"><img src="http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_25_183753.png" alt="clé wifi rapsberry pi" width="344" height="368" srcset="http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_25_183753-280x300.png 280w, http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_25_183753.png 344w" sizes="(max-width: 344px) 100vw, 344px" class="mb1 alignnone &nbsp;wp-image-825" data-selected="false"></a></span></p><h1 class="cf1"><span class="fs12">Utiliser une clé Wifi en ligne de commande</span></h1><p class="mb1"><span class="fs12">Faites la commande :</span></p><pre class="mt2 mb1 cf4"><span class="fs12 ff1">sudo nano /etc/network/interfaces</span></pre><p class="mb1"><span class="fs12 cf3"><a href="http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_26_172222.png" class="inline-block"><img src="http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_26_172222.png" alt="2013_09_26_172222" width="498" height="307" class="" data-selected="false"></a></span></p><p class="mb1"><span class="fs12"> </span></p><div class=""><span class="fs12">Effacer tous puis remplacer par</span></div><pre class="mt2 mb1 cf4"><span class="fs12 ff1">auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
auto wlan0

iface wlan0 inet dhcp
wpa-ssid "nom du réseau"
wpa-psk "mot de passe wifi"</span></pre><p class="mb1"><span class="fs12 cf3"><a href="http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_26_174112.png" class="inline-block"><img src="http://the-raspberry.com/wp-content/uploads/2013/09/2013_09_26_174112.png" alt="wifi ligne de commande rpi" width="568" height="342" class="" data-selected="false"></a></span></p><p class="mb1"><span class="fs12"> </span></p><p class="mb1"><span class="fs12">Vous n’avez plus qu’à modifier le nom du réseau et le mot de passe. Une fois cela fait il faudra faire Ctrl + x &nbsp;pour quitter, on vous demandera si vous voulez sauvegarder, appuyer sur la touche O puis sur la touche entrée.</span></p><p class="mb1"><span class="fs12">Pour que les modifications soient prise en compte il faudra redémarrer le Raspberry pi.</span></p></div></div>]]></description>
			<pubDate>Wed, 27 Jan 2016 07:43:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?utiliser-une-cle-wifi-sur-le-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/7ifdf3gx</guid>
		</item>
		<item>
			<title><![CDATA[Autre solution : Faire de la vidéo-surveillance en ligne avec votre Raspberry Pi et sa caméra !]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_7v1cgufy"><div id="post-media" class="clr cf2" style="margin: 0px 0px 30px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; position: relative; text-align: justify; widows: 1;"><span style="line-height: 23px;" class="cf1"><b>Faire de la vidéo-surveillance en ligne avec votre Raspberry Pi et sa caméra !</b></span><br></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Aujourd’hui, nous allons parler de sécurité physique et plus précisément de surveillance vidéo et de diffusion de vidéo-surveillance en ligne et en direct (bref du streaming).</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous ne vous êtes jamais demandé, « mais que se passe-t-il actuellement chez moi ? », un voleur ? Un incendie ? Un bébé qui sort de son lit ? Eh bien avec la Raspberry Pi, il est possible de le savoir <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">en mettant en place de la vidéo surveillance accessible depuis internet.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour ce faire, vous aurez besoin <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Raspberry Pi 2" href="http://www.amazon.fr/gp/product/B00T2U7R7I/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00T2U7R7I&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=IXEFHYYRC4D5XWPS" target="_blank" rel="nofollow">d’une Raspberry Pi</a></span>, d’une connexion internet, d’une webcam et c’est tout.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Précisons pour la webcam, qu’il existe <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Caméra Raspberry Pi" href="http://www.amazon.fr/gp/product/B00E1GGE40/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00E1GGE40&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=3AZTZRBPKVRCGEES" target="_blank" rel="nofollow"><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">une caméra FullHD spécialement conçue pour la Raspberry Pi à moins de 25€.</span></a></span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Au cours de ce tutoriel nous allons utiliser<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"> le logiciel Motion pour Raspbian, qui se chargera de transformer votre Raspberry Pi en véritable petit détecteur d’intrusion.</span></span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Motion, un logiciel pour la surveillance vidéo et l’accès en ligne, disponible pour la Raspberry Pi.</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">La fonction première de Motion est de faire <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">de la vidéo-surveillance avec diffusion en ligne</span>, en temps réel, via une ou plusieurs caméras ! Motion permet également de faire de la « motion capture », c’est-à-dire, que <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Motion est capable de comparer la dernière image prise avec la nouvelle pour faire de la détection de mouvements.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Motion est un logiciel très simple d’utilisation, disponible pour Raspbian et parfaitement adapté à la vidéo-surveillance avec la Raspberry Pi.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Installation de motion sur la Raspberry Pi.</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Maintenant que vous savez ce qu’est Motion, nous allons voir <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">comment l’installer sur votre Raspberry Pi pour la transformer en caméra de sécurité.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Dans un premier temps, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">assurez-vous que la Raspberry Pi est bien à jour à l’aide des deux commandes suivantes :</span></span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_858254" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">3</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get update</code></span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get upgrade</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Une fois ces commandes terminées et la Raspberry Pi à jour, installez maintenant Motion.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Deux situations sont possibles. Soit vous utilisez une webcam standard avec votre Raspberry Pi et, dans ce cas, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vous allez chercher Motion en ligne, dans les dépôts officiels de Raspbian.</span> Il vous suffit alors d’utiliser la ligne de commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_946973" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get </code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">motion</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Seconde situation possible,<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"> vous utilisez <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Caméra Full HD Raspberry Pi" href="http://www.amazon.fr/gp/product/B00E1GGE40/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00E1GGE40&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=3AZTZRBPKVRCGEES" target="_blank" rel="nofollow">la caméra du Raspberry Pi</a></span>.</span> Dans ce cas, vous allez devoir <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">chercher une version de Motion prenant en charge cette caméra et installer les dépendances liées.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour cela, vous allez commencer <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">par installer Motion et chercher les dépendances, dans les dépôts officiels de Raspbian,</span> avec la commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_808019" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">3</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 1963px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get </code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">motion</code></span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get </code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">libjpeg62 libjpeg62-dev libavformat53 libavformat-dev libavcodec53 libavcodec-dev libavutil51 libavutil-dev libc6-dev zlib1g-dev libmysqlclient18 libmysqlclient-dev libpq5 libpq-dev</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Ceci fait,<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"> téléchargez sur votre Raspberry Pi une version de Motion compatible avec la webcam du Raspberry Pi :</span></span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_79485" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">3</span></div><div class="line number4 index3 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">4</span></div><div class="line number5 index4 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">5</span></div><div class="line number6 index5 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">6</span></div><div class="line number7 index6 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">7</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">wget http:</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">//raspbian-france</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.fr</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/download/motion-mmal</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.</code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">tar</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.gz</code></span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">tar</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">zxvf motion-mmal.</code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">tar</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.gz</code></span></div><div class="line number4 index3 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number5 index4 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">mv</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">motion </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/usr/bin/motion</code></span></div><div class="line number6 index5 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number7 index6 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">mv</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">motion-mmalcam.conf </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/motion</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.conf</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous allez maintenant <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">donner les droits nécessaires aux différents fichiers pour que la Raspberry Pi puisse les exécuter :<br></span></span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_254422" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">3</span></div><div class="line number4 index3 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">4</span></div><div class="line number5 index4 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">5</span></div><div class="line number6 index5 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">6</span></div><div class="line number7 index6 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">7</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">chmod</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">664 </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/motion</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.conf</code></span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">chmod</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">755 </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/usr/bin/motion</code></span></div><div class="line number4 index3 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number5 index4 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">touch</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/tmp/motion</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.log</code></span></div><div class="line number6 index5 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number7 index6 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">chmod</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">775 </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/tmp/motion</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.log</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Motion est maintenant installé sur votre Raspberry Pi, nous allons donc pouvoir passer à l’étape suivante.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Configurer Motion sur votre Raspberry Pi</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nous allons maintenant tâcher <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">de configurer Motion sur votre Raspberry Pi pour en faire une caméra de sécurité.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Dans un premier temps, assurons-nous que Motion tourne en permanence. Pour cela, éditez le fichier « /etc/default/motion » et modifiez la ligne « start_motion_daemon » en :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_736719" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">start_motion_daemon=</code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">yes</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Maintenant, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">modifions un certain nombre de points de la configuration de Motion,</span>afin de régler au mieux notre système de vidéo-surveillance.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour cela, éditez le fichier « /etc/motion.conf », dans certains cas ce fichier se trouvera plutôt dans « /etc/motion/motion.conf ».</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; vertical-align: baseline;" class="fs16">Vous allez modifier certaines lignes de ce fichier de façon à ce qu’elles correspondent aux lignes ci-dessous :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_422156" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">3</span></div><div class="line number4 index3 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">4</span></div><div class="line number5 index4 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">5</span></div><div class="line number6 index5 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">6</span></div><div class="line number7 index6 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">7</span></div><div class="line number8 index7 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">8</span></div><div class="line number9 index8 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">9</span></div><div class="line number10 index9 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">10</span></div><div class="line number11 index10 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">11</span></div><div class="line number12 index11 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">12</span></div><div class="line number13 index12 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">13</span></div><div class="line number14 index13 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">14</span></div><div class="line number15 index14 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">15</span></div><div class="line number16 index15 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">16</span></div><div class="line number17 index16 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">17</span></div><div class="line number18 index17 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">18</span></div><div class="line number19 index18 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">19</span></div><div class="line number20 index19 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">20</span></div><div class="line number21 index20 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">21</span></div><div class="line number22 index21 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">22</span></div><div class="line number23 index22 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">23</span></div><div class="line number24 index23 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">24</span></div><div class="line number25 index24 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">25</span></div><div class="line number26 index25 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">26</span></div><div class="line number27 index26 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">27</span></div><div class="line number28 index27 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">28</span></div><div class="line number29 index28 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">29</span></div><div class="line number30 index29 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">30</span></div><div class="line number31 index30 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">31</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 1158px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash comments fs16 cf6 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">#On active le daemon</code></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs16 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">daemon on</code></div><div class="line number4 index3 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number5 index4 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash comments fs16 cf6 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">#On utilise le fichier /tmp/motion.log pour stocker les logs</code></div><div class="line number6 index5 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number7 index6 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">logfile </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/tmp/motion</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.log</code></span></div><div class="line number8 index7 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number9 index8 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash comments fs16 cf6 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">#On règle la résolution (adapter la résolution à celle de votre camera. Ici, nous avons réglé pour la caméra de la raspberry pi)</code></div><div class="line number10 index9 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number11 index10 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs16 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">width 1280</code></div><div class="line number12 index11 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number13 index12 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs16 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">height 720</code></div><div class="line number14 index13 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number15 index14 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash comments fs16 cf6 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">#On règle le nombre d'images prises par seconde</code></div><div class="line number16 index15 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number17 index16 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs16 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">framerate 2</code></div><div class="line number18 index17 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number19 index18 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash comments fs16 cf6 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">#On règle le nombre d'images enregistrées avant et après un mouvement (ici 2 avant 2 après)</code></div><div class="line number20 index19 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number21 index20 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs16 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">pre_capture 2</code></div><div class="line number22 index21 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number23 index22 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs16 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">post_capture 2</code></div><div class="line number24 index23 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number25 index24 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash comments fs16 cf6 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">#On règle le code, pour une lecture sur de nombreux médias</code></div><div class="line number26 index25 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number27 index26 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs16 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ffmpeg_video_codec msmpeg4</code></div><div class="line number28 index27 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number29 index28 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash comments fs16 cf6 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">#On autorise la lecture du flux depuis internet pour permettre l'accès en ligne à la vidéo-surveillance</code></div><div class="line number30 index29 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number31 index30 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs16 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">stream_localhost off</code></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Par défaut Motion diffuse la vidéo sur le port 8080 de la Raspberry Pi. <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Si vous souhaitez modifier ce port, éditez le fichier de configuration vu précédemment et modifier la ligne « webcontrol_port ».</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour ce qui est de la résolution,<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"> privilégiez une résolution compatible avec la caméra ou éventuellement une résolution inférieure.</span> En effet demander du fullHD n’est pas très logique si votre caméra ne permet que 480p !</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">De plus <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vous devez penser à votre connexion</span>, si vous avez une simple connexion ADSL la diffusion par internet avec un framerate élevé (24ips) ou une forte résolution sera possiblement un peu lente (remarquez que ça ne serait pas le cas si les opérateurs fournissaient les vrais débits disponibles en ADSL hein…).</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Accéder à la surveillance vidéo de votre Raspberry Pi à distance</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous allez, très probablement, avoir envie<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"> de voir votre vidéo surveillance en direct sur votre Raspberry Pi depuis n’importe où.</span> Nous avons d’ailleurs configurer Motion dans ce sens.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour cela, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vous allez avoir besoin de rendre votre Raspberry Pi accessible à distance</span>, nous vous renvoyons donc <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Mettre en ligne votre serveur web Raspbian, DynDNS et port forwarding" href="http://raspbian-france.fr/mettre-en-ligne-serveur-web-raspbian-dydns-port-forwarding/" target="_blank">à notre article dédié au dyndns.</a></span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Une fois que votre Raspberry Pi est accessible à distance, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vous n’avez plus qu’à y accéder par internet en tapant directement l’URL de votre Raspberry Pi dans votre navigateur</span> (si possible plutôt Firefox, Chrome semble avoir quelques difficultés), suivi du numéro de port (ex : http://votreurl.no-ip.biz:8080). Vous pouvez également accéder au flux vidéo via VLC !</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Conclusion</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Voilà, votre Raspberry Pi est maintenant équipée pour faire un système de vidéo-surveillance efficace !</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; vertical-align: baseline;" class="fs16">Des captures vidéo seront prises en cas de mouvements et stockées dans le répertoire indiqué dans la configuration de Motion, à la ligne « target_dir » (par défaut le répertoire « /home/pi »).</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous aurez peut-être besoin de <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Bien choisir les accessoires pour votre Raspberry Pi 2." href="http://raspbian-france.fr/accessoires-raspberry-pi-2/">quelques accessoires pour votre système de stockage, comme un disque dur ou un boitier, nous vous renvoyons à l’article dédié.</a></span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nous espérons que ce tutoriel vous aura été utile et que, qui sait, il vous aura permis, pourquoi pas, d’éviter un cambriolage grâce à votre nouvelle Raspberry Pi de vidéo-surveillance !</span></p></div>]]></description>
			<pubDate>Fri, 15 Jan 2016 08:49:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?autre-solution---faire-de-la-video-surveillance-en-ligne-avec-votre-raspberry-pi-et-sa-camera--</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/7v1cgufy</guid>
		</item>
		<item>
			<title><![CDATA[Faire de la vidéo-surveillance privée avec votre Raspberry Pi et sa caméra !]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_s716nns0"><div class="thumbnail cf2" style="margin: 0px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 20px; vertical-align: top; max-width: 595px; float: none; display: inline-block; widows: 1;"><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; vertical-align: top; text-decoration: none; outline: 0px;" class="fs16 cf1"><a href="http://d4v1d.me/tutoriel-un-systeme-de-video-surveillance-avec-le-raspberry-pi/"><img width="595" height="219" src="http://d4v1d.me/wp-content/uploads/2015/08/tutoriel-camera-raspi.png" class="scale-with-grid wp-post-image" alt="tutoriel-camera-raspi" srcset="http://d4v1d.me/wp-content/uploads/2015/08/tutoriel-camera-raspi-300x110.png 300w, http://d4v1d.me/wp-content/uploads/2015/08/tutoriel-camera-raspi.png 664w" sizes="(max-width: 595px) 100vw, 595px" style="padding: 0px; border-width: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: top; max-width: 100%; height: auto;" data-selected="false"></a></span></div><div class="post-contents cf2" style="margin: 0px 0px 20px 85px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 20px; vertical-align: top; float: none; width: 595px; widows: 1;"><table width="100%" cellspacing="0" cellpadding="4" style="margin: 0px 0px 20px; border-width: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: top; border-spacing: 0px; width: 595px;" data-computedwidth="595" data-minrequestedwidth="595"><colgroup><col width="64*"><col width="64*"><col width="64*"><col width="64*"></colgroup><tbody style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: top;"><tr valign="top" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: top; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><td width="25%" style="padding: 5px 20px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; width: 108px; height: 43px;" class="imVt"><p align="center" style="margin-bottom: 20px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: top;"><span class="fs16">IP publique</span></p></td><td width="25%" style="padding: 5px 20px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; width: 108px; height: 43px;" class="imVt"><p align="center" style="margin-bottom: 20px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: top;"><span class="fs16">port</span></p></td><td width="25%" style="padding: 5px 20px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; width: 107px; height: 43px;" class="imVt"><p align="center" style="margin-bottom: 20px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: top;"><span class="fs16">IP privée</span></p></td><td width="25%" style="padding: 5px 20px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; width: 107px; height: 43px;" class="imVt"><p align="center" style="margin-bottom: 20px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: top;"><span class="fs16">port</span></p></td></tr><tr valign="top" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: top; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><td width="25%" style="padding: 5px 20px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; width: 108px; height: 43px;" class="imVt"><p align="center" style="margin-bottom: 20px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: top;"><em style="margin: 0px; padding: 0px; border: 0px; font-variant: inherit; font-weight: inherit; font-stretch: inherit; vertical-align: top;" class="fs16">XX.XX.XX.XX</em></p></td><td width="25%" style="padding: 5px 20px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; width: 107px; height: 43px;" class="imVt"><p align="center" style="margin-bottom: 20px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: top;"><span class="fs16">1234</span></p></td><td width="25%" style="padding: 5px 20px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; width: 107px; height: 43px;" class="imVt"><p align="center" style="margin-bottom: 20px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: top;"><span class="fs16">192.168.1.13</span></p></td><td width="25%" style="padding: 5px 20px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; width: 107px; height: 43px;" class="imVt"><p align="center" style="margin-bottom: 20px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: top;"><span class="fs16">6789</span></p></td></tr></tbody></table></div></div>]]></description>
			<pubDate>Tue, 05 Jan 2016 08:58:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?faire-de-la-video-surveillance-privee-avec-votre-raspberry-pi-et-sa-camera--</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/s716nns0</guid>
		</item>
		<item>
			<title><![CDATA[Installer des logiciels sur Raspbian]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_629ri06k"><header class="entry-header"><h1 class="entry-title"><span class="fs12">Installer des logiciels sur Raspbian</span></h1><h1 class="entry-title"><br></h1><h1 class="entry-title"><span class="fs12">Salut a tous, nous nous retrouvons pour un nouveau tutoriel, cette fois-ci sur comment installer des logiciels sur </span><span class="fs12">Raspbian</span><span class="fs12">. Alors c’est extrêmement simple il suffit de faire la commande :</span></h1></header><div class="mt1 entry-content content"><pre class="mt2 mb1"><span class="fs12 ff1">sudo apt-get install "le nom du logiciel"</span></pre><h2 class=""><span class="fs12">Installer VLC sur le Raspberry pi</span></h2><p class="mb1"><span class="fs12">ici pour l’exemple que je vais installer VLC alors j’ouvre un terminal et j’écris :</span></p><pre class="mt2 mb1"><span class="fs12 ff1">apt-get install vlc</span></pre><p class="mb1"><span class="fs12 cf1"><a href="http://the-raspberry.com/wp-content/uploads/2013/05/2013-05-11-205831_1680x1050_scrot.png"><img alt="Installer VLC sur le Raspberry pi" src="http://the-raspberry.com/wp-content/uploads/2013/05/2013-05-11-205831_1680x1050_scrot.png" width="691" height="435" class="mb1 alignnone size-full wp-image-261" data-selected="false"></a></span></p><p class="mb1"><span class="fs12">Là on va me demander de faire un choix, je mets la lettre o (pour Oui) puis j’appuie sur entrer pour valider.</span></p><p class="mb1"><span class="fs12"><span class=""><a href="http://the-raspberry.com/wp-content/uploads/2013/05/Installer-des-logiciels-sur-Raspbian.png"><img alt="Installer VLC sur le Raspberry pi" src="http://the-raspberry.com/wp-content/uploads/2013/05/Installer-des-logiciels-sur-Raspbian.png" width="700" height="436" class="mb1 alignnone &nbsp;wp-image-267" data-selected="false"></a></span>VLC est maintenant en train de s’installer sur votre <span class="">Raspberry pi</span>.</span></p><p class="mb1"><span class="fs12 cf1"><a href="http://the-raspberry.com/wp-content/uploads/2013/05/2013-05-11-205957_1680x1050_scrot.png"><img alt="Installer des logiciels sur Raspbian" src="http://the-raspberry.com/wp-content/uploads/2013/05/2013-05-11-205957_1680x1050_scrot.png" width="698" height="449" class="mb1 alignnone size-full wp-image-259" data-selected="false"></a></span></p><p class="mb1"><span class="fs12">C’est aussi simple que ça.</span></p><p class="mb1"><br></p><p class="mb1"><span class="fs12">Voici quelques idées :</span></p><p class="mb1"><span class="fs12"><b>VLC</b> vous permettra de regarder des films, des vidéos ou encore écouter de la musique sur votre Raspberry pi, il est capable de lire une multitude de formats vidéo et audio.</span></p><div><br></div><div><span class="fs12"><b>Libre office</b></span></div><div><span class="fs12">C’est un suite Office un peux comme Word, Excel et Powerpoint. Il comprend lui aussi un logiciel de traitement de texte, un tableur et un logiciel de diaporama.</span><br></div><div><br></div><div><br></div><div><span class="fs12"><b>Synaptic</b></span></div><div><span class="fs12">Synaptic un gestionnaire de paquets, avec Synaptic vous n’aurez plus besoin de passer par le terminal pour installer des logiciels.</span></div><div><span class="fs12">Pour plus d’info allez voir le tutoriel d’installation de Synaptic</span></div><div><br></div><div><span class="fs12"><b>Plex Media Server</b></span></div><div><span class="fs12">Plex vous permet de steamer vos médias (vidéo,musique…) sur internet pour y accéder ensuite depuis votre ordinateur, tablette ou smartphone.</span></div><div><br></div><div><br></div><div><span class="fs12"><b>Deluge </b></span></div><div><span class="fs12">C’est client BitTorrent, Deluge vous permettra de télécharger des torrent depuis votre Raspberry pi</span></div></div></div>]]></description>
			<pubDate>Thu, 31 Dec 2015 06:55:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?installer-des-logiciels-sur-raspbian</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/629ri06k</guid>
		</item>
		<item>
			<title><![CDATA[Mettre en ligne votre serveur web Raspbian, DynDNS et port forwarding]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_22zn5a3e"><table width="808" style="margin: 0px 0px 22px; padding-right: 5px; padding-left: 5px; border: 1px solid rgb(221, 221, 221); font-stretch: inherit; line-height: 18px; vertical-align: baseline; border-spacing: 0px; width: 614px; widows: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" data-computedwidth="614" data-minrequestedwidth="614" class="cf1"><tbody style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><tr style="margin: 0px; padding: 0px; border-width: 0px 0px 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><th style="margin: 0px; padding: 10px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; text-align: center; width: 77px; height: 46px;" class="imVc"><span class="fs16">Type de requête</span></th><th style="margin: 0px; padding: 10px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; text-align: center; width: 128px; height: 46px;" class="imVc"><span class="fs16">Port externe de la requête</span></th><th style="margin: 0px; padding: 10px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; text-align: center; width: 142px; height: 46px;" class="imVc"><span class="fs16">Port interne de la redirection</span></th><th style="margin: 0px; padding: 10px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; text-align: center; width: 89px; height: 46px;" class="imVc"><span class="fs16">Protocole employé</span></th><th style="margin: 0px; padding: 10px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; text-align: center; width: 84px; height: 46px;" class="imVc"><span class="fs16">Équipement cible</span></th></tr><tr style="margin: 0px; padding: 0px; border-width: 0px 0px 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><td style="padding: 10px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; text-align: center; width: 77px; height: 23px;" class="imVt"><span class="fs16">HTTP</span></td><td style="padding: 10px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; text-align: center; width: 128px; height: 23px;" class="imVt"><span class="fs16">80</span></td><td style="padding: 10px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; text-align: center; width: 142px; height: 23px;" class="imVt"><span class="fs16">80</span></td><td style="padding: 10px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; text-align: center; width: 89px; height: 23px;" class="imVt"><span class="fs16">TCP</span></td><td style="padding: 10px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; text-align: center; width: 84px; height: 23px;" class="imVt"><span class="fs16">raspberry*</span></td></tr><tr style="margin: 0px; padding: 0px; border-width: 0px 0px 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><td style="padding: 10px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; text-align: center; width: 77px; height: 23px;" class="imVt"><span class="fs16">HTTPS</span></td><td style="padding: 10px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; text-align: center; width: 128px; height: 23px;" class="imVt"><span class="fs16">443</span></td><td style="padding: 10px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; text-align: center; width: 142px; height: 23px;" class="imVt"><span class="fs16">443</span></td><td style="padding: 10px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; text-align: center; width: 89px; height: 23px;" class="imVt"><span class="fs16">TCP</span></td><td style="padding: 10px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; text-align: center; width: 84px; height: 23px;" class="imVt"><span class="fs16">raspberry*</span></td></tr></tbody></table></div>]]></description>
			<pubDate>Mon, 28 Dec 2015 14:16:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?mettre-en-ligne-votre-serveur-web-raspbian,-dyndns-et-port-forwarding</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/22zn5a3e</guid>
		</item>
		<item>
			<title><![CDATA[Envoyer des sms avec votre Raspberry]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_1x4hwtk5"><div><span class="fs16 cf1">RaspiSMS 2.0, envoyer des SMS par internet avec la Raspberry Pi</span></div><div><br></div><div class="imTAJustify"><span class="fs16">Aujourd’hui, nous allons parler SMS et Raspberry Pi, avec la nouvelle version de RaspiSMS !</span></div><div class="imTAJustify"><span class="fs16">Que vous souhaitiez valider l’inscription de vos utilisateurs par SMS, envoyer des SMS par internet ou encore contrôler une installation domotique par SMS, RaspiSMS est fait pour vous !</span></div><div class="imTAJustify"><br></div><div class="imTAJustify"> </div><div><b class="fs16">RaspiSMS c’est quoi ?</b></div><div class="imTAJustify"><span class="fs16">Avant de parler installation du logiciel, prenons quelques minutes pour nous pencher sur RaspiSMS !</span></div><div class="imTAJustify"><br></div><div class="imTAJustify"> </div><div><b class="fs16">Une solution de SMS pour la Raspberry Pi</b></div><div class="imTAJustify"><span class="fs16">RaspiSMS, contraction de Raspberry Pi et SMS, est une solution vous permettant d’envoyer et de recevoir des SMS avec la Raspberry Pi, ou tout autre ordinateur/serveur tournant sous Linux.</span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><span class="fs16">D’un point de vue utilisateur, RaspiSMS se présente comme un logiciel à installer sur une Raspberry Pi et auquel vous accédez via internet. Vous pouvez ainsi envoyer des SMS depuis un site internet !</span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><span class="fs16">En hébergeant vous même l’application, vous disposez ainsi de votre propre site internet d’envoi de SMS, vous assurant la confidentialité de vos données et la protection de votre vie privée !</span></div><div class="imTAJustify"><br></div><div class="imTAJustify"> </div><div><span class="fs16">Un logiciel libre développé par Raspbian France</span></div><div class="imTAJustify"><span class="fs16">À l’origine, RaspiSMS est issu du besoin de l’équipe de Raspbian France d’envoyer des SMS via internet (pour une raison encore inconnue à ce jour, une bonne partie de la Dordogne semble avoir découvert internet mais pas les téléphones portables).</span></div><div class="imTAJustify"><span class="fs16">Ne trouvant que des solutions payantes pour envoyer des SMS par internet, nous avons décidé de développer notre propre logiciel ! Et plutôt que de faire un simple script en lignes de commande qui ne réponde qu’à nos propres besoins, nous avons choisi de créer une véritable application web et de la distribuer gratuitement et librement à la communauté, sous licence GNU/GPL3 !</span></div><div class="imTAJustify"><br></div><div class="imTAJustify"> </div><div><span class="fs16">Envoyer et recevoir des SMS par internet, contrôler votre Raspberry Pi, les fonctionnalités de RaspiSMS</span></div><div class="imTAJustify"><span class="fs16">Comme nous l’avons dit au début de l’article, c’est aujourd’hui la version 2.0 de la RapiSMS que nous vous proposons, et qui dit version 2.0 dit nouvelles fonctionnalités. Faisons donc un tour rapide de toutes les fonctionnalités de RaspiSMS !</span></div><div class="imTAJustify"> </div><div><span class="fs16">Les fonctionnalités déjà existantes</span></div><div class="imTAJustify"><span class="fs16">Avant de passer aux nouvelles fonctionnalités, apportées par la version 2.0, faisons d’abord le tour des fonctionnalités déjà existantes dans la version précédente :</span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><ul><li><span class="fs16 cf2">Envoyer des SMS</span></li><li><span class="fs16 cf2">Recevoir des SMS</span></li><li><span class="fs16 cf2">Programmer un SMS pour une date précise</span></li><li><span class="fs16 cf2">Créer des contacts</span></li><li><span class="fs16 cf2">Créer des groupes de contacts</span></li><li><span class="fs16 cf2">Gérer les utilisateurs (ajout et suppression)</span></li><li><span class="fs16 cf2">Statistiques et log des envois et réceptions de SMS</span></li><li><span class="fs16 cf2">Contrôle de la Raspberry Pi ou du serveur par SMS</span></li><li><span class="fs16 cf2">API permettant l’envoi de SMS à un numéro, un contact ou un groupe</span></li></ul></div><div class="imTAJustify"> </div><div><b class="fs16"><br></b></div><div><b class="fs16">Les nouvelles fonctionnalités</b></div><div class="imTAJustify"><span class="fs16">En plus de toutes les fonctionnalités précédemment citées, la version 2.0 de RaspiSMS ajoute de nombreuses fonctionnalités ou améliorations proposées par nos utilisateurs. Voici une liste de ces différentes fonctionnalités et améliorations :</span></div><div class="imTAJustify"><ul><li><span class="fs16 cf2">Ajout d’une interface de discussion par SMS permettant d’échanger de façon fluide avec un contact</span></li><li><span class="fs16 cf2">Envoi et réception des SMS en temps réel</span></li><li><span class="fs16 cf2">Ajout du transfert des SMS par mail</span></li><li><span class="fs16 cf2">Ajout du suivi du statut des messages (en cours d’envoi, envoyé, reçu par le destinataire)</span></li><li><span class="fs16 cf2">Amélioration de la gestion des logs (il est maintenant possible pour les administrateurs de supprimer des logs)</span></li><li><span class="fs16 cf2">Ajout du support et de la gestion des SMS « Stop » (si un utilisateur vous envoie un sms contenant uniquement le mot « STOP », les messages ne lui seront plus envoyés)</span></li><li><span class="fs16 cf2">Ajout d’une alerte lors de la réception d’un SMS</span></li><li><span class="fs16 cf2">Ajout de l’internationalisation automatique des numéros de téléphone</span></li><li><span class="fs16 cf2">Ajout du support des SMS « flash »</span></li><li><span class="fs16 cf2">Ajout d’une gestion de la configuration pour les administrateurs</span></li><li><span class="fs16 cf2">Ajout d’améliorations mineures (correction orthographique, correction de problèmes d’accents, affichage du nom du contact à côté du numéro, etc.)</span></li></ul><div><br></div><div><br></div></div><div class="imTAJustify"> </div><div class="imTACenter"><span class="fs16 cf2"></span></div><div class="imTACenter"><span class="fs16"><img class="image-0" src="http://www.raspberry-pi.ovh/images/discussion-raspisms2-1024x563.jpg"  title="" alt=""/><br></span></div><div class="imTAJustify"> </div><div class="imTAJustify"><br></div><div><b class="fs16">Les équipements nécessaires pour envoyer des SMS avec la Raspberry Pi</b></div><div class="imTAJustify"><span class="fs16">Dernier point avant de passer à l’installation de RaspiSMS sur votre Raspberry Pi, les différents équipements nécessaires à l’envoi de SMS depuis une Raspberry Pi.</span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><span class="fs16">En effet, si la Raspberry Pi permet beaucoup de choses, elle ne gère pas nativement l’envoi de SMS. Vous aurez donc besoin des équipements suivants :</span></div><div class="imTAJustify"><ul><li><span class="fs16 cf2">Une Raspberry Pi</span></li><li><span class="fs16 cf2">Une alimentation adaptée à la Raspberry Pi</span></li><li><span class="fs16"><span class="fsinherit cf2">Une</span><span class="fsinherit cf2"> </span><span class="fsinherit cf2">carte MicroSD de 8 Go minimum</span><span class="fsinherit cf2"> </span><span class="fsinherit cf2">(une fois RaspiSMS et ses différentes dépendances installées, le système seul dépasse déjà les 4 Go). Si vous souhaitez utiliser d’autres applications sur cette carte que RaspiSMS, nous vous conseillons de prendre</span><span class="fsinherit cf2"> </span><span class="fsinherit cf2">une carte de 16 Go !</span></span></li><li><span class="fs16"><span class="fsinherit cf2">Dernier point, le plus important, vous aurez besoin</span><span class="fsinherit cf2"> </span><span class="fsinherit cf2">d’un modem GSM/3G USB compatible avec le logiciel Gammu.</span></span></li></ul></div><div class="imTAJustify"><br></div><div class="imTAJustify"><span class="fs16">Nous ne le mettons pas dans la liste, mais vous aurez bien entendu besoin d’une carte SIM – et de son abonnement &nbsp;– à mettre dans le modem GSM. Chez nous, nous utilisons une carte avec un forfait 2€ de Free qui suffit largement à nos besoins !<br>Bien entendu, vous pouvez installer RaspiSMS sur une Raspberry Pi faisant déjà tourner d’autres logiciels. RaspiSMS consomme très peu de ressources et peut cohabiter sans aucun risque avec d’autres applications !</span></div><div class="imTAJustify"><br></div><div class="imTAJustify"> </div><div><span class="fs16"><b>Comment installer RaspiSMS sur votre Raspberry Pi (ou autre système GNU/Linux)</b></span></div><div class="imTAJustify"><span class="fs16">Afin de rendre RaspiSMS le plus accessible possible, nous avons fait en sorte que son installation soit particulièrement simple. Pour cela, nous vous proposons trois méthodes d’installations différentes, de la plus simple à la plus complexe !</span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><br></div><div class="imTAJustify"> </div><div><b class="fs16">Utiliser la distribution avec RaspiSMS pré-installée</b></div><div class="imTAJustify"><span class="fs16">Si vous souhaitez monter un système dédié à RaspiSMS, cette solution est probablement la plus adaptée. En effet, elle vous permettra de mettre en place une distribution Raspbian avec RaspiSMS pré-installée, le tout en quelques minutes à peine.</span></div><div class="imTAJustify"><span class="fs16">Pour cela, il vous suffit de télécharger <a href="http://raspisms.raspbian-france.fr/download/raspisms-2.0.img.tar.gz" target="_blank" class="imCssLink"><span class="fsinherit cf3">l’image de la distribution RaspiSMS</span> </a>puis de l’installer comme une distribution Raspbian standard (vous trouverez <span class="fsinherit cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">un tutoriel pour Windows ici</a></span>, et un autre <a href="http://raspbian-france.fr/creation-carte-sd-raspberry-raspbian-sous-gnulinux/" target="_blank" class="imCssLink"><span class="fsinherit cf3">pour Linux juste là</span>)</a> !</span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><span class="fs16">Après le démarrage, lancez la commande « sudo raspi-config » et faites « Expand Filesystem ».</span></div><div class="imTAJustify"><span class="fs16">L’utilisateur par défaut est « pi », mot de passe « raspberry ». Pour RaspiSMS, il existe un utilisateur « admin@example.fr », mot de passe « admin ». Pensez à changer ces mots de passe pour plus de sécurité !</span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><span class="fs16">Seul inconvénient de cette méthode, vous ne pouvez l’utiliser que sur une Raspberry Pi et vous ne pouvez pas ajouter RaspiSMS sur une distribution déjà en place.</span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><span class="fs16">Pour répondre à ce problème, nous vous proposons donc une seconde méthode, presque aussi simple !</span></div><div class="imTAJustify"> </div><div><span class="fs16">Installer RaspiSMS sur un système de type Debian avec le paquet .deb</span></div><div class="imTAJustify"><span class="fs16">Si vous souhaitez installer RaspiSMS sur une Raspberry Pi sur laquelle vous avez déjà une distribution, ou si vous souhaitez l’installer sur un autre système de type Debian (Ubuntu, Debian, Mint, Mate, etc.), nous vous conseillons d’utiliser la méthode suivante !</span></div><div class="imTAJustify"><span class="fs16">Dans un premier temps, télécharger le paquet .deb sur votre Raspberry Pi à l’aide de la commande suivante :</span></div><div class="imTAJustify"><span class="fs16 cf2">1</span></div><div class="imTAJustify"><span class="fs16 ff1"><code><span class="fs1em cf1">wget http:</span></code><code><span class="fs1em cf1">//raspisms</span></code><code><span class="fs1em cf1">.raspbian-france.fr</span></code><code><span class="fs1em cf1">/download/raspisms-2</span></code><code><span class="fs1em cf1">.0.deb</span></code></span></div><div class="imTAJustify"> </div><div class="imTAJustify"><span class="fs16">Une fois le téléchargement terminé, nous allons mettre le système et notamment les dépôts à jour, puis commencer l’installation de RaspiSMS (qui va probablement retourner une erreur) et enfin réparer les erreurs de l’installation. Là encore, rien de bien compliqué, il vous suffit de suivre les étapes suivantes :</span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><span class="fs16 ff1"><code><span class="fs1em cf1">1</span><span class="fs1em cf4">sudo</span></code><span class="fs1em cf2"> </span><code><span class="fs1em cf1">apt-get update</span></code></span></div><div class="imTAJustify"><span class="fs16 ff1"><code><span class="fs1em cf1">2</span><span class="fs1em cf4">sudo</span></code><span class="fs1em cf2"> </span><code><span class="fs1em cf1">dpkg -i .</span></code><code><span class="fs1em cf1">/raspisms-2</span></code><code><span class="fs1em cf1">.0.deb</span></code></span></div><div class="imTAJustify"><span class="fs16 ff1"><code><span class="fs1em cf1">3</span><span class="fs1em cf4">sudo</span></code><span class="fs1em cf2"> </span><code><span class="fs1em cf1">apt-get -f </span></code><code><span class="fs1em cf4">install</span></code></span></div><div class="imTAJustify"><span class="fs16 ff1"><code><br></code></span></div><div class="imTAJustify"><span class="fs16">Il ne vous reste plus qu’à répondre oui quand le système vous demandera s’il doit configurer le logiciel automatiquement !</span></div><div class="imTAJustify"> </div><div><span class="fs16">Installer RaspiSMS manuellement pour l’adapter à d’autres configurations</span></div><div class="imTAJustify"><span class="fs16">Dernière possibilité, si vous avez un niveau assez avancé sur Linux et que vous souhaitez installer RaspiSMS sur un autre type de système (par exemple du Red Hat), ou si vous souhaitez adapter l’installation à des technologies déjà présentes (comme Nginx notamment), vous pouvez télécharger directement <span class="fsinherit cf3">le <a href="http://raspisms.raspbian-france.fr/download/raspisms-2.0.tar.gz" target="_blank" class="imCssLink">code source</a></span> de RaspiSMS sur le site.</span></div><div class="imTAJustify"><span class="fs16">En revanche, si vous choisissez d’installer RaspiSMS de façon manuelle, vous devrez vous débrouillez tout seul !</span></div><div class="imTAJustify"><span class="fs16">Pour cela, nous vous conseillons d’aller voir <span class="fsinherit cf3"><a href="http://www.raspberry-pi.ovh/installation-parametrer-linux-gnu-debian-raspberry.html" target="_blank" class="imCssLink">le fichier d’installation automatique pour Debian</a></span>. Celui-ci est commenté et devrait vous permettre de vous en tirer sans trop de problème ;). Vous pourriez aussi avoir intérêt à faire un tour <span class="fsinherit cf3"><a href="http://raspisms.raspbian-france.fr/documentation/" target="_blank" class="imCssLink">sur la documentation de RaspiSMS</a></span> !</span></div><div class="imTAJustify"> </div><div><br></div><div><span class="fs16"><b>Contribuer à RaspiSMS</b></span></div><div><span class="imTAJustify fs16">Si vous utilisez RaspiSMS, vous avez peut-être envie de nous aider à le faire progresser !</span><br></div><div class="imTAJustify"><span class="fs16">Comme nous l’avons dit au début de l’article, RaspiSMS est un projet libre distribué sous licence GNU/GPL. Pour ceux qui l’ignorent, cela signifie que vous êtes libres de télécharger, mais aussi d’étudier, de modifier et de redistribuer RaspiSMS !</span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><span class="fs16">Par conséquent, si vous savez développer et que vous avez des idées d’améliorations à apporter au logiciel, vous pouvez vous rendre sur <span class="fsinherit cf3">la page GitHub du projet RaspiSMS</span>, forker le projet et nous proposer vos propres modifications !</span></div><div class="imTAJustify"> </div><div class="imTAJustify"><span class="fs16">Et si vous ne savez pas développer, pas de problème, vous pouvez quand même participer de plein de façons différentes :</span></div><div class="imTAJustify"><ul><li><span class="fs16 cf2">En écrivant un article ou un lien vers Raspbian France et cet article depuis votre site internet ou sur les forums auxquels vous participez</span></li><li><span class="fs16 cf2">Parlez de RaspiSMS et de Raspbian France autour de vous, en ligne ou auprès de proches auxquels ce projet pourrait être utile</span></li><li><span class="fs16 cf2">Faites nous des retours sur votre expérience d’utilisation et proposez-nous des améliorations</span></li></ul></div><div class="imTAJustify"> </div><div class="imTAJustify"><span class="fs16">Nous en profitons au passage pour remercier dam09fr, memento et flavaud pour leur temps, leurs idées et leur code !</span></div><div class="imTAJustify"> </div><div><span class="fs16">Conclusion</span></div><div><br></div><div class="imTAJustify"><span class="fs16">Et voilà, vous pouvez maintenant envoyer des SMS par internet avec votre Raspberry Pi !</span></div><div class="imTAJustify"><span class="fs16">Et le mieux, c’est que vous pouvez encore utiliser votre Raspberry Pi pour plein d’autres projets, alors n’hésitez pas, foncez découvrir notre tutoriel pour <span class="fsinherit cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">transformer votre Raspberry Pi en média-center</a></span> ou notre article pour bien choisir <span class="fsinherit cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">les accessoires de votre Raspberry Pi</a></span> !</span></div><div class="imTAJustify"><br></div></div>]]></description>
			<pubDate>Mon, 14 Dec 2015 23:25:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?envoyer-des-sms-avec-votre-raspberry</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/1x4hwtk5</guid>
		</item>
		<item>
			<title><![CDATA[Installer un serveur web sur votre Raspberry]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_y9r6md6a"><div id="post-media" class="clr cf2" style="margin: 0px 0px 30px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; position: relative; text-align: justify; widows: 1;"><span style="line-height: 23px;" class="cf1"><b>Installer un serveur web sur votre Raspberry</b></span></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Après avoir créé votre carte SD, et après avoir démarré pour la première fois votre Raspberry Pi, il y a de fortes chances que vous souhaitiez l’utiliser comme un serveur web.</span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">La Raspberry Pi comme serveur web, pourquoi ?</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Mais <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">pourquoi utiliser la Raspberry comme un serveur Web</span>, plutôt que de faire appel à des prestataires de services spécialisés dans l’hébergement web ?</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Tout d’abord, d’un point de vue économique, il faut savoir que <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">les services d’hébergement web ne sont pas gratuits</span> et qu’il faut sortir le porte-monnaie tous les mois/ans. Contrairement à la Raspberry qui <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">demande juste une connexion.</span><br>De plus, en choisissant la Raspberry, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vous avez la possibilité de modifier vos services à souhait</span> (exemples : la taille du disque, l’hébergem­ent de Database, etc.), ce qui n’est en général <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">pas le cas chez les hébergeurs spécialisés</span>, qui vendent souvent des hébergements mutualisés avec <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">une faible capacité de configuration.</span><br>Cependant <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">pour supporter plus d’utilisateurs</span>, vous avez intérêt à utiliser <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Raspberry Pi avec 1Go de RAM" href="http://www.amazon.fr/gp/product/B00T2U7R7I/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00T2U7R7I&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=IXEFHYYRC4D5XWPS" target="_blank" rel="nofollow">une Raspberry Pi 2</a></span>, soit la Raspberry Pi avec <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">1 Go de RAM</span>, plutôt que la <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Raspberry Pi B+" href="http://www.amazon.fr/gp/product/B00LPESRUK/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00LPESRUK&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">Raspberry de type B+</a></span> (512 Mo de RAM)</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">La question qui se pose maintenant est, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">comment faire de la Raspeberry un serveur web</span> ?</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Installation du serveur Apache avec Raspbian</span></h2><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Apache, c’est quoi ?</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Tout d’abord, nous allons installer Apache, qui est <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">le serveur web en tant que tel</span>.<br>Quand on parle de serveur web, on pense souvent à la machine, mais <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">ce terme désigne aussi le logiciel</span> qui permet à la machine d’analyser les requêtes d’un utilisateur (sous forme http), et de retourner le fichier correspondant à la requête (ou une erreur si le fichier n’est pas trouvé, ou la requête mal formulée).<br>Dans le cadre d’Apache, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">c’est donc du logiciel que l’on parle.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">À l’heure actuelle, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Apache est le serveur web le plus utilisé</span>, avec environ <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">60 % de parts de marché</span>. Apache possède même <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">sa propre licence</span>, utilisée par de nombreux autres projets. De plus, l’utilisation massive d’Apache (devenu le standard des serveurs web), couplée à sa forte popularité, à amener à une formidable abondance <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Le meilleur de la documentation Apache" href="http://www.amazon.fr/gp/product/2746018195/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=2746018195&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">de documentation, de cours, et autres livres traitant de son utilisation, depuis l’installation jusqu’à la sécurisation.</a></span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Que ce soit pour la Raspberry Pi et Raspbian, ou pour une machine plus généraliste,<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Apache est donc un choix sûr</span>, et les compétences que vous pourrez acquérir sur le sujet <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vous seront toujours utiles.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Installation d’Apache</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Avant d’installer le serveur, assurons nous d’avoir une machine bien à jour. Pour ce faire nous devons <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">posséder les droits administrateur</span>, soit en étant connecté en root, soit via la commande sudo.</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_187961" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">aptitude update</code></span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">aptitude upgrade</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Une fois la Raspberry Pi à jour, nous allons installer le serveur Apache.</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_318143" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">aptitude </code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apache2</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Au passage, nous allons en profiter pour donner des droits au dossier d’apache qui vous permettra de facilement administrer les sites. Pour cela, lancez les commandes suivantes :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_741450" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">3</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">chown</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-R www-data:pi </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/html/</code></span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">chmod</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-R 770 </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/html/</code></span></div></div></td></tr></tbody></table></div></div><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Vérifier qu’Apache fonctionne</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Une fois l’installation terminée, nous pouvons <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">tester qu’Apache fonctionne correctement</span> en nous rendant sur l’adresse de la Raspberry.<br>Pour cela, il faut tenter d’accéder à la Raspberry depuis le port 80 (ce port n’étant pas encore ouvert depuis l’extérieur, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">il faudra le faire depuis la Raspberry elle-même</span>). Ne vous inquiétez pas, c’est très facile. Il vous suffit d’ouvrir le navigateur web de la Raspberry (par défaut Midori sous Raspbian), et d’aller à l’adresse « http://127.0.0.1 ». Vous devriez alors obtenir une page avec un message du genre « <em style="margin: 0px; padding: 0px; border: 0px; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">It works!</em> » et plein d’autre texte.<br>Si jamais <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vous ne possédez pas d’interface graphique sur votre Raspbian</span>, ou que vous utilisez le SSH pour vous connecter à votre Raspberry, vous pouvez utiliser la commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_725637" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">wget -O verif_apache.html http:</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">//127</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.0.0.1</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Cette commande va <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">enregistrer le code HTML de la page dans le fichier « verif_apache.html »</span> dans le répertoire courant.<br>Vous n’avez donc plus qu’à lire le fichier avec la commande</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_615617" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">cat</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/verif_apache</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.html</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Si vous voyez marqué à un endroit dans le code « <em style="margin: 0px; padding: 0px; border: 0px; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">It works!</em> », c’est qu’Apache fonctionne.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Apache utilise le répertoire « /var/www/html » comme racine pour votre site.</span> Cela signifie que quand vous appelez votre Raspberry sur le port 80 (http), Apache cherche le fichier dans « /var/www/html ».<br>Par exemple, si vous appelez l’adresse « http://127.0.0.1/example », Apache cherchera le fichier « example » dans le répertoire « /var/www/html ».<br>Pour ajouter de nouveaux fichiers, sites, etc., vous devrez donc <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">les ajouter dans ce répertoire.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous pouvez <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">dès à présent</span> utiliser votre Raspberry pour faire un site <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">en HTML, &nbsp;CSS et JavaScript pur</span>, en interne.<br>Cependant, vous voudrez sans doute rapidement <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">permettre des interactions entre le site et l’utilisateur</span>. Par exemple permettre à l’utilisateur de s’inscrire, etc. Pour cela, vous allez avoir besoin de PHP.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Installation de PHP sur la Raspberry</span></h2><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Qu’est-ce que PHP ?</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Tout d’abord, il faut savoir que le <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">PHP est un langage interprété</span>. Et comme dans le cas des serveurs, l’acronyme PHP <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">peut avoir plusieurs sens</span>. En fait, quand l’on parle de PHP, on peut parler<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"> soit du langage, soit de l’interpréteur.</span><br>Ici, quand nous parlons d’installer PHP, cela signifie que <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">nous allons installer l’interpréteur</span>, afin d’utiliser le langage.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">PHP (le langage cette fois) est <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">principalement</span> utilisé pour rendre un site dynamique, c’est-à-dire que l’utilisateur envoie des informations au serveur qui lui renvoie <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">les résultats modifiés en fonction de ces infos</span>. A contrario, un site statique<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"> ne s’adapte pas aux informations fournies par un utilisateur.</span> Il est enregistré sous forme de fichier <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">une fois pour toute,</span> et livrera toujours le même contenu.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">PHP est libre</span>, et maintenu par la fondation PHP, ainsi que l’entreprise Zend, et diverses autres entreprises (il est à noter que Zend est aussi l’auteur <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Un livre pour commencer avec Zend Framework" href="http://www.amazon.fr/gp/product/B005SRR706/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B005SRR706&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">du célèbre framework Zend PHP, très utilisé et reconnu dans le monde de l’entreprise</a></span>).</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">C’est <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">un des langages de programmation les plus utilisés</span>, et c’est même <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">le plus utilisé pour la programmation destinée au web</span>, avec environ<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"> 79 % de parts de marché.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Là encore, l’ensemble des compétences que vous pourrez acquérir, sur le langage ou sur l’installation et la configuration de l’interpréteur, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vous seront toujours utiles.</span>Nous ne pouvons donc que vous conseiller <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Un bon ouvrage pour apprendre le PHP" href="http://www.amazon.fr/gp/product/274608371X/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=274608371X&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">d’apprendre le PHP</a></span>, qui est vraiment un langage merveilleux et trop souvent sous-estimé.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Installer PHP</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">On va encore une fois faire appel à <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">l’administrateur</span> pour installer php5 avec la ligne de commande.</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_706367" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">aptitude </code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">php5</code></span></div></div></td></tr></tbody></table></div></div><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Vérifier que PHP fonctionne</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour savoir si PHP fonctionne correctement, ce n’est pas très compliqué, et <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">la méthode est relativement proche de celle employée pour Apache.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous allez en premier lieu <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">supprimer le fichier « index.html »</span> dans le répertoire « /var/www/html ».</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_178311" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">rm</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/html/index</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.html</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Puis <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">créez un fichier « index.php »</span> dans ce répertoire, avec cette ligne de commande</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_208794" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">echo</code> <code class="bash string cf6" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"&lt;?php phpinfo(); ?&gt;"</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">&gt; </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/html/index</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.php</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">À partir de là, le fonctionnement <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">est le même que pour la vérification d’Apache.</span>Vous tentez d’accéder à votre page, et vous devriez avoir un résultat proche de cette image (si vous n’avez pas d’interface, utilisez la même méthode que précédemment, et cherchez les mots « PHP Version »).</span></p><div id="attachment_96" class="wp-caption aligncenter cf2" style="margin: 0px auto; padding: 10px 5px; border: 1px solid rgb(223, 223, 223); font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: center; max-width: 100%; widows: 1; width: 611px;"><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="fs16 cf3"><span><a href="http://raspbian-france.fr/wp-content/uploads/2014/03/phpinfo.jpg" class="inline-block"><img class="size-full wp-image-96" src="http://raspbian-france.fr/wp-content/uploads/2014/03/phpinfo.jpg" alt="Capture d'un phpinfo d'un serveur sous Raspbian" width="601" height="441" style="margin-right: auto; margin-left: auto; padding: 0px; border-width: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; max-width: 100%; height: auto; display: block;" data-selected="false"></a></span></span><p class="wp-caption-text" style="padding-top: 10px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs16">Tableau généré par la commande phpinfo sur une raspberry.</span></p></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Une base de données MySQL pour votre serveur</span></h2><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Un SGBD c’est quoi ? Pourquoi MySQL ?</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Maintenant que <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">nous avons mis en place PHP5</span>, vous allez sans doute <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vouloir stocker des informations</span> pour les utiliser dans vos sites. Pour cela, on utilise le plus souvent des bases de données.<br>Nous allons donc mettre en place un SGBD (Système de Gestion de Bases de Données), à savoir MySQL.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">MySQL est un SGBD libre</span>, puissant, massivement utilisé (<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">environ 56 % de parts de marché des SGBD libres</span>). Là encore, MySQL est tellement un incontournable du développement, quelle qu’en soit la branche, que vous devez absolument<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Le livre du zéro, parfait pour commencer avec MySQL" href="http://www.amazon.fr/gp/product/B00850RB1S/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00850RB1S&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">l’apprendre et le maitriser.</a></span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Installer MySQL</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour ce faire, nous allons installer mysql-server <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">et</span> php5-mysql (qui servira de lien entre php et mysql)</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_938999" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">aptitude </code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">mysql-server php5-mysql</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Lors de l’installation de mysql-server, il nous est demandé un mot de passe pour le compte administrateur MySQL (root), <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">attention à bien le retenir, car il sera utilisé plus tard.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Vérifier que MySQL marche correctement</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour vérifier le fonctionnement de MySQL, cette fois <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">nous utiliserons uniquement la ligne de commande.</span> Pour cela, nous allons simplement nous connecter via la commande :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_18808" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs16 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">mysql --user=root --password=votrepasswd</code></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous devriez alors avoir un message du type</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">« Bienvenue sur MySQL! »</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous avez donc maintenant un <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">serveur web, relié à PHP5 et à MySQL</span>. Soit tout ce qu’il faut. <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Vous pouvez donc vous arrêter ici.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">PHPMyAdmin, gérer facilement ses bases de données</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Toutefois, vous pourriez vouloir <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">une interface un peu plus simple</span> pour administrer vos bases de données qu’une simple console MySQL. Pour cela, vous pouvez installer PHPMyAdmin.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">PHPMyAdmin, c’est quoi ?</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">PHPMyAdmin est une application développée en PHP, et qui vise à fournir <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">une interface simplifiée pour MySQL.</span><br>Elle vous permet par exemple de voir rapidement et de façon lisible le contenu de votre base de données, ou de la manipuler <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">sans avoir besoin de faire vous-mêmes vos requêtes MySQL.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Installer PHPMyAdmin</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">L’installation de PHPMyAdmin n’est <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">pas du tout obligatoire</span>. Nous ferons ici une installation <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">sans paramètres de sécurité particuliers.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">L’installation de PHPMyAdmin se fait très simplement, via le gestionnaire de paquets, en utilisant la commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_98036" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">aptitude </code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">phpmyadmin</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">PHPMyAdmin vous posera plusieurs questions concernant ses réglages.<br>Choisissez donc <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">un serveur Apache</span>, puis utilisez le choix par défaut pour la base (<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">dbconfig-common</span>). Pour le mot de passe root, il s’agit de <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">celui que vous aviez utilisé pour MySQL.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Vérifier l’installation de PHPMyAdmin</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour vérifier le bon fonctionnement de PHPMyAdmin, vous allez simple tenter d’y accéder, en utilisant l’adresse de votre Raspberry suivi de /phpmyadmin. Par exemple, en local ce sera « http://127.0.0.1/phpmyadmin ».</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Rendre un serveur accessible depuis le web</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Votre serveur web est donc prêt. Cependant, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vous ne pouvez sans doute pas y accéder depuis internet.</span> En effet, il faudrait pour cela que votre box (livebox, freebox, etc.) redirige les requêtes vers votre Raspberry, sur les bons ports, etc.<br>Pour mettre ces redirections en place, et même obtenir une adresse URL, allez voir <span style="font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit;" class="cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">le tuto sur le port fowarding et le dydns</a></span>.</span></p></div>]]></description>
			<pubDate>Thu, 26 Nov 2015 14:11:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?installer-un-serveur-web-sur-votre-raspberry</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/y9r6md6a</guid>
		</item>
		<item>
			<title><![CDATA[Installer WordPress sur une Raspberry Pi (avec Nginx).]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_6dj11e7e"><h1 class="post-title cf1" style="margin: 0px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Installer WordPress sur une Raspberry Pi (avec Nginx).</span></h1><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Aujourd’hui, nous allons vous parler de wordpress, le CMS le plus populaire du monde (sans parler du fait qu’il fait tourner Raspbian France) et voir comment l’installer sur la Raspberry Pi.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"><br>La compatibilité Raspberry / WordPress existe depuis le début, néanmoins, les performances sur les premières Raspberry Pi n’étaient pas incroyables !<br>Aujourd’hui, avec <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a href="http://www.amazon.fr/gp/product/B00T2U7R7I/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00T2U7R7I&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=MTP65D6MO5UO72IZ" target="_blank" rel="nofollow">la Raspberry Pi 2</a></span>, c’est de l’histoire ancienne ! Le nouveau processeur et la RAM montée à 1Go nous offre la possibilité de faire tourner de manière plus que correcte un site wordpress sous Raspbian !</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Installer le serveur sur votre Raspberry Pi</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Outre les classiques commandes de mises à jour qui devraient être exécutées avant toute installation, nous allons devoir installer un serveur web ainsi que PHP et MySQL sur la Raspberry Pi.<br>Ici nous choisissons d’installer Nginx. En effet, si il est un peu plus compliqué à configurer qu’Apache, il est également nettement plus rapide, ce qui sera un réel avantage sur une Raspberry Pi.</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_486397" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 703px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="703" data-minrequestedwidth="703"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 667px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get update upgrade</code></span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get </code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-y nginx php5 php5-fpm mysql-server php5-mysql</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Avec cette commande, tous les dépôts nécessaires vont s’installer, à savoir Ngnix, PHP et enfin MySQL qui est la base de données utilisée par WordPress.<br>Lors de l’installation, il va vous être demandé quelques informations, notamment le nom et le mot de passe du compte MySQL, mémorisez bien les informations données, elles seront utiles par la suite !<br>Une fois l’installation terminée, vous allez devoir configurer Nginx. Pour cela, reportez-vous à la partie « Configurer Nginx » de notre tutoriel <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a href="http://raspbian-france.fr/installer-nginx-raspbian-accelerez-serveur-web-raspberry/" target="_blank">Installer Nginx Raspbian, et accélérez votre serveur web Raspberry</a></span>.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Création d’une base de données pour WordPress sur la Raspberry Pi</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Suite à cette installation nous allons devoir créer une base de données pour le futur site WordPress hébergé sur la Raspberry Pi. Nous allons être un poil barbu (poil, barbu ! Non ? Bon tant pis…) l’espace d’un instant.</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_616370" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 703px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="703" data-minrequestedwidth="703"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs16 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">mysql –u root –ppasswd</code></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Expliquons rapidement la ligne de commande. « mysql » demande une connexion au serveur de base de données, « -u » permet de signaler le nom du compte MySQL à utiliser (ici le compte root) et « –p » le mot de passe de ce compte. Renseignez ceux que vous avez mis lors de l’installation des packages. Attention, vous ne devez pas mettre d’espace entre l’argument « -p » et sa valeur !</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h3 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Création de la base pour WordPress</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Une fois ceci fait, vous vous retrouvez connecté à MySQL (vous devriez voir apparaître en début de ligne « mysql&gt; ».<br>Nous allons donc créer une base pour WordPress. Pour cela, utilisez la commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_293178" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 703px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="703" data-minrequestedwidth="703"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs16 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">create database wordpress;</code></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Ici, « wordpress » est le nom de la base de données qui sera utilisée, vous pouvez mettre un autre nom si vous le désirez, mais vous devrez alors prendre en compte cette différence dans la suite du tutoriel.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h3 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Création d’un utilisateur dédié à cette base</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Une bonne habitude à prendre quand vous utilisez une base de données est de bien séparer les différentes tables entre plusieurs utilisateurs dédiés.<br>Cela permet d’augmenter la sécurité ! En effet, si une personne réussi à prendre le contrôle de votre site à cause d’une faille de sécurité (ça peut toujours arriver), deux situations sont possibles.</span></p><ol style="margin: 40px 0px 40px 50px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><li style="margin-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs16">Vous utilisez un seul utilisateur MySQL, root, avec tous les droits sur toutes les tables. L’attaquant pourra donc récupérer non seulement les données du site attaqué, mais également les données de tous les autre sites.</span></li><li style="margin-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs16">Vous utilisez un utilisateur MySQL par site qui ne posséde de droits que sur la base de ce site. L’attaquant ne pourra récupérer que les données de ce site !</span></li></ol><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Ici, nous allons donc créer un utilisateur dédié à votre site WordPress.<br>Pour cela, il vous suffit d’exécuter la commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_507033" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 703px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="703" data-minrequestedwidth="703"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 969px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">GRANT ALL PRIVILEGES ON wordpress.* TO </code><code class="bash string cf6" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"nom_utilisateur"</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">@</code><code class="bash string cf6" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"localhost"</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">IDENTIFIED BY </code><code class="bash string cf6" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">'mot_de_passe'</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">;</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Dans cette commande, « wordpress » est le nom de la base, « nom_utilisateur » le nom de l’utilisateur que vous voulez créer et « mot_de_passe » le mot de passe de l’utilisateur ! À vous donc d’adapter selon vos préférences !<br>Vous pouvez maintenant quitter MySQL en faisant Ctrl+d.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Télécharger WordPress sur Raspberry Pi</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Maintenant que notre base de données est prête et que notre serveur Nginx est installé, nous allons pouvoir télécharger WordPress !<br>Tout d’abord, nous allons nous rendre à la racine du serveur, qui est, si vous avez suivi <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a href="http://raspbian-france.fr/installer-nginx-raspbian-accelerez-serveur-web-raspberry/" target="_blank">notre tutoriel sur Ngnix</a></span>, situé dans /var/www, puis nous allons télécharger la dernière version de WordPress. Pour cela, lancez les lignes de commandes suivantes :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_805950" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 703px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="703" data-minrequestedwidth="703"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">cd</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/</code></span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">wget http:</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">//wordpress</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.org</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/latest</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.</code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">tar</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.gz</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Ensuite, nous allons extraire le contenu via la commande « tar ».</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_783406" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 703px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="703" data-minrequestedwidth="703"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">tar</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">xzf latest.</code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">tar</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.gz</code></span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">rm</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-rf latest.</code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">tar</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.gz</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Un nouveau dossier va être créé lors de l’extraction, le dossier « wordpress ». Nous avons au passage supprimé l’archive, celle-ci nous étant maintenant inutile.<br>Nous allons maintenant nous rendre sur le site directement via le navigateur, dans notre cas, dans le sous dossier « wordpress ».</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Configurer Nginx pour rediriger les requêtes vers WordPress</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour que votre site soit accessible depuis internet avec l’adresse URL de votre choix, et pour que les requêtes soient toutes traitées par WordPress, vous allez devoir modifier un peu la configuration de Nginx.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour cela, nous allons commencer par écrire le fichier « /etc/nginx/sites-available/&lt;nom de votre site&gt; ». Ce fichier devra contenir le code suivant :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_313023" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 703px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="703" data-minrequestedwidth="703"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">3</span></div><div class="line number4 index3 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">4</span></div><div class="line number5 index4 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">5</span></div><div class="line number6 index5 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">6</span></div><div class="line number7 index6 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">7</span></div><div class="line number8 index7 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">8</span></div><div class="line number9 index8 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">9</span></div><div class="line number10 index9 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">10</span></div><div class="line number11 index10 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">11</span></div><div class="line number12 index11 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">12</span></div><div class="line number13 index12 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">13</span></div><div class="line number14 index13 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">14</span></div><div class="line number15 index14 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">15</span></div><div class="line number16 index15 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">16</span></div><div class="line number17 index16 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">17</span></div><div class="line number18 index17 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">18</span></div><div class="line number19 index18 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">19</span></div><div class="line number20 index19 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">20</span></div><div class="line number21 index20 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">21</span></div><div class="line number22 index21 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">22</span></div><div class="line number23 index22 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">23</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 618px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs16 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">server {</code></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash spaces" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> &nbsp;&nbsp;&nbsp;</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">listen 80;</code></span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash spaces" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> &nbsp;&nbsp;&nbsp;</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">root &lt;chemin_dosssier_de_votre_site&gt;;</code></span></div><div class="line number4 index3 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number5 index4 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash spaces" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> &nbsp;&nbsp;&nbsp;</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">index index.php;</code></span></div><div class="line number6 index5 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number7 index6 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash spaces" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> &nbsp;&nbsp;&nbsp;</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">server_name &lt;nom_de_votre_site&gt; www.&lt;nom_de_votre_site&gt;;</code></span></div><div class="line number8 index7 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number9 index8 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash spaces" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> &nbsp;&nbsp;&nbsp;</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">access_log </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/log/nginx/</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">&lt;nom_de_votre_site&gt;.access_log;</code></span></div><div class="line number10 index9 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number11 index10 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash spaces" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> &nbsp;&nbsp;&nbsp;</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">error_log </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/log/nginx/</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">&lt;nom_de_votre_site&gt;.error_log</code></span></div><div class="line number12 index11 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash spaces" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> &nbsp;&nbsp;&nbsp;</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">notice;</code></span></div><div class="line number13 index12 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number14 index13 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash spaces" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> &nbsp;&nbsp;&nbsp;</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">location / {</code></span></div><div class="line number15 index14 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash spaces" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">try_files $uri $uri/ </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/index</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.php?$args;</code></span></div><div class="line number16 index15 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash spaces" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> &nbsp;&nbsp;&nbsp;</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">}</code></span></div><div class="line number17 index16 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number18 index17 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash spaces" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> &nbsp;&nbsp;&nbsp;</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">location ~ \.php$</code></span></div><div class="line number19 index18 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash spaces" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> &nbsp;&nbsp;&nbsp;</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">{</code></span></div><div class="line number20 index19 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash spaces" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">include snippets</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/fastcgi-php</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.conf;</code></span></div><div class="line number21 index20 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash spaces" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">fastcgi_pass unix:</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/run/php5-fpm</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.sock;</code></span></div><div class="line number22 index21 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash spaces" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> &nbsp;&nbsp;&nbsp;</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">}</code></span></div><div class="line number23 index22 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs16 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">}</code></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Bien entendu, remplacez &lt;nom_de_votre_site&gt; et &lt;chemin_dossier_de_votre_site&gt; par les valeurs adaptées. Dans la partie « server_name », vous pouvez également ajouter l’adresse IP de votre Raspberry Pi.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Une fois le fichier enregistré, vous allez faire un lien symbolique pour activer le réglage. Pour cela, il vous suffit d’utiliser la ligne de commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_431913" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 703px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="703" data-minrequestedwidth="703"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 959px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ln</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-s </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/nginx/sites-available/</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">&lt;nom_de_votre_site&gt; </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/nginx/sites-enabled/</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">&lt;nom_de_votre_site&gt;</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous n’avez plus maintenant qu’à redémarrer le serveur Nginx avec la commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_131115" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 703px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="703" data-minrequestedwidth="703"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/init</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.d</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/nginx</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">restart</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Première connexion au WordPress sur votre Raspberry Pi</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nous allons maintenant nous connecter pour la première fois au WordPress pour finaliser l’installation.<br>Dans le navigateur, nous allons taper l’ip de la Raspberry Pi (vous pouvez trouvez l’IP dans la configuration de votre box).<br>Dans notre cas par exemple, cela donne « <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a href="http://192.168.1.24/">http://192.168.1.24</a></span> »<br>Vous devriez alors arriver sur la page suivante.</span></p><div id="attachment_1002" class="wp-caption aligncenter cf2" style="margin: 0px auto; padding: 10px 5px; border: 1px solid rgb(223, 223, 223); font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: center; max-width: 100%; widows: 1; width: 510px;"><img class="wp-image-1002" src="http://raspbian-france.fr/wp-content/uploads/2015/07/wordpress-premier-demarrage-1024x640.png" alt="Page de démarrage de wordpress" width="500" height="313" style="margin-right: auto; margin-left: auto; padding: 0px; border-width: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; max-width: 100%; height: auto; display: block;" data-selected="false"><p class="wp-caption-text" style="padding-top: 10px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs16">Au premier démarrage de WordPress vous vous retrouvez sur la page d’installation</span></p></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous n’avez plus qu’à suivre les étapes les unes après les autres afin de terminer l’installation de WordPress sur la Raspberry Pi.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Conclusion</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous avez maintenant un super site WordPress sur votre Raspberry Pi qui est accessible en local !<br>Il ne vous reste plus qu’à faire un tour sur<a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)"> <span style="font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit;" class="cf3">notre tutoriel sur le port fowarding et le dydns</span></a>, pour voir comment le rendre accessible depuis internet !<br>Les performances de <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a href="http://www.amazon.fr/gp/product/B00T2U7R7I/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00T2U7R7I&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=MTP65D6MO5UO72IZ" target="_blank" rel="nofollow">la Raspberry Pi 2</a></span> devraient grandement améliorer celles du site comparé aux versions précédentes, et pour une Raspberry Pi en bonne santé !</span></p></div>]]></description>
			<pubDate>Tue, 10 Nov 2015 14:25:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?installer-wordpress-sur-une-raspberry-pi--avec-nginx--</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/6dj11e7e</guid>
		</item>
		<item>
			<title><![CDATA[Installer une suite bureautique sur Raspberry pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_2b97jjo4"><header class="entry-header cf2 cb1"><h1 class="entry-title cf1"><span class="fs12">Installer une suite bureautique sur Raspberry pi</span></h1><h1 class="entry-title cf1"><br></h1><h1 class="entry-title cf1"><span class="fs12">LibreOffice</span></h1></header><div class="mt1 entry-content content cf2 cb1"><p class="mb1"><span class="fs12">Parmi les usages les plus fréquents que les gens font d’un ordinateur on retrouve <span class="">le traitement document Word</span>, <span class="">l’utilisation d’un tableur avec Excel</span> ou encore la <span class="">création de diaporama PowerPoint</span>. Ces logiciels font partie de la suite Office qui est incompatible avec le Raspberry pi, mais un équivalent existe, <span class="">LibreOffice</span>. <span class="imUl">LibreOffice</span> est un logiciel libre et gratuit qui a été téléchargé plus de 100 millions de fois dans le monde, la suite bureautique LibreOffice est disponible sur Windows, Mac et Linux (Debian inclus). <span class="">On va donc pouvoir l’installer sur un Raspberry pi</span>.</span></p><h2 class="cf1"><span class="fs12">Installer LibreOffice</span></h2><p class="mb1"><span class="fs12">On ouvre un terminal et on entre ces deux commandes :</span></p><pre class="mt2 mb1 cf3"><span class="fs12 ff1">sudo apt-get update</span></pre><p class="mb1"><span class="fs12">puis :</span></p><pre class="mt2 mb1 cf3"><span class="fs12 ff1">sudo apt-get install libreoffice</span></pre><p class="mb1"><span class="fs12">Si vous ne savez pas ce que signifie ces commandes je vous invite a consulté le tutoriel "</span><span class="fs12">Installer des logiciels sur Raspbian"</span><span class="fs12">.</span></p><p class="mb1"><span class="fs12"><em class="">LibreOffice</em> va s’installer sur votre Raspberry pi. Une fois l’installation terminer vous pourrez retrouver la suite bureautique en allant dans le menu démarrer puis dans la section bureautique.</span></p><p class="mb1"><span class="fs12">Vous trouvez plusieurs logiciels, chaque logiciel correspond à un usage.</span></p><p class="mb1"><span class="fs12">Grâce à <span class="">Libreoffice</span> et au <span class="">Raspberry pi</span> on pourrait imaginer que dans les écoles n’ayant pas beaucoup de moyen (en Afrique par exemple) on installe des Raspberry pi équipé de Libreoffice, les élèves pourront créer et éditer des documents. Cela reviendrait beaucoup moins chère que de mettre en place des ordinateurs équipés de Windows avec Office qui lui est payant.</span></p><p class="mb1">Nota : <span class="fs12">pour mettre Libre office en français :</span></p><div>1) Installer le gestionnaire de paquet Synaptic, si ce n’est deja fait,</div><div>* en ouvrant la console ou terminal en super utilisateur</div><div>* tapez : apt-get install synaptic</div><div>* Validez.</div><div>2) apres l’installation</div><div>* dans la console ou terminal , lancer synaptic en tapant: synaptic</div><div>Si il vous est demander un mot de passe . renseignez le.</div><div>OU s’affiche un message indiquant que « Synaptic se lance sans privilége admintrateur &nbsp;»</div><div>* Quitter synaptic et relancer le avec la commande : gksudo synaptic</div><div>3) dans le gestionnare de paquet ,colonne de droite , Selectionnez « Non installés »</div><div>*puis recher les paquets suivant :</div><div>– libreoffice-help-fr</div><div>et</div><div>-libreoffice-l10n-fr.</div><div>Selectionnez les et installez les.</div><div>et voila vous pouvez modifier la langue dans les options de libreoffice.</div><h1 class="cf1"><span class="fs12">Writer</span></h1><p class="mb1"><span class="fs12">Traitement de texte, équivalent de Word.</span></p><h1 class="cf1"><span class="fs12">Calc</span></h1><p class="mb1"><span class="fs12">Tableur, équivalent d’Excel.</span></p><h1 class="cf1"><span class="fs12">Impress</span></h1><p class="mb1"><span class="fs12">Permet de visionner, créer et modifier des diaporamas, équivalent de PowerPoint.</span></p><h1 class="cf1"><span class="fs12">Draw</span></h1><p class="mb1"><span class="fs12">Dessin vectorielle, équivalent de paint sur Windows.</span></p></div></div>]]></description>
			<pubDate>Fri, 23 Oct 2015 19:49:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?installer-une-suite-bureautique-sur-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/2b97jjo4</guid>
		</item>
		<item>
			<title><![CDATA[Comment installer un serveur cloud, ou serveur de fichiers sur une Raspberry Pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_c28i66a1"><div id="post-media" class="clr cf2" style="margin: 0px 0px 30px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; position: relative; text-align: justify; widows: 1;"><span style="line-height: 23px;" class="cf1"><b>OwnCloud, votre cloud à la maison sur votre Raspberry Pi !</b></span><br></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Après avoir vu comment créer un serveur multimédia grâce à OSMC, nous nous sommes penchés sur les serveurs de fichiers et plus précisément sur comment installer un serveur cloud, ou serveur de fichiers (choisissez le nom que vous voulez) sur une Raspberry Pi.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nous nous sommes intéressés à OwnCloud, un système libre, qui existe depuis quelques temps déjà (le projet a été lancé en 2010) et qui est une alternative à DropBox par exemple.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Le matériel nécessaire</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Avant de commencer l’installation de OwnCloud sur la Raspberry Pi, vérifions qu’il ne manque rien.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nous allons avoir besoin d’une Raspberry Pi,.Nous vous conseillons la <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a href="http://www.amazon.fr/gp/product/B00T2U7R7I/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00T2U7R7I&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=MTP65D6MO5UO72IZ" target="_blank" rel="nofollow">Raspberry Pi 2</a></span>, qui est plus puissante que la Raspberry Pi B+, et qui vous offrira une expérience d’utilisation plus fluide.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous aurez par ailleurs besoin d’une alimentation pour votre Raspberry Pi, afin d’alimenter correctement l’ensemble des ports de la Raspberry Pi 2 nous <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a href="http://www.amazon.fr/gp/product/B00U88KSHO/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00U88KSHO&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=AB7YO52GOCYWIQ5E" target="_blank" rel="nofollow">vous conseillons cette alimentation.</a></span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour un serveur de fichiers nous vous conseillons <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">de choisir une carte </span><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">micro SD</span><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">rapide, et d’une taille d’au moins 16Go.</span> Notre conseil est de choisir <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a href="http://www.amazon.fr/gp/product/B010NE3ND8/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B010NE3ND8&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">une carte de 16Go</a></span>, quitte à lui joindre plus tard <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a href="http://www.amazon.fr/gp/product/B00C9TEL46/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00C9TEL46&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">un disque dur externe de bureau</a></span> sur lequel vous stockerez tous vos dossiers ou fichiers si vous avez besoin de plus d’espace. Dans le cas contraire, nous vous conseillons de choisir au minimum <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a href="http://www.amazon.fr/gp/product/B010NE3QS0/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B010NE3QS0&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">une carte de 32Go</a></span>, ce qui devrait vous permettre d’être plus à l’aise en terme d’espace de stockage.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Dernier point, vous aurez besoin de connecter la Raspberry Pi à internet, soit via un câble RJ45, soit en Wi-Fi en passant par un dongle USB <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a href="http://www.amazon.fr/gp/product/B003MTTJOY/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B003MTTJOY&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=CX3LGYAWTUOA6IEJ" target="_blank" rel="nofollow">comme celui-ci</a></span>.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Installer OwnCloud sur la Raspberry</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Maintenant que nous avons tout le matériel nécessaire au bon fonctionnement de la Raspberry Pi, nous allons pouvoir installer OwnCloud.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">OwnCloud nous offre plusieurs solutions pour télécharger le système sur notre Raspberry Pi. Nous en verrons deux ici.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h3 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Utilisez une archive .tar ou .zip de OwnCloud</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">La première solution consiste à télécharger l’archive au format « tar » ou « zip ». Nous préconisons de télécharger l’archive dans le dossier /var/www/ afin que le système soit au bon endroit après la décompression de l’archive. Pour cela, lancez les commandes suivantes dans un terminal.</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_912513" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 712px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="712" data-minrequestedwidth="712"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 676px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">cd</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/</code></span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">wget https:</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">//download</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.owncloud.org</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/community/owncloud-8</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.0.4.</code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">tar</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.bz2</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Après que cette version se soit téléchargée sur la machine, nous allons devoir, comme nous l’avons déjà dit plus tôt, décompresser l’archive.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nous allons pour cela utiliser le programme « tar » avec les options « x » pour spécifier que nous souhaitons effectuer une extraction, « v » pour demander l’affichage des fichiers et « f » pour spécifier que nous allons utiliser un fichier.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Lancez donc la commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_357819" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 712px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="712" data-minrequestedwidth="712"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">tar</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-xvf owncloud-8.0.4.</code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">tar</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.bz2</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Après cette étape, plus ou moins longue selon votre modèle de Raspberry, vous obtiendrez un dossier nommé « owncloud ».</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Avec cette méthode nous allons devoir installer nous même tous les paquets nécessaires au bon fonctionnement de OwnCloud.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour cela, il vous suffit de lancer la commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_104742" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 712px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="712" data-minrequestedwidth="712"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 1118px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get </code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apache2 php5 php5-common php5-gd curl libcurl3 libcurl3-dev php5-curl mysql-server php5-mysql</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nous avons décidé de rester sous la base de données Mysql, nous n’avons donc pas besoin d’installer les paquets se rapportant aux autres BDD tel que MySQLite, supportée par Owncloud.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h3 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Utilisez les dépôts Debian 7 sur votre Raspberry Pi</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">La deuxième méthode consiste à installer OwnCloud sur la Raspberry Pi via le paquet « owncloud ».</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nous utilisons ici le paquet dédié à Debian 7 et non Debian 8, Raspbian étant encore sous Debian Wheezy.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nous allons donc commencer par ajouter les dépôts avec la commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_619438" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 712px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="712" data-minrequestedwidth="712"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 1334px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">echo</code> <code class="bash string cf6" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">'deb <span style="font-variant: inherit; font-stretch: inherit; text-decoration: none; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; outline: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" class="cf6"><a href="http://download.opensuse.org/repositories/isv:/ownCloud:/community/Debian_7.0/">http://download.opensuse.org/repositories/isv:/ownCloud:/community/Debian_7.0/</a></span> /'</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">&gt;&gt; </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/apt/sources</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.list.d</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/owncloud</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.list</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Ceci fait, nous allons installer OwnCloud :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_589656" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 712px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="712" data-minrequestedwidth="712"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get update &amp;&amp; </code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get </code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">owncloud</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour finir, nous ajoutons la clef du dépôt à apt, afin que le système le considère comme un dépôt de confiance :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_636112" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 712px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="712" data-minrequestedwidth="712"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 916px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">wget http:</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">//download</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.opensuse.org</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/repositories/isv</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">:ownCloud:community</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/Debian_7</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.0</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/Release</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.key</code></span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs16 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-key add - &lt; Release.key</code></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">L’avantage de cette technique est que lors de l’installation, la Raspberry Pi vous demandera automatiquement d’installer toutes les dépendances de OwnCloud ! De plus, cette méthode gardera votre dépôt à jour !</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nous vous conseillons d’aller lire notre tutoriel <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a href="http://raspbian-france.fr/installer-serveur-web-raspberry/" target="_blank">Installer un serveur web sur votre Raspberry</a></span> et le tutoriel <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a href="http://raspbian-france.fr/mettre-en-ligne-serveur-web-raspbian-dydns-port-forwarding/" target="_blank">Mettre en ligne votre serveur web Raspbian, DynDNS et port forwarding</a></span> qui vous permettrons de mieux comprendre la plateforme mise en place.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Afin que OwnCloud fonctionne correctement avec votre Raspberry Pi, nous allons devoir modifier les fichiers Apache.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nous allons activer la réécriture d’URL ainsi que la modification des headers à l’aide des lignes de commandes ci-dessous :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_343479" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 712px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="712" data-minrequestedwidth="712"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">3</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">a2enmod rewrite</code></span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">a2enmod headers</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nous allons maintenant modifier le poids maximal autorisé par Apache lors de l’upload de fichiers.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour cela, éditez le fichier « /etc/php5/apache2/php.ini » :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_557249" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 712px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="712" data-minrequestedwidth="712"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">nano </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/php5/apache2/php</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.ini</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous allez devoir trouver la ligne « post_max_size » et la ligne « upload_max_filesize »<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"></span>et modifier leur valeur en une valeur plus élevée, de notre côté nous avons mis 10000M (10 Go), autant viser large.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Maintenant que nous avons fait nos réglages, nous devons redémarrer Apache2 pour appliquer les changement de valeurs.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nous devons également nous assurer que les fichiers .htaccess soient pris en compte par le serveur, nous devons pour cela éditer le fichier de configuration « default » dans le répertoire « /etc/apache2/site-enabed/ ».</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_192046" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 712px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="712" data-minrequestedwidth="712"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">nano </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/apache2/sites-enabled/000-default</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.conf</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Dans le fichier, vous devriez trouver un certain nombre de lignes contenant « AllowOverride None ». Vous devrez les passer à « AllowOverride All ». Une fois ceci fait, enregistrer le fichier et redémarrer Apache avec la ligne de commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_965919" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 712px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="712" data-minrequestedwidth="712"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/init</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.d</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/apache2</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">restart</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">OwnCloud et les droits d’utilisation</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nous allons maintenant nous attaquer aux droits à donner à l’application pour que celle-ci fonctionne parfaitement par la suite.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nous allons donner les droits d’écriture à l’utilisateur « www-data » (correspond à Apache) sur le dossier « owncloud », afin que lors de notre utilisation nous puissions uploader des fichiers et autres.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour cela, nous allons utiliser la commande « chown » avec l’argument R qui permet de stipuler que nous souhaitons affecter également les sous-dossiers.</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_387544" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 712px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="712" data-minrequestedwidth="712"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">chown</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">www-data:www-data -R </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/html/owncloud/</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Configurer MySQL pour OwnCloud</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Comme nous l’avons dit plus haut, nous allons utiliser la base de données MySQL. Pour des raisons de sécurité, nous allons créer un utilisateur dédié à OwnCloud, qui ne pourra utiliser que la base de OwnCloud.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Tout d’abord, connectez vous à MySQL avec la commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_170338" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 712px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="712" data-minrequestedwidth="712"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs16 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">mysql -u root -p&lt;votre_password&gt;</code></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Le password à employer est celui de l’utilisateur « root » de MySQL. Vous ne devez pas mettre d’espace entre l’argument « -p » et le mot de passe.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Maintenant que nous sommes connectés à MysQL, nous allons créer la base « owncloud » avec la commande ci-dessous :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_441767" class="syntaxhighlighter &nbsp;sql" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 712px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="712" data-minrequestedwidth="712"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><b><code class="sql keyword cf7" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">create</code></b> <b><code class="sql keyword cf7" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">database</code></b> <code class="sql plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">owncloud;</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nous avons choisis de nommer la base du même nom que l’application afin vous ne se soyez pas perdu, mais vous pouvez la nommer comme bon vous semble (dans ce cas, vous devrez adapter la suite du tutoriel à votre choix).</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h3 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Création de l’utilisateur</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nous allons maintenant ajouter un utilisateur et lui donner tous les droits sur la table OwnCloud. Pour cela, il vous suffit d’exécuter la commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_941775" class="syntaxhighlighter &nbsp;sql" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 712px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="712" data-minrequestedwidth="712"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 999px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"><b><code class="sql keyword cf7" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">GRANT</code></b> <code class="sql color1 cf8" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ALL</code> <b><code class="sql keyword cf7" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">PRIVILEGES</code></b> <b><code class="sql keyword cf7" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ON</code></b> <code class="sql plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">owncloud.* </code><b><code class="sql keyword cf7" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">TO</code></b> <code class="sql plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">&lt;le_nom_du_user&gt;@localhost IDENTIFIED </code><b><code class="sql keyword cf7" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">BY</code></b> <code class="sql string cf6" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">'&lt;le_password_du_user&gt;'</code> <code class="sql plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">;</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Détaillons les arguments, « owncloud » correspond à la base créée juste avant.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">La partie « .* » permet de préciser que nous souhaitons donner l’accès à toutes les tables contenues dans la base owncloud.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Enfin, «&lt;le_nom_du_user» doit-être remplacé par le nom que vous souhaitez donner à l’utilisateur que nous allons créer, et « &lt;le_password_du_user&gt; » est le mot de passe que vous souhaitez donner à ce nouvel utilisateur.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Nous vous conseillons de choisir un utilisateur au nom clair (« owncloud » par exemple) et avec un password complexe !</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Ces informations nous serons demandées lors de notre première connexion au site owncloud.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Maintenant que la partie MySQL est finie, vous pouvez quitter MySQL avec un simple CTR+D ou la commande « exit ».</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Première connexion à OwnCloud sur la Raspberry Pi</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Maintenant que nous avons installé OwnCloud et configuré MySQL, nous allons pouvoir nous connecter pour la première fois à OwnCloud afin de finaliser son installation.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour cela, choisissez votre navigateur préféré et rendez-vous sur l’URL de votre Raspberry Pi dans le dossier owncloud.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous devrez utiliser l’adresse de votre Raspberry Pi sur votre réseau interne, adresse que vous pourrez certainement trouver dans la configuration de votre box.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous devrez donc vous rendre sur une adresse de la forme « http://192.168.X.X/owncloud ». Par exemple, chez nous il s’agit de l’adresse « http://192.168.1.17/owncloud ».</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">A l’ouverture de la page, nous arrivons sur une page de configuration comme celle-ci.</span></p><div id="attachment_1112" class="wp-caption aligncenter cf2" style="margin: 0px auto; padding: 10px 5px; border: 1px solid rgb(223, 223, 223); font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: center; max-width: 100%; widows: 1; width: 910px;"><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="fs16 cf3"><span><span><a href="http://raspbian-france.fr/wp-content/uploads/2015/10/capture_owncloud.jpg" class="inline-block"><img class="size-full wp-image-1112" src="http://raspbian-france.fr/wp-content/uploads/2015/10/capture_owncloud.jpg" alt="Interface connexion OwnCloud" width="900" height="563" style="margin-right: auto; margin-left: auto; padding: 0px; border-width: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; max-width: 100%; height: auto; display: block;" data-selected="false"></a></span></span></span><p class="wp-caption-text" style="padding-top: 10px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs16">L’interface de connexion et de configuration d’OwnCloud</span></p></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Les deux premiers champs permettent de créer le compte administrateur, un nom et un mot de passe est demandé.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Un champ destiné à renseigner le chemin absolu du dossier « Data » est pré-rempli, et si vous avez placé votre dossier « owncloud » dans « /var/www/ », il n’est pas à modifier.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Ensuite vient la partie base de données. Par défaut OwnCloud utilise MySQLite, mais nous avons la possibilité de faire notre propre choix, en cliquant sur « stockage et base de données », c’est ce que nous allons faire ici afin d’utiliser MySQL à la place.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">En cliquant sur MySQL/MariaDB, un formulaire apparaît.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Celui-ci permet de renseigner le nom de compte MySQL, le mot de passe de ce dernier, le nom de la base, et enfin l’adresse de la base de données, car celle-ci peut se trouver en local, ou sur une autre machine, dans notre cas, la base de données est en local, nous utilisons donc l’appellation « localhost ».</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous devrez donc remplir ces champs de la façon suivante :</span></p><ul style="margin: 40px 0px 40px 50px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><li style="margin-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs16">Compte MySQL : Le nom du compte que nous avons créé dans la partie « Configuration de MySQL ».</span></li><li style="margin-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs16">Mot de Passe : Le mot de passe de ce compte.</span></li><li style="margin-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs16">Nom de la Base : owncloud, ou le nom que vous avez choisi si vous avez préféré prendre un autre nom que celui que nous donnions en exemple.</span></li><li style="margin-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs16">Adresse de la Base : localhost</span></li></ul><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Une fois les champs remplis, cliquez sur « Terminer l’installation ».</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Conclusion</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous voila maintenant propriétaire d’un super serveur de fichiers !</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous pouvez vous en servir comme simple système de partage de fichiers, mais également comme plate-forme de gestion pour OSMC, idéal pour importer de nouveaux médias.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous pouvez faire un tour sur <span style="font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit;" class="cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">notre article dédié</a></span> pour voir comment installer OSMC !</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">OwnCloud vous proposera une solution libre de stockage, à l’abri des regards indiscrets de Google, DropBox, etc.</span></p></div>]]></description>
			<pubDate>Thu, 15 Oct 2015 07:28:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?comment-installer-un-serveur-cloud,-ou-serveur-de-fichiers-sur-une-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/c28i66a1</guid>
		</item>
		<item>
			<title><![CDATA[Contrôler votre Raspberry Pi à distance avec SSH]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_a5bbi1wz"><div><span class="fs12"><span class=""><b>Contrôlez votre Raspberry Pi avec SSH depuis votre ordinateur</b></span></span></div><div class="imTAJustify"><br></div><div><span class="fs12 cf1">SSH c’est quoi ?</span></div><div><br></div><div class="imTAJustify"><span class="fs12 cf2">Avant de voir comment contrôler la Raspberry Pi avec SSH, voyons exactement ce qu’est SSH.</span></div><div class="imTAJustify"><span class="fs12"><span class="cf2">SSH (pour Secure SHell) désigne à la fois</span><strong><span class="cf2"> </span><span class="cf2">un logiciel et un protocole de communication informatiques</span></strong><span class="cf2">. Ce protocole possède par ailleurs la particularité </span><strong><span class="cf2">d’être entièrement chiffré.</span></strong><span class="cf2"> </span><span class="cf2">Cela signifie donc que toutes</span><span class="cf2"> </span><strong><span class="cf2">les commandes que vous exécuterez via SSH seront totalement secrètes !</span></strong></span></div><div class="imTAJustify"><span class="fs12 cf2">SSH a été créé en 1995 avec pour principal but de permettre la prise de contrôle à distance d’une machine à travers une interface en lignes de commande.</span></div><div class="imTAJustify"><span class="fs12"><span class="cf2">Aujourd’hui,</span><span class="cf2"> </span><strong><span class="cf2">SSH est principalement utilisé à travers l’implémentation libre OpenSSH qui est présente dans la plupart des distributions Linux.</span></strong></span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><br></div><div><span class="fs12 cf1">Comment fonctionne SSH ?</span></div><div><br></div><div class="imTAJustify"><span class="fs12"><span class="cf2">Nous ne rentrerons pas ici dans les détails cryptographiques et autres. Nous nous contenterons</span><span class="cf2"> </span><strong><span class="cf2">de faire un rapide tour d’horizon afin que vous saisissiez un peu mieux comment utiliser SSH.</span></strong></span></div><div class="imTAJustify"><span class="fs12"><span class="cf2">De façon générale, SSH permet de</span><span class="cf2"> </span><strong><span class="cf2">se connecter à distance sur une machine en utilisant un compte utilisateur de la dite machine</span></strong><span class="cf2">.</span></span></div><div class="imTAJustify"><span class="fs12"><span class="cf2">Pour cela, l’ordinateur qui doit se connecter à la machine distante va fournir à celle-ci</span><strong><span class="cf2">le nom de l’utilisateur à utiliser et son mot de passe</span></strong><span class="cf2">. Il est possible dans certains cas</span><span class="cf2"> </span><strong><span class="cf2">d’utiliser un jeu de certificats sur l’ordinateur et la machine distante</span></strong><span class="cf2">, permettant ainsi d’obtenir une connexion sécurisée sans avoir à taper un mot de passe. Il s’agit là d’un cas d’utilisation plus poussé</span><span class="cf2"> </span><strong><span class="cf2">que nous n’aborderons pas ici.</span></strong></span></div><div class="imTAJustify"><span class="fs12"><span class="cf2">Par défaut SSH propose uniquement une prise de contrôle</span><span class="cf2"> </span><strong><span class="cf2">en lignes de commande</span></strong><span class="cf2">. Il est possible dans certains cas d’ajouter une interface graphique mais il s’agit là d’une méthode plus complexe que nous ne verrons pas ici.</span></span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><br></div><div><span class="fs12 cf1">Installer SSH pour prendre le contrôle de votre Raspberry Pi</span></div><div><br></div><div class="imTAJustify"><span class="fs12"><span class="cf2">Maintenant que nous en savons un peu plus sur SSH,</span><span class="cf2"> </span><strong><span class="cf2">voyons comment le mettre en place pour contrôler votre Raspberry Pi !</span></strong></span></div><div class="imTAJustify"><span class="fs12"><span class="cf2">Tout d’abord, vous devez savoir que l’installation de SSH se découpe en deux parties. En effet, vous aurez besoin</span><span class="cf2"> </span><strong><span class="cf2">d’un côté d’un serveur SSH sur votre Raspberry Pi et d’un autre d’un client SSH sur votre ordinateur</span></strong><span class="cf2">. Le premier recevra les commandes à lancer tandis que le second les enverra.</span></span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><br></div><div><span class="fs12 cf1">Installer le serveur SSH sur votre Raspberry Pi</span></div><div><br></div><div class="imTAJustify"><span class="fs12"><span class="cf2">Vous voulez une bonne nouvelle ?</span><span class="cf2"> </span><strong><span class="cf2">Le serveur SSH est installé et activé par défaut sur la Raspberry Pi !</span></strong></span></div><div class="imTAJustify"><span class="fs12"><span class="cf2">Si toutefois, pour une raison inconnue, cela n’était pas le cas,</span><span class="cf2"> </span><strong><span class="cf2">il est très facile d’installer SSH</span></strong><span class="cf2">. Pour cela, il vous suffit de lancer la commande suivante :</span></span></div><div class="imTAJustify"><code class="fs12 ff1"><br></code></div><div class="imTAJustify"><span class="fs12 ff1"><code class=""><span class="cf3">sudo</span></code><span class="cf4"> </span><code class=""><span class="cf2">apt-get update &amp;amp;&amp;amp;</span><span class="cf2"> </span></code><code class=""><span class="cf3">sudo</span></code><span class="cf4"> </span><code class=""><span class="cf2">apt-get</span><span class="cf2"> </span></code><code class=""><span class="cf3">install</span></code><span class="cf4"> </span><code class=""><span class="cf2">openssh-server</span></code></span></div><div class="imTAJustify"><code class="fs12 ff1"><br></code></div><div class="imTAJustify"><span class="fs12 cf2">Validez l’installation et voilà, c’est fait !</span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><span class="fs12"><span class="cf2">Normalement</span><span class="cf2"> </span><strong><span class="cf2">SSH devrait démarrer automatiquement au démarrage du système</span></strong><span class="cf2">. Là aussi si ce n’était pas le cas, cela peut se régler en une seule commande :</span></span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><span class="fs12"><code><span class="cf3">sudo</span></code><span class="cf4"> </span><code><span class="cf2">update-rc.d</span><span class="cf2"> </span></code><code><span class="cf3">ssh</span></code><span class="cf4"> </span><code><span class="cf2">defaults</span></code></span></div><div class="imTAJustify"><span class="fs12"><code><br></code></span></div><div class="imTAJustify"><span class="fs12"><span class="cf2">Notez bien que maintenant que SSH est installé,</span><strong><span class="cf2"> </span><span class="cf2">tout compte créé sur votre Raspberry Pi peut être utilisé pour se connecter via SSH. Assurez-vous donc d’employer des mots de passe forts !</span></strong></span></div><div class="imTAJustify"><span class="fs12"><strong><br></strong></span></div><div class="imTAJustify"><span class="fs12"><strong><br></strong></span></div><div><span class="fs12 cf1">Installer le client SSH sur votre ordinateur</span></div><div><br></div><div class="imTAJustify"><span class="fs12"><span class="cf2">Cette fois, pas de bonne nouvelle, à priori vous n’avez pas de client SSH installé chez vous. Il y a donc deux possibilités (en fait trois, mais si vous avez un mac vous vous débrouillerez tout seul),</span><span class="cf2"> </span><strong><span class="cf2">soit vous avez un ordinateur sous Windows</span></strong><span class="cf2"> </span><span class="cf2">(et nous nous demandons bien pourquoi :b),</span><span class="cf2"> </span><strong><span class="cf2">soit vous avez un ordinateur sous Linux</span></strong><span class="cf2"> </span><span class="cf2">(et les femmes – ou les hommes d’ailleurs – se jettent à vos pieds, vos ennemis vous craignent et vos amis vous envient).</span></span></div><div class="imTAJustify"><strong><span class="fs12 cf2">Nous allons donc voir l’installation d’un client SSH pour les deux cas.</span></strong></div><div class="imTAJustify"><strong class="fs12"><br></strong></div><div class="imTAJustify"><strong class="fs12"><br></strong></div><div><span class="fs12 cf1">Installer un client SSH sur Linux</span></div><div><br></div><div class="imTAJustify"><span class="fs12"><span class="cf2">Si vous êtes sous Linux, vous le savez déjà, le monde est plus beau !</span><span class="cf2"> </span><strong><span class="cf2">Pour installer un client SSH, rien de plus simple</span></strong><span class="cf2">, il vous suffit de lancer la commande suivante :</span></span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><span class="fs12 ff1"><code class=""><span class="cf3">sudo</span></code><span class="cf4"> </span><code class=""><span class="cf2">apt-get update &amp;amp;&amp;amp;</span><span class="cf2"> </span></code><code class=""><span class="cf3">sudo</span></code><span class="cf4"> </span><code class=""><span class="cf2">apt-get</span><span class="cf2"> </span></code><code class=""><span class="cf3">install</span></code><span class="cf4"> </span><code class=""><span class="cf2">openssh-client</span></code></span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><br></div><div><span class="fs12 cf1">Installer un client SSH pour Windows</span></div><div><br></div><div class="imTAJustify"><span class="fs12"><strong><span class="cf2">Vous allez devoir installer le logiciel Putty qui est un client SSH et TelNet.</span></strong><span class="cf2"> </span><span class="cf2">Vous pourrez trouver cet excellent outil</span><span class="cf2"> </span><span class="cf5">sur le site dédié.</span></span></div><div class="imTAJustify"><span class="fs12 cf2">Point intéressant, Putty fait partie de ces logiciels qui ne nécessitent pas d’installation !</span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><br></div><div><span class="fs12 cf1">Utiliser SSH pour vous connecter à la Raspberry Pi</span></div><div><br></div><div class="imTAJustify"><span class="fs12"><span class="cf2">Maintenant que nous avons installé un serveur et un client SSH,</span><span class="cf2"> </span><strong><span class="cf2">il ne nous reste plus qu’à les utiliser.</span></strong></span></div><div class="imTAJustify"><span class="fs12"><span class="cf2">Là encore, deux méthodes différentes</span><span class="cf2"> </span><strong><span class="cf2">selon que vous soyez sous Linux</span></strong><span class="cf2"> </span><span class="cf2">(béni soit le grand pingouin)</span><span class="cf2"> </span><strong><span class="cf2">ou sous Windows</span></strong><span class="cf2"> </span><span class="cf2">(que se brise ses carreaux).</span></span></div><div class="imTAJustify"><span class="fs12"><span class="cf2">Dans le fond, le principe reste néanmoins le même,</span><span class="cf2"> </span><strong><span class="cf2">utilisez le client SSH pour communiquer avec le serveur, ceci à l’aide de l’adresse du serveur, d’un nom utilisateur et du mot de passe associé.</span></strong></span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><br></div><div><span class="fs12 cf1">Utilisez SSH avec Linux</span></div><div><br></div><div class="imTAJustify"><span class="fs12"><span class="cf2">I</span><b><span class="cf2">l vous suffit d’une seule ligne de commande pour vous connecter à la Raspberry Pi.</span></b></span></div><div class="imTAJustify"><span class="fs12"><b><br></b></span></div><div class="imTAJustify"><span class="fs12 ff1"><code class=""><span class="cf3">ssh</span></code><span class="cf4"> </span><code class=""><span class="cf2">utilisateur@adresse_ip_ou_url_serveur</span></code></span></div><div class="imTAJustify"><code class="fs12 ff1"><br></code></div><div class="imTAJustify"><strong><span class="fs12 cf2">Bien entendu, vous devrez remplacer « utilisateur » par le nom de l’utilisateur avec lequel vous souhaitez vous connecter et « adresse_ip_ou_url_serveur » par l’IP du serveur ou son adresse URL si il en possède une.</span></strong></div><div class="imTAJustify"><span class="fs12"><span class="cf2">Une fois que vous aurez rentré le mot de passe du compte utilisateur (lequel, pour des questions de sécurité, ne s’affiche pas quand vous le tapez),</span><span class="cf2"> </span><strong><span class="cf2">vous serez connecté au terminal de la Raspberry Pi et toutes les commandes tapées seront faites sur la Raspberry Pi !</span><span class="cf2"> </span></strong><span class="cf2">Pour quitter SSH il vous suffit d’utiliser la commande « exit ».</span></span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><br></div><div><span class="fs12 cf1">Utilisez SSH avec Windows et Putty</span></div><div><br></div><div class="imTAJustify"><span class="fs12"><span class="cf2">Pour Windows, comme souvent,</span><strong><span class="cf2"> </span><span class="cf2">il va falloir passer par l’interface graphique.</span><span class="cf2"> </span></strong><span class="cf2">Vous allez donc devoir</span><span class="cf2"> </span><strong><span class="cf2">lancer Putty et remplir les informations comme sur l’image ci-dessous.</span></strong></span></div><div class="imTAJustify"><span class="fs12"><strong><br></strong></span></div><div class="imTAJustify"><span class="fs12"><strong><br></strong></span></div><div class="imTACenter"><span class="fs12"><img class="image-1" src="http://www.raspberry-pi.ovh/images/putty.jpg"  title="" alt=""/><span class=""><strong><br></strong></span></span></div><div class="imTACenter"></div><div class="imTACenter"><br></div><div class="imTACenter"><br></div><div class="imTACenter"><span class="fs12"><img class="image-0" src="http://www.raspberry-pi.ovh/images/putty_vs7xf8ff.jpg"  title="" alt=""/><br></span></div><div class="imTAJustify"><span class="fs12"><strong><span class="cf2">Là aussi, remplacer « adresse_ip » par l’adresse IP ou l’URL du serveur.</span><span class="cf2"> </span></strong><span class="cf2">Pour information, le numéro du port (22) est le port par défaut de SSH.</span><span class="cf2"> </span><strong><br></strong></span></div><div class="imTAJustify"><span class="fs12"><span class="cf2">Une fois ceci fait, cliquez sur le bouton « Open ». Une fenêtre de console devrait s’ouvrir en vous demandant le nom d’utilisateur que vous souhaitez utiliser puis son mot de passe.</span><span class="cf2"> </span><strong><span class="cf2">Une fois ceci fait, vous serez connecté à la Raspberry Pi</span></strong><span class="cf2">, comme sous Linux il vous suffit de taper « exit » pour quitter la connexion.</span></span></div><div class="imTAJustify"><span class="fs12"><span class="cf2">Sachez qu’il est possible d’enregistrer des configurations SSH avec Putty. Si vous souhaitez employer cette fonction,</span><span class="cf2"> </span><strong><span class="cf2">nous ne pouvons que vous conseiller de ne pas enregistrer le mot de passe, ceci étant véritablement une mauvaise pratique en terme de sécurité !</span></strong></span></div><div><br></div><div><br></div><div><span class="fs12 cf2">Conclusion</span></div><div><br></div><div class="imTAJustify"><span class="fs12"><span class="cf2">Voilà,</span><span class="cf2"> </span><strong><span class="cf1">vous savez maintenant comment contrôler votre Raspberry Pi à distance avec SSH !</span></strong></span></div><div><br></div></div>]]></description>
			<pubDate>Fri, 11 Sep 2015 08:42:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?controler-votre-raspberry-pi-a-distance-avec-ssh</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/a5bbi1wz</guid>
		</item>
		<item>
			<title><![CDATA[Comment trouver l'adresse ip du Raspberry ?]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_8r360zsr"><h1 class=""><span class="fs12 cf1"><a name="comment-trouver-l-adresse-ip-du-raspberry" id="comment-trouver-l-adresse-ip-du-raspberry" href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-trouver-l-adresse-ip">Comment trouver l'adresse ip du Raspberry ?</a></span></h1><div class="level1 cf9"><hr class=""><p class="mb1"><span class="fs12">Connectez au Raspberry un clavier et un moniteur.</span></p><p class="mb1"><span class="fs12">Identifiez vous avec :</span></p><pre class="mt1 mb1 code bash cf2"><span class="fs12 ff1">Login : pi
Password : raspberry</span></pre><p class="mb1"></p><p class="mb1"></p><div class="imTAJustify notewarning"><span class="fs12">/!\ Attention si vous avez fraichement installé Raspbian, le clavier va être en anglais, tapez alors :<strong>rqspberry</strong> /!\</span></div><p class="mb1"></p><p class="mb1"></p><div class="imTAJustify notetip"><span class="fs12">Rappel : Sous un environnement Linux <span class="u imUl">le mot de passe ne s'affiche pas</span> !</span></div><p class="mb1"></p><p class="mb1"></p><p class="mb1"><span class="fs12">Si tout c'est bien passé, un écran similaire à celui la devrait apparaitre :</span></p><pre class="mt1 mb1 code bash cf2"><span class="fs12 ff1">Linux raspberrypi 3.1.9+ <i><span class="co0 cf3">#168 PREEMPT Sat Jul 14 18:56:31 BST 2012 armv6l</span></i>
 
The programs included with the Debian GNU<span class="sy0 cf4">/</span>Linux system are <b><span class="kw2 cf5">free</span></b> software;
the exact distribution terms <span class="kw1 cf6">for</span> each program are described <span class="kw1 cf6">in</span> the
individual files <span class="kw1 cf6">in</span> <span class="sy0 cf4">/</span>usr<span class="sy0 cf4">/</span>share<span class="sy0 cf4">/</span>doc<span class="sy0 cf4">/*/</span>copyright.
 
Debian GNU<span class="sy0 cf4">/</span>Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
 
Type <span class="st_h">'startx'</span> to launch a graphical session
 
 
NOTICE: the software on this Raspberry Pi has not been fully configured. Please run <span class="st_h">'sudo raspi-config'</span>
 
pi<span class="sy0 cf4">@</span>raspberrypi ~ $ </span></pre><p class="mb1"></p><p class="mb1"></p><div class="imTAJustify notetip"><span class="fs12">Sur linux c'est la commande <strong>ifconfig</strong> qui permet d'afficher les informations réseau</span></div><p class="mb1"></p><p class="mb1"></p><pre class="mt1 mb1 code bash cf2"><span class="fs12 ff1">pi<span class="sy0 cf4">@</span>raspberrypi ~ $ <b><span class="kw2 cf5">ifconfig</span></b>
eth0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Link encap:Ethernet &nbsp;HWaddr b8:<span class="nu0 cf7">27</span>:xx:xx:xx:xx &nbsp;
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;inet addr:192.168.0.13 &nbsp;Bcast:192.168.0.255 &nbsp;Mask:255.255.255.0
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UP BROADCAST RUNNING MULTICAST &nbsp;MTU:<span class="nu0 cf7">1500</span> &nbsp;Metric:<span class="nu0 cf7">1</span>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RX packets:<span class="nu0 cf7">644</span> errors:<span class="nu0 cf7">0</span> dropped:<span class="nu0 cf7">0</span> overruns:<span class="nu0 cf7">0</span> frame:<span class="nu0 cf7">0</span>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TX packets:<span class="nu0 cf7">285</span> errors:<span class="nu0 cf7">0</span> dropped:<span class="nu0 cf7">0</span> overruns:<span class="nu0 cf7">0</span> carrier:<span class="nu0 cf7">0</span>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;collisions:<span class="nu0 cf7">0</span> txqueuelen:<span class="nu0 cf7">1000</span> 
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RX bytes:<span class="nu0 cf7">75700</span> <span class="br0 cf4">(</span><span class="nu0 cf7">73.9</span> KiB<span class="br0 cf4">)</span> &nbsp;TX bytes:<span class="nu0 cf7">28617</span> <span class="br0 cf4">(</span><span class="nu0 cf7">27.9</span> KiB<span class="br0 cf4">)</span>
 
lo &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Link encap:Local Loopback &nbsp;
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;inet addr:127.0.0.1 &nbsp;Mask:255.0.0.0
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UP LOOPBACK RUNNING &nbsp;MTU:<span class="nu0 cf7">16436</span> &nbsp;Metric:<span class="nu0 cf7">1</span>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RX packets:<span class="nu0 cf7">0</span> errors:<span class="nu0 cf7">0</span> dropped:<span class="nu0 cf7">0</span> overruns:<span class="nu0 cf7">0</span> frame:<span class="nu0 cf7">0</span>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TX packets:<span class="nu0 cf7">0</span> errors:<span class="nu0 cf7">0</span> dropped:<span class="nu0 cf7">0</span> overruns:<span class="nu0 cf7">0</span> carrier:<span class="nu0 cf7">0</span>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;collisions:<span class="nu0 cf7">0</span> txqueuelen:<span class="nu0 cf7">0</span> 
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RX bytes:<span class="nu0 cf7">0</span> <span class="br0 cf4">(</span><span class="nu0 cf7">0.0</span> B<span class="br0 cf4">)</span> &nbsp;TX bytes:<span class="nu0 cf7">0</span> <span class="br0 cf4">(</span><span class="nu0 cf7">0.0</span> B<span class="br0 cf4">)</span></span></pre><p class="mb1"><span class="fs12">Cherchez la ligne <strong>inet addr</strong> l'adresse ip ce trouve juste derriere.</span></p><p class="mb1"><span class="fs12">Dans mon cas l'adresse ip est : <strong>192.168.0.13</strong></span></p><p class="mb1"></p><p class="mb1"></p><div class="imTAJustify noteimportant"><span class="fs12">N'oubliez pas de connecter un câble réseau à la prise RJ45 de votre Raspberry, sinon l'adresse fournis sera fausse !</span></div><p class="mb1"></p><span class="fs12">Elle nous sera utile pour se connecter en <span class="cf8"><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-se-connecter-en-ssh" class="wikilink1" title="raspberry-pi:comment-se-connecter-en-ssh">ssh</a></span>.</span></div></div>]]></description>
			<pubDate>Thu, 20 Aug 2015 07:53:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?comment-trouver-l-adresse-ip-du-raspberry--</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/8r360zsr</guid>
		</item>
		<item>
			<title><![CDATA[Tonido est une solution de Cloud personnel qui vous permet comme Owncloud de gérer l’ensemble de vos documents et média à distance.]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_0xaw0k83"><header class="entry-header page-header cf2" style="box-sizing: border-box; padding-bottom: 0px; margin: 0px 0px 20px; border-bottom-width: 0px; line-height: 23.8px; widows: 1;"><h1 class="entry-title &nbsp;cf1" style="box-sizing: border-box; margin: 0px 0px 30px; line-height: 1.1;"><span class="fs12">Une alternative à owncloud sur le Raspberry-Pi : Tonido</span></h1></header><div class="entry-content cf2" style="box-sizing: border-box; margin: 1.5em 0px 0px; line-height: 23.8px; widows: 1;"><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Dans ce billet, je vais vous présenter une alternative à Owncloud développé sur le site dans de <span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">précédents articles</a></span>. Cette solution se nomme <span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://www.tonido.com/" target="_blank" sl-processed="1"><span style="box-sizing: border-box; font-weight: 700;">Tonido</span></a></span>.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span id="more-6817" style="box-sizing: border-box;" class="fs12"></span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Tonido est une solution de Cloud personnel qui vous permet comme Owncloud de gérer l’ensemble de vos documents et média à distance.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">A l’instar de Owncloud, Tonido ne nécessite pas d’installer de serveur HTTP comme Apache. De plus, cette solution est très simple à installer.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><br></p><div class="encart prerequis" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(216, 216, 235); background-image: url(http://rendering/images/clipboard.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span style="box-sizing: border-box; font-weight: 700;" class="fs12">Tutoriel :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">Installation et configuration de Raspbian</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">Overclocker son Raspberry-Pi</a></span></li></ul><p style="box-sizing: border-box; margin-bottom: 10px;"><span style="box-sizing: border-box; font-weight: 700;" class="fs12">Matériels :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span class="fs12">Raspberry-Pi <span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://www.amazon.fr/gp/product/B00LPESRUK/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00LPESRUK&amp;linkCode=as2&amp;tag=windtopik-21&amp;linkId=7XLYXPTK766M22Y2" target="_blank" sl-processed="1">RPi B+</a></span> ou <span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://www.amazon.fr/gp/product/B00T2U7R7I/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00T2U7R7I&amp;linkCode=as2&amp;tag=windtopik-21&amp;linkId=ERSPMULLIMJH2IYC" target="_blank" sl-processed="1">RPi 2</a></span></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B003VNKNEG/ref=as_li_tf_tl?ie=UTF8&amp;tag=windtopik-21&amp;linkCode=as2&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B003VNKNEG" sl-processed="1">Carte Mémoire SDHC Class 10 8 Go</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B003L1ZYYM/ref=as_li_tf_tl?ie=UTF8&amp;tag=windtopik-21&amp;linkCode=as2&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B003L1ZYYM" sl-processed="1">Câble HDMI</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B001TH7GVE/ref=as_li_tf_tl?ie=UTF8&amp;tag=windtopik-21&amp;linkCode=as2&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B001TH7GVE" sl-processed="1">Câble ethernet RJ45</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a id="static_txt_preview" href="http://www.amazon.fr/gp/product/B005ZHD2LC/ref=as_li_tf_tl?ie=UTF8&amp;camp=2522&amp;creative=9474&amp;creativeASIN=B005ZHD2LC&amp;link_code=as3&amp;tag=guita0f-21" target="_blank" sl-processed="1">Chargeur smartphone</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B003V4A5UW/ref=as_li_tf_tl?ie=UTF8&amp;tag=windtopik-21&amp;linkCode=as2&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B003V4A5UW" sl-processed="1">Clavier et Souris USB</a></span></li><li style="box-sizing: border-box;"><span class="fs12">Un moniteur (Écran)</span></li></ul><p style="box-sizing: border-box; margin-bottom: 10px;"></p></div><h1 style="box-sizing: border-box; margin: 20px 0px 10px; line-height: 1.1;" class="cf1"><span class="fs12">Préparation du Raspberry-Pi</span></h1><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Je passe dans cet article la partie <span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">installation et mise à jour de Raspbian</a></span>. Je vous conseille également d’<span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">overclocker votre Raspberry-Pi</a></span> pour cette solution.</span></p><h1 style="box-sizing: border-box; margin: 20px 0px 10px; line-height: 1.1;" class="cf1"><span class="fs12">Installation de Tonido</span></h1><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Pour commencer, ont créé et on se place dans un répertoire conçu pour Tonido :</span></p><div style="box-sizing: border-box;"><div id="highlighter_476137" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">mkdir</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/usr/local/tonido</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">cd</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/usr/local/tonido</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Ensuite on récupère le paquet :</span></p><div style="box-sizing: border-box;"><div id="highlighter_641345" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 699px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 667px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">wget http:</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">//patch</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.codelathe.com</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/tonido/live/installer/armv6l-rpi/tonido</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.</code><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">tar</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.gz</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">On le dé-zippe avec la commande suivante :</span></p><div style="box-sizing: border-box;"><div id="highlighter_711414" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">tar</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-zxvf tonido.</code><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">tar</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.gz</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Et enfin, on installe Tonido :</span></p><div style="box-sizing: border-box;"><div id="highlighter_179996" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/tonido</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.sh start</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Maintenant, on peu se connecter à l’interface Web de l’application. Lancer pour se faire votre navigateur Web et spécifier l’URL suivante : <span style="box-sizing: border-box; font-weight: 700;">« http://@IP_du_RaspberryPi:10001 ».</span></span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Vous devriez alors avoir une fenêtre comme ci-dessous à l’écran :</span></p><figure id="attachment_7127" class="thumbnail wp-caption aligncenter" style="box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; line-height: 1.42857; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-install.png" data-rel="lightbox-0" title="" sl-processed="1" class="inline-block"><img class="size-medium wp-image-7127" src="http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-install-300x300.png" alt="Page de configuration de Tonido" width="300" height="300" srcset="http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-install-150x150.png 150w, http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-install-300x300.png 300w, http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-install-60x60.png 60w, http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-install-375x375.png 375w, http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-install-276x276.png 276w, http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-install-180x180.png 180w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf6" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Page de configuration de Tonido</span></figcaption></figure><h1 style="box-sizing: border-box; margin: 20px 0px 10px; line-height: 1.1;" class="cf1"><span class="fs12">Configuration de Tonido</span></h1><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Une fois sur la page de configuration, renseigner les différents champs spécifiés comme la photo ci-dessus. Soit :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span class="fs12">Le langage</span></li><li style="box-sizing: border-box;"><span class="fs12">Le nom du compte</span></li><li style="box-sizing: border-box;"><span class="fs12">Mot de passe (x2)</span></li><li style="box-sizing: border-box;"><span class="fs12">Email</span></li></ul><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Puis cliquer sur <em style="box-sizing: border-box;"><span style="box-sizing: border-box; font-weight: 700;">« Create »</span></em> pour valider la création du compte.</span></p><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span class="fs12">Fenêtre d’accueil</span></h2><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">On accède alors à la présentation de la solution de l’URL pour accéder à la solution et d’autres informations. Cliquez ensuite sur suivant.</span></p><figure id="attachment_7130" class="thumbnail wp-caption aligncenter" style="box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; line-height: 1.42857; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-config.png" data-rel="lightbox-1" title="" sl-processed="1" class="inline-block"><img class="size-medium wp-image-7130" src="http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-config-300x239.png" alt="Page d'accès au compte (1)" width="300" height="239" srcset="http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-config-300x239.png 300w, http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-config.png 503w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf6" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Page d’accès au compte (1)</span></figcaption></figure><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Ensuite, on accède à une fenêtre pour choisir d’avoir accès à tous vos fichiers à distance <em style="box-sizing: border-box;">(Allow remote access to all folders)</em>, ou seulement des dossiers spécifiques <em style="box-sizing: border-box;">(Allow remote access to only specific folders)</em>.</span></p><figure id="attachment_7131" class="thumbnail wp-caption aligncenter" style="box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; line-height: 1.42857; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-acc%C3%A8sdistant.png" data-rel="lightbox-2" title="" sl-processed="1" class="inline-block"><img class="size-medium wp-image-7131" src="http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-acc%C3%A8sdistant-300x210.png" alt="Page d'accès au compte (2)" width="300" height="210" srcset="http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-accèsdistant-300x210.png 300w, http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-accèsdistant.png 562w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf6" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Page d’accès au compte (2)</span></figcaption></figure><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">La fenêtre suivante va nous permettre de valider ou non la gestion des torrents.</span></p><figure id="attachment_7132" class="thumbnail wp-caption aligncenter" style="box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; line-height: 1.42857; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-torrent.png" data-rel="lightbox-3" title="" sl-processed="1" class="inline-block"><img class="size-medium wp-image-7132" src="http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-torrent-300x195.png" alt="Page d'accès au compte (3)" width="300" height="195" srcset="http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-torrent-300x195.png 300w, http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-torrent.png 625w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf6" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Page d’accès au compte (3)</span></figcaption></figure><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Pour terminer, la dernière fenêtre nous propose de télécharger les différentes applications disponibles pour gérer Tonido depuis votre Smartphone.</span></p><figure id="attachment_7133" class="thumbnail wp-caption aligncenter" style="box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; line-height: 1.42857; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-application.png" data-rel="lightbox-4" title="" sl-processed="1" class="inline-block"><img class="size-medium wp-image-7133" src="http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-application-300x231.png" alt="Page d'accès au compte (4)" width="300" height="231" srcset="http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-application-300x231.png 300w, http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-application.png 514w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf6" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Page d’accès au compte (4)</span></figcaption></figure><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Voilà, on accède enfin à la page de gestion de Tonido. Qui ressemble à la copie d’écran suivante :</span></p><figure id="attachment_7135" class="thumbnail wp-caption aligncenter" style="box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; line-height: 1.42857; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-accueil.png" data-rel="lightbox-5" title="" sl-processed="1" class="inline-block"><img class="size-medium wp-image-7135" src="http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-accueil-300x254.png" alt="Menu de gestion de Tonido" width="300" height="254" srcset="http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-accueil-300x254.png 300w, http://www.windtopik.fr/wp-content/uploads/2015/04/tonido-accueil.png 848w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf6" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Menu de gestion de Tonido</span></figcaption></figure><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12"> </span></p><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span class="fs12">Onglet Paramètres</span></h2><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Je ne vais pas décrire dans ce tutoriel, l’ensemble de la solution. Cependant, jetons un coup d’œil aux paramètres que l’on peut modifier.</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">Général</span> : Permet d’avoir diverses informations comme la version du logiciel, le statut de connexion ou encore les IP LAN et WAN. Permet également de vérifier s’il y a des mises à jour disponibles.</span></li><li style="box-sizing: border-box;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">Compte</span> : Permet de modifier de nombreux paramètres comme le mot de passe du compte, de paramétrer la connexion à distance, modifier le répertoire ou la solution stocke les données utilisateurs, modifier le langage et enfin changer de compte.</span></li><li style="box-sizing: border-box;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">Réseau</span> : Donne la possibilité de configurer différents paramètres réseau comme activer SSL pour plus sécurité, autoriser des modifications à distance ou non, modifier le port de connexion HTTP, etc.</span></li><li style="box-sizing: border-box;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">Musique</span> : Permet de modifier les paramètres en lien avec les musiques exporté.</span></li><li style="box-sizing: border-box;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">Connexion</span> : Donne la possibilité de voir les différentes connexions ou encore les journaux de dépannage.</span></li><li style="box-sizing: border-box;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">A propos</span> : Informations sur le logiciel.</span></li></ul><h1 style="box-sizing: border-box; margin: 20px 0px 10px; line-height: 1.1;" class="cf1"><span class="fs12">Avis sur Tonido</span></h1><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Tonido est une solution de Cloud personnel très intéressante pour le Raspberry-Pi. Elle vous permet de mettre en œuvre simplement une solution bien conçue, sobre et agréable à utiliser.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Si vous souhaitez utiliser une solution de Cloud personnel à bas coût, simple à mettre en œuvre et efficace, je ne peux que vous la conseiller.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">En effet, il vous suffit d’ajouter et de configurer un disque dur externe pour que la solution soit vraiment fonctionnelle. <em style="box-sizing: border-box;">(Pour ajouter un disque dur voir <span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://www.windtopik.fr/configuration-owncloud/" target="_blank" sl-processed="1">l’</a></span><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink"><span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3">article sur Owncloud</span>)</a></em>.</span></p><h1 style="box-sizing: border-box; margin: 20px 0px 10px; line-height: 1.1;" class="cf1"><span class="fs12">Aller plus loin</span></h1><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span class="fs12">Lecture des fichiers audio : Flac, M4A, etc</span></h2><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Permet de lire des fichiers audio différents comme les formats FLAC ou M4A.</span></p><div style="box-sizing: border-box;"><div id="highlighter_576107" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">3</span></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">4</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">cd</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/usr/local/tonido</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get </code><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ffmpeg</code></span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ln</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-s </code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/usr/bin/ffmpeg</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ffmpeg.exe</code></span></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ln</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-s </code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/usr/bin/ffmpeg</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ffmpegv.exe</code></span></div></div></td></tr></tbody></table></div></div><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span class="fs12">Lancement automatique</span></h2><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Si vous souhaitez que Tonido se lance automatiquement au démarrage de votre RPi, procéder comme suit :</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">On récupère le script de lancement depuis le lien suivant : <span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://www.tonido.com/support/download/attachments/9109990/tonido?version=2&amp;modificationDate=1412274854000&amp;api=v2" sl-processed="1">tonido init.d script</a></span></span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Et on copie le fichier dans le repertoire init.d :</span></p><div style="box-sizing: border-box;"><div id="highlighter_349794" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">cp</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">tonido </code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/init</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.d/</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">On applique des autorisations au script :</span></p><div style="box-sizing: border-box;"><div id="highlighter_404361" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">chmod</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">+x </code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/init</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.d</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/tonido</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Enfin, on installe le script avec la commande suivante :</span></p><div style="box-sizing: border-box;"><div id="highlighter_384964" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">update-rc.d tonido defaults</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><br></p><p style="box-sizing: border-box; margin-bottom: 10px;"><br></p><p style="box-sizing: border-box; margin-bottom: 10px;"><br></p></div></div>]]></description>
			<pubDate>Wed, 12 Aug 2015 12:02:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?tonido-est-une-solution-de-cloud-personnel-qui-vous-permet-comme-owncloud-de-gerer-l-ensemble-de-vos-documents-et-media-a-distance-</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/0xaw0k83</guid>
		</item>
		<item>
			<title><![CDATA[Un radio réveil avec le Raspberry-Pi : Piclodio]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_tr0973gb"><header class="entry-header page-header cf2" style="box-sizing: border-box; padding-bottom: 0px; margin: 0px 0px 20px; border-bottom-width: 0px; line-height: 23.8px; widows: 1;"><h1 class="entry-title &nbsp;cf1" style="box-sizing: border-box; margin: 0px 0px 30px; line-height: 1.1;"><span class="fs12">Un radio réveil avec le Raspberry-Pi : Piclodio</span></h1></header><div class="entry-content cf2" style="box-sizing: border-box; margin: 1.5em 0px 0px; line-height: 23.8px; widows: 1;"><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Dans ce tutoriel pour le Raspberry-Pi nous allons voir comment mettre en place une solution de « web » radio réveil grâce à l’application Piclodio.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span id="more-7222" style="box-sizing: border-box;" class="fs12"></span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Piclodio est une application Web disponible depuis GitHub qui va comme nous l’avons vu plus haut nous permettre de réaliser une solution de <span style="box-sizing: border-box; font-weight: 700;">Web radio reveil sur le Raspberry-Pi</span>. Vous allez notamment pouvoir <span style="box-sizing: border-box; font-weight: 700;">ajouter vos propre URL de flux</span> à la collection déjà présente.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Voici un petit aperçu de l’interface de l’application :</span></p><figure id="attachment_7860" class="thumbnail wp-caption aligncenter" style="box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; line-height: 1.42857; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2015/08/piclodio_interface.png" data-rel="lightbox-0" title="" sl-processed="1" class="inline-block"><img class="size-medium wp-image-7860" src="http://www.windtopik.fr/wp-content/uploads/2015/08/piclodio_interface-300x210.png" alt="Interface de Piclodio &quot;Web radio réveil&quot;" width="300" height="210" srcset="http://www.windtopik.fr/wp-content/uploads/2015/08/piclodio_interface-300x210.png 300w, http://www.windtopik.fr/wp-content/uploads/2015/08/piclodio_interface.png 816w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf4" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Interface de Piclodio « Web radio réveil »</span></figcaption></figure><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12"> </span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Voici ci-dessous les différentes étapes pour mettre en œuvre cette solution.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><br></p><div class="encart prerequis" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(216, 216, 235); background-image: url(http://rendering/images/clipboard.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span style="box-sizing: border-box; font-weight: 700;" class="fs12">PRE-REQUIS</span><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span style="box-sizing: border-box; font-weight: 700;" class="fs12">Tutoriel :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">Installation et configuration de Raspbian</a></span></li></ul><p style="box-sizing: border-box; margin-bottom: 10px;"><span style="box-sizing: border-box; font-weight: 700;" class="fs12">Matériels :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span class="fs12">Raspberry-Pi <span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://www.amazon.fr/gp/product/B00LPESRUK/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00LPESRUK&amp;linkCode=as2&amp;tag=windtopik-21&amp;linkId=7XLYXPTK766M22Y2" target="_blank" sl-processed="1">RPi B+</a></span> ou <span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://www.amazon.fr/gp/product/B00T2U7R7I/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00T2U7R7I&amp;linkCode=as2&amp;tag=windtopik-21&amp;linkId=ERSPMULLIMJH2IYC" target="_blank" sl-processed="1">RPi 2</a></span></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B003VNKNEG/ref=as_li_tf_tl?ie=UTF8&amp;tag=windtopik-21&amp;linkCode=as2&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B003VNKNEG" sl-processed="1">Carte Mémoire SDHC Class 10 8 Go</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B003L1ZYYM/ref=as_li_tf_tl?ie=UTF8&amp;tag=windtopik-21&amp;linkCode=as2&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B003L1ZYYM" sl-processed="1">Câble HDMI</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B001TH7GVE/ref=as_li_tf_tl?ie=UTF8&amp;tag=windtopik-21&amp;linkCode=as2&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B001TH7GVE" sl-processed="1">Câble ethernet RJ45</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a id="static_txt_preview" href="http://www.amazon.fr/gp/product/B005ZHD2LC/ref=as_li_tf_tl?ie=UTF8&amp;camp=2522&amp;creative=9474&amp;creativeASIN=B005ZHD2LC&amp;link_code=as3&amp;tag=guita0f-21" target="_blank" sl-processed="1">Chargeur smartphone</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B003V4A5UW/ref=as_li_tf_tl?ie=UTF8&amp;tag=windtopik-21&amp;linkCode=as2&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B003V4A5UW" sl-processed="1">Clavier et Souris USB</a></span></li><li style="box-sizing: border-box;"><span class="fs12">Un moniteur (Écran)</span></li></ul><p style="box-sizing: border-box; margin-bottom: 10px;"></p></div><h1 style="box-sizing: border-box; margin: 20px 0px 10px; line-height: 1.1;" class="cf1"><span id="Preparation_du_Raspberry-Pi" style="box-sizing: border-box;" class="fs12">Préparation du Raspberry-Pi</span></h1><div class="encart info" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(216, 216, 235); background-image: url(http://rendering/images/info.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12">Pour la préparation du Raspberry-Pi, je vous laissez regardez le </span><span class="fs12">précédent article sur <a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">l’</a></span><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink"><span style="box-sizing: border-box; -webkit-transition: 0.3s; transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3">installation et mise à jour de Raspbian</span><span class="fs12">.</span></a></div><h1 style="box-sizing: border-box; margin: 20px 0px 10px; line-height: 1.1;" class="cf1"><span id="Installation_de_Piclodio_13" style="box-sizing: border-box;" class="fs12">Installation de Piclodio 1.3</span></h1><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Avant de passer à l’installation de Piclodio à proprement parler, nous allons installer :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">PIP</span> pour gérer les dépendances Python,</span></li><li style="box-sizing: border-box;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">Mplayer</span> pour lire les flux audios,</span></li><li style="box-sizing: border-box;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">at </span>pour stopper automatiquement le réveil,</span></li><li style="box-sizing: border-box;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">sqlite3</span> pour la base de données ,</span></li><li style="box-sizing: border-box;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">GIT</span> pour cloner les sources du projets</span></li><li style="box-sizing: border-box;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">python-alsaaudio</span> pour contrôler le volume.</span></li></ul><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Passons à l’installation des différents paquets:</span></p><div style="box-sizing: border-box;"><div id="highlighter_120359" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get </code><code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">python-pip mplayer at sqlite3 git python-alsaaudio</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Installation du framework Django :</span></p><div style="box-sizing: border-box;"><div id="highlighter_201759" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">pip </code><code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">Django==1.7.7</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Cloner maintenant le projet :</span></p><div style="box-sizing: border-box;"><div id="highlighter_94594" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">cd</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/home/pi</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">git clone https:</code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">//github</code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.com</code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/Sispheor/Piclodio2</code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.git</code></span></div></div></td></tr></tbody></table></div></div><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Option_1_Utilisation_de_Django_pour_lancer_Piclodio" style="box-sizing: border-box;" class="fs12">Option 1 : Utilisation de Django pour lancer Piclodio.</span></h2><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">La première méthode n’est pas la plus conseillée, mais elle est simple et rapide.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Copier le script suivant :</span></p><div style="box-sizing: border-box;"><div id="highlighter_658775" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 638px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">3</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 606px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">cp</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">Piclodio2</code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/run_piclodio/init_script/piclodio</code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.sh </code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/init</code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.d</code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/piclodio</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">chmod</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">+x </code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/init</code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.d</code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/piclodio</code></span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">update-rc.d piclodio defaults</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Vous pouvez évidemment éditer le script à votre guise en lançant Piclodio avec la commande suivante :</span></p><div style="box-sizing: border-box;"><div id="highlighter_960827" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/init</code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.d</code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/piclodio</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">start</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Vous pouvez alors accéder à l’interface de l’application en spécifiant l’adresse IP de votre Raspberry-Pi et le port en question soit <span style="box-sizing: border-box; font-weight: 700;">« http://@IP:8000 »</span>.</span></p><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Option_2_Lancement_de_Piclodio_via_un_serveur_WebApache" style="box-sizing: border-box;" class="fs12">Option 2 : Lancement de Piclodio via un serveur Web Apache</span></h2><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Installation du serveur web :</span></p><div style="box-sizing: border-box;"><div id="highlighter_592826" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get </code><code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apache2 libapache2-mod-wsgi</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Déplacez Piclodio dans le répertoire d’Apache et donner les droits d’accès au dossier :</span></p><div style="box-sizing: border-box;"><div id="highlighter_782207" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">mv</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/home/pi/Piclodio2</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">chown</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-R www-data: </code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/Piclodio2</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Copier le vHost du dossier source dans la configuration du vHost d’Apache :</span></p><div style="box-sizing: border-box;"><div id="highlighter_692175" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 815px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 783px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">cp</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/Piclodio2/run_piclodio/apache/piclodio</code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.conf </code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/apache2/sites-available/piclodio</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Activation du vHost :</span></p><div style="box-sizing: border-box;"><div id="highlighter_297515" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">a2ensite piclodio</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Nous devons maintenant permettre à l’utilisateur Apache www-data d’utiliser mplayer. Editez alors le fichier sudoers avec la commande :</span></p><div style="box-sizing: border-box;"><div id="highlighter_695212" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">visudo</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Ajoutez les lignes suivantes à la fin du fichier :</span></p><div style="box-sizing: border-box;"><div id="highlighter_49804" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 846px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 814px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">www-data ALL=NOPASSWD:</code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/usr/bin/mplayer</code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">* ,</code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/usr/bin/pgrep</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">mplayer ,</code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/usr/bin/killall</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">mplayer, </code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/usr/bin/at</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Ajoutez l’utilisateur Apache dans le groupe audio pour donner le contrôle du son :</span></p><div style="box-sizing: border-box;"><div id="highlighter_963442" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">usermod</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-a -G audio www-data</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Pour terminer, il nous suffit de relancer Apache :</span></p><div style="box-sizing: border-box;"><div id="highlighter_745235" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">service apache2 reload</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Et voila! L’application est disponible à l’adresse ip de votre Rpi via vôtre navigateur sous l’URL <span style="box-sizing: border-box; font-weight: 700;">http://adresse_IP_du_RPI/piclodio</span>.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><br></p></div></div>]]></description>
			<pubDate>Tue, 28 Jul 2015 11:56:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?un-radio-reveil-avec-le-raspberry-pi---piclodio</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/tr0973gb</guid>
		</item>
		<item>
			<title><![CDATA[Décompresser un fichier .tar.gz sur le Raspberry pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_5c577r9d"><header class="entry-header cf2 cb1"><h1 class="entry-title cf1"><span class="fs12">Décompresser un fichier .tar.gz sur le Raspberry pi</span></h1></header><div class="mt1 entry-content content cf2 cb1"><p class="mb1"><span class="fs12">Si vous avez télécharger un logiciel pour votre raspberry pi que vous n’arriver pas à ouvrir, car le fichier est un .tar.gz , ce tutoriel est fait pour vous</span></p><p class="mb1"><span class="fs12">Les fichiers .tar.gz sont en fait des archives, pour ouvrir une de ces archives suivez les instructions si dessous :</span></p><p class="mb1"><span class="fs12">Tous d’abord localiser le répertoire ou se trouve votre archive téléchargée</span></p><pre class="mt2 mb1 cf3"><span class="fs12 ff1">cd /le/répertoire</span></pre><p class="mb1"><span class="fs12">Ensuite, décompresser le fichier</span></p><pre class="mt2 mb1 cf3"><span class="fs12 ff1">tar xzf votreprogramme.tar.gz</span></pre><p class="mb1"><span class="fs12">L’archive est désormais décompressée</span></p></div></div>]]></description>
			<pubDate>Wed, 15 Jul 2015 05:29:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?decompresser-un-fichier--tar-gz-sur-le-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/5c577r9d</guid>
		</item>
		<item>
			<title><![CDATA[Bien choisir les accessoires pour votre Raspberry Pi 2.]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_4v14gj4v"><div id="post-media" class="imTAJustify clr cf2"><span class="fs16 cf1">Bien choisir les accessoires pour votre Raspberry Pi 2.</span></div><p class="mb1 imTAJustify cf2"><span class="fs16">La Raspberry Pi 2 est sortie et elle est absolument géniale. Plus rapide, plus puissante, toujours aussi abordable, <span class="">et supportant désormais Windows 10.</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Lors de la sortie de la Raspberry Pi 2 nous vous avions dit que nous sortirions un guide pour vous aider à choisir les accessoires de votre Raspberry Pi 2, le voici.</span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Nous allons découper ce tutoriel en trois parties, les accessoires obligatoires, ceux utiles, et ceux qui vous serviront dans des cas un peu spécifiques. Nous essaierons d’être aussi clairs, et surtout concis, que possible.</span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Les accessoires présentés dans cet article sont également utilisables pour la Raspberry Pi B+.</span></p><h2 class="imTAJustify cf1"><span class="fs16">Les accessoires obligatoires</span></h2><p class="mb1 imTAJustify cf2"><span class="fs16">La Raspberry Pi est livrée nue, sans clavier, sans alimentation, bref toute seule.</span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Sans les accessoires que nous vous présentons ici, vous ne pourrez pas démarrer la Raspberry Pi.</span></p><h3 class="imTAJustify cf1"><span class="fs16">La Raspberry Pi 2</span></h3><p class="mb1 imTAJustify cf2"><span class="fs16">C’est évident, mais nous le marquons tout de même, <span class="cf3"><a title="Raspberry Pi 2" href="http://www.amazon.fr/gp/product/B00T2U7R7I/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00T2U7R7I&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=2DCECXHBPLWGSGNR" target="_blank" rel="nofollow">il vous faudra une Raspberry Pi 2.</a></span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Il est surtout question, pour nous, de vous rappeler rapidement les changements de la Raspberry Pi 2 par rapport à la Raspberry Pi B+.</span></p><p class="mb1 imTAJustify cf2"><span class="fs16">La Raspberry Pi 2 propose donc <span class="">1Go de mémoire vive, contre 512Mo pour le modèle B+</span>. Elle est également équipée <span class="">d’un nouveau processeur 4 cœurs d’une vitesse de 900Mhz</span> contre un processeur 1 cœur de 700Mhz pour la B+, <span class="">ce nouveau processeur est au moins 6 fois plus puissant.</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Dernier point important, <span class="">la Raspberry Pi 2 supporte Windows 10, alors que le modèle B+ ne supportait que Linux.</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Voici un petit tableau récapitulatif !<br></span></p><div id="go-pricing-table-raspberry_pi_b_plus_raspberry_pi_2" class="imTAJustify cf2"><div data-colnum="2" data-rownum="8" data-equalize="true" class="gw-go gw-go-clearfix gw-go-enlarge-current gw-go-2cols"><div class="gw-go-col-wrap"><div class="imTACenter gw-go-col gw-go-blue1 gw-go-shadow1"><div class="gw-go-header"><div class="gw-go-header-top"><h3 class=""><span class="fs16">Raspberry Pi B+</span></h3><div class="gw-go-coin-wrap"><div class="gw-go-coinf"><div class="cf4"><span class="fs16">31€</span></div></div><div class="gw-go-coinb"><div class="cf4"></div></div></div></div><div class="gw-go-header-bottom"></div></div><ul class="gw-go-body"><li class="cf5"><div class="gw-go-body-cell"><span class="fs16">Ram : 512 Mo<span class="gw-go-tooltip cf2"></span></span></div></li><li class="gw-go-even cf5"><div class="gw-go-body-cell"><span class="fs16">Nombre de processeur : 1<span class="gw-go-tooltip cf2"></span></span></div></li><li class="cf5"><div class="gw-go-body-cell"><span class="fs16">Processeur : ARMv6<span class="gw-go-tooltip cf2"></span></span></div></li><li class="gw-go-even cf5"><div class="gw-go-body-cell"><span class="fs16">Cadence du processeur : 700 Mhz<span class="gw-go-tooltip cf2"></span></span></div></li><li class="cf5"><div class="gw-go-body-cell"><span class="fs16">Supporte Windows 10 : Non<span class="gw-go-tooltip cf2"></span></span></div></li><li class="gw-go-even cf5"><div class="gw-go-body-cell"><span class="fs16">Stockage : Carte MicroSD<span class="gw-go-tooltip cf2"></span></span></div></li><li class="cf5"><div class="gw-go-body-cell"><span class="fs16">Ports : 4 USB 2.0<span class="gw-go-tooltip cf2"></span></span></div></li><li class="gw-go-even cf5"><div class="gw-go-body-cell"><span class="fs16">Puissance : 600 mA (3,5 W)<span class="gw-go-tooltip cf2"></span></span></div></li></ul><div class="gw-go-footer"><div class="gw-go-btn-wrap"><div class="gw-go-btn-wrap-inner"><span class="mt1 mb2 fs16 cf6"><span><a href="http://www.amazon.fr/gp/product/B00LPESRUK/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00LPESRUK&amp;linkCode=as2&amp;tag=raspbianfranc-21" class="gw-go-btn gw-go-btn-large" target="_blank">Acheter le modèle B+</a></span></span></div></div></div></div></div><div class="gw-go-col-wrap gw-go-current"><div class="imTACenter gw-go-col gw-go-blue1 gw-go-shadow1"><div class="gw-go-header"><div class="gw-go-header-top"><h3 class="cf6"><span class="fs16">Raspberry Pi 2</span></h3><div class="gw-go-coin-wrap"><div class="gw-go-coinf"><div class="cf4"></div></div><div class="gw-go-coinb"><div class="cf4"><span class="fs16">35€</span></div></div></div></div><div class="gw-go-header-bottom"></div></div><ul class="gw-go-body"><li class=""><div class="gw-go-body-cell"><span class="fs16">Ram : 1 Go<span class="gw-go-tooltip"></span></span></div></li><li class="gw-go-even"><div class="gw-go-body-cell"><span class="fs16">Nombre de processeur : 4<span class="gw-go-tooltip"></span></span></div></li><li class=""><div class="gw-go-body-cell"><span class="fs16">Processeur : ARMv7 (~6x plus puissant)<span class="gw-go-tooltip"></span></span></div></li><li class="gw-go-even"><div class="gw-go-body-cell"><span class="fs16">Cadence du processeur : 900 Mhz<span class="gw-go-tooltip"></span></span></div></li><li class=""><div class="gw-go-body-cell"><span class="fs16">Supporte Windows 10 : Oui<span class="gw-go-tooltip"></span></span></div></li><li class="gw-go-even"><div class="gw-go-body-cell"><span class="fs16">Stockage : Carte MicroSD<span class="gw-go-tooltip"></span></span></div></li><li class=""><div class="gw-go-body-cell"><span class="fs16">Ports : 4 USB 2.0<span class="gw-go-tooltip"></span></span></div></li><li class="gw-go-even"><div class="gw-go-body-cell"><span class="fs16">Puissance : 600 mA (3,5 W)<span class="gw-go-tooltip"></span></span></div></li></ul><div class="gw-go-footer"><div class="gw-go-btn-wrap"><div class="gw-go-btn-wrap-inner"><span class="mt1 mb2 fs16 cf6"><span><a href="http://www.amazon.fr/gp/product/B00T2U7R7I/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00T2U7R7I&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=IXEFHYYRC4D5XWPS" class="gw-go-btn gw-go-btn-large" target="_blank">Acheter la Raspberry Pi 2</a></span></span></div></div></div></div></div></div></div><h3 class="imTAJustify cf1"><span class="fs16">L’alimentation de la Raspberry Pi</span></h3><div class="imTAJustify symple-column symple-one-third symple-column-first &nbsp;&nbsp;cf2"><p class="mb1"><span class="fs16 cf3"><span><a title="Alimentation Raspberry Pi 2" href="http://www.amazon.fr/gp/product/B00U88KSHO/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00U88KSHO&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=AB7YO52GOCYWIQ5E" target="_blank" rel="nofollow" class="inline-block"><img src="http://raspbian-france.fr/wp-content/uploads/2015/02/alimentation.png" alt="Alimentation Raspberry Pi" width="400" height="244" class="aligncenter wp-image-651 size-full" data-selected="false"></a></span></span></p></div><div class="mt2 mb3 imTAJustify symple-column symple-two-third symple-column-last &nbsp;&nbsp;cf2"><span class="fs16">Nous l’avons dit, la Raspberry Pi est livrée nue. <span class="">Vous allez donc avoir besoin d’une alimentation pour brancher votre Raspberry Pi.</span></span><p class="mb1"></p><p class="mb1"><span class="fs16">L’alimentation est trop souvent négligée, <span class="">il est important de choisir une bonne alimentation</span> ou votre Raspberry Pi risque d’être trop lente, ou encore de ne pas pouvoir alimenter les périphériques USB.</span></p><p class="mb1"><span class="fs16">Nous vous conseillons donc <span class="cf3"><a title="Alimentation adaptée à la Raspberry Pi 2" href="http://www.amazon.fr/gp/product/B00U88KSHO/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00U88KSHO&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=AB7YO52GOCYWIQ5E" target="_blank" rel="nofollow">cette alimentation de 2000 mA, qui fourni un courant suffisant pour alimenter la Raspberry Pi et ses périphériques USB.</a></span><br></span></p></div><div class="imTAJustify symple-clear-floats cf2"></div><h3 class="imTAJustify cf1"><span class="fs16">La carte SD</span></h3><p class="mb1 imTAJustify cf2"><span class="fs16"><span class="">La Raspberry Pi ne possède pas de stockage interne</span>, c’est à dire qu’elle n’a pas de disque dur. À la place, elle utilise une carte MicroSD qui est utilisée pour stocker vos données et le système qui fait tourner la Raspberry Pi.<span class=""><span class="cf3"><span><a href="http://www.amazon.fr/gp/product/B010NE3ND8/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B010NE3ND8&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow" class="inline-block"><img src="http://raspbian-france.fr/wp-content/uploads/2015/02/carte-microsd-300x274.png" alt="Carte MicroSD Raspberry Pi" width="200" height="183" class="aligncenter wp-image-653" data-selected="false"></a></span></span></span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16">La carte MicroSD est tout le temps sollicitée,<span class=""> il est donc très important de choisir une carte très rapid</span><span class="">e et fiable, dans le cas contraire les performances de la Raspberry Pi risquent de diminuer.</span></span></p><div class="symple-box &nbsp;green center &nbsp;cf7"><span class="fs16">En ce moment chez SanDisk <span class="cf3"><a href="http://www.amazon.fr/gp/product/B010NE3ND8/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B010NE3ND8&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">les cartes MicroSD à 95Mo/s</a></span> sont moins chères que celles à 80Mo/s, et ça c’est cool !<br></span></div><p class="mb1 imTAJustify cf2"><span class="fs16">Nous vous conseillons la carte MicroSD suivante, dans 4 tailles, selon votre utilisation de la Raspberry Pi.</span></p><ul class="imTAJustify cf2"><li class=""><span class="fs16">16 Go pour : <span class="cf3"><a title="Carte SD pour un serveur ou de l'embarqué" href="http://www.amazon.fr/gp/product/B010NE3ND8/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B010NE3ND8&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">de la domotique/robotique, un petit serveur, une machine dédiée à la programmation, etc.</a></span></span></li><li class=""><span class="fs16">32 Go pour : <span class="cf3"><a title="Une carte SD pour un ordinateur classique ou un média-center" href="http://www.amazon.fr/gp/product/B010NE3QS0/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B010NE3QS0&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">un ordinateur normal qui fera peu de multimédia, pour un serveur qui aura besoin de stocker plus de données, pour un média-center qui sera équipé d’un disque dur externe.</a></span></span></li><li class=""><span class="fs16">64 Go pour : <span class="cf3"><a title="Carte SD pour un ordinateur qui fera du multimédia / un serveur qui stockera de la donnée" href="http://www.amazon.fr/gp/product/B010NE3N3S/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B010NE3N3S&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">un ordinateur normal qui fera du multimédia, un média-center sans disque dur, un serveur qui a besoin de stocker beaucoup d’images.</a></span></span></li></ul><h2 class="imTAJustify cf1"><span class="fs16">Les accessoires recommandés</span></h2><p class="mb1 imTAJustify cf2"><span class="fs16">Si vous comptez vous servir de votre Raspberry Pi 2 autrement qu’en tant que serveur exclusivement par ligne de commande en SSH, ou même pour augmenter sa durée de vie, <span class="">vous aurez très probablement besoin des accessoires suivants.</span></span></p><h3 class="imTAJustify cf1"><span class="fs16">Un boitier</span></h3><p class="mb1 imTAJustify cf2"><span class="fs16">Par défaut la Raspberry Pi 2 se présente sous la forme d’une carte verte type circuit imprimé. <span class="">Cela n’est pas très beau et la laisse non protégée.</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16 cf3"><span><a href="http://www.amazon.fr/gp/product/B00M8ZEHIQ/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00M8ZEHIQ&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=JODWBOGQ22SMDZEI" target="_blank" rel="nofollow" class="inline-block"><img src="http://raspbian-france.fr/wp-content/uploads/2015/02/boitier-300x243.png" alt="Boitier Raspberry Pi 2 OneNineDesign" width="300" height="243" class="aligncenter wp-image-663 size-medium" data-selected="false"></a></span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Que ce soit pour des raisons esthétiques ou simplement pour la protéger, <span class="">vous devriez très probablement prendre un boitier pour votre Raspberry Pi 2.</span> Il en existe plusieurs types, nous vous en conseillons trois, selon vos besoins. Dans tous les cas nous nous sommes assurés qu’il permettait d’accéder à toutes les connexions de la Raspberry Pi 2 et qu’il permettait à celle-ci de respirer.</span></p><ol class="imTAJustify cf2"><li class=""><span class="fs16 cf3"><a title="Boitier classe et design, adapté à tous les usages" href="http://www.amazon.fr/gp/product/B00M8ZEHIQ/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00M8ZEHIQ&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=JODWBOGQ22SMDZEI" target="_blank" rel="nofollow">Toutes les utilisations, du PC au serveur, en passant par la domotique et le média-center. Discret et élégant, ce petit coté design, une protection parfaite, définitivement notre préféré !</a></span></li><li class=""><span class="fs16 cf3"><a title="Un boitier fun et coloré" href="http://www.amazon.fr/gp/product/B00LUX7NEC/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00LUX7NEC&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=ZW6E5O5FMM6HGWDH" target="_blank" rel="nofollow">Dans un but décoratif, ce boitier arc-en-ciel est très joli mais moins discret, il protégera très bien votre Raspberry Pi 2 et apportera un peu de fun.</a></span></li><li class=""><span class="fs16 cf3"><a title="Un boitier pour la Raspberry Pi 2 et sa caméra" href="http://www.amazon.fr/gp/product/B00NPRMDMI/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00NPRMDMI&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=CNTUJDNHCJYUW6FQ" target="_blank" rel="nofollow">Pour mettre une caméra, efficace, amusant, mais pas vraiment discret.</a></span></li></ol><h3 class="imTAJustify cf1"><span class="fs16">Un Dongle Wifi</span></h3><div class="imTAJustify symple-column symple-two-third symple-column-first &nbsp;&nbsp;cf2"><p class="mb1"><span class="fs16">Sans doute un des points le plus important, <span class="">la Raspberry Pi 2 n’a pas la Wi-Fi, seulement une connexion internet filaire.</span> Si vous souhaitez utiliser votre Raspberry Pi n’importe où dans votre maison, la transporter, etc., <span class="">vous aurez besoin d’un dongle Wifi USB qui permette à la Raspberry Pi d’avoir internet sans fil.</span></span></p><p class="mb1"><span class="fs16">Nous vous conseillons <span class="cf3"><a title="Un dongle USB pour avoir la Wifi avec la Raspberry Pi 2" href="http://www.amazon.fr/gp/product/B003MTTJOY/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B003MTTJOY&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=CX3LGYAWTUOA6IEJ" target="_blank" rel="nofollow">cet adaptateur qui répond aux exigences de vitesse, de consommation et de compatibilité que vous pourriez avoir.</a></span><br></span></p></div><div class="mt2 mb3 imTAJustify symple-column symple-one-third symple-column-last &nbsp;&nbsp;cf2"><p class="mb1"><span class="fs16 cf3"><span><a href="http://www.amazon.fr/gp/product/B003MTTJOY/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B003MTTJOY&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=CX3LGYAWTUOA6IEJ" target="_blank" rel="nofollow" class="inline-block"><img src="http://raspbian-france.fr/wp-content/uploads/2015/02/dongle-300x251.png" alt="Adaptateur Wifi Raspberry Pi 2" width="300" height="251" class="aligncenter wp-image-664 size-medium" data-selected="false"></a></span></span></p></div><div class="imTAJustify symple-clear-floats cf2"></div><h3 class="imTAJustify cf1"><span class="fs16">Un clavier sans fil avec trackpad</span></h3><div class="imTAJustify symple-column symple-one-third symple-column-first &nbsp;&nbsp;cf2"><span class="fs16"><span class="cf3"><span><a href="http://www.amazon.fr/gp/product/B008JBSTUA/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B008JBSTUA&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow" class="inline-block"><img src="http://raspbian-france.fr/wp-content/uploads/2015/02/clavier-300x165.png" alt="Mini clavier avec trackpad" width="300" height="165" class="aligncenter wp-image-665 size-medium" data-selected="false"></a></span></span><br></span></div><div class="mt2 mb3 imTAJustify symple-column symple-two-third symple-column-last &nbsp;&nbsp;cf2"><p class="mb1"><span class="fs16">Si vous comptez utiliser votre Raspberry Pi comme un ordinateur traditionnel, un média-center, ou plus généralement sans passer par internet, <span class="">il vous faudra probablement un clavier,</span> &nbsp;vous avez intérêt à choisir un clavier de petite taille, sans fil, et avec une souris intégrée (ou plutôt un trackpad), afin de conserver toute la mobilité de la Raspberry Pi.</span></p><p class="mb1"><span class="fs16">Nous vous conseillons <span class="cf3"><a title="Clavier français petit et compatible avec la Raspberry Pi 2" href="http://www.amazon.fr/gp/product/B008JBSTUA/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B008JBSTUA&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">ce clavier français, qui est parfaitement compatible avec la Raspberry Pi et qui fonctionne très bien.</a></span></span></p></div><div class="imTAJustify symple-clear-floats cf2"></div><h3 class="imTAJustify cf1"><span class="fs16">Un écran et des câbles</span></h3><p class="mb1 imTAJustify cf2"><span class="fs16">Pour employer votre Raspberry Pi 2 autrement que par SSH sans interface, <span class="">il vous faudra sans doute un écran, et potentiellement un câble adapté.</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Pour les écrans, deux solutions :</span></p><ul class="imTAJustify cf2"><li class=""><span class="fs16">Vous avez besoin d’un petit écran transportable, choisissez <span class="cf3"><a title="Un petit écran qui pourra vous permettre par exemple de monitoré un serveur" href="http://www.amazon.fr/gp/product/B00B4M18CC/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00B4M18CC&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=C4JGYJIR3AGRU6RR" target="_blank" rel="nofollow">un écran type écran de recul</a></span></span></li><li class=""><span class="fs16">Vous avez besoin d’un écran pour une utilisation quotidienne et fixe, choisissez <span class="cf3"><a title="Divers écran compatibles HDMI" href="http://www.amazon.fr/gp/search/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;index=aps&amp;keywords=%C3%A9cran%20hdmi&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=SKLJIVAHBRIYF4KB" target="_blank" rel="nofollow">un écran d’ordinateur standard en HDMI.</a></span></span></li></ul><p class="mb1 imTAJustify cf2"><span class="fs16"> </span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Pour les câbles, selon l’écran que vous utiliserez, vous pouvez avoir besoin soit, d’un simple <span class="cf3"><a title="Un simple cable HDMI standard" href="http://www.amazon.fr/gp/product/B000JU7N5Q/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B000JU7N5Q&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=AZILXVBQIXAMS2NQ" target="_blank" rel="nofollow">câble HDMI</a></span>, soit d’un <span class="cf3"><a title="Convertisseur HDMI/VGA, pour les écrans qui supportent juste le VGA" href="http://www.amazon.fr/gp/product/B00Y2IP3P8/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00Y2IP3P8&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">câble HDMI/VGA</a></span>, soit d’un <span class="cf3"><a title="Cable Jack, adapté par exemple pour les écrans de recul" href="http://www.amazon.fr/gp/product/B00152SVTY/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00152SVTY&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">câble jack Audio/Vidéo</a></span>.</span></p><p class="mb1 imTAJustify cf2"><span class="fs16"> </span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Depuis quelques temps, une nouvelle solution est disponible. En effet, la Raspberry Pi Foundation a récemment sorti <span class="cf3"><a href="http://www.amazon.fr/gp/product/B0153406SS/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B0153406SS&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">un écran tactile officiel 7 pouces pour la Raspberry Pi.</a></span></span></p><div id="attachment_1289" class="imTACenter wp-caption aligncenter cf2"><span class="fs16 cf3"><span><a href="http://www.amazon.fr/gp/product/B0153406SS/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B0153406SS&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow" class="inline-block"><img src="http://raspbian-france.fr/wp-content/uploads/2015/11/ecran-tactile-officiel-raspberry-pi.jpg" alt="Écran tactile officiel Raspberry Pi Foundation" width="800" height="537" class="wp-image-1289 size-full" data-selected="false"></a></span></span><p class="wp-caption-text"><span class="fs16">L’écran officiel de la Raspberry Pi Foundation peut être fixé à la Raspberry Pi à l’aide de vis !</span></p></div><h2 class="imTAJustify cf1"></h2><h2 class="imTAJustify cf1"><span class="fs16">Les accessoires spécifiques</span></h2><p class="mb1 imTAJustify cf2"><span class="fs16">Dans certains cas assez spécifiques, vous pourriez avoir besoin d’un certain nombre d’accessoires particuliers. Nous allons vous en dresser une petite liste ici.</span></p><h3 class="imTAJustify cf1"><span class="fs16">Une caméra Raspberry Pi</span></h3><div class="imTAJustify symple-column symple-two-third symple-column-first &nbsp;&nbsp;cf2"><p class="mb1"><span class="fs16">Il est probable que vous souhaitiez un jour <span class="">équiper votre Raspberry Pi d’une caméra</span>, que ce soit pour vous en servir comme ordinateur ou pour créer un système de vidéo surveillance.</span></p><p class="mb1"><span class="fs16">Vous avez alors intérêt à choisir <span class="cf3"><a title="Caméra 1080p pour la Raspberry Pi" href="http://www.amazon.fr/gp/product/B00E1GGE40/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00E1GGE40&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=FSF3JZKMD2APDZOM" target="_blank" rel="nofollow">cette minuscule caméra FullHD qui a été créée spécialement pour la Raspberry Pi.</a></span></span></p><p class="mb1"><span class="fs16">Notez qu’il existe également <span class="cf3"><a title="Caméra infrarouge 1080p pour la Raspberry Pi 2" href="http://www.amazon.fr/gp/product/B00G9AZ79O/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00G9AZ79O&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=CTUETBUPQDC4XEPX" target="_blank" rel="nofollow">une version infrarouge de cette caméra.</a></span><br></span></p></div><div class="mt2 mb3 imTAJustify symple-column symple-one-third symple-column-last &nbsp;&nbsp;cf2"><p class="mb1"><span class="fs16"><span class="cf3"><span><a href="http://www.amazon.fr/gp/product/B00E1GGE40/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00E1GGE40&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=FSF3JZKMD2APDZOM" target="_blank" rel="nofollow" class="inline-block"><img src="http://raspbian-france.fr/wp-content/uploads/2015/02/camera1-214x300.png" alt="Caméra pour Raspberry Pi 2" width="214" height="300" class="aligncenter wp-image-677 size-medium" data-selected="false"></a></span></span><br></span></p></div><div class="imTAJustify symple-clear-floats cf2"></div><h3 class="imTAJustify cf1"><span class="fs16">Un disque dur externe adapté à la Raspberry Pi</span></h3><div class="imTAJustify symple-column symple-one-third symple-column-first &nbsp;&nbsp;cf2"><p class="mb1"><span class="fs16 cf3"><span><a href="http://www.amazon.fr/gp/product/B00CRZ2PRM/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00CRZ2PRM&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=ZAMYJBAQPU5XLCIO" target="_blank" rel="nofollow" class="inline-block"><img src="http://raspbian-france.fr/wp-content/uploads/2015/02/disque-dur-300x226.png" alt="Disque dur externe pour la Raspberry Pi" width="300" height="226" class="aligncenter wp-image-671 size-medium" data-selected="false"></a></span></span></p></div><div class="mt2 mb3 imTAJustify symple-column symple-two-third symple-column-last &nbsp;&nbsp;cf2"><p class="mb1"><span class="fs16">Si vous souhaitez<span class=""> stocker de grandes quantités de données,</span> par exemple dans le cadre d’un média-center, vous avez intérêt à vous équiper d’un disque dur externe pour votre Raspberry Pi 2.</span></p><p class="mb1"><span class="fs16">Cependant, la Raspberry Pi fourni<span class=""> une alimentation aux ports USB qui n’est pas toujours suffisante pour alimenter un disque dur</span>. Vous avez donc deux possibilités pour corriger ce problème, <span class="cf3"><a title="Disque dur 1To de chez Western Digital" href="http://www.amazon.fr/gp/product/B00CRZ2PRM/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00CRZ2PRM&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=ZAMYJBAQPU5XLCIO" target="_blank" rel="nofollow">choisir un disque dur externe standard</a></span>, et un <span class="cf3"><a href="http://www.amazon.fr/gp/product/B0000B0DL7/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B0000B0DL7&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=OCHC634EGW4ZEAEV" target="_blank" rel="nofollow">HUB USB avec une alimentation secteur</a></span>, ou choisir <span class="cf3"><a title="Disque dur externe auto-alimenté" href="http://www.amazon.fr/gp/product/B00C9TEL46/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00C9TEL46&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">un disque dur possédant sa propre alimentation.</a></span></span></p></div><div class="imTAJustify symple-clear-floats cf2"></div><h3 class="imTAJustify cf1"><span class="fs16">Un HUB USB</span></h3><div class="imTAJustify symple-column symple-two-third symple-column-first &nbsp;&nbsp;cf2"><p class="mb1"><span class="fs16">Si vous avez besoin <span class="">de brancher beaucoup d’équipements sur votre Raspberry Pi, ou des équipements consommant beaucoup de puissance électrique</span>, vous pourriez avoir intérêt à rajouter des ports USB avec <span class="cf3"><a title="Hub USB alimenté" href="http://www.amazon.fr/gp/product/B0000B0DL7/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B0000B0DL7&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=OCHC634EGW4ZEAEV" target="_blank" rel="nofollow">un HUB USB disposant de sa propre alimentation (les ports USB de la Raspberry Pi ne peuvent alimenter un HUB à eux seules).</a></span></span></p></div><div class="mt2 mb3 imTAJustify symple-column symple-one-third symple-column-last &nbsp;&nbsp;cf2"><p class="mb1"><span class="fs16 cf3"><span><a href="http://www.amazon.fr/gp/product/B0000B0DL7/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B0000B0DL7&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=OCHC634EGW4ZEAEV" target="_blank" rel="nofollow" class="inline-block"><img src="http://raspbian-france.fr/wp-content/uploads/2015/02/hub-300x266.png" alt="HUB USB pour la Raspberry Pi 2" width="300" height="266" class="aligncenter wp-image-672 size-medium" data-selected="false"></a></span></span></p></div><div class="imTAJustify symple-clear-floats cf2"></div><h3 class="imTAJustify cf1"><span class="fs16">Une batterie externe</span></h3><div class="imTAJustify symple-column symple-one-third symple-column-first &nbsp;&nbsp;cf2"><p class="mb1"><span class="fs16 cf3"><span><a href="http://www.amazon.fr/gp/product/B0089MLH7Q/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B0089MLH7Q&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=QUGHYHXMFRRUQRAD" target="_blank" rel="nofollow" class="inline-block"><img src="http://raspbian-france.fr/wp-content/uploads/2015/02/batterie-260x300.png" alt="Batterie pour la Raspberry Pi 2" width="260" height="300" class="aligncenter wp-image-673 size-medium" data-selected="false"></a></span></span></p></div><div class="mt2 mb3 imTAJustify symple-column symple-two-third symple-column-last &nbsp;&nbsp;cf2"><p class="mb1"><span class="fs16">Dans certains cas d’utilisation, ordinateur portable, robotique, surveillance, et autres, vous aurez peut-être besoin de pouvoir déplacer votre Raspberry Pi 2 sans qu’elle soit branchée.</span></p><p class="mb1"><span class="fs16">Dans ce cas, vous devriez prendre une batterie externe,<span class="cf3"><a title="Batterie pour la Raspberry Pi, 12H d'autonomie" href="http://www.amazon.fr/gp/product/B0089MLH7Q/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B0089MLH7Q&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=QUGHYHXMFRRUQRAD" target="_blank" rel="nofollow">une batterie de secours pour téléphone pourrait-être un très bon choix</a></span>, et devrait vous permettre de tenir plus de 12 heures.</span></p></div><div class="imTAJustify symple-clear-floats cf2"></div><h2 class="imTAJustify cf1"><span class="fs16">Conclusion</span></h2><p class="mb1 imTAJustify cf2"><span class="fs16">Nous espérons que cet article vous aura aidé à y voir plus clair dans le choix des accessoires pour votre Raspberry Pi 2.</span></p><p class="mb1 imTAJustify cf2"><span class="fs16">N’hésitez pas à aller faire un tour sur</span><span class="fs16"> </span><span class="fs16"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)"><span class="cf3">notre article dédié à la première installation de Raspbian</span>,</a></span><span class="fs16"> ou à aller découvrir d’autres utilisations possibles de la Raspberry Pi, comme par exemple une plateforme pour l’envoi de SMS par internet.</span></p></div>]]></description>
			<pubDate>Tue, 23 Jun 2015 14:17:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?bien-choisir-les-accessoires-pour-votre-raspberry-pi-2-</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/4v14gj4v</guid>
		</item>
		<item>
			<title><![CDATA[Configuration écran tactile 3.5]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_4zu644ex"><div id="cb-featured-image" class="cf1 cb1"><div class="imTAJustify cb-mask"><br></div><div class="cb-entry-header cb-meta clearfix"><h1 itemprop="headline" class="imTAJustify entry-title cb-entry-title cb-title cf2"><span class="fs16"><span class="cf1">CONFIGURATION ÉCRAN TACTILE TONTEC 3.5 POUCES POUR RASPBERRY PI 2</span><br></span></h1><h1 itemprop="headline" class="imTAJustify entry-title cb-entry-title cb-title cf2"><span class="fs16 cf1">Pour ce tuto, je considère que vous avez déjà installer Raspbian-wheezy (</span><span class="fs16"><a href="http://www.raspberry-pi.ovh/raspberry-raspbian-os-system-2019.html" target="_blank" class="imCssLink">la dernière version</a></span><span class="fs16 cf1">).</span><br></h1></div></div><section class="clearfix cb1"><div class="cb-itemprop"><p class="imTAJustify cf1"><br></p><p class="imTAJustify cf1"><br></p><p class="imTAJustify cf1"><span class="fs16">Les commandes qui sont utilisées pendant le tuto :</span></p><p class="imTAJustify cf1"><br></p><p class="cf1"></p><div class="imTAJustify"><span class="fs16">sudo nano /boot/config.txt</span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><br></div><div class="fs16"><div class="imTAJustify">Decommenter dtparam=spi=on et ajouter dtoverlay=mz61581</div><div class="imTAJustify"><br></div></div><p></p><center class=""><div class="imTALeft fs16 cf1"><div class="imTAJustify"><br></div><div class="imTAJustify">sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf</div><div class="imTAJustify"><br></div><div class="imTAJustify"><br></div></div></center><p class="cf1"></p><div class="imTAJustify"><span class="fs16">Modifier :</span></div><div class="imTAJustify"><br></div><div class="fs16"><div class="imTAJustify">« fbdev » « /dev/fb0 »</div><div class="imTAJustify"><br></div><div class="imTAJustify"><br></div><div class="imTAJustify">par</div><div class="imTAJustify"><br></div><div class="imTAJustify"><br></div><div class="imTAJustify">« fbdev » « /dev/fb1 »</div><div class="imTAJustify"><br></div><div class="imTAJustify"><br></div></div><p></p><p class="cf1"></p><div class="imTAJustify"><span class="fs16">Taper :</span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><br></div><div class="fs16"><div class="imTAJustify">sudo nano /boot/cmdline.txt</div><div class="imTAJustify"><br></div><div class="imTAJustify"><br></div><div class="imTAJustify">Ajouter :</div><div class="imTAJustify"><br></div><div class="imTAJustify"><br></div><div class="imTAJustify">fbcon=map:10</div><div class="imTAJustify"><br></div><div class="imTAJustify"><br></div></div><p></p><p class="cf1"></p><div class="imTAJustify"><span class="fs16">Taper :</span></div><div class="imTAJustify"><br></div><div class="imTAJustify"><br></div><div class="fs16"><div class="imTAJustify">sudo reboot</div></div><p></p></div></section></div>]]></description>
			<pubDate>Fri, 05 Jun 2015 13:55:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?configuration-ecran-tactile-3-5</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/4zu644ex</guid>
		</item>
		<item>
			<title><![CDATA[Overclocker le Raspberry pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_1k0uu100"><header class="entry-header cf2"><h1 class="entry-title cf1"><span class="fs12">Overclocker le Raspberry pi</span></h1></header><div class="mt1 entry-content content"><h2 class="cf1"><span class="fs12">Tous d’abord qu’est-ce que l’overclocking ?</span></h2><blockquote class="mt2 mb1"><p class="mb1 cf1"><span class="fs12"><span class="">L’overclocking</span>, ou parfois sur-cadencement, est une manipulation ayant pour but d’augmenter la fréquence du signal d’horloge d’un processeur au-delà de la fréquence nominale afin d’augmenter les performances de l’ordinateur.</span></p><p class="mb1 cf1"><span class="fs12"><span class="">Le processeur overclocké peut exécuter plus d’instructions par seconde</span>, ce qui permet de diminuer le temps d’exécution de certains programmes. En contrepartie, il chauffe plus, et peut mal réaliser certaines opérations du fait d’une trop haute température interne, ou d’une tension d’alimentation trop faible par rapport à sa fréquence, il sera donc qualifié d’ « instable ». </span></p><p class="mb1"><span class="fs12 cf3">ATTENTION : L'o</span><span class="fs12 cf3">verclocking </span><span class="fs12 cf3">augmente la puce du processeur de 30°c à 70°c </span></p></blockquote><p class="mb1 cf2"><span class="fs12">Un processeur tourne à une vitesse définie qui se mesure en MHz pour le Raspberry pi la vitesse du processeur est de 700 MHz par défaut. Pour vous donner quelques ordres de grandeur :</span></p><p class="mb1 cf2"><span class="fs12"><span class="cf4"><a href="http://www.amazon.fr/gp/product/B0062ZFSCM/ref=as_li_ss_il?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B0062ZFSCM&amp;linkCode=as2&amp;tag=website0b2-21">iPhone 4S</a></span> : 800 MHz</span></p><p class="mb1 cf2"><span class="fs12"><span class="cf4"><a href="http://www.amazon.fr/gp/product/B00A4DLMTQ/ref=as_li_ss_il?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00A4DLMTQ&amp;linkCode=as2&amp;tag=website0b2-21">iPhone 5 </a></span>:1,3 GHz</span></p><p class="mb1 cf2"><span class="fs12"><span class="cf4"><a href="http://www.amazon.fr/gp/product/B00C3GBRRO/ref=as_li_ss_il?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00C3GBRRO&amp;linkCode=as2&amp;tag=website0b2-21">Samsung Galaxy S4 </a></span>: 1,9 GHz</span></p><p class="mb1 cf2"><span class="fs12">L’overclocking consiste à augmenter la vitesse du processeur, pour le Raspberry pi il est possible de <span class="">monter jusqu’à 1 GHz.</span> Si on augmente la fréquence d’un processeur, celui-ci peut effectuer plus d’opérations par seconde et donc <span class="">diminuer les temps chargements et les temps d’exécution</span>.</span></p><p class="mb1 cf2"><span class="fs12">Comme le processeur sera plus puissant il chauffera plus et pourra mal effectuer certaines opérations, je vous conseille de faire l’acquisition d’un <span class="cf4"><a href="http://www.amazon.fr/gp/product/B009A8ATOK/ref=as_li_ss_il?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B009A8ATOK&amp;linkCode=as2&amp;tag=website0b2-21">dissipateur thermique</a></span>.</span></p><h2 class="cf1"><span class="fs12">Overcloker le Raspberry pi</span></h2><p class="mb1 cf2"><span class="fs12">Ouvrer un terminal et entrez la commande :</span></p><pre class="mt3 mb1 cf5"><span class="fs12 ff1">sudo raspi-config</span></pre><p class="mb1 cf2"><span class="fs12">L’interface de configuration s’ouvre, descendez jusqu’à overclock et appuyer sur la touche entrée de votre clavier. Vous pouvez maintenant changer la fréquence du processeur (je vous déconseille de l’overclocker à 1GHz), <span class="">aller y doucement pour commencer, car tous les Raspberry pi ne réagisse pas de la même façon.</span></span></p><p class="mb1 cf2"><span class="fs12 cf4"><a href="http://the-raspberry.com/wp-content/uploads/2013/08/overclock-raspi-227d2535ca2f5e40.gif"><img alt="overclock raspberry pi" src="http://the-raspberry.com/wp-content/uploads/2013/08/overclock-raspi-227d2535ca2f5e40.gif" width="511" height="334" class="mb1 alignnone size-full wp-image-610" data-selected="false"></a></span></p><p class="mb1 cf2"><span class="fs12">Il faut savoir que l’overcloking n’annule pas la garantie (même si votre processeur grille), ne vous inquiéter pas si vous avez acheté un <span class="cf4"><a href="http://www.amazon.fr/gp/product/B009A8ATOK/ref=as_li_ss_il?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B009A8ATOK&amp;linkCode=as2&amp;tag=website0b2-21">dissipateur thermique</a></span> il n’y a presque <span class="">aucune chance que votre Raspberry pi ne subisse des dégâts.</span></span></p><h2 class="cf1"><span class="fs12">Overclocker à 1Ghz</span></h2><p class="mb1 cf2"><span class="fs12">1Ghz est la fréquence maximum ou peut tourner le processeur du Raspberry pi, en plus d’un <span class="cf4"><a href="http://www.amazon.fr/gp/product/B009A8ATOK/ref=as_li_ss_il?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B009A8ATOK&amp;linkCode=as2&amp;tag=website0b2-21">dissipateur thermique</a></span> je vous conseille également <span class="cf4"><a href="http://www.amazon.fr/s/?_encoding=UTF8&amp;camp=1642&amp;creative=19458&amp;field-keywords=ventilateur%20usb&amp;linkCode=ur2&amp;rh=i%3Aaps%2Ck%3Aventilateur%20usb&amp;sprefix=ventilateur%20u%2Caps&amp;tag=website0b2-21&amp;url=search-alias%3Daps">un ventilateur USB</a></span> que vous orienterez sur votre Raspberry pi pour le refroidir, mais attention <span class="">il ne faudra pas le brancher sur une des prises USB du Raspberry pi,</span> car il pompera trop d’énergies et empêchera le Raspberry pi de fonctionner correctement.</span></p></div></div>]]></description>
			<pubDate>Wed, 03 Jun 2015 06:55:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?overclocker-le-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/1k0uu100</guid>
		</item>
		<item>
			<title><![CDATA[Équivalent fichiers .htaccess pour Nginx]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_73159rd0"><h1 class="post-title cf1" style="margin: 0px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs12">Équivalent fichiers .htaccess pour Nginx</span></h1><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Lors de <span style="font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit;" class="cf2"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">notre précédent article</a></span>, nous vous parlions de l’activation des fichiers .htaccess pour votre Raspberry Pi.<br>Cependant, les fichiers htaccess sont une particularité d’Apache, qui bien que très pratique, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">n’est pas présent sur tous les types de serveurs web</span>, notamment les serveurs Nginx.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12"><br>Nous allons donc voir comment <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">remplacer les fichiers .htaccess sous Nginx.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12"> </span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs12">La configuration dans Nginx</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">La configuration de Nginx présente des points communs avec celle d’Apache, mais également <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">des différences de tailles.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Du côté des points communs, on retrouve un fonctionnement de la configuration globalement similaire, avec :</span></p><ul style="margin: 40px 0px 40px 50px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><li style="margin-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs12">Un système de <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">configuration global</span>, qui s’applique à tous les sites</span></li><li style="margin-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs12">Un système de <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">configuration par site</span>, qui ne s’applique qu’à un seul site.</span></li></ul><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Du côté des différences, deux grandes différences ressortent :</span></p><ul style="margin: 40px 0px 40px 50px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><li style="margin-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs12">Premièrement une énorme <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">différence de syntaxe.</span></span><ul style="margin: 40px 0px 40px 50px; padding-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style-type: disc;"><li style="margin-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs12">Apache utilise une syntaxe qui est <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">très représentative du monde Unix</span>, avec un fichier de configuration principalement composé de couples sous la forme « label valeur », et éventuellement des séparations et regroupements par balises de la forme « &lt;balise&gt;contenu&lt;/balise&gt; ».</span></li><li style="margin-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs12">Nginx utilise <span style="margin: 0px; padding: 0px; border: 0px; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">une syntaxe plus moderne</span></span>, avec des blocs définis plutôt à l’aide de parenthèses, des tests conditionnels dans une forme proche de celle de nombreux langages, et là encore des couples « label valeur ».</span></li></ul></li><li style="margin-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs12">Deuxièmement, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">l’absence de fichier .htaccess</span>, ou de fichiers permettant de gérer la configuration directement à l’intérieur d’un site.</span></li></ul><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Dans la suite de ce tutoriel, nous allons donc voir comment limiter au maximum l’impact de ces différences.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12"> </span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs12">Trouver une méthode équivalente aux htaccess</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Tout d’abord, il faut que vous sachiez qu’<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">il n’existe pas de possibilité de mettre en place des réglages sur les sites via la création d’un fichier à l’intérieur de ceux-ci.</span>Cependant, il est possible de mettre en place un réglage sur un seul site, ou sur un seul dossier. Pour cela, on va utiliser <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">le fichier de configuration dédié au site.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Mais avant de voir comment mettre en place une configuration particulière pour un site avec Nginx, répondons à une question.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12"> </span></p><h3 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs12">Pourquoi Nginx n’utilise pas de fichiers htaccess</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Les fichiers htaccess sont <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">parfois</span> indispensables, notamment lorsque l’on n’a pas la main sur les fichiers de configuration d’un site, comme <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">c’est le cas lors d’un hébergement mutualisé par exemple.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Cependant, ce cas, bien que répandu, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">reste un cas particulier,</span> et il serait toujours possible à un hébergeur de proposer à un utilisateur d’avoir la main sur un fichier de configuration qui serait répliqué, de façon sûre et intelligente dans un fichier de configuration plus global.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Bien souvent, avec Apache, on a tendance par facilité (et par erreur, car cela entraîne une baisse de performance) à tout régler via des fichiers .htaccess, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">alors qu’une configuration globale du site est bien souvent préférable.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">C’est ce second comportement qu’on privilégie avec Nginx. Il y a donc entre les deux systèmes <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">une différence notable dans la façon même d’envisager la configuration.</span>Pas dans les capacités, car Apache aussi <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">permet la configuration spécifique d’un site</span>, mais dans les habitudes d’utilisation, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">l’absence de fichier htaccess chez Nginx nous obligeant à adopter un comportement plus adapté et propre.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">C’est donc pour <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">nous amener à adopter ce comportement plus propre,</span> et aussi pour des questions de performances, un des axes majeurs de Nginx, que <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">ce dernier n’implémente pas d’équivalents aux fichiers .htaccess.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Une décision certes discutable, mais <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">pas sans intérêt.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12"> </span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs12">Configuration particulière d’un site avec Nginx</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Nginx utilise un système pour la configuration particulière d’un site <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">qui est très proche de celui d’Apache.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Pour chaque site, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">il est possible de créer un fichier portant son nom</span> dans le dossier « /etc/nginx/sites-enabled », et <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">contenant les configurations particulières à appliquer pour le site.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Pour limiter l’accès à un répertoire par exemple, nous allons devoir créer ce fichier dans le répertoire « /etc/nginx/sites-enabled », <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">avec le nom du site dont dépend le répertoire</span>, et y mettre le code adapté.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">La grosse difficulté, c’est justement de trouver le code adapté. Comme nous l’avons dit, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Nginx et Apache n’utilisent pas la même syntaxe</span>. Par conséquent, il va falloir<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">traduire le fichier .htaccess en un format compréhensible par Nginx</span>. Et pour cela, il existe <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf2"><a href="http://winginx.com/en/htaccess">un superbe outil</a></span>, qui va <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">convertir pour vous votre code Apache en code Nginx</span>(attention, cela reste un outil et il vaudra souvent mieux faire une bonne recherche que de bêtement utiliser l’outil sans réfléchir).</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Avant de rajouter le code dans le fichier de configuration particulier du site, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">assurez-vous qu’elle soit bien appliquée aux bons dossiers</span>. Pour cela, vous devez faire deux choses :</span></p><ul style="margin: 40px 0px 40px 50px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><li style="margin-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs12">Déclarer la racine du site, le dossier de base du site</span></li><li style="margin-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs12">Déclarer le dossier pour lequel devra s’appliquer la configuration</span></li></ul><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Votre fichier devra par conséquent être de la forme suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><div id="highlighter_460582" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 1019px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">3</span></div><div class="line number4 index3 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">4</span></div><div class="line number5 index4 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">5</span></div><div class="line number6 index5 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">6</span></div><div class="line number7 index6 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">7</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 983px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="bash plain cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">root chemin_racine_du_site; </code><code class="bash comments cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">#On définit le dossier de base</code></span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash comments fs12 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">#On défini le dossier de la raspberry pi pour lequel on applique la configuration, depuis la racine du site.</code></div><div class="line number4 index3 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number5 index4 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 cf4 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">Location chemin_du_dossier_depuis_la_racine_du_site {</code></div><div class="line number6 index5 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="bash spaces" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> &nbsp;&nbsp;&nbsp;</code><code class="bash comments cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">#Vos limitations</code></span></div><div class="line number7 index6 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 cf4 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">}</code></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Votre code sera maintenant à mettre <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">dans la partie « Location »</span>, et viendra s’appliquer au dossier que vous avez défini derrière le mot « Location ».</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Vous n’avez plus <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">qu’à redémarrer votre serveur Nginx,</span> et voilà, vous avez un équivalent à vos .htaccess Apache pour votre serveur Nginx.</span></p></div>]]></description>
			<pubDate>Thu, 21 May 2015 14:09:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?equivalent-fichiers--htaccess-pour-nginx</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/73159rd0</guid>
		</item>
		<item>
			<title><![CDATA[RECALBOX Créer une console de jeux avec votre Raspberry]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_v3080353"><div><span class="fs16"><b>Créez votre propre Recalbox</b></span></div><div><br></div><div><span class="fs16">Si vous êtes ici, vous avez déjà dans l'idée de faire votre propre platform de jeux retro pour jouer sur votre tv hdmi, ou meme de créer votre propre borne d'arcade !</span></div><div><br></div><div><span class="fs16">Alors vous êtes sur la bonne page !</span></div><div><br></div><div><span class="fs16">Suivez ce guide et créez votre recalbox en 3 étapes</span></div><div><br></div><div></div><div></div><div></div><div></div><div></div><div><span class="fs16"><i></i></span></div><div><span class="fs16 cf1"><b>Le matériel</b></span></div><div><span class="fs16 cf1"><b><br></b></span></div><div><span class="fs16 cf1">Regrouper le matériel nécessaire</span></div><div><br></div><div><span class="fs16 cf1"><i></i></span></div><div><span class="fs16"><img class="image-0" src="http://www.raspberry-pi.ovh/images/hardware.jpg"  title="" alt=""/></span></div><div><br></div><div><br></div><div><span class="fs16"><span class="cf2">ÉTAPE 1</span><span class="cf1">. Le matériel.</span></span></div><div><br></div><div><span class="fs16 cf1">Vous aurez besoin des éléments suivant pour créer votre recalbox :</span></div><div><ul><li><span class="fs16 cf3">Un Raspberry Pi 2 (ou un Raspberry Pi 1 B/B+)</span></li><li><span class="fs16 cf3">Une carte micro SD d'au moins 16GO</span></li><li><span class="fs16 cf3">Un cable d'alimentation micro USB &gt; 1.5AMP de qualité</span></li><li><span class="fs16 cf3">Un cable HDMI</span></li><li><span class="fs16 cf3">Une manette PS3 Sixaxis, Dualshock 3, ou une copie Shanwan, ou une manette USB</span></li><li><span class="fs16 cf3">Une clé bluetooth (de qualité)</span></li><li><span class="fs16 cf3">Un boitier pour le Raspberry</span></li><li><span class="fs16 cf3">Un clavier USB si vous avez une manette non supportée par défaut.</span></li></ul></div><div><span class="fs16 cf3"><i></i>Voir le panier amazon.</span></div><div><span class="fs16 cf1">Une fois que vous avez regroupé tous ces composants, vous pouvez passer à l'étape 2 et installer recalboxOS sur votre carte SD</span></div><div><br></div><div><br></div><div><br></div><div><span class="fs16"><span class="cf2">ÉTAPE 2</span><span class="cf1">. Installer recalboxOS.</span></span></div><div><span class="fs16 cf1">Il est temps de télécharger et d'installer recalboxOS</span></div><div><span class="fs16"><span class="cf1">Rendez-vous sur</span><span class="cf1"> </span><span class="cf1">http://github.com/digitalLumberjack/recalbox-os/releases</span><span class="cf1"> </span><span class="cf1">pour télécharger la dernière version de recalboxOS. ou <a href="http://github.com/recalbox/recalbox-os/releases/download/v3.3.0-beta17/recalboxOS-v3.3.0-beta17.zip" target="_blank" class="imCssLink">cliquer ici pour telecharger directement.</a> Vous pouvez installer recalboxOS sur une carte formatée en FAT32. Utilisez pour cela le logiciel de formattage disponible à l'adresse</span><span class="cf1"> </span><span class="cf1">http://www.sdcard.org/downloads/formatter_4/</span><span class="cf1"> </span><span class="cf1">pour Windows et MacOSX, ou gparted sous Linux. ou <a href="http://www.raspberry-pi.ovh/files/SDFormatterv4.zip" target="_blank" class="imCssLink">cliquez ici pour télécharger directement pour Windows</a> ---- <a href="http://www.raspberry-pi.ovh/files/SDFormatter_4.00B.pkg" target="_blank" class="imCssLink">cliquez ici pour</a></span><span class="cf1"><a href="http://www.raspberry-pi.ovh/files/SDFormatter_4.00B.pkg" target="_blank" class="imCssLink"> télécharger directement pour</a></span><span class="cf1"><a href="http://www.raspberry-pi.ovh/files/SDFormatter_4.00B.pkg" target="_blank" class="imCssLink"> Mac</a> </span></span></div><div><span class="fs16"><br><span class="cf1">Décompressez le fichier recalboxOS.zip et copiez tous les fichiers à la base de votre carte SD.</span></span></div><div><span class="fs16 cf1">Inserez la micro SD dans le raspberry, branchez le HDMI, le clavier et l'alimentation. Votre raspberry charge le programme d'installation et lance automatiquement la copie des fichiers.</span></div><div><br></div><div><span class=""><b><span class="fs16 cf2">Vous possédez maintenant une recalbox !</span></b></span></div><div></div><div><br></div><div><span class="fs16"><span class=""><span class="cf2">ÉTAPE 3</span></span><span class="cf1">. Configuration de la recalbox.</span></span></div><div><span class="fs16 cf1">Vous avez sans doute envie de configurer votre manette pour commencer l'aventure recalbox !</span></div><div><span class="fs16 cf1">Si vous avez une manette PS3 et une clé bluetooth, utilisez un cable mini USB pour relier la manette à la recalbox. Patientez 10 secondes pendant que les led clignottent lentement. Débranchez la manette et appuyez sur le bouton HOME. Votre manette est configurée !</span></div><div><span class="fs16 cf1">Si vous avez une manette XBox360 USB, branchez la, et jouez !</span></div><div><span class="fs16"><span class="cf1">Si vous avez une manette USB, branchez votre clavier USB, appuyez sur ENTRER dans le menu de séléction des système. Ensuite séléctionnez</span><span class="cf1"> </span><b><b><span class="cf1">"Configure Input"</span></b></b><span class="cf1"> </span><span class="cf1">avec la touche S et sélectionnez</span><b><b><span class="cf1">"Configure a controller"</span></b></b><span class="cf1"> </span><span class="cf1">encore avec S. Suivez les instructions pour configurer votre manette. Le nom des bouton est basé sur la manette Super Nintendo.</span></span></div><div><br></div><div><span class="fs16"><span class="cf1">Rendez-vous sur le</span><span class="cf1"> </span><a href="http://github.com/digitalLumberjack/recalbox-os/wiki/Home-%28FR%29" target="_blank" class="imCssLink"><span class="cf1">wiki</span><span class="cf1"> Recalbox </span></a><span class="cf1"><a href="http://github.com/digitalLumberjack/recalbox-os/wiki/Home-%28FR%29" target="_blank" class="imCssLink">pour plus d'infos</a>.</span></span></div><div><br></div></div>]]></description>
			<pubDate>Thu, 07 May 2015 09:40:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?recalbox-creer-une-console-de-jeux-avec-votre-raspberry</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/v3080353</guid>
		</item>
		<item>
			<title><![CDATA[Arrêter en toute sécurité votre Raspberry pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_21d0umyt"><header class="entry-header cf2"><h1 class="entry-title cf1"><span class="fs12">Arrêter en toute sécurité votre Raspberry pi</span></h1></header><div class="mt1 entry-content content cf2"><p class="mb1"><span class="fs12"><span class="cf3"><a href="http://the-raspberry.com/wp-content/uploads/2013/08/shutdown-logo.png"><img alt="shutdown éteindre raspberry pi" src="http://the-raspberry.com/wp-content/uploads/2013/08/shutdown-logo.png" width="139" height="139" srcset="http://the-raspberry.com/wp-content/uploads/2013/08/shutdown-logo-150x150.png 150w, http://the-raspberry.com/wp-content/uploads/2013/08/shutdown-logo.png 256w" sizes="(max-width: 139px) 100vw, 139px" class="mt2 mb2 wp-image-583 alignleft" data-selected="false"></a></span>Arrêter en toute sécurité votre Raspberry pi vous permettra d’éviter beaucoup de problèmes à l’avenir. Il n’y a pas d’option d’arrêt standard sur Raspbian (sauf sur l’interface graphique) , vous serez donc en mesure de passer le Raspberry pi hors tension en utilisant le terminal.</span></p><p class="mb1"><span class="fs12">Une des façons les plus courantes de corrompre votre carte SD est de débrancher votre Raspberry pi, pour éviter ça il vaut mieux utiliser le terminal pour l’éteindre.</span></p><p class="mb1"><span class="fs12">Pour l’éteindre, correctement :</span></p><pre class="mt3 mb1 cf4"><span class="fs12 ff1">sudo shutdown -h now</span></pre><p class="mb1"><span class="fs12">ou</span></p><pre class="mt3 mb1 cf4"><span class="fs12 ff1">sudo halt</span></pre><p class="mb1"><span class="fs12">Vous pouvez ensuite débrancher le Raspberry pi.</span></p><p class="mb1"><span class="fs12">Si vous voulez redémarrer le Raspberry pi :</span></p><pre class="mt3 mb1 cf4"><span class="fs12 ff1">sudo shutdown -r now</span></pre><p class="mb1"><span class="fs12">ou</span></p><pre class="mt3 mb1 cf4"><span class="fs12 ff1">sudo reboot</span></pre><p class="mb1"><span class="fs12">Pour l’éteindre après un certains temps en nombre de minutes &nbsp;( ici 5 minutes pour moi)</span></p><pre class="mt3 mb1 cf4"><span class="fs12 ff1">sudo shutdown -r +5</span></pre><div><br></div></div></div>]]></description>
			<pubDate>Tue, 21 Apr 2015 05:01:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?arreter-en-toute-securite-votre-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/21d0umyt</guid>
		</item>
		<item>
			<title><![CDATA[Installer un media-center avec OSMC sur votre Raspberry Pi ]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_mwu6f6n1"><div id="post-media" class="imTAJustify clr cf2"><span class="cf1">Installer un media-center avec OSMC sur votre Raspberry Pi !</span></div><p class="mb1 imTAJustify cf2"><span class="fs16">Cela fait très longtemps que nous voulions vous parler<span class=""> de la Raspberry Pi comme media-center</span>, mais nous n’en avions pas nous même. Cependant, avec l’arrivée de la <span class="cf3"><a title="Raspberry Pi 2" href="http://www.amazon.fr/gp/product/B00T2U7R7I/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00T2U7R7I&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=IXEFHYYRC4D5XWPS" target="_blank" rel="nofollow">Raspberry Pi 2</a></span>, et pour le retour de la série Game Of Thrones, nous avons décidé <span class="">d’utiliser une Raspberry Pi pour faire un media center et pouvoir revoir l’intégrale de la série sur notre vidéo projecteur sans avoir des fils dans tous les coins !</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Aujourd’hui nous allons donc vous expliquer comment<span class=""> installer Raspbmc (ou plutôt OSMC) sur votre Raspberry Pi, pour en faire un media-cente</span>r, ce qu’est Raspbmc, le matériel dont vous aurez besoin, et enfin comment installer Raspbmc sur votre Raspberry Pi, depuis Windows, Linux et Mac !</span></p><p class="mb1 imTAJustify cf2"><span class="fs16"> </span></p><h2 class="imTAJustify western cf1"><span class="fs16">Raspbmc, un mélange entre Raspbian et le media-center XBMC</span></h2><p class="mb1 imTAJustify cf2"><span class="fs16">Avant de nous jeter à l’eau en installant XBMC sur notre Raspberry Pi, faisons une petite présentation de ce système.</span></p><p class="mb1 imTAJustify cf2"><span class="fs16">XBMC est un lecteur multimédia libre dédié aux media-centers. Il a été originellement conçu pour la Xbox mais fonctionne désormais sur de nombreuses plateformes, dont la Raspberry Pi.<span class=""> Il est aujourd’hui une des solutions centrales de media-center !</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Pour rappel, un media-center est <span class="">un ordinateur servant dans le cadre d’une utilisation multimédia.</span> Le plus souvent branché sur une télé, il permet de regarder vos films, vos séries, écouter votre musique, naviguer sur internet, etc.</span></p><p class="mb1 imTAJustify cf2"><span class="fs16">XBMC est distribué sous licence GNU/GPL 2, c’est donc un logiciel parfaitement libre. Il est à noter que <span class="">XBMC s’appel aujourd’hui « Kodi », ou « Kodi Entertainment Center ».</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Kodi, donc, supporte également l’ajout de scripts en Python permettant d’augmenter ses fonctionnalités (de façon générale, si vous comptez utiliser la Raspberry Pi dans des cadres comme la domotique, vous aurez peut-être intérêt <span class="cf3"><a title="Apprendre Python pour la Raspberry Pi" href="http://www.amazon.fr/gp/product/2100706594/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=2100706594&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">à vous pencher sur le python</a></span>).</span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Ici nous parlons de Raspbmc, et pas seulement de Kodi, <span class="">Raspbmc est en fait une distribution basée sur Raspbian, et qui ajoute XBMC à Raspbian.</span> Cette distribution est donc un parfait choix pour monter un media-center ! Nous n’allons cependant pas installer Raspbmc, <span class="">mais plutôt OSMC, qui est le successeur de Raspbmc.</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Maintenant que nous avons présenté Raspbmc, regardons les équipements dont nous aurons besoin pour mettre en place notre media-center.</span></p><p class="mb1 imTAJustify cf2"><span class="fs16"> </span></p><h2 class="imTAJustify western cf1"><span class="fs16">Le matériel nécessaire pour mettre en place un media-center</span></h2><p class="mb1 imTAJustify cf2"><span class="fs16">Avant de commencer l’installation de la OSMC sur votre Raspberry Pi, nous allons commencer par faire le tour des accessoires <span class="">dont vous aurez besoin pour transformer votre Raspberry Pi en un media-center digne de ce nom !</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16">On peut découper les accessoires en deux parties, ceux obligatoires pour faire fonctionner votre Raspberry Pi, et ceux optionnels qui vous apporterons simplement plus de confort. Nous allons les voir tout de suite.</span></p><div class="imTACenter wp-caption aligncenter cf2"><span class="fs16 cf3"><span><span><a title="Kit Raspberry Pi 2" href="http://www.amazon.fr/gp/product/B00STW2Y6E/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00STW2Y6E&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow" class="inline-block"><img src="http://ecx.images-amazon.com/images/I/81l1vTNUsLL._SL400_.jpg" alt="Kit de démarrage Raspberry Pi 2" width="400" height="400" class="" data-selected="false"></a></span></span></span><p class="wp-caption-text"><span class="fs16">Une Raspberry Pi avec tous pleins d’accessoires !</span></p></div><p class="mb1 imTAJustify cf2"><span class="fs16"> </span></p><h3 class="imTAJustify western cf1"><span class="fs16">Le matériel obligatoire pour votre Raspberry Pi</span></h3><p class="mb1 imTAJustify cf2"><span class="fs16">Dans un premier temps, vous aurez besoin d’une Raspberry Pi, nous vous conseillons<span class="cf3"><a title="Raspberry Pi 2 modèle B" href="http://www.amazon.fr/gp/product/B00T2U7R7I/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00T2U7R7I&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=IXEFHYYRC4D5XWPS" target="_blank" rel="nofollow">de prendre une Raspberry Pi 2</a></span>, <span class="">celle-ci est plus puissante que les modèles précédents et vous offrira une expérience d’utilisation plus fluide !</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Vous aurez par ailleurs besoin d’une alimentation pour votre Raspberry Pi, afin d’alimenter correctement l’ensemble des ports de la Raspberry Pi 2 <span class="">vous aurez probablement besoin <span class="cf3"><a title="Alimentation pour la Raspberry Pi 2" href="http://www.amazon.fr/gp/product/B00U88KSHO/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00U88KSHO&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=AB7YO52GOCYWIQ5E" target="_blank" rel="nofollow">d’une alimentation de 2A comme celle-ci.</a></span></span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16">La Raspberry Pi utilise une carte MicroSD comme disque dur, dans le cadre d’un média-center nous vous conseillons <span class="">de choisir une carte rapide, et d’une taille d’au moins 16Go.</span> Notre conseil est de choisir <span class="cf3"><a title="Carte MicroSD 16Go" href="http://www.amazon.fr/gp/product/B010NE3ND8/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B010NE3ND8&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">une carte de 16Go comme celle-ci</a></span>, et de lui adjoindre <span class="cf3"><a title="Disque dur externe adapté à la Raspberry Pi" href="http://www.amazon.fr/gp/product/B00C9TEL46/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00C9TEL46&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">un disque dur externe de bureau</a></span> sur lequel vous stockerez vos films, musiques, etc.</span></p><p class="mb1 imTAJustify cf2"><span class="fs16"> </span></p><h3 class="imTAJustify western cf1"><span class="fs16">Le matériel que vous possédez peut-être déjà</span></h3><p class="mb1 imTAJustify cf2"><span class="fs16">En plus de ce matériel essentiel dont vous aurez besoin, <span class="">il y a quelques autres accessoires qui seront essentiels pour que vous puissiez utiliser votre votre Raspberry Pi comme media-center, mais que vous possédez peut-être déjà.</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Tout d’abord, cela est évident, il vous faudra un écran, par exemple votre écran de télé. Nous vous conseillons de <span class="cf3"><a title="Liste d'écrans HDMI" href="http://www.amazon.fr/gp/search/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;index=aps&amp;keywords=%C3%A9cran%20hdmi&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=SKLJIVAHBRIYF4KB" target="_blank" rel="nofollow">choisir un écran en HDMI</a></span>,<span class=""> la Raspberry Pi possédant justement une sortie HDMI.</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Il est également évident que vous aurez besoin d’un câble pour relier votre Raspberry Pi à votre écran. Deux possibilités, soit vous possédez un écran HDMI, et il vous suffit alors <span class="cf3"><a title="Cable HDMI" href="http://www.amazon.fr/gp/product/B000JU7N5Q/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B000JU7N5Q&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=AZILXVBQIXAMS2NQ" target="_blank" rel="nofollow">d’un simple câble HDMI</a></span>, soit vous possédez un écran VGA, et vous aurez alors besoin <span class="cf3"><a title="Convertisseur HDMI vers VGA" href="http://www.amazon.fr/gp/product/B00Y2IP3P8/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00Y2IP3P8&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">d’un convertisseur HDMI vers VGA, avec une sortie audio.</a></span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16"> </span></p><h3 class="imTAJustify western cf1"><span class="fs16">Le matériel utile pour votre media-center mais non obligatoire</span></h3><p class="mb1 imTAJustify cf2"><span class="fs16">Comme dit précédemment, nous vous conseillons de prendre<span class="cf3"><a title="Disque dur externe auto-alimenté" href="http://www.amazon.fr/gp/product/B00C9TEL46/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00C9TEL46&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow"> un disque dur externe auto-alimenté</a></span> pour stocker vos films, musiques, etc. <span class="">Cela vous permettra de stocker une quantité beaucoup plus importante de données, les cartes SD étant trop petites pour un tel usage.</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16">En plus de votre Raspberry Pi, vous pourriez avoir besoin d’un boîtier pour celle-ci. Le but d’un media-center est de s’intégrer dans votre habitation de façon harmonieuse.<span class="">En plus de sa fonction protectrice, un boîtier rendra votre Raspberry Pi plus esthétique</span>. Nous vous conseillons <span class="cf3"><a title="Boitier Raspberry Pi 2" href="http://www.amazon.fr/gp/product/B00M8ZEHIQ/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00M8ZEHIQ&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=JODWBOGQ22SMDZEI" target="_blank" rel="nofollow">ce très bon boîtier</a></span>, particulièrement élégant.</span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Dernier point utile, <span class="cf3"><a title="Clavier pour la Raspberry Pi" href="http://www.amazon.fr/gp/product/B008JBSTUA/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B008JBSTUA&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">un mini-clavier sans fil avec trackpad</a></span> <span class="">qui vous permettra de contrôler votre media-center depuis votre canapé.</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16"> </span></p><h2 class="imTAJustify western cf1"><span class="fs16">Installer OSMC sur votre Raspberry Pi</span></h2><p class="mb1 imTAJustify cf2"><span class="fs16">La liste des accessoires a été longue, mais n’oubliez pas que seuls certains d’entre eux sont obligatoires, et que vous possédez probablement nombre des accessoires optionnels. Pour plus de facilité, notez également que vous pouvez trouver des kits déjà prêts pour mettre en place un media-center.</span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Nous allons maintenant voir <span class="">comment installer OSMC (anciennement Raspbmc) sur votre Raspberry Pi, ne vous en faites pas, depuis le passage de Raspbmc à OSMC, l’installation est encore plus simple qu’avant !</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16"> </span></p><h3 class="imTAJustify western cf1"><span class="fs16">Téléchargez OSMC</span></h3><p class="mb1 imTAJustify cf2"><span class="fs16">Pour télécharger OSMC il vous suffit de vous rendre <span class="cf3"><a title="Site du projet OSMC" href="https://osmc.tv/download/" target="_blank" rel="nofollow">sur le site du projet</a></span> et <span class="">de choisir le système d’exploitation à partir duquel vous souhaitez créer la carte SD.</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Une fois le logiciel téléchargé, lancez-le pour commencer l’installation de la carte MicroSD.</span></p><p class="mb1 imTAJustify cf2"><span class="fs16"> </span></p><h3 class="imTAJustify western cf1"><span class="fs16">Installation de OSMC sur la carte MicroSD</span></h3><p class="mb1 imTAJustify cf2"><span class="fs16">Au lancement du logiciel vous arriverez sur la page suivante :</span></p><div id="attachment_862" class="imTACenter wp-caption aligncenter cf2"><span class="fs16 cf3"><span><span><a href="http://raspbian-france.fr/wp-content/uploads/2015/04/installer-osmc-1.jpg" rel="nofollow" class="inline-block"><img src="http://raspbian-france.fr/wp-content/uploads/2015/04/installer-osmc-1-300x237.jpg" alt="Première fenêtre d'installation d'OSMC" width="300" height="237" class="size-medium wp-image-862" data-selected="false"></a></span></span></span><p class="wp-caption-text"><span class="fs16">Choisissez le type de machine sur laquelle vous souhaitez installer OSMC (pour nous une Raspberry Pi 2)</span></p></div><p class="mb1 imTAJustify cf2"><span class="fs16"> </span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Sélectionnez la langue de votre choix dans le premier menu déroulant.</span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Le second menu déroulant définit sur quel type de Raspberry Pi vous souhaitez installer OSMC.</span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Si il s’agit d’une Raspberry Pi 2 (modèle B+), choisissez « Raspberry Pi 2 », sinon, choisissez « Raspberry Pi ». Une fois ceci fait, cliquez sur suivant.</span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Vous arrivez maintenant sur la page de choix de version.</span></p><div id="attachment_863" class="imTACenter wp-caption aligncenter cf2"><span class="fs16 cf3"><span><span><a href="http://raspbian-france.fr/wp-content/uploads/2015/04/installer-osmc-2.jpg" rel="nofollow" class="inline-block"><img src="http://raspbian-france.fr/wp-content/uploads/2015/04/installer-osmc-2-300x237.jpg" alt="Choix de la version d'OSMC" width="300" height="237" class="size-medium wp-image-863" data-selected="false"></a></span></span></span><p class="wp-caption-text"><span class="fs16">Choisissez la version d’OSMC que vous souhaitez installer</span></p></div><p class="mb1 imTAJustify cf2"><span class="fs16"> </span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Choisissez « RC2 » dans le menu déroulant. Il s’agit actuellement de la dernière version de OSMC disponible.</span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Assurez-vous que la case « Use a local build on my computer » soit décochée, puis cliquez sur suivant.</span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Vous arrivez sur la fenêtre de choix du périphérique d’installation.</span></p><div id="attachment_864" class="imTACenter wp-caption aligncenter cf2"><span class="fs16 cf3"><span><span><a href="http://raspbian-france.fr/wp-content/uploads/2015/04/installer-osmc-3.jpg" rel="nofollow" class="inline-block"><img src="http://raspbian-france.fr/wp-content/uploads/2015/04/installer-osmc-3-300x237.jpg" alt="Choix type de disque OSMC" width="300" height="237" class="size-medium wp-image-864" data-selected="false"></a></span></span></span><p class="wp-caption-text"><span class="fs16">Choisissez le type de disque sur lequel installer OSMC</span></p></div><p class="mb1 imTAJustify cf2"><span class="fs16"> </span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Choisissez l’installation sur carte SD et passez à l’étape suivante.</span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Vous êtes maintenant sur l’étape de choix du type de connexion internet, choisissez le type de connexion internet que vous souhaitez que votre media-center Raspberry Pi utilise.</span></p><div id="attachment_865" class="imTACenter wp-caption aligncenter cf2"><span class="fs16 cf3"><span><span><a href="http://raspbian-france.fr/wp-content/uploads/2015/04/installer-osmc-4.jpg" rel="nofollow" class="inline-block"><img src="http://raspbian-france.fr/wp-content/uploads/2015/04/installer-osmc-4-300x237.jpg" alt="Définition type de connexion" width="300" height="237" class="size-medium wp-image-865" data-selected="false"></a></span></span></span><p class="wp-caption-text"><span class="fs16">Définissez le type de connexion à utiliser</span></p></div><p class="mb1 imTAJustify cf2"><span class="fs16"> </span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Si vous avez choisi d’utiliser une connexion Wi-Fi, l’étape suivante vous demandera de rentrer les informations d’identification du réseau Wi-Fi auquel vous souhaitez connecter votre media-center (ces informations doivent pouvoir être trouvées dans la configuration de votre box).</span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Vous arrivez maintenant sur l’étape de choix du périphérique sur lequel sera installé OSMC.</span></p><div id="attachment_866" class="imTACenter wp-caption aligncenter cf2"><span class="fs16 cf3"><span><span><a href="http://raspbian-france.fr/wp-content/uploads/2015/04/installer-osmc-5.jpg" rel="nofollow" class="inline-block"><img src="http://raspbian-france.fr/wp-content/uploads/2015/04/installer-osmc-5-300x237.jpg" alt="Choix carte SD" width="300" height="237" class="size-medium wp-image-866" data-selected="false"></a></span></span></span><p class="wp-caption-text"><span class="fs16">Choisissez la carte SD sur laquelle sera installé OSMC</span></p></div><p class="mb1 imTAJustify cf2"><span class="fs16"> </span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Cliquez sur votre carte SD dans la liste des périphériques proposés, puis faites suivant. Acceptez la licence et allez à l’étape suivante.</span></p><p class="mb1 imTAJustify cf2"><span class="fs16">L’écriture sur la carte se lance. <span class="">Une fois qu’elle est finie vous pouvez éjecter votre carte MicroSD.</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16"> </span></p><h2 class="imTAJustify western cf1"><span class="fs16">Conclusion</span></h2><p class="mb1 imTAJustify cf2"><span class="fs16">OSMC est maintenant installé sur votre carte MicroSD. <span class="">Il ne vous reste plus qu’à insérer celle-ci dans votre Raspberry Pi et à démarrer cette dernière.</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Petite astuce supplémentaire, sachez que <span class="">vous pourrez trouver des applications pour smartphone vous permettant de contrôler OSMC avec votre téléphone.</span> Nous ferons probablement un rapide tutoriel sur le sujet dans quelques temps.</span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Nous espérons que vous prendrez plaisir à regarder des films avec votre media-center et votre Raspberry Pi, <span class="">nous chez Raspbian France, nous sommes fin prêts pour la reprise de Game Of Thrones !</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16">PS : Pour ceux qui se poseraient la question, le vidéo-projecteur est un <span class="cf3"><a title="Vidéo projecteur BenQ" href="http://www.amazon.fr/gp/product/B00MGBFDM6/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00MGBFDM6&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">Benq W1070+</a></span><span class=""> que nous conseillons à toutes les personnes souhaitant se faire une installation de qualité pour un coût abordable !</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs16">Et comme d’habitude, n’hésitez pas à faire un tour sur nos différents tutoriels, <a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)"><span class="cf3">comme l’installation d’une caméra de surveillance</span>,</a> ou encore<a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)"> <span class="cf3">l’envoi de SMS par la Raspberry Pi.</span></a></span></p></div>]]></description>
			<pubDate>Fri, 17 Apr 2015 07:38:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?installer-un-media-center-avec-osmc-sur-votre-raspberry-pi-</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/mwu6f6n1</guid>
		</item>
		<item>
			<title><![CDATA[Contrôler son bureau à distance avec VNC sur le Raspberry pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_jo70dmjt"><header class="entry-header cf2"><h1 class="entry-title cf1"><span class="fs12">Contrôler son bureau à distance avec VNC sur le Raspberry pi</span></h1></header><div class="mt1 entry-content content cf2"><p class="mb1"><span class="fs12">Dans cet article nous allons voir comment <span class="">télécommander son Raspberry pi à distance grâce à VNC</span> (Virtual Network Connection), pour que cela fonctionne il faut que vous ayez suivi <span class="cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">le tutoriel sur SSH</a></span><a href="http://the-raspberry.com/ssh-raspberry-pi"><span class="cf3"> </span></a>et donc que vous puissiez vous connecter en SSH à votre Raspberry pi.</span></p><p class="mb1"><span class="fs12">La différence entre SSH et VNC est que SSH ne gère pas d’interface graphique il ne vous permet que d’exécuter des commandes dans le terminal, contrairement à VNC qui va vous donner la possibilité de c<span class="">ontrôler votre Raspberry pi de manière graphique avec la souris et le clavier</span>.</span></p><p class="mb1"><span class="fs12">Nous allons donc commencer par installer un serveur <span class="">VNC</span>, il en existe plusieurs, mais celui que je vous propose est tightvnc.</span></p><p class="mb1"><span class="fs12">Pour l’installer <span class="cf3"><a href="http://the-raspberry.com/ssh-raspberry-pi">connecter vous en SSH au Raspberry pi</a></span> et faites ces deux commandes</span></p><pre class="mt2 mb1 cf4"><span class="fs12 ff1">sudo apt-get update</span></pre><pre class="mt2 mb1 cf4"><span class="fs12 ff1">sudo apt-get install tightvncserver</span></pre><p class="mb1"><span class="fs12 cf3"><a href="http://the-raspberry.com/wp-content/uploads/2013/07/Sans-titre_Fotor.jpg" class="inline-block"><img src="http://the-raspberry.com/wp-content/uploads/2013/07/Sans-titre_Fotor.jpg" alt="tightvncserver" width="560" height="18" class="mb1 alignnone size-full wp-image-505" data-selected="false"></a></span></p><p class="mb1"><span class="fs12">Une fois que tightvnc est installé il faudra faire la commande</span></p><pre class="mt2 mb1 cf4"><span class="fs12 ff1">vncserver :1</span></pre><p class="mb1"><span class="fs12 cf3"><a href="http://the-raspberry.com/wp-content/uploads/2013/07/Sans-titre1_Fotor.jpg" class="inline-block"><img src="http://the-raspberry.com/wp-content/uploads/2013/07/Sans-titre1_Fotor.jpg" alt="vncserver " width="564" height="116" class="mb1 alignnone size-full wp-image-504" data-selected="false"></a></span></p><p class="mb1"><span class="fs12">Cette commande démarrera le serveur VNC, la première fois que vous exécuterez cette commande on vous demandera votre mot de passe, si vous avez gardé le mot de passe par défaut qui est « raspberry » vous remarquer que le mot de passe n’est pas accepté, c’est parce qu’il faut entrer un mot de passe à 8 caractères donc il faudra donc écrire « raspberr »</span></p><h1 class="cf1"><span class="fs12">Le client VNC</span></h1><p class="mb1"><span class="fs12">Pour accéder à votre bureau en VNC, il faut télécharger un logiciel (un client VNC) qui vous permettra de prendre le contrôle de votre Raspberry pi.</span></p><p class="mb1"><span class="fs12">Il existe beaucoup de clients, mais je vous conseille <span class="cf3"><a href="http://the-raspberry.com/vnc-viewer">VNC Viewer</a></span> (qui est aussi disponible sur<span class="cf3"><a href="http://the-raspberry.com/vnc-viewer" target="_blank">Android </a></span>, <span class="cf3"><a href="https://play.google.com/store/apps/details?id=com.realvnc.viewer.android&amp;hl=fr" target="_blank">voir sur le Play Store</a></span>, et sur<span class="cf3"><a href="http://the-raspberry.com/vnc-viewer" target="_blank"> iOS</a></span>), vous pouvez le télécharger <span class="cf3"><a href="http://the-raspberry.com/vnc-viewer">ici</a></span>, une fois installé sur votre ordinateur exécuter le vous devriez voir ça.</span></p><p class="mb1"><span class="fs12 cf3"><a href="http://the-raspberry.com/wp-content/uploads/2013/07/ss_Fotor.jpg" class="inline-block"><img src="http://the-raspberry.com/wp-content/uploads/2013/07/ss_Fotor.jpg" alt="vnc viewer" width="400" height="208" srcset="http://the-raspberry.com/wp-content/uploads/2013/07/ss_Fotor-300x156.jpg 300w, http://the-raspberry.com/wp-content/uploads/2013/07/ss_Fotor.jpg 400w" sizes="(max-width: 400px) 100vw, 400px" class="mb1 alignnone size-full wp-image-508" data-selected="false"></a></span></p><p class="mb1"><span class="fs12">Dans le champ VNC Server &nbsp;entrer l’adresse ip de votre Raspberry pi (on peut la trouver en tapant la commande ifconfig dans le terminal) suivi de :1 cliquer ensuite sur Connect.</span></p><p class="mb1"><span class="fs12">Si vous recevez un message d’avertissement cliquer sur continuer.</span></p><p class="mb1"><span class="fs12">La fenêtre suivante vous demandera votre mot de passe (limité à 8 caractères) par défaut se sera « raspberr »</span></p><p class="mb1"><span class="fs12 cf3"><a href="http://the-raspberry.com/wp-content/uploads/2013/07/Sans-titre-2_Fotor.jpg" class="inline-block"><img src="http://the-raspberry.com/wp-content/uploads/2013/07/Sans-titre-2_Fotor.jpg" alt="vnc viewer 1" width="400" height="201" class="mb1 alignnone size-full wp-image-510" data-selected="false"></a></span></p><p class="mb1"><span class="fs12">Le bureau de votre Raspberry pi devrait apparaitre. Vous êtes maintenant en mesure d’utiliser la souris et le clavier pour contrôler votre Raspberry pi à distance.</span></p><p class="mb1"><span class="fs12 cf3"><a href="http://the-raspberry.com/wp-content/uploads/2013/07/Sans-titre_Fotor1.jpg" class="inline-block"><img src="http://the-raspberry.com/wp-content/uploads/2013/07/Sans-titre_Fotor1.jpg" alt="vnc raspberry pi" width="789" height="608" srcset="http://the-raspberry.com/wp-content/uploads/2013/07/Sans-titre_Fotor1-300x231.jpg 300w, http://the-raspberry.com/wp-content/uploads/2013/07/Sans-titre_Fotor1-600x462.jpg 600w, http://the-raspberry.com/wp-content/uploads/2013/07/Sans-titre_Fotor1.jpg 1024w" sizes="(max-width: 789px) 100vw, 789px" class="mb1 alignnone &nbsp;wp-image-514" data-selected="false"></a></span></p><h1 class="cf1"><span class="fs12">Démarrer VNC directement au démarrage</span></h1><p class="mb1"><span class="fs12">Pour démarrer un <span class="cf3"><a href="http://the-raspberry.com/vnc">serveur VNC</a></span> au démarrage automatiquement, faites ces toutes ces commandes séparément dans l’ordre :</span></p><pre class="mt2 mb1 cf4"><span class="fs12 ff1">cd /home/pi</span></pre><pre class="mt2 mb1 cf4"><span class="fs12 ff1">cd .config</span></pre><pre class="mt2 mb1 cf4"><span class="fs12 ff1">mkdir autostart</span></pre><pre class="mt2 mb1 cf4"><span class="fs12 ff1">cd autostart</span></pre><pre class="mt2 mb1 cf4"><span class="fs12 ff1">sudo nano tightvnc.desktop</span></pre><p class="mb1"><span class="fs12">Un fichier vide va s’ouvrir, copier coller ceci :</span></p><pre class="mt2 mb1 cf4"><span class="fs12 ff1">#!/bin/sh
[Desktop Entry]
Type=Application
Name=tightVNC
Exec=vncserver :1
StartupNotify=false</span></pre><p class="mb1"><span class="fs12">Sauvegarder et quitter puis redémarrer ensuite votre Raspberry pi.</span></p><pre class="mt2 mb1 cf4"><span class="fs12 ff1">sudo reboot</span></pre><div><br></div></div></div>]]></description>
			<pubDate>Fri, 17 Apr 2015 05:26:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?controler-son-bureau-a-distance-avec-vnc-sur-le-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/jo70dmjt</guid>
		</item>
		<item>
			<title><![CDATA[Bloquer toutes les publicités sur iPhone / iPad / PC et autres avec un Raspberry Pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_5u8zax45"><h1 class="mt1 mb1 custom-font heading"><span class="fs12"><span class="cf1"><a href="http://www.place4geek.com/blog/2015/04/tuto-bloquer-toutes-les-publicites-sur-iphone-ipad-pc-et-autres-avec-un-raspberry-pi/">Bloquer toutes les publicités sur iPhone / iPad / PC et autres avec un Raspberry P</a></span>i</span></h1><div class="single-content"><p class=""><span class="fs12">Aujourd’hui je vous propose un nouveau tutoriel votre Raspberry Pi ou tout autre machine tournant sous linux d’ailleurs.</span></p><p class=""><span class="fs12">Une grosse publicité juste avant une vidéo que l’on doit regarder en entier parce qu’on n’a pas l’option de la zapper, ou encore une popup qui apparait en plein écran avec une croix (pour fermer) qui redirige finalement la page vers le site de publicité quoi de plus frustrant ?</span></p><p class=""><span class="fs12">Voici d’ailleurs un <span class=""><a title="CommitStrip" href="http://www.commitstrip.com/fr/2015/03/05/mobile-browsing-in-2015/" target="_blank">CommitStrip</a></span> qui résume parfaitement la situation aujourd’hui :</span></p><div id="attachment_17270" class="imTACenter wp-caption aligncenter"><span class="fs12 cf1"><a href="http://www.commitstrip.com/fr/2015/03/05/mobile-browsing-in-2015/" target="_blank"><img src="http://www.place4geek.com/blog/wp-content/uploads/2015/04/ad.jpg" alt="Tuto : Bloquer les publicités sur iPhone / iPad / PC et autres avec l'aide d'un Raspberry Pi" width="657" height="865" srcset="http://www.place4geek.com/blog/wp-content/uploads/2015/04/ad-228x300.jpg 228w, http://www.place4geek.com/blog/wp-content/uploads/2015/04/ad.jpg 657w" sizes="(max-width: 657px) 100vw, 657px" class="wp-image-17270 size-full" data-selected="false"></a></span><p class="wp-caption-text"><span class="fs12">Cliquez sur l’image pour voir le CommitStrip en entier</span></p></div><p class=""><span class="fs12">Le gros avantage d’utiliser un proxy comme bloqueur de publicités c’est que le serveur va faire tout le travail de filtrage pour vous, votre smartphone / tablette ou autre ne téléchargera plus que le contenu (texte, images, vidéos…) sans toute la partie polluante de la publicité. Au final la phase de rendu (affichage d’une page web) sur votre smartphone pourrait même être plus rapide qu’en chargeant la page originale du moins en théorie.</span></p><p class=""><span class="fs12">Bref j’ai regardé un peu ce qu’il existait sous Linux pour bloquer des publicités au travers d’un proxy.</span></p><p class=""><span class="fs12">Il s’avère qu’il existe un petit service tout simple appelé <span class=""><a title="Privoxy" href="http://www.privoxy.org/" target="_blank">Privoxy</a></span> qui fait exactement ce dont nous avons besoin.</span></p><p class=""><span class="fs12">En regardant de plus près il s’avère que ce dernier à l’air parfait pour notre besoin ici je cite :</span></p><blockquote class=""><p class=""><span class="fs12">Privoxy is a non-caching web proxy with advanced filtering capabilities for enhancing privacy, modifying web page data and HTTP headers, controlling access, and removing ads and other obnoxious Internet junk. Privoxy has a flexible configuration and can be customized to suit individual needs and tastes. It has application for both stand-alone systems and multi-user networks.</span></p></blockquote><p class=""><span class="fs12">C’est super alors c’est partit pour le tutoriel.</span></p><p class=""><img src="http://www.place4geek.com/blog/wp-content/uploads/2015/04/pi-300x216.png" alt="Tuto : Bloquer toutes les publicités sur iPhone / iPad / PC et autres avec un Raspberry Pi" width="300" height="216" srcset="http://www.place4geek.com/blog/wp-content/uploads/2015/04/pi-300x216.png 300w, http://www.place4geek.com/blog/wp-content/uploads/2015/04/pi.png 700w" sizes="(max-width: 300px) 100vw, 300px" class="aligncenter size-medium wp-image-17276" data-selected="false"></p><p class=""><span class="fs12">Avant de commencer il vous faudra un Raspberry Pi : n’importe quelle version devrait faire l’affaire, de mon côté j’ai utilisé un Raspberry Pi B+.</span></p><p class=""><span class="fs12">Privilégiez tout même une version B (avec Ethernet) pour de meilleures performances en termes de latence réseau.</span></p><p class=""><span class="fs12">Branchez votre Raspberry Pi en Ethernet sur votre box ou routeur afin qu’il puisse accéder à internet.</span></p><p class=""><span class="fs12">Préparez-vous une carte SD avec Raspbian fraîchement installé ou réutilisez une version déjà existante (oui le Raspberry Pi est multitâches !).</span></p><p class=""><span class="fs12"><span class=""><a title="Tutoriel : Se connecter en SSH sur son Raspberry Pi (OpenElec)" href="http://www.place4geek.com/blog/2013/01/tutoriel-se-connecter-en-ssh-sur-son-raspberry-pi-openelec/" target="_blank">Connectez vous en SSH</a></span> sur votre Raspberry Pi.</span></p><p class=""><span class="fs12">On va mettre à jour vos paquets, lancez les commandes suivantes :</span></p><blockquote class=""><pre class="mt2 mb2"><code class="fs12 ff1">sudo apt-get update
sudo apt-get upgrade</code></pre></blockquote><p class=""><span class="fs12">Une fois la mise à jour terminée, on récupère le paquet Privoxy :</span></p><blockquote class=""><pre class="mt2 mb2"><code class="fs12 ff1">sudo apt-get install privoxy</code></pre></blockquote><p class=""><span class="fs12">Une fois que le paquet est installé on va modifier une ligne dans le fichier de configuration de privoxy :</span></p><blockquote class=""><pre class="mt2 mb2"><code class="fs12 ff1">sudo nano /etc/privoxy/config</code></pre></blockquote><p class=""><span class="fs12">Voici ce que contient le fichier par défaut :</span></p><blockquote class=""><pre class="mt2 mb2"><code class="fs12 ff1">#
# &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Suppose you are running Privoxy on an IPv6-capable machine and
# &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;you want it to listen on the IPv6 address of the loopback device:
#
# &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;listen-address [::1]:8118
#
#listen-address &nbsp;localhost:8118
#
#
# &nbsp;4.2. toggle</code></pre></blockquote><p class=""><span class="fs12">Il faut dé-commenter la ligne listen-adress localhost:8118 et remplacer localhost par l’adresse IP de votre Raspberry Pi (c’est celle que vous avez utilisée pour vous connecter en SSH dessus).</span></p><p class=""><span class="fs12">Vous devriez obtenir quelque-chose comme ceci (dans mon cas l’adresse IP est 192.168.1.40) :</span></p><blockquote class=""><pre class="mt2 mb2"><code class="fs12 ff1">#
# &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Suppose you are running Privoxy on an IPv6-capable machine and
# &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;you want it to listen on the IPv6 address of the loopback device:
#
# &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;listen-address [::1]:8118
#
listen-address &nbsp;192.168.1.40:8118
#
#
# &nbsp;4.2. toggle</code></pre></blockquote><p class=""><span class="fs12">Pour les bidouilleurs c’est dans ce fichier que l’on peut tout configurer ou presque sur Privoxy, je ne m’étalerai pas sur le sujet mais tout est assez explicite.</span></p><p class=""><span class="fs12">La configuration par défaut est plutôt efficace d’ailleurs.</span></p><p class=""><span class="fs12">Sauvegardez votre fichier avec CTRL + X et ensuite Y pour revenir au terminal.</span></p><p class=""><span class="fs12">Pour que les modifications soient prises en compte, il faut relancer le service Privoxy :</span></p><blockquote class=""><pre class="mt2 mb2"><code class="fs12 ff1">sudo service privoxy restart</code></pre></blockquote><p class=""><span class="fs12">Voilà c’est à peu près tout votre Raspberry Pi bloqueur de publicités est prêt à l’emploi.</span></p><p class=""><span class="fs12">Il ne manque plus qu’à configurer vos téléphones, tablettes, pc portables etc.. pour utiliser le proxy du Raspberry Pi.</span></p><p class=""><span class="fs12">Voici quelques exemples pour le mettre en place sur un iPhone (ou iPad), Firefox et Chrome :</span></p><div data-carousel-extra="{&quot;blog_id&quot;:1,&quot;permalink&quot;:&quot;http:\/\/www.place4geek.com\/blog\/2015\/04\/tuto-bloquer-toutes-les-publicites-sur-iphone-ipad-pc-et-autres-avec-un-raspberry-pi\/&quot;,&quot;likes_blog_id&quot;:20081690}" id="gallery-1" class="gallery galleryid-17269 gallery-columns-1 gallery-size-medium"><dl class="imTACenter gallery-item"><dt class="gallery-icon portrait"><span class="fs12 cf1"><a href="http://www.place4geek.com/blog/wp-content/uploads/2015/04/proxy-ios.png"><img width="169" height="300" src="http://www.place4geek.com/blog/wp-content/uploads/2015/04/proxy-ios-169x300.png" class="attachment-medium size-medium" alt="Tuto : Bloquer toutes les publicités sur iPhone / iPad / PC et autres avec un Raspberry Pi" aria-describedby="gallery-1-17275" data-attachment-id="17275" data-orig-file="http://www.place4geek.com/blog/wp-content/uploads/2015/04/proxy-ios.png" data-orig-size="700,1245" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Tuto : Bloquer toutes les publicités sur iPhone / iPad / PC et autres avec un Raspberry Pi" data-image-description="<p>Tuto : Bloquer toutes les publicités sur iPhone / iPad / PC et autres avec un Raspberry Pi</p>
" data-medium-file="http://www.place4geek.com/blog/wp-content/uploads/2015/04/proxy-ios-169x300.png" data-large-file="http://www.place4geek.com/blog/wp-content/uploads/2015/04/proxy-ios-576x1024.png" style="border: 2px solid rgb(207, 207, 207); vertical-align: baseline; padding: 0px; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" data-selected="false"></a></span></dt><dd id="gallery-1-17275" class="wp-caption-text gallery-caption"><span class="fs12">Voici la configuration sous iPhone, il faut cliquer sur le petit icone (i) à côté du nom de votre réseau Wifi pour accéder à cette page et modifier la configuration du proxy</span></dd></dl><span class="fs12"><br class=""></span><dl class="imTACenter gallery-item"><dt class="gallery-icon landscape"><span class="fs12 cf1"><a href="http://www.place4geek.com/blog/wp-content/uploads/2015/04/proxy-chrome.png"><img width="300" height="229" src="http://www.place4geek.com/blog/wp-content/uploads/2015/04/proxy-chrome-300x229.png" class="attachment-medium size-medium" alt="Tuto : Bloquer toutes les publicités sur iPhone / iPad / PC et autres avec un Raspberry Pi" aria-describedby="gallery-1-17273" srcset="http://www.place4geek.com/blog/wp-content/uploads/2015/04/proxy-chrome-300x229.png 300w, http://www.place4geek.com/blog/wp-content/uploads/2015/04/proxy-chrome.png 953w" sizes="(max-width: 300px) 100vw, 300px" data-attachment-id="17273" data-orig-file="http://www.place4geek.com/blog/wp-content/uploads/2015/04/proxy-chrome.png" data-orig-size="953,728" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Tuto : Bloquer toutes les publicités sur iPhone / iPad / PC et autres avec un Raspberry Pi" data-image-description="<p>Tuto : Bloquer toutes les publicités sur iPhone / iPad / PC et autres avec un Raspberry Pi</p>
" data-medium-file="http://www.place4geek.com/blog/wp-content/uploads/2015/04/proxy-chrome-300x229.png" data-large-file="http://www.place4geek.com/blog/wp-content/uploads/2015/04/proxy-chrome.png" style="border: 2px solid rgb(207, 207, 207); vertical-align: baseline; padding: 0px; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" data-selected="false"></a></span></dt><dd id="gallery-1-17273" class="wp-caption-text gallery-caption"><span class="fs12">Aller dans les paramètres de Google Chrome pour retrouver cette interface</span></dd></dl><span class="fs12"><br class=""></span><dl class="imTACenter gallery-item"><dt class="gallery-icon landscape"><span class="fs12 cf1"><a href="http://www.place4geek.com/blog/wp-content/uploads/2015/04/proxy-firefox.jpg"><img width="300" height="247" src="http://www.place4geek.com/blog/wp-content/uploads/2015/04/proxy-firefox-300x247.jpg" class="attachment-medium size-medium" alt="Tuto : Bloquer toutes les publicités sur iPhone / iPad / PC et autres avec un Raspberry Pi" aria-describedby="gallery-1-17274" srcset="http://www.place4geek.com/blog/wp-content/uploads/2015/04/proxy-firefox-300x247.jpg 300w, http://www.place4geek.com/blog/wp-content/uploads/2015/04/proxy-firefox-1024x842.jpg 1024w, http://www.place4geek.com/blog/wp-content/uploads/2015/04/proxy-firefox.jpg 1070w" sizes="(max-width: 300px) 100vw, 300px" data-attachment-id="17274" data-orig-file="http://www.place4geek.com/blog/wp-content/uploads/2015/04/proxy-firefox.jpg" data-orig-size="1070,880" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Tuto : Bloquer toutes les publicités sur iPhone / iPad / PC et autres avec un Raspberry Pi" data-image-description="<p>Tuto : Bloquer toutes les publicités sur iPhone / iPad / PC et autres avec un Raspberry Pi</p>
" data-medium-file="http://www.place4geek.com/blog/wp-content/uploads/2015/04/proxy-firefox-300x247.jpg" data-large-file="http://www.place4geek.com/blog/wp-content/uploads/2015/04/proxy-firefox-1024x842.jpg" style="border: 2px solid rgb(207, 207, 207); vertical-align: baseline; padding: 0px; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" data-selected="false"></a></span></dt><dd id="gallery-1-17274" class="wp-caption-text gallery-caption"><span class="fs12">Même chose ici sous Firefox, il faut rentrer les informations du proxy dans les options du navigateur</span></dd></dl><span class="fs12"><br class=""></span></div><p class=""><span class="fs12">Voilà votre navigateur est désormais configuré pour passer par le Raspberry Pi qui se chargera de filtrer toutes les publicités.</span></p><p class=""><span class="fs12">Pour vérifier que le proxy est bien en place entrez l’url suivante dans votre navigateur :</span></p><blockquote class=""><p class=""><span class="fs12 cf1"><a href="http://config.privoxy.org/">http://config.privoxy.org/</a></span></p></blockquote><p class=""><span class="fs12">Vous devriez avoir une page Web affichant le message suivant :</span></p><blockquote class=""><p class=""><span class="fs12">This is Privoxy 3.0.23 on raspberrypi.local (192.168.0.40), port 8118, enabled</span></p></blockquote><p class=""><span class="fs12">Voilà c’est à peu près tout.</span></p><p class=""><span class="fs12">Pour vous résumer un peu la chose sous un iPhone ou iPad par exemple toutes les publicités seront bloquées lorsque vous surferez sous Safari / Chrome ou autre, mais aussi dans toutes les applications qui avaient pour habitude de vous afficher une bannière de publicité ou vous lancer une vidéo etc…</span></p><p class=""><span class="fs12">Cela fonctionne plutôt bien et dans 95% des cas on ne voit jamais de publicités, sauf si la publicité est “codée en dur” avec une image statique ou une vidéo enregistrée dans l’application elle-même.</span></p><p class=""><span class="fs12">Si vous souhaitez faire fonctionner le blocage des publicités en dehors de votre réseau Wifi il va falloir soit utiliser un VPN pour se connecter chez vous depuis l’extérieur (un Raspberry Pi peut faire l’affaire), soit ouvrir le port 8118 sur votre routeur et le rediriger vers le Raspberry Pi (il vaudra mieux prévoir une authentification tout de même).</span></p></div></div>]]></description>
			<pubDate>Tue, 31 Mar 2015 21:42:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?bloquer-toutes-les-publicites-sur-iphone---ipad---pc-et-autres-avec-un-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/5u8zax45</guid>
		</item>
		<item>
			<title><![CDATA[Installer un serveur Minecraft sur votre Raspberry Pi 2 !]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_2r72086a"><div id="post-media" class="clr cf1" style="margin: 0px 0px 30px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; position: relative; text-align: justify; widows: 1;"><img src="http://raspbian-france.fr/wp-content/uploads/2015/03/minecraft-637x320.jpg" alt="Installer un serveur Minecraft sur votre Raspberry Pi 2 !" style="padding: 0px; border-width: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; max-width: 100%; height: auto; display: block;" data-selected="false"></div><h1 class="post-title cf2" style="margin: 0px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Installer un serveur Minecraft sur votre Raspberry Pi 2 !</span></h1><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Suite à la sortie récente <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Raspberry Pi 2" href="http://www.amazon.fr/gp/product/B00T2U7R7I/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00T2U7R7I&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=2DCECXHBPLWGSGNR" target="_blank" rel="nofollow">de la Raspberry pi 2</a></span>, avec son lot de <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="La Raspberry Pi 2, une vraie révolution !" href="http://raspbian-france.fr/raspberry-pi-2/" target="_blank">nouveautés techniques</a></span>,<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">nous avons repensé aux projets que nous avions refoulés à cause de la vitesse des anciens modèles de Raspberry Pi.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Pour rappel, la Raspberry pi 2 dispose maintenant d’un processeur ARMv7, 4 cœurs, cadencé à 1GHz, ainsi que d’une RAM boostée à 1Go ! <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Cette nouvelle raspberry pi ouvre donc la porte à une multitude de projets inenvisageables jusqu’à aujourd’hui.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Dans l’ensemble de ces projets, nous avons notamment pensé <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">à la création d’un serveur Minecraft sur la Raspberry Pi.</span><br>Nous allons donc ici vous proposer un tutoriel qui portera sur <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">comment installer un serveur Minecraft sur la Raspberry Pi 2.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16"> </span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Minecraft, c’est quoi ?</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">D’accord, si vous êtes ici il est quasiment certain que vous savez déjà tout de Minecraft, mais reprécisons tout de même au cas où.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Minecraft est un jeu sorti officiellement en 2011 et fruit du travail intensif du développeur Notch et aujourd’hui développé par la société Mojang. Minecraft est une référence dans le monde du jeu dit « Bac à sable ».</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; vertical-align: baseline;" class="fs16">Minecraft a connu un succès absolument énorme, au point d’être aujourd’hui un des jeux les plus populaires au monde !</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16"> </span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Un serveur Minecraft sur la Raspberry Pi, pourquoi faire ?</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Minecraft propose un mode multijoueurs, où plusieurs utilisateurs se connectent sur un serveur central. C<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">’est ce serveur Minecraft central que nous vous proposons d’installer ici sur votre Raspberry Pi.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Il existe des solutions payantes afin d’avoir son propre serveur, néanmoins, ceux-ci sont très rapidement bridés par le nombre de joueurs connectés simultanément ou par l’administration du serveur.<br>Avec la puissance de la <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Raspberry Pi modèle 2B" href="http://www.amazon.fr/gp/product/B00T2U7R7I/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00T2U7R7I&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=2DCECXHBPLWGSGNR" target="_blank" rel="nofollow">Raspberry Pi 2</a></span>, nous pouvons maintenant réellement monter nous même<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"> notre propre serveur Minecraft.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">En effet, si il était déjà possible d’installer un serveur Minecraft sur les anciennes Raspberry Pi, celles-ci se retrouvaient très rapidement submergées, faute de puissance de calcul, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">un problème aujourd’hui réglé avec la Raspberry Pi 2.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16"> </span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Installer le serveur Minecraft sur la Raspberry Pi 2.</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">L’installation d’un serveur Minecraft sur la Raspberry Pi 2 est relativement simple (plus que sur les générations précédentes qui demandaient souvent d’êtres overclockées, ce qui n’est plus le cas).</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Tout d’abord, nous allons mettre à jour notre Raspberry Pi 2,<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"> une opération que l’on devrait toujours effectuer avant toute installation.</span> Pour cela, il vous suffit d’utiliser la commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><div id="highlighter_272473" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">3</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get update -y</code></span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get upgrade -y</code></span></div></div></td></tr></tbody></table></div></div><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Installer Java sur votre Raspberry Pi</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Vous le savez peut-être,<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"> Minecraft est un jeu développé en Java</span>. Nous allons donc devoir <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">installer Java 7 sur notre Raspberry Pi.</span> Pour ce faire, nous allons le chercher dans les dépôts Raspbian. Il vous suffit pour cela de lancer la commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><div id="highlighter_189953" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get </code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">oracle-java7-jdk</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Java est maintenant installé sur votre Raspberry Pi.</span></p><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Télécharger le serveur sur la Raspberry Pi</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Afin de garder<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"> un système Raspbian propre et bien organisé,</span> nous allons créer un dossier spécialement pour le serveur Minecraft.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Le dossier peut être placé n’importe où sur la Raspberry Pi, et peut s’appeler comme bon vous semble, mais pour des raisons de lisibilité, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">nous vous conseillons d’appeler le dossier « ServeurMinecraft », et de le mettre dans le dossier de l’utilisateur « pi ».</span> Pour cela, exécutez la commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><div id="highlighter_231075" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">mkdir</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/home/pi/ServeurMinecraft</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16"><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Nous allons entrer dans le dossier créé et télécharger les fichiers du serveur Minecraft sur la Raspberry Pi 2.</span><br>Le lien ici fourni retourne systématiquement la dernière version de Minecraft, si vous souhaitez installer une version plus ancienne, vous devrez chercher le lien sur le site officiel.</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><div id="highlighter_645902" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">3</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 1127px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">cd</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/home/pi/ServeurMinecraft</code></span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">wget -O minecraft-server.jar https:</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">//s3</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.amazonaws.com</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/Minecraft</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.Download</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/versions/1</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.8.7</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/minecraft_server</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.1.8.7.jar</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Nous avons donc <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">téléchargé le serveur Minecraft sur notre Raspberry Pi</span>, nous allons maintenant lui donner les droits adaptés pour qu’il puisse se lancer, pour cela, dans un souci de simplicité, n<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">ous allons ajouter les droits d’exécution sur le fichier à tous les utilisateurs.</span> Les linuxiens les plus barbus d’entre-vous peuvent biens sûr chercher comment réduire les autorisations au strict minimum.<br>Pour ajouter les droits d’exécution sur le serveur, utilisez la commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><div id="highlighter_869278" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">chmod</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">+x minecraft-server.jar</code></span></div></div></td></tr></tbody></table></div></div><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Lancer le serveur Minecraft</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Notre serveur Minecraft est désormais installé sur la Raspberry Pi, et possède les droits nécessaires à son exécution, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">il ne nous reste donc plus qu’à le lancer !</span><br>Pour lancer le serveur Minecraft, il vous suffit de lancer la commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><div id="highlighter_712263" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs16 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">java -Xms512M -Xmx900M -jar minecraft-server.jar nogui</code></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Détaillons rapidement la commande, le paramètre -Xms défini la RAM minimum allouée à Minecraft, ici 512Mo, -Xmx défini la RAM maximum, ici 900Mo, enfin le paramètre nogui indique de lancer le serveur sans interface graphique. Les autres paramètres indiquent simplement à Java de lancer le serveur Minecraft.</span></p><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Accepter les conditions d’utilisation</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Lors de ce premier lancement, le serveur devrait retourner une erreur de ce type : « You need to agree to the EULA in order to run the server. Go to eula.txt for more info. »</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Cela signifie simplement que vous devez accepter les conditions d’utilisation de EULA, un système mis en place à partir de la version 1.7. Pour cela modifiez le fichier « /home/pi/ServeurMinecraft/eula.txt » et remplacez la ligne « eula=false » en « eula=true ».</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Maintenant que vous avez accepté les conditions d’utilisation, vous pouvez relancer la commande précédente.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Une fois cette commande exécutée, le serveur se lance. <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Étant donné que nous le lançons pour la première fois sur la Raspberry Pi, cela va prendre un peu de temps, le serveur doit en effet créer les fichiers nécessaires et générer la carte du jeu.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16"> </span></p><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Lancer automatiquement le serveur Minecraft au démarrage de la Raspberry Pi</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Il peut se révéler très utile que le serveur Minecraft se lance automatiquement quand la Raspberry Pi démarre,<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"> notamment dans le cas où vous auriez une coupure de courant ou tout autre événement qui amènerait votre Raspberry Pi à redémarrer.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Dans un premier temps, nous allons créer un fichier « runMinecraftServer.sh » dans le dossier du serveur, qui permettra de lancer le serveur quand il est exécuté, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">pour le créer vous pouvez utiliser l’éditeur de votre choix, par exemple Nano</span>, la commande sera alors « sudo nano runMinecraftServer.sh ».<br>Le fichier « runMinecraftServer.sh » devra contenir les lignes suivantes :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><div id="highlighter_477250" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">3</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 801px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><b><code class="bash preprocessor bold fs16 cf6 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">#!/bin/sh</code></b></div><div class="line number2 index1 alt1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number3 index2 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">java -Xms512M -Xmx900M -jar </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/home/pi/ServeurMinecraft/minecraft-server</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.jar nogui</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Nous allons maintenant ajouter les droits d’exécution sur le fichier, comme nous l’avions fait pour le serveur Minecraft :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><div id="highlighter_701101" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">chmod</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">+x runMinecraftServer.sh</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16"><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Enfin, nous allons lancer ce fichier au démarrage de la Raspberry Pi, de façon à ce que le serveur Minecraft se lance automatiquement.</span> Pour cela il nous suffit de le placer dans le dossier « /etc/init.d » à l’aide de la commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><div id="highlighter_225236" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">mv</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">runMinecraftServer.sh </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/init</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.d/</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Voilà, votre serveur Minecraft démarrera en même temps que votre Raspberry Pi !</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16"> </span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Rendre le serveur Minecraft accessible par internet</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Nous disposons maintenant d’un serveur Minecraft sur notre Raspberry Pi. C’est bien joli, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">mais si nous ne pouvons pas accéder au serveur depuis l’extérieur, cela n’est pas très utile.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Nous allons donc devoir<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"> permettre l’accès à la Raspberry Pi par internet.</span> Pour cela, nous vous redirigeons vers notre article sur la <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Mettre en ligne votre serveur web Raspbian, DynDNS et port forwarding" href="http://raspbian-france.fr/mettre-en-ligne-serveur-web-raspbian-dydns-port-forwarding/" target="_blank">mise en ligne d’un serveur web raspbian dydns port forwarding</a></span>, section « Rediriger les requêtes vers le serveur Apache sur Raspbian ».</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Dans cet article nous parlons d’apache pour Raspbian, mais la technique pour Minecraft est la même. <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Seule différence, vous devrez à la place du port 80 ouvrir le port TCP 25565, qui est le port par défaut de Minecraft.</span></span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Conclusion</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16"><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Nous avons installé un serveur Minecraft sur notre Raspberry Pi 2.</span><br>Un tel serveur devrait permettre de gérer entre 8 et 10 personnes de façon simultanée, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">à condition que votre connexion internet vous offre un débit suffisant.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16"><br>Il ne s’agit bien-entendu pas d’un serveur surpuissant, mais il devrait être largement suffisant pour une utilisation personnelle.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Vous avez maintenant tous les cubes en mains pour gérer votre serveur Minecraft sur votre Raspberry Pi.<br>Nous espérons que vous passerez de très bonnes heures de jeu !</span></p></div>]]></description>
			<pubDate>Fri, 06 Mar 2015 10:02:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?installer-un-serveur-minecraft-sur-votre-raspberry-pi-2--</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/2r72086a</guid>
		</item>
		<item>
			<title><![CDATA[Prendre une capture d’écran du Raspberry pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_9o0st5nc"><header class="entry-header cf2"><h1 class="entry-title cf1"><span class="fs12">Prendre une capture d’écran du Raspberry pi</span></h1></header><div class="mt1 entry-content content cf2"><p class="mb1"><span class="fs12">Je vais vous montrer comment prendre une <span class="">capture d’écran de votre Raspberry pi</span>, ainsi vous pourrez partager votre expérience avec d’autres.</span></p><h2 class="cf1"><span class="fs12">Installation de Scrot</span></h2><p class="mb1"><span class="fs12">Tout d’abord, il faut installer l’utilitaire qui va vous permettre de faire des captures d’écran. Ouvrez un terminal et tapez la commande suivante :</span></p><pre class="mt2 mb1 cf3"><span class="fs12 ff1">sudo apt-get install scrot</span></pre><h2 class="cf1"><span class="fs12">Utiliser Scrot</span></h2><p class="mb1"><span class="fs12">Pour prendre une capture de la totalité de l’écran :</span></p><pre class="mt2 mb1 cf3"><span class="fs12 ff1">sudo scrot</span></pre><p class="mb1"><span class="fs12">Pour prendre une capture après un délai de 10 secondes :</span></p><pre class="mt2 mb1 cf3"><span class="fs12 ff1">sudo scrot-d10</span></pre><p class="mb1"><span class="fs12">Pour prendre une capture après un délai de 5 secondes :</span></p><pre class="mt2 mb1 cf3"><span class="fs12 ff1">sudo scrot -d5</span></pre><p class="mb1"><span class="fs12">Pour prendre une capture et régler la qualité de l’image (qui est par défaut 75)</span></p><pre class="mt2 mb1 cf3"><span class="fs12 ff1">sudo scrot -q70</span></pre><p class="mb1"><span class="fs12">Par défaut, la capture d’écran en .png sera stocké dans répertoire courant (pi) dans un fichier nommé par la date et l’heure. </span></p><h2 class="cf1"><span class="fs12">En savoir plus</span></h2><p class="mb1"><span class="fs12">Pour afficher la liste des commandes de scrot :</span></p><pre class="mt2 mb1 cf3"><span class="fs12 ff1">sudo scrot-h</span></pre></div></div>]]></description>
			<pubDate>Tue, 10 Feb 2015 22:13:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?prendre-une-capture-d-ecran-du-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/9o0st5nc</guid>
		</item>
		<item>
			<title><![CDATA[Une alternative à Popcorn time sur KODI/XBMC : Pulsar]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_6ivxz939"><header class="entry-header page-header cf2"><h1 class="entry-title &nbsp;cf1"><span class="fs12">Une alternative à Popcorn time sur KODI/XBMC : Pulsar</span></h1></header><div class="entry-content cf2"><p class="mb1"><span class="fs12">Mettre en place une alternative à la solution <span class="">Popcorn Time</span> pour votre média-center <span class="">Kodi/XBMC</span> sur le <span class="">Raspberry-Pi</span>. La solution présentée ici ce nomme <span class="">Pulsar.</span></span></p><p class="mb1"><span id="more-5864" class="fs12"></span></p><p class="mb1"><span class="fs12"><span class="">Pulsar </span>est une extension pour Kodi media-center vous permettant de « streamer » un film ou l’épisode d’une série depuis un fichier torrent présent sur le Web.</span></p><p class="mb1"><span class="fs12">Voici ci-dessous les éléments et la marche à suivre pour <span class="">installer</span> et <span class="">configurer</span> cette extension.</span></p><div class="encart prerequis"><span class="fs12">PRE-REQUIS</span><p class="mb1"></p><p class="mb1"><span class="fs12">Tutoriels :</span></p><ul class="mb1"><li class=""><span class="fs12"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink"><span class="cf3">Openelec</span><span class="cf3"> </span>ou <span class="cf3">RaspBmc</span></a></span></li></ul><p class="mb1"><span class="fs12">Matériel :</span></p><ul class="mb1"><li class=""><span class="fs12">Clé USB, un NAS, ou un disque dur externe.</span></li></ul><p class="mb1"><span class="fs12">Logiciel/Application :</span></p><ul class="mb1"><li class=""><span class="fs12 cf3"><a href="http://www.raspberry-pi.ovh/files/repository.pulsarunofficial-1.0.1.zip" target="_blank" class="imCssLink">Zip de Pulsar</a></span></li></ul><p class="mb1"></p></div><h2 class="mt1 mb1 cf1"><span id="Preparation" class="fs12">Préparation</span></h2><p class="mb1"><span class="fs12">Pour commencer, télécharger la source <span class="">« non-officiel »</span> du <span class="cf3"><a href="http://www.raspberry-pi.ovh/files/repository.pulsarunofficial-1.0.1.zip" target="_blank" class="imCssLink">fichier Zip de pulsar</a></span>.</span></p><p class="mb1"><span class="fs12">Une fois le fichier Zip téléchargé, renommé le fichier comme suit <span class="">« repository.pulsarunofficial ».</span></span></p><p class="mb1"><span class="fs12">Copier ensuite le fichier sur une clé USB ou sur un NAS depuis un répertoire où vous pourrez accéder depuis Kodi/Xbmc.</span></p><h2 class="mt1 mb1 cf1"><span id="Installation_de_Pulsar" class="fs12">Installation de Pulsar</span></h2><p class="mb1"><span class="fs12">Passons maintenant à l’installation de Pulsar.</span></p><p class="mb1"><span class="fs12">Démarrer votre Raspberry-Pi, puis une fois dans le menu principal procéder comme ci-dessous.</span></p><figure id="attachment_468" class="thumbnail wp-caption aligncenter"><span class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2013/01/screenshot002.png" data-rel="lightbox-0" title="" sl-processed="1" class="inline-block"><img title="kodi-system" src="http://www.windtopik.fr/wp-content/uploads/2013/01/screenshot002-300x168.png" alt="kodi-system" width="300" height="168" class="wp-image-468 size-medium" data-selected="false"></a></span><figcaption class="imTACenter caption wp-caption-text cf4"><span class="fs12">Menu &gt; System</span></figcaption></figure><p class="mb1"><em class=""><span class="fs12">Système &gt; Paramètres &gt; Extensions &gt;</span></em></p><p class="mb1"><span class="fs12">Cliquer maintenant sur <span class="">« installer depuis un fichier Zip ».</span></span></p><p class="mb1"><span class="fs12">Naviguer alors vers l’emplacement où vous avez enregistré le fichier et <span class="">valider</span>. (<em class="">Un message devrait alors apparaître pour vous spécifier l’activation du plugin).</em></span></p><p class="mb1"><span class="fs12">Ensuite, naviguer dans le menu comme suit &nbsp;:</span></p><p class="mb1"><span class="fs12"><em class=""><span class="">Télécharger des Extensions &gt; Pulsar Unofficial repo &gt; Extensions vidéo &gt; Pulsar</span></em><span class=""> &gt;</span></span></p><p class="mb1"><span class="fs12">Et valider avec <span class="">« Installer »</span>.</span></p><p class="mb1"><span class="fs12">L’extension devrait télécharger et installer le paquet.</span></p><p class="mb1"><span class="fs12">Une fois terminé, vous devez avoir <span class="">« activé »</span> en face de <span class="">Pulsar</span>.</span></p><h2 class="mt1 mb1 cf1"><span id="Installation_des_sourcesProviders" class="fs12">Installation des sources (Providers)</span></h2><p class="mb1"><span class="fs12">Maintenant nous allons définir des sources pour Pulsar.</span></p><p class="mb1"><span class="fs12">Revenez &nbsp;en arrière dans l’arborescence puis cliquer sur <span class="">« Extensions programme ».</span> Sélectionner alors les sources qui vous intéressent pour pouvoir lire les différents médias (Films, Séries TV).</span></p><p class="mb1"><span class="fs12">Sélectionner uniquement les sources disposant du mot <span class="">« pulsar »</span> dans la liste.</span></p><div class="encart info"><span class="fs12">N’hésitez pas à installer plusieurs sources pour avoir plus de chance de trouver des fichiers torrents correspondants aux médias.</span></div><h2 class="mt1 mb1 cf1"><span id="Configuration_de_KODIXBMC" class="fs12">Configuration de KODI/XBMC</span></h2><h3 class="mt1 mb1 cf1"><span id="Autorisation_de_controle" class="fs12">Autorisation de contrôle</span></h3><p class="mb1"><span class="fs12">Enfin, si ce n’est pas déjà fait, il va falloir autoriser le programme à prendre le contrôle du média-center. Soit :</span></p><p class="mb1"><span class="fs12"><em class="">Système &gt; Services &gt;</em> <em class="">Télécommande &nbsp;&gt;</em></span></p><p class="mb1"><span class="fs12">Cocher alors les champs suivants :</span></p><ul class="mb1"><li class=""><span class="fs12">Autoriser le contrôle de Kodi par des programmes locaux</span></li><li class=""><span class="fs12">Autoriser le contrôle de Kodi par des programmes distants</span></li></ul><h3 class="mt1 mb1 cf1"><span id="Choix_du_langage" class="fs12">Choix du langage</span></h3><p class="mb1"><span class="fs12">Afin de trouver les sous-titres en <span class="">français</span>, nous allons configurer le choix de la langue par défaut.</span></p><p class="mb1"><span class="fs12"><em class="">Système &gt; Vidéos &gt;</em> <em class="">sous-titre &gt;</em></span></p><p class="mb1"><span class="fs12">Changer alors les options suivantes :<span class=""><em class=""><br class=""></em></span></span></p><ul class="mb1"><li class=""><span class="fs12"><em class="">Langue pour </em><em class="">les sous-titres à télécharger</em><em class=""><br class=""></em></span></li><li class=""><span class="fs12"><em class="">Langue préférée pour </em><em class="">les sous-titres</em><em class=""><br class=""></em></span></li></ul><p class="mb1"><span class="fs12">Sélectionner alors <span class="">« french » </span>pour les deux options. <em class="">(n’oublier pas de dé-valider « English »)<span class="">.<br class=""></span></em></span></p><div class="encart warning"><span class="fs12">Suite aux modifications, redémarrer votre Raspberry-Pi pour prendre en compte l’ensemble des modifications.</span></div><h2 class="mt1 mb1 cf1"><span id="Test_de_Pulsar" class="fs12">Test de Pulsar</span></h2><p class="mb1"><span class="fs12">Enfin, vous allez pouvoir tester l’application.</span></p><p class="mb1"><span class="fs12"><em class=""><span class="">Vidéo &gt; Extension &gt; Pulsar &gt;</span> </em>Sélectionner le type de média désiré dans la liste (Films, SériesTV, …).</span></p><p class="mb1"><span class="fs12">Exemple de la catégorie <span class="">« TV Show »</span> en images :</span></p><div id="gallery-1" class="mb2 gallery galleryid-5864 gallery-columns-2 gallery-size-thumbnail"><figure class="gallery-item"><div class="gallery-icon landscape"><span class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2015/02/pulsar01.jpg" data-rel="lightbox-gallery-1" sl-processed="1" class="inline-block"><img width="150" height="150" src="http://www.windtopik.fr/wp-content/uploads/2015/02/pulsar01-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="o > Extensions > Pulsar > TV Show" aria-describedby="gallery-1-6173" srcset="http://www.windtopik.fr/wp-content/uploads/2015/02/pulsar01-150x150.jpg 150w, http://www.windtopik.fr/wp-content/uploads/2015/02/pulsar01-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%;" data-selected="false"></a></span></div><figcaption id="gallery-1-6173" class="wp-caption-text gallery-caption cf5"><span class="fs12">o &gt; Extensions &gt; Pulsar &gt; TV Show</span></figcaption></figure><figure class="gallery-item"><div class="gallery-icon landscape"><span class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2015/02/pulsar-kodi.jpg" data-rel="lightbox-gallery-1" sl-processed="1" class="inline-block"><img width="150" height="150" src="http://www.windtopik.fr/wp-content/uploads/2015/02/pulsar-kodi-150x150.jpg" alt="pulsar-kodi" aria-describedby="gallery-1-6172" srcset="http://www.windtopik.fr/wp-content/uploads/2015/02/pulsar-kodi-150x150.jpg 150w, http://www.windtopik.fr/wp-content/uploads/2015/02/pulsar-kodi-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" class="attachment-thumbnail size-thumbnail" data-selected="false"></a></span></div><figcaption id="gallery-1-6172" class="wp-caption-text gallery-caption cf5"><span class="fs12">Video &gt; Extensions &gt; Pulsar &gt; TV Show</span></figcaption></figure></div><p class="mb1"><br></p><p class="mb1"><br></p><p class="mb1"><br></p><p class="mb1"><br></p><p class="mb1"><br></p><p class="mb1"><br></p><p class="mb1"><span class="fs12">Voilà, j’espère que ce tutoriel vous aura été utile.</span></p><p class="mb1"><br></p></div></div>]]></description>
			<pubDate>Fri, 09 Jan 2015 13:07:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?une-alternative-a-popcorn-time-sur-kodi-xbmc---pulsar</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/6ivxz939</guid>
		</item>
		<item>
			<title><![CDATA[Configurer une connexion WiFi sur le Raspberry-Pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_izx0b5sf"><header class="entry-header page-header cf2" style="box-sizing: border-box; padding-bottom: 0px; margin: 0px 0px 20px; border-bottom-width: 0px; line-height: 23.8px; widows: 1;"><h1 class="entry-title &nbsp;cf1" style="box-sizing: border-box; margin: 0px 0px 30px; line-height: 1.1;"><span class="fs12">Configurer une connexion WiFi sur le Raspberry-Pi</span></h1></header><div class="entry-content cf2" style="box-sizing: border-box; margin: 1.5em 0px 0px; line-height: 23.8px; widows: 1;"><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Nous allons voir dans ce tutoriel, comment configurer une connexion WiFi sur notre petite machine. En effet, il peut-être intéressant selon l’utilisation que l’on souhaite apporté à notre RPi de se passer d’une connexion Ethernet traditionnel pour une connexion sans-fil.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span id="more-5411" style="box-sizing: border-box;" class="fs12"></span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><br></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Nous allons pour se faire utilise le logiciel <span style="box-sizing: border-box; font-weight: 700;">wpa_supplicant</span>.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><br></p><div class="encart info" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(216, 216, 235); background-image: url(http://rendering/images/info.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;"><span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a title="Wi-Fi Protected Access" href="http://fr.wikipedia.org/wiki/Wi-Fi_Protected_Access" sl-processed="1">wpa_supplicant</a></span></span> est un logiciel libre implémentant IEEE 802.11i (les mécanismes de sécurité du sans-fil) sous Linux, Windows. Il prend notamment en charge WPA2 et les versions antérieures. <em style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://fr.wikipedia.org/wiki/Wpa_supplicant" target="_blank" sl-processed="1">En savoir plus..</a></span></em></span></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">La mise en place est plutôt simple, nous allons voir tout ceci en détail ci-dessous.</span></p><div class="encart prerequis" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(216, 216, 235); background-image: url(http://rendering/images/clipboard.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span style="box-sizing: border-box; font-weight: 700;" class="fs12">PRE-REQUIS</span><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span style="box-sizing: border-box; font-weight: 700;" class="fs12">Matériels :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li dir="ltr" style="box-sizing: border-box;"><span class="fs12">Raspberry-Pi <span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://www.amazon.fr/gp/product/B008PT4GGC/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B008PT4GGC&amp;linkCode=as2&amp;tag=windtopik-21&amp;linkId=KEAICKABIWMCTGCA" target="_blank" sl-processed="1">Model B,</a></span> <span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://www.amazon.fr/gp/product/B00LPESRUK/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00LPESRUK&amp;linkCode=as2&amp;tag=windtopik-21&amp;linkId=7XLYXPTK766M22Y2" target="_blank" sl-processed="1">Model B+</a></span>.</span></li><li dir="ltr" style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B003VNKNEG/ref=as_li_tf_tl?ie=UTF8&amp;tag=windtopik-21&amp;linkCode=as2&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B003VNKNEG" sl-processed="1">Carte Mémoire SDHC Class 10 8 Go</a></span></li><li dir="ltr" style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B003L1ZYYM/ref=as_li_tf_tl?ie=UTF8&amp;tag=windtopik-21&amp;linkCode=as2&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B003L1ZYYM" sl-processed="1">Câble HDMI</a></span></li><li dir="ltr" style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B009FA2UYK/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B009FA2UYK&amp;linkCode=as2&amp;tag=windtopik-21&amp;linkId=IYTFLKHZ3QOPQQSD" target="_blank" sl-processed="1">Adaptateur USB WiFi</a></span></li><li dir="ltr" style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a id="static_txt_preview" href="http://www.amazon.fr/gp/product/B005ZHD2LC/ref=as_li_tf_tl?ie=UTF8&amp;camp=2522&amp;creative=9474&amp;creativeASIN=B005ZHD2LC&amp;link_code=as3&amp;tag=guita0f-21" target="_blank" sl-processed="1">Chargeur smartphone</a></span></li><li dir="ltr" style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B003V4A5UW/ref=as_li_tf_tl?ie=UTF8&amp;tag=windtopik-21&amp;linkCode=as2&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B003V4A5UW" sl-processed="1">Clavier et Souris USB</a></span></li><li dir="ltr" style="box-sizing: border-box;"><span class="fs12">Un moniteur (Écran)</span></li></ul><p style="box-sizing: border-box; margin-bottom: 10px;"><span style="box-sizing: border-box; font-weight: 700;" class="fs12">Tutoriel :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span class="fs12"><span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a title="Installation et configuration de Raspbian " href="http://www.windtopik.fr/?p=285" sl-processed="1">Installation et configuration de Raspbian</a></span> ou <span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://www.windtopik.fr/noobs/" target="_blank" sl-processed="1">Avec NOOBS</a></span></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a title="Connexion en SSH et VNC sur le Raspberry-Pi" href="http://www.windtopik.fr/ssh-vnc-raspberrypi/" sl-processed="1">Connexion en SSH et VNC sur le Raspberry-Pi</a></span></li></ul><p style="box-sizing: border-box; margin-bottom: 10px;"></p></div><div id="toc_container" class="no_bullets contracted" style="box-sizing: border-box; border: 1px solid rgb(170, 170, 170); padding: 10px; margin-bottom: 1em; width: auto; display: table; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><p class="toc_title" style="box-sizing: border-box; text-align: center; font-weight: 700;"><span class="fs12">Sommaire <span class="toc_toggle" style="box-sizing: border-box; font-weight: 400;">[<span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; text-shadow: none; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://www.windtopik.fr/configurer-wifi-raspberry-pi/#" sl-processed="1">Afficher</a></span>]</span></span></p></div><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Preparation_du_Raspberry-Pi" style="box-sizing: border-box;" class="fs12">Préparation du Raspberry-Pi</span></h2><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Pour commencer, nous allons devoir connecter le Raspberry-Pi en Ethernet afin de préparer la machine à l’installation et la configuration du WiFi.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Brancher l’adaptateur WiFi et brancher votre Raspberry-Pi. Connecter-vous maintenant à votre RPi en SSH.</span></p><h3 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Mise_a_jour_de_Raspbian" style="box-sizing: border-box;" class="fs12">Mise à jour de Raspbian</span></h3><div style="box-sizing: border-box;"><div id="highlighter_55987" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get update</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get upgrade</code></span></div></div></td></tr></tbody></table></div></div><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Installation_de_WPA_supplicant" style="box-sizing: border-box;" class="fs12">Installation de WPA_supplicant</span></h2><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">On lance la commande suivante pour s’assurer que le paquet est bien installé sur notre distribution.</span></p><div style="box-sizing: border-box;"><div id="highlighter_448193" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get </code><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">wpasupplicant</code></span></div></div></td></tr></tbody></table></div></div><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Configuration_du_Wifi" style="box-sizing: border-box;" class="fs12">Configuration du Wifi</span></h2><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Nous allons maintenant passer à la configuration. On commence par récupérer l’identifiant de l’interface (<em style="box-sizing: border-box;">Généralement wlan0</em>) avec la commande suivante :</span></p><div style="box-sizing: border-box;"><div id="highlighter_802917" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell functions fs12 cf4 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ifconfig</code></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Vous devriez alors avoir quelque chose comme-ci dessous à l’écran :</span></p><figure id="attachment_5920" class="thumbnail wp-caption aligncenter" style="box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; line-height: 1.42857; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2015/01/ifconfig.png" data-rel="lightbox-0" title="" sl-processed="1"><img class="size-medium wp-image-5920" src="http://www.windtopik.fr/wp-content/uploads/2015/01/ifconfig-300x241.png" alt="ifconfig" width="300" height="241" srcset="http://www.windtopik.fr/wp-content/uploads/2015/01/ifconfig-300x241.png 300w, http://www.windtopik.fr/wp-content/uploads/2015/01/ifconfig.png 617w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf6" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Vue de la commande « ifconfig »</span></figcaption></figure><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Ensuite, on génère une version PSK du mot de passe WiFi :</span></p><div style="box-sizing: border-box;"><div id="highlighter_87920" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">wpa_passphrase </code><code class="shell string cf7" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"Votre_SSID"</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">On spécifie alors le mot de passe de notre SSID. Vous aurez alors les informations suivantes à l’écran :</span></p><div style="box-sizing: border-box;"><div id="highlighter_323369" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">3</span></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">4</span></div><div class="line number5 index4 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">5</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">network={</code></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell spaces cf8" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> &nbsp;&nbsp;&nbsp;</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ssid=</code><code class="shell string cf7" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"Votre_SSID"</code></span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell spaces cf8" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> &nbsp;&nbsp;&nbsp;</code><code class="shell comments cf9" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">#psk="mot_de_passe"</code></span></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell spaces cf8" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> &nbsp;&nbsp;&nbsp;</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">psk=75df8gs4df....</code></span></div><div class="line number5 index4 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">}</code></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">On copie maintenant la valeur de la ligne <span style="box-sizing: border-box; font-weight: 700;">PSK, </span>puis on édite le fichier <span style="box-sizing: border-box; font-weight: 700;">interfaces</span> comme ci-dessous.</span></p><div style="box-sizing: border-box;"><div id="highlighter_975536" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">nano </code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/network/interfaces</code></span></div></div></td></tr></tbody></table></div></div><div style="box-sizing: border-box;"><div id="highlighter_781122" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">3</span></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">4</span></div><div class="line number5 index4 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">5</span></div><div class="line number6 index5 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">6</span></div><div class="line number7 index6 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">7</span></div><div class="line number8 index7 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">8</span></div><div class="line number9 index8 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">9</span></div><div class="line number10 index9 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">10</span></div><div class="line number11 index10 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">11</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 591px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">auto lo</code></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">iface lo inet loopback</code></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">auto eth0</code></div><div class="line number5 index4 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">iface eth0 inet dhcp</code></div><div class="line number6 index5 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number7 index6 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">auto wlan0</code></div><div class="line number8 index7 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">allow-hotplug wlan0</code></div><div class="line number9 index8 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">iface wlan0 inet dhcp</code></div><div class="line number10 index9 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">wpa-ssid </code><code class="shell string cf7" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"Votre_SSID"</code></span></div><div class="line number11 index10 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">wpa-psk </code><code class="shell string cf7" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"Votre_mot_de_passe"</code></span></div></div></td></tr></tbody></table></div></div><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Redemarrage_et_test_du_WiFi" style="box-sizing: border-box;" class="fs12">Redémarrage et test du WiFi</span></h2><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Maintenant on redémarre notre Raspberry-Pi.</span></p><div style="box-sizing: border-box;"><div id="highlighter_126673" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">shutdown</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">now</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Débrancher maintenant le câble Ethernet et redémarrer votre RPi.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Voila, le WiFi est maintenant en place sur votre machine. <img src="http://www.windtopik.fr/wp-includes/images/smilies/simple-smile.png" alt=":)" class="wp-smiley" style="box-sizing: border-box; height: 1em; max-width: 100%; padding: 0px; max-height: 1em; vertical-align: -0.1em !important; display: inline !important; box-shadow: none !important; width: 1em !important; margin-right: 0.07em !important; margin-left: 0.07em !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-selected="false"></span></p><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Aller_plus_loin" style="box-sizing: border-box;" class="fs12">Aller plus loin</span></h2><h3 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Configuration_drsquoune_IP_Statique" style="box-sizing: border-box;" class="fs12">Configuration d’une IP Statique</span></h3><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Pour configurer l’adresse IP de votre Raspberry-Pi en statique (même adresse assigné par votre routeur/box). Modifier le fichier <span style="box-sizing: border-box; font-weight: 700;">interfaces</span> comme suit :</span></p><div style="box-sizing: border-box;"><div id="highlighter_168150" class="syntaxhighlighter &nbsp;applescript" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">3</span></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">4</span></div><div class="line number5 index4 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">5</span></div><div class="line number6 index5 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">6</span></div><div class="line number7 index6 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">7</span></div><div class="line number8 index7 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">8</span></div><div class="line number9 index8 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">9</span></div><div class="line number10 index9 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">10</span></div><div class="line number11 index10 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">11</span></div><div class="line number12 index11 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">12</span></div><div class="line number13 index12 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">13</span></div><div class="line number14 index13 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">14</span></div><div class="line number15 index14 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">15</span></div><div class="line number16 index15 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">16</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 591px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="applescript plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo nano </code><code class="applescript color2 cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/</code><code class="applescript plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">etc</code><code class="applescript color2 cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/</code><code class="applescript plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">network</code><code class="applescript color2 cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/</code><code class="applescript plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">interfaces</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="applescript plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">auto lo</code></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="applescript plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">iface lo inet loopback</code></div><div class="line number5 index4 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number6 index5 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="applescript plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">auto eth</code><code class="applescript color1 cf10" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">0</code></span></div><div class="line number7 index6 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="applescript plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">iface eth</code><code class="applescript color1 cf10" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">0</code> <code class="applescript plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">inet dhcp</code></span></div><div class="line number8 index7 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number9 index8 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="applescript plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">auto wlan</code><code class="applescript color1 cf10" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">0</code></span></div><div class="line number10 index9 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="applescript plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">allow</code><code class="applescript color2 cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-</code><code class="applescript plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">hotplug wlan</code><code class="applescript color1 cf10" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">0</code></span></div><div class="line number11 index10 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="applescript plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">iface wlan</code><code class="applescript color1 cf10" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">0</code> <code class="applescript plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">inet static</code></span></div><div class="line number12 index11 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="applescript color3 cf11" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">address</code> <code class="applescript color1 cf10" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">192.1</code><code class="applescript color1 cf10" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">68.1</code><code class="applescript plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.</code><code class="applescript color1 cf10" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">12</code></span></div><div class="line number13 index12 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="applescript plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">netmask </code><code class="applescript color1 cf10" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">255.2</code><code class="applescript color1 cf10" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">55.2</code><code class="applescript color1 cf10" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">55.0</code></span></div><div class="line number14 index13 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="applescript plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">gateway </code><code class="applescript color1 cf10" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">192.1</code><code class="applescript color1 cf10" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">68.1</code><code class="applescript plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.</code><code class="applescript color1 cf10" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">1</code></span></div><div class="line number15 index14 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="applescript plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">wpa</code><code class="applescript color2 cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-</code><code class="applescript plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ssid </code><code class="applescript string cf7" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"Votre_SSID"</code></span></div><div class="line number16 index15 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="applescript plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">wpa</code><code class="applescript color2 cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-</code><code class="applescript plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">psk </code><code class="applescript string cf7" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"Votre_mot_de_passe"</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Dans ce cas, nous aurons donc comme IP fixe le <span style="box-sizing: border-box; font-weight: 700;">192.168.1.12</span>.</span></p></div></div>]]></description>
			<pubDate>Thu, 11 Dec 2014 17:17:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?configurer-une-connexion-wifi-sur-le-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/izx0b5sf</guid>
		</item>
		<item>
			<title><![CDATA[Programmer un redémarrage automatique sur le Raspberry-Pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_jff4fbkv"><header class="entry-header page-header cf2" style="box-sizing: border-box; padding-bottom: 0px; margin: 0px 0px 20px; border-bottom-width: 0px; line-height: 23.8px; widows: 1;"><h1 class="entry-title &nbsp;cf1" style="box-sizing: border-box; margin: 0px 0px 30px; line-height: 1.1;"><span class="fs12">Programmer un redémarrage automatique sur le Raspberry-Pi</span></h1></header><div class="entry-content cf2" style="box-sizing: border-box; margin: 1.5em 0px 0px; line-height: 23.8px; widows: 1;"><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Dans le cas où vous utiliseriez votre Raspberry-Pi comme serveur (Téléchargements, NAS, Cloud, etc…) ou autre, il peut-être intéressant de planifier un redémarrage automatique de votre petite machine.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span id="more-5903" style="box-sizing: border-box;" class="fs12"></span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Pour ce faire, rien de plus simple, grâce au programme Unix qui se nomme <span style="box-sizing: border-box; font-weight: 700;">« Cron »</span>. Nous allons voir ici comment paramétrer cette commande.</span></p><div class="encart info" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(216, 216, 235); background-image: url(http://rendering/images/info.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">Cron</span> : programme qui permet aux utilisateurs des systèmes Unix d’exécuter automatiquement des scripts, des commandes ou des logiciels à une date et une heure spécifiées à l’avance, ou selon un cycle défini à l’avance. <em style="box-sizing: border-box;"><a href="http://fr.wikipedia.org/wiki/Cron" target="_blank" class="imCssLink"><span style="box-sizing: border-box; -webkit-transition: 0.3s; transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3">En savoir..</span>.</a></em></span></div><div class="encart prerequis" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(216, 216, 235); background-image: url(http://rendering/images/clipboard.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span style="box-sizing: border-box; font-weight: 700;" class="fs12">PRE-REQUIS</span><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">Tutoriels</span> :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">Installation et configuration de Raspbian « Wheezy »</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">Connexion en SSH et VNC sur le Raspberry-Pi</a></span></li></ul><p style="box-sizing: border-box; margin-bottom: 10px;"></p></div><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span class="fs12">Planification d’une tâche de redémarrage</span></h2><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Pour commencer, connectez-vous à votre Raspberry-Pi en SSH. Une fois connectée, lancer la commande ci-dessous qui va nous permet d’éditer le fichier contenant la liste des tâches.</span></p><div style="box-sizing: border-box;"><div id="highlighter_79764" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">nano </code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/crontab</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-e</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><br></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Les lignes se décomposent comme suit :</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><br></p><pre style="box-sizing: border-box; overflow: auto; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px;" class="cf6"><span class="fs12 ff1">mm hh jj MMM JJJ tâche utilisateur commande</span></pre><p style="box-sizing: border-box; margin-bottom: 10px;"><br></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Soit la définition suivante :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;"><tt style="box-sizing: border-box;">mm</tt> </span>: pour les minutes (de 0 à 59).</span></li><li style="box-sizing: border-box;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;"><tt style="box-sizing: border-box;">hh</tt> </span>: pour l’heure (de 0 à 23).</span></li><li style="box-sizing: border-box;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;"><tt style="box-sizing: border-box;">jj</tt> </span>: pour le numéro du jour du mois (de 1 à 31).</span></li><li style="box-sizing: border-box;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;"><tt style="box-sizing: border-box;">MMM</tt> </span>: pour le nom du mois (jan, feb, …)/le numéro du mois (de 1 à 12).</span></li><li style="box-sizing: border-box;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;"><tt style="box-sizing: border-box;">JJJ</tt> </span>: pour le nom du jour/le numéro du jour dans la semaine. (0=Dimanche, 1=Lundi, …)</span></li></ul><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Pour spécifier que la tâche s’applique tous les jours, on utilisera le caractère étoile (*).</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">Par exemple</span> si l’on souhaite redémarrer notre machine tous les jours à 2 heures 30, il suffit d’ajouter la ligne suivante :</span></p><div style="box-sizing: border-box;"><div id="highlighter_281223" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">30 2 * * * root reboot</code></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Enfin pour valider la commande quitter l’application en cliquant simultanément sur <span style="box-sizing: border-box; font-weight: 700;">« CTRL+X »</span> et valider avec la touche <span style="box-sizing: border-box; font-weight: 700;">« Y »</span>.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><br></p><p style="box-sizing: border-box; margin-bottom: 10px;"><br></p><div class="encart info" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(216, 216, 235); background-image: url(http://rendering/images/info.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12">Pour tout savoir de la commande et des options possibles &gt; <span style="box-sizing: border-box; -webkit-transition: 0.3s; transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://fr.wikipedia.org/wiki/Cron" target="_blank" class="imCssLink">Wikipedia : Cron</a></span></span></div><p style="box-sizing: border-box; margin-bottom: 10px;"><br></p><p style="box-sizing: border-box; margin-bottom: 10px;"><br></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Voila pour la planification d’un redémarrage de votre RPi. J’espère que l’information vous sera utile.</span></p></div></div>]]></description>
			<pubDate>Fri, 14 Nov 2014 13:12:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?programmer-un-redemarrage-automatique-sur-le-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/jff4fbkv</guid>
		</item>
		<item>
			<title><![CDATA[Comment redimensionner la partition système du Raspberry-pi ?]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_89e11u7d"><h1 class="cf2 cb1"><span class="fs12 cf1"><a name="comment-redimensionner-la-partition-systeme-du-raspberry-pi" id="comment-redimensionner-la-partition-systeme-du-raspberry-pi" href="http://www.tropfacile.net/doku.php/raspberry-pi/redimensionner-partition-systeme">Comment redimensionner la partition système du Raspberry-pi ?</a></span></h1><div class="level1 cf2 cb1"><hr class=""><p class="mb1"><span class="fs12">Connectez vous en local sur votre raspberry ou par <span class="cf1"><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-se-connecter-en-ssh" class="wikilink1" title="raspberry-pi:comment-se-connecter-en-ssh">ssh</a></span> avec l'utilisateur <strong>pi</strong>. Vous pouvez aussi prendre n'importe quel utilisateur avec les droits<span class="cf1"><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-devenir-super-utilisateur" class="wikilink1" title="raspberry-pi:comment-devenir-super-utilisateur">sudo</a></span>.</span></p><p class="mb1"><span class="fs12">Tapez <strong>df -h</strong> pour voir la taille de la partition actuelle:</span></p><pre class="mt1 mb1 code bash cf6 cb2"><span class="fs12 ff1"><b><span class="kw2 cf3">df</span></b> <span class="re5">-h</span>
Sys. fich. &nbsp;&nbsp;&nbsp;&nbsp;Taille Util. Dispo Uti<span class="sy0 cf4">%</span> Monté sur
rootfs &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="nu0 cf5">1</span>,8G &nbsp;<span class="nu0 cf5">1</span>,4G &nbsp;338M &nbsp;<span class="nu0 cf5">80</span><span class="sy0 cf4">%</span> <span class="sy0 cf4">/</span>
<span class="sy0 cf4">/</span>dev<span class="sy0 cf4">/</span>root &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="nu0 cf5">1</span>,8G &nbsp;<span class="nu0 cf5">1</span>,4G &nbsp;338M &nbsp;<span class="nu0 cf5">80</span><span class="sy0 cf4">%</span> <span class="sy0 cf4">/</span>
tmpfs &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;19M &nbsp;224K &nbsp;&nbsp;19M &nbsp;&nbsp;<span class="nu0 cf5">2</span><span class="sy0 cf4">%</span> <span class="sy0 cf4">/</span>run
tmpfs &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="nu0 cf5">5</span>,0M &nbsp;&nbsp;&nbsp;&nbsp;<span class="nu0 cf5">0</span> &nbsp;<span class="nu0 cf5">5</span>,0M &nbsp;&nbsp;<span class="nu0 cf5">0</span><span class="sy0 cf4">%</span> <span class="sy0 cf4">/</span>run<span class="sy0 cf4">/</span>lock
tmpfs &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;37M &nbsp;&nbsp;&nbsp;&nbsp;<span class="nu0 cf5">0</span> &nbsp;&nbsp;37M &nbsp;&nbsp;<span class="nu0 cf5">0</span><span class="sy0 cf4">%</span> <span class="sy0 cf4">/</span>tmp
tmpfs &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;10M &nbsp;&nbsp;&nbsp;&nbsp;<span class="nu0 cf5">0</span> &nbsp;&nbsp;10M &nbsp;&nbsp;<span class="nu0 cf5">0</span><span class="sy0 cf4">%</span> <span class="sy0 cf4">/</span>dev
tmpfs &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;37M &nbsp;&nbsp;&nbsp;&nbsp;<span class="nu0 cf5">0</span> &nbsp;&nbsp;37M &nbsp;&nbsp;<span class="nu0 cf5">0</span><span class="sy0 cf4">%</span> <span class="sy0 cf4">/</span>run<span class="sy0 cf4">/</span>shm
<span class="sy0 cf4">/</span>dev<span class="sy0 cf4">/</span>mmcblk0p1 &nbsp;&nbsp;&nbsp;56M &nbsp;&nbsp;34M &nbsp;&nbsp;23M &nbsp;<span class="nu0 cf5">61</span><span class="sy0 cf4">%</span> <span class="sy0 cf4">/</span>boot</span></pre><p class="mb1"><span class="fs12">Tapez ensuite :</span></p><pre class="mt1 mb1 code bash cf6 cb2"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> raspi-config</span></pre><p class="mb1"><span class="fs12">Allez sur la ligne : <strong>expand_rootfs Expand root partition to fill SD card</strong> » <strong>&lt;Select&gt;</strong></span></p><p class="mb1"><span class="fs12">Un message de confirmation apparait :</span></p><pre class="mt1 mb1 code bash cf6 cb2"><span class="fs12 ff1">Root partition has been resized.
The filesystem will be enlarged upon the next reboot</span></pre><p class="mb1"><span class="fs12">Une fois de retour sur le menu on va sur <strong>&lt;Finish&gt;</strong></span></p><pre class="mt1 mb1 code bash cf6 cb2"><span class="fs12 ff1">Would you like to reboot now?</span></pre><p class="mb1"><span class="fs12">On va sur l'option <strong>Oui</strong> pour redémarrer et redimentionner la partition.</span></p><p class="mb1"><span class="fs12">Une fois redémarré, on vérifie si notre carte mémoire est utilisé complètement : <strong>df -h</strong></span></p><pre class="mt1 mb1 code bash cf6 cb2"><span class="fs12 ff1"><b><span class="kw2 cf3">df</span></b> <span class="re5">-h</span>
Sys. fich. &nbsp;&nbsp;&nbsp;&nbsp;Taille Util. Dispo Uti<span class="sy0 cf4">%</span> Monté sur
rootfs &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="nu0 cf5">7</span>,3G &nbsp;<span class="nu0 cf5">1</span>,4G &nbsp;<span class="nu0 cf5">5</span>,6G &nbsp;<span class="nu0 cf5">20</span><span class="sy0 cf4">%</span> <span class="sy0 cf4">/</span>
<span class="sy0 cf4">/</span>dev<span class="sy0 cf4">/</span>root &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="nu0 cf5">7</span>,3G &nbsp;<span class="nu0 cf5">1</span>,4G &nbsp;<span class="nu0 cf5">5</span>,6G &nbsp;<span class="nu0 cf5">20</span><span class="sy0 cf4">%</span> <span class="sy0 cf4">/</span>
tmpfs &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;19M &nbsp;224K &nbsp;&nbsp;19M &nbsp;&nbsp;<span class="nu0 cf5">2</span><span class="sy0 cf4">%</span> <span class="sy0 cf4">/</span>run
tmpfs &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="nu0 cf5">5</span>,0M &nbsp;&nbsp;&nbsp;&nbsp;<span class="nu0 cf5">0</span> &nbsp;<span class="nu0 cf5">5</span>,0M &nbsp;&nbsp;<span class="nu0 cf5">0</span><span class="sy0 cf4">%</span> <span class="sy0 cf4">/</span>run<span class="sy0 cf4">/</span>lock
tmpfs &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;37M &nbsp;&nbsp;&nbsp;&nbsp;<span class="nu0 cf5">0</span> &nbsp;&nbsp;37M &nbsp;&nbsp;<span class="nu0 cf5">0</span><span class="sy0 cf4">%</span> <span class="sy0 cf4">/</span>tmp
tmpfs &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;10M &nbsp;&nbsp;&nbsp;&nbsp;<span class="nu0 cf5">0</span> &nbsp;&nbsp;10M &nbsp;&nbsp;<span class="nu0 cf5">0</span><span class="sy0 cf4">%</span> <span class="sy0 cf4">/</span>dev
tmpfs &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;37M &nbsp;&nbsp;&nbsp;&nbsp;<span class="nu0 cf5">0</span> &nbsp;&nbsp;37M &nbsp;&nbsp;<span class="nu0 cf5">0</span><span class="sy0 cf4">%</span> <span class="sy0 cf4">/</span>run<span class="sy0 cf4">/</span>shm
<span class="sy0 cf4">/</span>dev<span class="sy0 cf4">/</span>mmcblk0p1 &nbsp;&nbsp;&nbsp;56M &nbsp;&nbsp;34M &nbsp;&nbsp;23M &nbsp;<span class="nu0 cf5">61</span><span class="sy0 cf4">%</span> <span class="sy0 cf4">/</span>boot</span></pre><div><br></div></div></div>]]></description>
			<pubDate>Thu, 16 Oct 2014 12:44:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?comment-redimensionner-la-partition-systeme-du-raspberry-pi--</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/89e11u7d</guid>
		</item>
		<item>
			<title><![CDATA[Introduction au GPIO sur le Raspberry-Pi ]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_c3o12zm1"><header class="entry-header page-header cf2" style="box-sizing: border-box; padding-bottom: 0px; margin: 0px 0px 20px; border-bottom-width: 0px; line-height: 23.8px; widows: 1;"><h1 class="entry-title &nbsp;cf1" style="box-sizing: border-box; margin: 0px 0px 30px; line-height: 1.1;"><span class="fs12">Introduction au GPIO sur le Raspberry-Pi </span></h1></header><div class="entry-content cf2" style="box-sizing: border-box; margin: 1.5em 0px 0px; widows: 1;"><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">L’un des points les plus intéressants sur le Raspberry-Pi (et malgré tout encore délaissé sur le site..) est la partie GPIO !</span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Ainsi, je vais donc faire dans ce billet une petite introduction sur le sujet. Cela dans le but de déjà savoir de quoi ça parle et à quoi cela va bien pouvoir nous servir par la suite.</span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><br></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span id="more-3704" style="box-sizing: border-box;" class="fs12"></span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"></p><div class="encart info cb1" style="line-height: 23.8px; box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(216, 216, 235); background-image: url(http://rendering/images/info.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">Définition du GPIO : </span> Les ports <span style="box-sizing: border-box; font-weight: 700;">GPIO</span> (<span style="box-sizing: border-box; font-weight: 700;">General Purpose Input/Output)</span> soit <span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="cf3"><a href="http://fr.wikipedia.org/wiki/Entr%C3%A9es-sorties" target="_blank" sl-processed="1">entrée/sortie</a></span> sont des ports qui sont très utilisés dans le monde des microcontrôleurs, en particulier dans le domaine de l’électronique embarquée. Selon la configuration, ces ports peuvent fonctionner aussi bien en entrée qu’en sortie.</span><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Les périphériques GPIO comportent un ensemble de ports d’entrée/sortie qui peuvent être configurés pour jouer soit le rôle d’une entrée, soit le rôle d’une sortie.</span></p></div><span class="fs12"><br style="box-sizing: border-box;"></span><h2 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Le_GPIO_A_quoi_ca_sert" style="box-sizing: border-box;" class="fs12">Le GPIO : A quoi ça sert ?</span></h2><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">L’interface GPIO permet une extension des fonctionnalités du Raspberry-Pi. Les broches permettent ainsi au Raspberry-Pi d’avoir un accès au « monde extérieur ». Notamment en agissant en sortie depuis des LED, des afficheurs LCD, des capteurs, ou encore lire l’état d’un interrupteur (on/off).</span></p><h2 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Description_duconnecteur" style="box-sizing: border-box;" class="fs12">Description du connecteur</span></h2><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Le connecteur GPIO (schéma ci-dessous) est composé de 26 broches dont 17 sont dédiées au GPIO (permets des changements d’état on/off). Les autres broches ont le rôle d’alimentation (3.3v, 5v) et de terre (ground).</span></p><figure id="attachment_4041" class="thumbnail wp-caption aligncenter cb2" style="line-height: 1.42857; box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2014/09/basic-gpio-layout.png" data-rel="lightbox-0" title="" sl-processed="1" class="inline-block"><img class="size-medium wp-image-4041" src="http://www.windtopik.fr/wp-content/uploads/2014/09/basic-gpio-layout-300x131.png" alt="Description des broches GPIO" width="300" height="131" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf4" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Description des broches GPIO</span></figcaption></figure><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Le connecteur dispose ainsi de différents types de connexion :</span></p><ul style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span class="fs12">Broches pour une interface I2C. (permet de se connecter sur du matériel avec seulement 2 broches.)</span></li><li style="box-sizing: border-box;"><span class="fs12">Broches utilisables en entrée ou sortie numérique. Également dite « tout ou rien ».</span></li><li style="box-sizing: border-box;"><span class="fs12">Broches Rx et Tx. (Communication avec des périphériques séries.)</span></li><li style="box-sizing: border-box;"><span class="fs12">Broches pouvant être utilisé en PWM (« Pulse Width Modulation »)ou PPM (« Pulse Position Modulation »).</span></li><li style="box-sizing: border-box;"><span class="fs12">Une interface SPI.</span></li></ul><div class="encart warning cb3" style="line-height: 23.8px; box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(232, 226, 195); background-image: url(http://rendering/images/warning.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12">Le numéro de GPIO n’est pas sa position sur le connecteur, mais son numéro dans les registres de la puce ARM BCM2835.</span></div><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"></p><h2 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Exemple_de_fonctionnement" style="box-sizing: border-box;" class="fs12">Exemple de fonctionnement</span></h2><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Afin de mieux assimiler les notions de GPIO, nous allons développer avec &nbsp;l’allumage d’une LED.</span></p><figure id="attachment_4038" class="thumbnail wp-caption aligncenter cb2" style="line-height: 1.42857; box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2014/09/simple-circuit.png" data-rel="lightbox-1" title="" sl-processed="1" class="inline-block"><img class="size-medium wp-image-4038" src="http://www.windtopik.fr/wp-content/uploads/2014/09/simple-circuit-300x149.png" alt="Schéma électrique" width="300" height="149" srcset="http://www.windtopik.fr/wp-content/uploads/2014/09/simple-circuit-300x149.png 300w, http://www.windtopik.fr/wp-content/uploads/2014/09/simple-circuit.png 1000w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf4" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Schéma électrique</span></figcaption></figure><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Pour commencer, voici ci-dessus le schéma d’un circuit électrique simple correspondant à se que l’on peut réaliser avec notre Raspberry-Pi.</span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Nous avons donc, une <span style="box-sizing: border-box; font-weight: 700;">batterie</span> (3.3v – RPI) qui émet un courant vers un <span style="box-sizing: border-box; font-weight: 700;">commutateur</span> (Switch on/off) &nbsp;qui le dirige vers une <span style="box-sizing: border-box; font-weight: 700;">source lumineuse</span> (LED). <em style="box-sizing: border-box;">(La résistance étant présente pour protéger la LED).<br style="box-sizing: border-box;"></em></span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Après le schéma électrique, repassons maintenant au Raspberry-Pi avec le schéma « physique » comme ci-dessous.</span></p><figure id="attachment_4037" class="thumbnail wp-caption aligncenter cb2" style="line-height: 1.42857; box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2014/09/gpio-led.png" data-rel="lightbox-2" title="" sl-processed="1" class="inline-block"><img class="wp-image-4037 size-medium" src="http://www.windtopik.fr/wp-content/uploads/2014/09/gpio-led-300x225.png" alt="Allumage d'une LED depuis le GPIO" width="300" height="225" srcset="http://www.windtopik.fr/wp-content/uploads/2014/09/gpio-led-300x225.png 300w, http://www.windtopik.fr/wp-content/uploads/2014/09/gpio-led.png 564w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf4" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Schéma « Physique » du GPIO</span></figcaption></figure><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Nous allons donc redéfinir les éléments vu précédemment.</span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Lors de l’utilisation du GPIO le Raspberry va effectuer en même temps le rôle de batterie (3.3v) et de commutateur (Switch).</span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Les broches spécifiques GPIO peuvent passer à l’état On/Off (High/Low en terme « machine »). Soit :</span></p><ul style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span class="fs12">Quand la broche est On (High) &gt; le courant de 3.3v passe dans le circuit.</span></li><li style="box-sizing: border-box;"><span class="fs12">Quand la broche est Off (Low) &gt; aucun courant ne circule.</span></li></ul><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span style="box-sizing: border-box; font-weight: 700;" class="fs12">Explication du schéma « physique » : </span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">La LED et connecté à une broche GPIO (qui peut transmettre un courant de 3.3v) et à une broche de « terre » (qui est à 0v. Représente la partie négative de la batterie).</span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Une fois le branchement effectué, il ne reste qu’a écrire un programme pour pouvoir modifier l’état de broche On/Off (High/Low).</span></p><h2 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Comment_modifier_lrsquoetat_des_broches_lecturemodification" style="box-sizing: border-box;" class="fs12">Comment modifier l’état des broches ? (lecture/modification)</span></h2><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Pour modifier l’état des broches (On/Off) est ainsi pour voir éteindre ou allumer la source lumineuse vu précédemment (LED), il nous faut passer à la partie logiciel.</span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Il existe plusieurs méthodes pour changer l’état des broches GPIO. Voici ci-dessous 3 méthodes avec un exemple d’utilisation pour chacune.</span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"></p><h3 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="DepuisWiringPi" style="box-sizing: border-box;" class="fs12">Depuis WiringPi :</span></h3><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">WiringPi</span> est une librairie écrite en C permettant l’accès au GPIO du BCM2835 utilisé par le Raspberry Pi. (<span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="https://projects.drogon.net/raspberry-pi/wiringpi/download-and-install/" target="_blank" sl-processed="1">Partagés par Gordon</a></span>).</span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Exemple pour passer l’état de la broche 16 (GPIO 23) à 1 :</span></p><div style="line-height: 23.8px; box-sizing: border-box;"><div id="highlighter_843871" class="syntaxhighlighter &nbsp;shell cb4" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background: none !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background: none !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background: none !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background: none !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">pi@rpi:~ </code><code class="shell comments cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;"># gpio -g write 23 1</code></span></div></div></td></tr></tbody></table></div></div><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"></p><h3 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Depuis_WebioPi" style="box-sizing: border-box;" class="fs12">Depuis WebioPi :</span></h3><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12"><span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="https://code.google.com/p/webiopi/" target="_blank" sl-processed="1"><span style="box-sizing: border-box; font-weight: 700;">Webiopi</span></a></span> est une application web qui permet de contrôler les broches GPIO du raspberry depuis une interface web. L’interface permet ainsi de changer l’état d’une broche de « IN » à « OUT » ou inversement comme l’image ci-dessous.</span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><em style="box-sizing: border-box;" class="fs12">(Je réaliserai bientôt un tutoriel complet pour mettre en place cette solution.)</em></p><figure id="attachment_4052" class="thumbnail wp-caption aligncenter cb2" style="line-height: 1.42857; box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2014/09/GPIO-web.png" data-rel="lightbox-3" title="" sl-processed="1" class="inline-block"><img class="size-medium wp-image-4052" src="http://www.windtopik.fr/wp-content/uploads/2014/09/GPIO-web-300x238.png" alt="Page Web de &quot;Webiopi&quot;" width="300" height="238" srcset="http://www.windtopik.fr/wp-content/uploads/2014/09/GPIO-web-300x238.png 300w, http://www.windtopik.fr/wp-content/uploads/2014/09/GPIO-web.png 500w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf4" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Page Web de « Webiopi »</span></figcaption></figure><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"></p><h3 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Depuis_le_Shell" style="box-sizing: border-box;" class="fs12">Depuis le Shell :</span></h3><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Voici un exemple pour passer l’état de la broche 16 (GPIO 23) à 1 :</span></p><div style="line-height: 23.8px; box-sizing: border-box;"><div id="highlighter_618882" class="syntaxhighlighter &nbsp;shell cb4" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background: none !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background: none !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">3</span></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">4</span></div><div class="line number5 index4 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">5</span></div><div class="line number6 index5 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">6</span></div><div class="line number7 index6 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">7</span></div><div class="line number8 index7 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">8</span></div><div class="line number9 index8 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">9</span></div><div class="line number10 index9 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">10</span></div><div class="line number11 index10 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">11</span></div><div class="line number12 index11 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">12</span></div><div class="line number13 index12 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">13</span></div><div class="line number14 index13 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">14</span></div><div class="line number15 index14 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">15</span></div><div class="line number16 index15 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">16</span></div><div class="line number17 index16 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">17</span></div><div class="line number18 index17 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">18</span></div><div class="line number19 index18 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">19</span></div><div class="line number20 index19 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">20</span></div><div class="line number21 index20 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">21</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 591px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background: none !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background: none !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">pi@rpi:~ </code><code class="shell comments cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;"># cd /sys/class/gpio/</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">pi@rpi:</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">/sys/class/gpio</code> <code class="shell comments cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;"># ls</code></span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell functions cf7" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">export</code> &nbsp;&nbsp;&nbsp;&nbsp;<code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">gpiochip0 &nbsp;unexport</code></span></div><div class="line number5 index4 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number6 index5 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">pi@rpi:</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">/sys/class/gpio</code> <code class="shell comments cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;"># echo 23 &gt; export</code></span></div><div class="line number7 index6 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">pi@rpi:</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">/sys/class/gpio</code> <code class="shell comments cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;"># ls</code></span></div><div class="line number8 index7 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number9 index8 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell functions cf7" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">export</code> &nbsp;&nbsp;&nbsp;&nbsp;<code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">gpio24 &nbsp;&nbsp;&nbsp;&nbsp;gpiochip0 &nbsp;unexport</code></span></div><div class="line number10 index9 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number11 index10 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">pi@rpi:</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">/sys/class/gpio</code> <code class="shell comments cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;"># cd gpio23/</code></span></div><div class="line number12 index11 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">pi@rpi:</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">/sys/devices/virtual/gpio/gpio23</code> <code class="shell comments cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;"># ls</code></span></div><div class="line number13 index12 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number14 index13 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">active_low &nbsp;direction &nbsp;&nbsp;edge &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;subsystem &nbsp;&nbsp;uevent &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;value</code></div><div class="line number15 index14 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number16 index15 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">pi@rpi:</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">/sys/devices/virtual/gpio/gpio23</code> <code class="shell comments cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;"># echo out &gt; direction</code></span></div><div class="line number17 index16 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">pi@rpi:</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">/sys/devices/virtual/gpio/gpio23</code> <code class="shell comments cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;"># cat value</code></span></div><div class="line number18 index17 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number19 index18 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">0</code></div><div class="line number20 index19 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number21 index20 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">pi@rpi:</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">/sys/devices/virtual/gpio/gpio23</code> <code class="shell comments cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;"># echo 1 &gt; value</code></span></div></div></td></tr></tbody></table></div></div><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12"> </span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"></p><h2 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Cables_drsquointerface" style="box-sizing: border-box;" class="fs12">Câbles d’interface</span></h2><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Il existe de nombreuses façons de relier les différents éléments au Raspberry-Pi. Vous pouvez utiliser notamment une &nbsp;carte <span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://www.amazon.fr/gp/product/B00CH3Q5IO/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00CH3Q5IO&amp;linkCode=as2&amp;tag=windtopik-21&amp;linkId=E7F6Y54UJ56KSVUN" target="_blank" sl-processed="1">Pi-cobbler.</a></span> Surement la méthode la plus simple pour commencer vos expérimentations. <em style="box-sizing: border-box;">(Solution que nous développerons dans la deuxième partie de l’article).</em></span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Vous avez également la possibilité de fabriquer un câble par vous même ! comme le montre très bien l’excellent tutoriel du site <span style="box-sizing: border-box; text-decoration: none; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://faitmain.org/volume-1/cable-gpio.html" target="_blank" sl-processed="1">faitmain.org</a></span>.</span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;"><br></p><h2 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1 cb2"><span id="GPIO_Cas_pratique" style="box-sizing: border-box;" class="fs12">GPIO : Cas pratique</span></h2><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Afin de mieux assimiler les notions « théoriques » , nous allons voir ici un cas très simple, mais représentatif de l’ensemble des possibilités du connecteur GPIO sur le Raspberry-Pi.</span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Nous allons simplement allumer une LED à partir des broches GPIO du raspberry-PI. Ce qui correspond à l’image ci-dessous :</span></p><figure id="attachment_4530" class="thumbnail wp-caption aligncenter cb2" style="line-height: 1.42857; box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-diode.png" data-rel="lightbox-0" title="" sl-processed="1" class="inline-block"><img class="size-medium wp-image-4530" src="http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-diode-300x181.png" alt="Schéma &quot;basique&quot; du cas pratique" width="300" height="181" srcset="http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-diode-300x181.png 300w, http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-diode.png 530w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf4" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Schéma « basique » du cas pratique</span></figcaption></figure><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Avant de commencer, voici les éléments qu’il vous faut acquérir si vous souhaitez réaliser ce tutoriel de A à Z .</span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"></p><div class="encart bleu cb1" style="line-height: 23.8px; box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px; border: 2px solid rgb(216, 216, 235); background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs12"><img src="http://www.windtopik.fr/wp-content/uploads/2013/01/Clipboard_Full.png" alt="Clipboard_Full" width="28" height="32" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%;" data-selected="false"> <span style="box-sizing: border-box; font-weight: 700;">Pre-Requis</span></span><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span style="box-sizing: border-box; font-weight: 700;" class="fs12">Tutoriels :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span style="box-sizing: border-box; -webkit-transition: 0.3s; transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">Installer et configurer Raspbian</a></span></li></ul><p style="box-sizing: border-box; margin-bottom: 10px;"><span style="box-sizing: border-box; font-weight: 700;" class="fs12">Matériel :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span class="fs12">Raspberry-Pi <span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="cf3"><a href="http://www.amazon.fr/gp/product/B008PT4GGC/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B008PT4GGC&amp;linkCode=as2&amp;tag=windtopik-21&amp;linkId=KEAICKABIWMCTGCA" target="_blank" sl-processed="1">Model B</a></span> ou <span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="cf3"><a href="http://www.amazon.fr/gp/product/B00LPESRUK/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00LPESRUK&amp;linkCode=as2&amp;tag=windtopik-21&amp;linkId=7XLYXPTK766M22Y2" target="_blank" sl-processed="1">Model B+</a></span></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B00CHJMJI8/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00CHJMJI8&amp;linkCode=as2&amp;tag=windtopik-21&amp;linkId=HXVIHKGTUKV5G26R" target="_blank" sl-processed="1">Plaque d’essai (breadboard)</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B0093K6QQ0/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B0093K6QQ0&amp;linkCode=as2&amp;tag=windtopik-21&amp;linkId=LIQJFPUSPU4KZWBZ" target="_blank" sl-processed="1">Pi-Cobbler</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B00ENSOGWS/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00ENSOGWS&amp;linkCode=as2&amp;tag=windtopik-21&amp;linkId=KAKJCAI2CELIVIZV" target="_blank" sl-processed="1">Câble (fil) de connexion(GPIO)</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B00GSPKNFI/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00GSPKNFI&amp;linkCode=as2&amp;tag=windtopik-21&amp;linkId=X3HXKO2VC6GNN7TU" target="_blank" sl-processed="1">Câble (fil) de connexion breadboard</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B00JTRJWKO/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00JTRJWKO&amp;linkCode=as2&amp;tag=windtopik-21&amp;linkId=VOITBPRTG47UB2CT" target="_blank" sl-processed="1">Résistance</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B00ASFZXX6/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00ASFZXX6&amp;linkCode=as2&amp;tag=windtopik-21&amp;linkId=6E3YXJZZKZS7OKF7" target="_blank" sl-processed="1">LED</a></span></li></ul></div><h2 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1 cb2"><span id="Preparation_du_Raspberry-Pi" style="box-sizing: border-box;" class="fs12">Préparation du Raspberry-Pi</span></h2><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Pour commencer ce cas pratique, nous allons préparer le Raspberry-Pi en configurant la partie logicielle. Dans cet article, j’utilise l’OS Raspbian fraîchement installé et mis à jour. <em style="box-sizing: border-box;">(<span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="cf3"><a href="http://www.windtopik.fr/raspbian-wheezy/" target="_blank" sl-processed="1">I</a></span><span style="box-sizing: border-box; -webkit-transition: 0.3s; transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://www.raspberry-pi.ovh/raspberry-raspbian-os-system-2019.html" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/raspberry-raspbian-os-system-2019.html', null, false)">nstaller Raspbian</a></span>)</em></span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"></p><h3 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1 cb2"><span id="Partie_Logiciel" style="box-sizing: border-box;" class="fs12">Partie Logiciel</span></h3><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Il existe comme nous l’avons vu dans l’article précédent plusieurs méthodes pour modifier l’état d’une broche GPIO :</span></p><ul style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><li style="box-sizing: border-box;"><span class="fs12">Depuis le <span style="box-sizing: border-box; font-weight: 700;">Shell</span></span></li><li style="box-sizing: border-box;"><span class="fs12">Avec <span style="box-sizing: border-box; font-weight: 700;">WritingPi</span></span></li><li style="box-sizing: border-box;"><span class="fs12">Depuis un navigateur web avec <span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="cf3"><a href="http://www.windtopik.fr/webiopi/" target="_blank" sl-processed="1"><span style="box-sizing: border-box; font-weight: 700;">Webiopi</span></a></span>.</span></li></ul><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Dans cet article nous utiliserons la méthode WritingPi.<br style="box-sizing: border-box;"></span></p><h3 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1 cb2"><span id="Installation_de_WritingPi" style="box-sizing: border-box;" class="fs12">Installation de WritingPi</span></h3><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Nous allons maintenant installer WritingPi pour modifier l’état de notre LED du mode <span style="box-sizing: border-box; font-weight: 700;">« éteint »</span> à<span style="box-sizing: border-box; font-weight: 700;">« Allumé »</span>.</span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">On installe tout d’abord GIT, indispensable pour la suite :</span></p><div style="line-height: 23.8px; box-sizing: border-box;" class="cb2"><div id="highlighter_667416" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background: none !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background: none !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background: none !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background: none !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf7" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">apt-get </code><code class="shell functions cf7" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">install</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">git-core</code></span></div></div></td></tr></tbody></table></div></div><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Puis on récupère les fichiers et on compile le tout :</span></p><div style="line-height: 23.8px; box-sizing: border-box;" class="cb2"><div id="highlighter_768084" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background: none !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background: none !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">3</span></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">4</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background: none !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background: none !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">git clone git:</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">//git</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">.drogon.net</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">/wiringPi</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf7" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">cd</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">wiringPi</code></span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">git pull origin</code></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">.</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">/build</code></span></div></div></td></tr></tbody></table></div></div><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Nous pouvons maintenant mettre en place notre circuit avec l’ensemble des éléments.</span></p><h3 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1 cb2"><span id="Partiematerielle" style="box-sizing: border-box;" class="fs12">Partie matérielle</span></h3><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Pour réaliser cette partie, je vous propose d’utiliser 2 méthodes.</span></p><ul style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><li style="box-sizing: border-box;"><span class="fs12">En <span style="box-sizing: border-box; font-weight: 700;">câblage « direct »</span>, méthodes avec simplement des fils.</span></li><li style="box-sizing: border-box;"><span class="fs12">Avec le <span style="box-sizing: border-box; font-weight: 700;">Pi-Cobbler</span>, un petit bloc qui ajoute directement toutes les broches du GPIO sur la breadbord.</span></li></ul><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><em style="box-sizing: border-box;" class="fs12">Avant la mise en place, voici ci-dessous quelques notions qu’il est utile de connaitre.</em></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"></p><div class="encart info cb1" style="line-height: 23.8px; box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(216, 216, 235); background-image: url(http://rendering/images/info.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">Résistance</span> : Une résistance est un composant électronique qui oppose une résistance (mesurée en ohm) à la circulation du courant électrique.<br style="box-sizing: border-box;">Elle permet de réduire la tension d’alimentation (comme un transformateur délivrant du 12V en courant continu) afin d’obtenir la tension nécessaire pour illuminer une LED (par exemple 2,3V).</span><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">LED</span> : Une LED fonctionne en courant et tension continus. Comme une diode classique, la LED ne conduit que dans un sens. Dans l’autre sens, elle est bloquée, mais ne supporte pas des tensions inverses élevées (souvent 5V max).</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">Pour en savoir plus</span> sur les LED et le calcul des résistances, je vous conseille les articles suivants :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span class="fs12"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="cf3"><a href="http://www.astuces-pratiques.fr/electronique/led-et-calcul-de-la-resistance-serie" target="_blank" sl-processed="1">LED et calcul de résistance</a></span> (Astuces-pratiques.fr)</span></li><li style="box-sizing: border-box;"><span class="fs12"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="cf3"><a href="http://fantaisyland.fr/cms_resistance.php" target="_blank" sl-processed="1">Calcul de résistance pour une LED</a></span> (Fantaisyland.fr)</span></li><li style="box-sizing: border-box;"><span class="fs12"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="cf3"><a href="https://itechnofrance.wordpress.com/2013/01/31/ports-gpio-et-led/" target="_blank" sl-processed="1">Ports GPIO et LED</a></span> (iTechnoFrance)</span></li><li style="box-sizing: border-box;"><span class="fs12"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="cf3"><a href="http://www.nymphomath.ch/crypto/passecret/ohm.html" target="_blank" sl-processed="1">Code Couleur Résistance</a></span> (nymphomath.ch)</span></li></ul></div><div class="encart warning cb3" style="line-height: 23.8px; box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(232, 226, 195); background-image: url(http://rendering/images/warning.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">ATTENTION</span> : Les broches GPIO ne sont pas protégées contre les surtensions. Noter bien que les broches de données n’acceptent qu’une tension de <span style="box-sizing: border-box; font-weight: 700;">3,3v</span>. Effectuer les branchements avec le Raspberry-Pi <span style="box-sizing: border-box;" class="imUl">éteint</span> et <span style="box-sizing: border-box;" class="imUl">débranché</span>. Une fois les connexions effectuées penser à bien revérifier votre montage.</span></div><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"></p><h3 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1 cb2"><span id="Schema_des_broches_GPIO_Modele_B_et_B" style="box-sizing: border-box;" class="fs12">Schéma des broches GPIO (Modèle B et B+)</span></h3><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Pour rappel, voici les schémas des Raspberry-Pi modèles B et B+ afin de repérer les broches à utiliser. <em style="box-sizing: border-box;">Dans le cas pratique, j’utilise le modèle B.</em></span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12"><b style="line-height: 36px;">Model B :</b> &nbsp;<img class="image-0" src="http://www.raspberry-pi.ovh/images/RPI-GPIO.png"  title="" alt=""/><br></span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><br></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><br></p><p style="box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12"><span style="line-height: 36px;"><b>Model B+ : </b></span><img class="image-1" src="http://www.raspberry-pi.ovh/images/RPI-GPIO-N-.png"  title="" alt=""/></span></p><div id="gallery-1" class="gallery galleryid-4020 gallery-columns-2 gallery-size-thumbnail cb2" style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 20px;"><figure class="gallery-item" style="box-sizing: border-box; margin: 0px 4px 4px 0px; float: left; overflow: hidden; position: relative; max-width: calc(50% - 4px); clear: left;"><div class="gallery-icon portrait" style="box-sizing: border-box;"><br></div><figcaption class="wp-caption-text gallery-caption cf8 cb5" id="gallery-1-4485" style="box-sizing: border-box; line-height: 1.5; margin: 0px; max-height: 50%; opacity: 0; padding: 6px 8px; position: absolute; bottom: 0px; left: 0px; width: 150px;"><span class="fs12">RPI – Model B</span></figcaption></figure><figure class="gallery-item" style="box-sizing: border-box; margin: 0px 0px 4px; float: left; overflow: hidden; position: relative; max-width: calc(50% - 4px);"><div class="gallery-icon portrait" style="box-sizing: border-box;"><br></div><figcaption class="wp-caption-text gallery-caption cf8 cb5" id="gallery-1-4486" style="box-sizing: border-box; line-height: 1.5; margin: 0px; max-height: 50%; opacity: 0; padding: 6px 8px; position: absolute; bottom: 0px; left: 0px; width: 150px;"><span class="fs12">R</span></figcaption></figure></div><h2 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1 cb2"><br></h2><h2 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1 cb2"><br></h2><h2 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1 cb2"><br></h2><h2 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1 cb2"><span id="Montage_du_circuit_laquonbspen_directnbspraquo" style="box-sizing: border-box;" class="fs12">Montage du circuit : « en direct »</span></h2><figure id="attachment_4515" class="thumbnail wp-caption aligncenter cb2" style="line-height: 1.42857; box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-Breadbord.jpg" data-rel="lightbox-1" title="" sl-processed="1" class="inline-block"><img class="size-medium wp-image-4515" src="http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-Breadbord-300x168.jpg" alt="Raspberry-Pi + Breadboard" width="300" height="168" srcset="http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-Breadbord-300x168.jpg 300w, http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-Breadbord-1024x575.jpg 1024w, http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-Breadbord.jpg 1296w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf4" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Raspberry-Pi + Breadboard</span></figcaption></figure><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Pour commencer, on va relier les différents éléments du circuit comme suit :</span></p><ul style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><li style="box-sizing: border-box;"><span class="fs12">Le fil rouge sur la broche 8 (GPIO 4)</span></li><li style="box-sizing: border-box;"><span class="fs12">Le fil bleu sur la broche 6 (Ground)</span></li></ul><h3 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1 cb2"><span id="La_Resistance" style="box-sizing: border-box;" class="fs12">La Résistance</span></h3><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Placer la résistance sur la breadboard, puis relier le fil rouge (<span style="box-sizing: border-box;" class="cf9">+</span>) sur la même ligne que &nbsp;la résistance (en « Entrée »).</span></p><div class="encart info cb1" style="line-height: 23.8px; box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(216, 216, 235); background-image: url(http://rendering/images/info.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12">Une résistance d’une valeur comprise entre 100 et 1000 ohm.</span></div><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">On passe ensuite à l’ajout de la diode.</span></p><h3 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1 cb2"><span id="La_LED_Diode" style="box-sizing: border-box;" class="fs12">La LED (Diode)</span></h3><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Placer la broche positive (<span style="box-sizing: border-box;" class="cf9">+</span>) de la diode sur la « sortie » de la résistance. Puis pour terminer, raccorder le fil bleu vers la broche négative (<span style="box-sizing: border-box;" class="cf10">–</span>) de la LED.</span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"></p><div class="encart info cb1" style="line-height: 23.8px; box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(216, 216, 235); background-image: url(http://rendering/images/info.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12">Dans le cas d’une LED, voici la correspondance des broches :</span><p style="box-sizing: border-box; margin-bottom: 10px;"></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span class="fs12">Positif (<span style="box-sizing: border-box;" class="cf9">+</span>) &gt; Broche la plus longue</span></li><li style="box-sizing: border-box;"><span class="fs12">Négatif (<span style="box-sizing: border-box;" class="cf10">–</span>) &gt; Broche la plus petite</span></li></ul></div><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Soit comme le schéma et les photos ci-dessous :</span></p><figure id="attachment_4562" class="thumbnail wp-caption aligncenter cb2" style="line-height: 1.42857; box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2014/11/sch%C3%A9ma-diode1.png" data-rel="lightbox-2" title="" sl-processed="1" class="inline-block"><img class="wp-image-4562 size-medium" src="http://www.windtopik.fr/wp-content/uploads/2014/11/sch%C3%A9ma-diode1-300x217.png" alt="schéma-diode1" width="300" height="217" srcset="http://www.windtopik.fr/wp-content/uploads/2014/11/schéma-diode1-300x217.png 300w, http://www.windtopik.fr/wp-content/uploads/2014/11/schéma-diode1.png 625w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf4" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Schéma de la méthode câblage « direct »</span></figcaption></figure><figure id="attachment_4514" class="thumbnail wp-caption aligncenter cb2" style="line-height: 1.42857; box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-branchement.jpg" data-rel="lightbox-3" title="" sl-processed="1" class="inline-block"><img class="size-medium wp-image-4514" src="http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-branchement-300x168.jpg" alt="Mise en place des éléments" width="300" height="168" srcset="http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-branchement-300x168.jpg 300w, http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-branchement-1024x575.jpg 1024w, http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-branchement.jpg 1296w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf4" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Mise en place des éléments</span></figcaption></figure><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Une fois que vous avez mis en place les éléments, vous pouvez passer au branchement de votre Raspberry-Pi. (<em style="box-sizing: border-box;">La prise électrique et la connexion réseau en Wifi ou Ethernet</em>).</span></p><figure id="attachment_4517" class="thumbnail wp-caption aligncenter cb2" style="line-height: 1.42857; box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-Diode-OFF1.jpg" data-rel="lightbox-4" title="" sl-processed="1" class="inline-block"><img class="wp-image-4517 size-medium" src="http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-Diode-OFF1-300x168.jpg" alt="GPIO-Diode-OFF" width="300" height="168" srcset="http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-Diode-OFF1-300x168.jpg 300w, http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-Diode-OFF1-1024x575.jpg 1024w, http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-Diode-OFF1.jpg 1296w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf4" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Lancement du Raspberry-Pi après branchement</span></figcaption></figure><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Maintenant que les branchements sont effectués, connectez-vous à votre Raspberry-Pi en SSH pour la suite.</span></p><h3 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1 cb2"><span id="Allumage_de_la_LED_avec_WritingPi" style="box-sizing: border-box;" class="fs12">Allumage de la LED avec WritingPi</span></h3><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Pour changer l’état de la LED avec WritingPi, on passe la broche GPIO en mode « out » (sortie). Puis pour allumer la diode en lance la commande « write » (écriture) avec 1 pour allumer et 0 pour éteint.</span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Soit en ligne de commande :</span></p><div style="line-height: 23.8px; box-sizing: border-box;" class="cb2"><div id="highlighter_58479" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background: none !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background: none !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">3</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background: none !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background: none !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">gpio -g mode 4 out</code></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">gpio -g write 4 1</code></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background: none !important;">gpio -g write 4 0</code></div></div></td></tr></tbody></table></div></div><figure id="attachment_4518" class="thumbnail wp-caption aligncenter cb2" style="line-height: 1.42857; box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-Diode-ON.jpg" data-rel="lightbox-5" title="" sl-processed="1" class="inline-block"><img class="wp-image-4518 size-medium" src="http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-Diode-ON-300x168.jpg" alt="GPIO-Diode-ON" width="300" height="168" srcset="http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-Diode-ON-300x168.jpg 300w, http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-Diode-ON-1024x575.jpg 1024w, http://www.windtopik.fr/wp-content/uploads/2014/11/GPIO-Diode-ON.jpg 1296w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf4" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Diode allumée avec la commande &gt; « gpio -g write 4 1 »</span></figcaption></figure><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Voilà pour la première méthode ! <img draggable="false" class="emoji" alt="😉" src="https://s.w.org/images/core/emoji/72x72/1f609.png" style="box-sizing: border-box; max-width: 100%; vertical-align: -0.1em !important; height: 1em !important; display: inline !important; box-shadow: none !important; width: 1em !important; margin-right: 0.07em !important; margin-left: 0.07em !important; padding: 0px !important; background: none !important;" data-selected="false"></span></p><h2 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1 cb2"><span id="Montage_du_circuit_laquonbspPi-Cobblernbspraquo" style="box-sizing: border-box;" class="fs12">Montage du circuit : « Pi-Cobbler »</span></h2><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">La méthode avec le Pi-Cobbler et tout aussi simple que la précédente. Il faut également faire attention à relier correctement les éléments. Pour se faire, il vous suffit de suivre les étapes ci-dessous une à une.</span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Brancher le socle Pi-Cobbler sur la plaque à essai :</span></p><figure id="attachment_4543" class="thumbnail wp-caption aligncenter cb2" style="line-height: 1.42857; box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2014/11/cobble-on-breadbord.jpg" data-rel="lightbox-6" title="" sl-processed="1" class="inline-block"><img class="size-medium wp-image-4543" src="http://www.windtopik.fr/wp-content/uploads/2014/11/cobble-on-breadbord-300x168.jpg" alt="Pi-Cobble sur la Breadboard" width="300" height="168" srcset="http://www.windtopik.fr/wp-content/uploads/2014/11/cobble-on-breadbord-300x168.jpg 300w, http://www.windtopik.fr/wp-content/uploads/2014/11/cobble-on-breadbord-1024x575.jpg 1024w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf4" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Pi-Cobble sur la Breadboard</span></figcaption></figure><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Ensuite on met en place le circuit avec le reste des éléments (comme dans la méthode précédente) sauf que les fils sont directement raccordés à la breadboard.</span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Soit, comme le schéma et les images suivantes :</span></p><figure id="attachment_4565" class="thumbnail wp-caption aligncenter cb2" style="line-height: 1.42857; box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2014/11/sch%C3%A9ma-cobbler-diode2.png" data-rel="lightbox-7" title="" sl-processed="1" class="inline-block"><img class="wp-image-4565 size-medium" src="http://www.windtopik.fr/wp-content/uploads/2014/11/sch%C3%A9ma-cobbler-diode2-300x215.png" alt="schéma-cobbler-diode2" width="300" height="215" srcset="http://www.windtopik.fr/wp-content/uploads/2014/11/schéma-cobbler-diode2-300x215.png 300w, http://www.windtopik.fr/wp-content/uploads/2014/11/schéma-cobbler-diode2.png 727w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf4" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Schéma de montage méthode « Cobbler »</span></figcaption></figure><figure id="attachment_4548" class="thumbnail wp-caption aligncenter cb2" style="line-height: 1.42857; box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2014/11/cobble-montage01.jpg" data-rel="lightbox-8" title="" sl-processed="1" class="inline-block"><img class="size-medium wp-image-4548" src="http://www.windtopik.fr/wp-content/uploads/2014/11/cobble-montage01-300x168.jpg" alt="Montage de la méthode Pi-Cobbler (Vue 1)" width="300" height="168" srcset="http://www.windtopik.fr/wp-content/uploads/2014/11/cobble-montage01-300x168.jpg 300w, http://www.windtopik.fr/wp-content/uploads/2014/11/cobble-montage01-1024x575.jpg 1024w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf4" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Montage de la méthode Pi-Cobbler (Vue 1)</span></figcaption></figure><figure id="attachment_4549" class="thumbnail wp-caption aligncenter cb2" style="line-height: 1.42857; box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2014/11/cobble-montage02.jpg" data-rel="lightbox-9" title="" sl-processed="1" class="inline-block"><img class="size-medium wp-image-4549" src="http://www.windtopik.fr/wp-content/uploads/2014/11/cobble-montage02-300x168.jpg" alt="Montage de la méthode Pi-Cobbler (Vue 2)" width="300" height="168" srcset="http://www.windtopik.fr/wp-content/uploads/2014/11/cobble-montage02-300x168.jpg 300w, http://www.windtopik.fr/wp-content/uploads/2014/11/cobble-montage02-1024x575.jpg 1024w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf4" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Montage de la méthode Pi-Cobbler (Vue 2)</span></figcaption></figure><div class="encart warning cb3" style="line-height: 23.8px; box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(232, 226, 195); background-image: url(http://rendering/images/warning.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12">Faites bien attention à brancher la nappe IDE dans le bon sens. Le « détrompeur » de la nappe (<em style="box-sizing: border-box;">fil blanc à l’extrémité de la nappe dans mon cas</em>) vers la carte SD du Raspberry-Pi.</span></div><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Une fois tous les éléments branchés, il vous suffit de vous connecter en SSH à votre Raspberry-Pi et de lancer les commandes vu dans la première méthode pour allumer la diode.</span></p><figure id="attachment_4546" class="thumbnail wp-caption aligncenter cb2" style="line-height: 1.42857; box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2014/11/Cobble-off.jpg" data-rel="lightbox-10" title="" sl-processed="1" class="inline-block"><img class="wp-image-4546 size-medium" src="http://www.windtopik.fr/wp-content/uploads/2014/11/Cobble-off-300x168.jpg" alt="Cobble-off" width="300" height="168" srcset="http://www.windtopik.fr/wp-content/uploads/2014/11/Cobble-off-300x168.jpg 300w, http://www.windtopik.fr/wp-content/uploads/2014/11/Cobble-off-1024x575.jpg 1024w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf4" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Pi-Cobbler &gt; Diode Off</span></figcaption></figure><figure id="attachment_4547" class="thumbnail wp-caption aligncenter cb2" style="line-height: 1.42857; box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background: 0px 0px transparent;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2014/11/Cobble-on.jpg" data-rel="lightbox-11" title="" sl-processed="1" class="inline-block"><img class="wp-image-4547 size-medium" src="http://www.windtopik.fr/wp-content/uploads/2014/11/Cobble-on-300x168.jpg" alt="Cobble-on" width="300" height="168" srcset="http://www.windtopik.fr/wp-content/uploads/2014/11/Cobble-on-300x168.jpg 300w, http://www.windtopik.fr/wp-content/uploads/2014/11/Cobble-on-1024x575.jpg 1024w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf4" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Pi-Cobbler &gt; Diode On</span></figcaption></figure><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Et, voilà pour la méthode Pi-Cobbler.</span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"></p><h2 style="line-height: 1.1; box-sizing: border-box; margin-top: 20px; margin-bottom: 10px;" class="cf1 cb2"><span id="Conclusion" style="box-sizing: border-box;" class="fs12">Conclusion</span></h2><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">Vous avez maintenant deux solutions pour allumer une diode. Évidemment ce tutoriel n’est qu’un avant-goût des possibilités du GPIO sur le Raspberry-Pi.</span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">J’espère que cette petite introduction sur le GPIO vous aura donné des idées pour mettre en place vos propres réalisations! N’hésitez pas à m’en faire part si c’est le cas. <img src="http://www.windtopik.fr/wp-includes/images/smilies/simple-smile.png" alt=":)" class="wp-smiley" style="box-sizing: border-box; height: 1em; max-width: 100%; padding: 0px; max-height: 1em; vertical-align: -0.1em !important; display: inline !important; box-shadow: none !important; width: 1em !important; margin-right: 0.07em !important; margin-left: 0.07em !important; background: none !important;" data-selected="false"></span></p><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">J’essayerai de vous présenter dans de prochains articles des cas pratiques un peu plus « poussés » sur le sujet :</span></p><ul style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><li style="box-sizing: border-box;"><em style="box-sizing: border-box;" class="fs12">Utilisation d’un bouton d’allumage ;</em></li><li style="box-sizing: border-box;"><em style="box-sizing: border-box;" class="fs12">Mise en place d’un tableau de contrôle avec diode ;</em></li><li style="box-sizing: border-box;"><em style="box-sizing: border-box;" class="fs12">Utilisation d’un script Bash ;</em></li><li style="box-sizing: border-box;"><em style="box-sizing: border-box;" class="fs12">etc…</em></li></ul><p style="line-height: 23.8px; box-sizing: border-box; margin-bottom: 10px;" class="cb2"><span class="fs12">A très bientôt !</span></p></div></div>]]></description>
			<pubDate>Thu, 25 Sep 2014 22:26:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?introduction-au-gpio-sur-le-raspberry-pi-</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/c3o12zm1</guid>
		</item>
		<item>
			<title><![CDATA[Un cloud personnel sur le Raspberry-PI : OwnCloud (2/2)]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_520d7o31"><header class="entry-header page-header cf2" style="box-sizing: border-box; padding-bottom: 0px; margin: 0px 0px 20px; border-bottom-width: 0px; line-height: 23.8px; widows: 1;"><h1 class="entry-title &nbsp;cf1" style="box-sizing: border-box; margin: 0px 0px 30px; line-height: 1.1;"><span class="fs12">Un cloud personnel sur le Raspberry-PI : OwnCloud (2/2)</span></h1></header><div class="entry-content cf2" style="box-sizing: border-box; margin: 1.5em 0px 0px; line-height: 23.8px; widows: 1;"><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Suite du <span style="box-sizing: border-box; font-weight: 700;"><span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">premier article</a></span></span> sur la mise en place d’une solution de Cloud personnel. Nous allons voir ici comment configurer plus en détail Owncloud.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span id="more-4855" style="box-sizing: border-box;" class="fs12"></span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Dans ce billet nous verrons donc comment faire pour :</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">1. Utiliser un disque dur externe</span> : Permet de gérer plus efficacement la solution. Vous pouvez ainsi transférer un plus grand nombre de médias.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">2. Améliorer le temps de chargement</span> : Méthode permettant de gagner de précieuses secondes lors de votre navigation sur owncloud.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">3. Se connecter en HTTPS (Protocole SSL)</span> : Méthode pour « forcer » la connexion en HTTPS à Owncloud. Ceci dans le but de sécuriser la connexion à Owncloud.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><br></p><div class="encart bleu" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px; border: 2px solid rgb(216, 216, 235); background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs12"><img class="alignnone size-full wp-image-116" src="http://www.windtopik.fr/wp-content/uploads/2013/01/Clipboard_Full.png" alt="Clipboard_Full" width="28" height="32" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%;" data-selected="false"> <span style="box-sizing: border-box; font-weight: 700;">Pré-Requis :</span></span><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span style="box-sizing: border-box; font-weight: 700;" class="fs12">Tutoriel :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">Installation et configuration de Raspbian</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">Overclocker son Raspberry-Pi</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">Un Cloud personnel sur le Raspberry-Pi (1/2)</a></span></li></ul><p style="box-sizing: border-box; margin-bottom: 10px;"><span style="box-sizing: border-box; font-weight: 700;" class="fs12">Matériel :<br style="box-sizing: border-box;"></span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a title="Disque Dur Externe" href="http://www.amazon.fr/gp/product/B005X7AXW0/ref=as_li_ss_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B005X7AXW0&amp;linkCode=as2&amp;tag=windtopik-21" target="_blank" sl-processed="1">Disque Dur externe</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a title="Hub USB auto alimenté" href="http://www.amazon.fr/gp/product/B004SOTVB8/ref=as_li_ss_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B004SOTVB8&amp;linkCode=as2&amp;tag=windtopik-21" target="_blank" sl-processed="1">Hub USB auto alimentée</a></span></li></ul><p style="box-sizing: border-box; margin-bottom: 10px;"></p></div><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Utiliser_un_disque_dur_externe" style="box-sizing: border-box;" class="fs12">Utiliser un disque dur externe</span></h2><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">l’intérêt de mettre en place une solution de « Cloud » et notamment de pouvoir stocker et d’accéder facilement à un nombre conséquent de données. Pour ce faire, il peut-être intéressant de couplés notre solution avec un disque dur externe.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">J’ai réalisé cette partie avec un disque dur de 500Go. Cependant, il faut ajouter une autre source d’alimentation (<em style="box-sizing: border-box;">HUB USB</em>) pour alimenter à la fois le Raspberry-Pi et le disque dur.</span></p><div class="encart warning" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(232, 226, 195); background-image: url(http://rendering/images/warning.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12">Avant de commercer, formater votre disque dur au format <span style="box-sizing: border-box; font-weight: 700;">ext3</span> ou <span style="box-sizing: border-box; font-weight: 700;">ext4</span>.</span><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">Comment formater un disque sous linux ?</a></span></p></div><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">On crée un répertoire qui va nous servir à « ouvrir » le disque :</span></p><div style="box-sizing: border-box;"><div id="highlighter_483156" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">mkdir</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/media/owncloud</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">On branche maintenant le Disque dur au Raspberry-Pi, et on lance la commande suivante :</span></p><div style="box-sizing: border-box;"><div id="highlighter_192935" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">blkid</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Vous devriez alors avoir à l’écran les informations sur votre disque dur.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Garder alors précieusement les informations du disque. Soit dans mon cas :</span></p><div style="box-sizing: border-box;"><div id="highlighter_5430" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 692px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 660px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/dev/sda1</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">: UUID=</code><code class="shell string cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"1a91d804-2635-4a9c-bc57-d90f5ca0cac6"</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">SEC_TYPE=</code><code class="shell string cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"ext2"</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">TYPE=</code><code class="shell string cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"ext3"</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">On édite maintenant le fichiers qui spécifie à quel endroit et monté notre disque :</span></p><div style="box-sizing: border-box;"><div id="highlighter_891195" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">nano </code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/fstab</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Modifier le <span style="box-sizing: border-box; font-weight: 700;">UUID</span> selon votre cas :</span></p><div style="box-sizing: border-box;"><div id="highlighter_2703" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 961px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">3</span></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">4</span></div><div class="line number5 index4 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">5</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 929px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">proc &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/proc</code> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">proc &nbsp;&nbsp;&nbsp;defaults &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/dev/mmcblk0p1</code> &nbsp;<code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/boot</code> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">vfat &nbsp;&nbsp;&nbsp;defaults &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2</code></span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/dev/mmcblk0p2</code> &nbsp;<code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ext4 &nbsp;&nbsp;&nbsp;defaults,noatime &nbsp;0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1</code></span></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">UUID=</code><code class="shell string cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"96f64567-c459-4d3d-9f52-e6aabee544d2"</code> &nbsp;&nbsp;&nbsp;&nbsp;<code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/media/owncloud</code> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ext4 &nbsp;&nbsp;&nbsp;defaults &nbsp;&nbsp;&nbsp;0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2</code></span></div><div class="line number5 index4 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell comments fs12 cf7 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"># a swapfile is not a swap partition, so no using swapon|off from here on, use &nbsp;dphys-swapfile swap[on|off] &nbsp;for that</code></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Ensuite on redémarre notre petite machine et on vérifie si le disque se monte correctement :</span></p><div style="box-sizing: border-box;"><div id="highlighter_734371" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">3</span></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">4</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">reboot</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">cd</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/media/owncloud</code></span></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ls</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-al</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Maintenant nous allons déplacer le chemin d’accès à Owncloud et créer quelques liens symboliques pour que l’on sache toujours où chercher les données.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">On commence par stopper le service apache2 :</span></p><div style="box-sizing: border-box;"><div id="highlighter_88214" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">service apache2 stop</code></span></div></div></td></tr></tbody></table></div></div><div class="encart info" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(216, 216, 235); background-image: url(http://rendering/images/info.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12">Dans ce tutoriel le répertoire owncloud et présent dans Apache soit<span style="box-sizing: border-box; font-weight: 700;">« /var/www/owncloud »</span>. Vous pouvez si vous le souhaitez transférer le contenu directement à la racine.</span><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Mais dans ce cas, n’oubliez pas de modifier les commandes suivantes en conséquence.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span style="box-sizing: border-box; font-weight: 700;"><span class="transpan" style="box-sizing: border-box;"><span id="tran0" style="box-sizing: border-box;" class="fs12">Commande pour déplacer le contenu à la racine :</span></span></span></p><div style="box-sizing: border-box;"><div id="highlighter_634883" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 591px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 574px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">3</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 542px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">cd</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">find</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">owncloud -maxdepth 1 -mindepth 1 -</code><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">exec</code> <code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">mv</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">{} . \;</code></span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">rmdir</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">owncloud</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"></p></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Déplacement de « /var/www/owncloud/data » vers « /media/owncloud » et création d’un nouveau lien symbolique :</span></p><div style="box-sizing: border-box;"><div id="highlighter_196247" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">mv</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/owncloud/data</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/media/owncloud/data</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ln</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-s </code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/media/owncloud/data</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/owncloud/data</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">On applique la même modification au dossier « config » :</span></p><div style="box-sizing: border-box;"><div id="highlighter_712947" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">mv</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/owncloud/config</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/media/owncloud/config</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ln</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-s </code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/media/owncloud/config</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/owncloud/config</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Puis on modifie les attribut des fichiers, et on relance Apache :</span></p><div style="box-sizing: border-box;"><div id="highlighter_809865" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">chown</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-R www-data:www-data </code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/media/owncloud</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">service apache2 start</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Toutes les données que vous transférez à partir d’Owncloud iront maintenant sur votre disque dur externe.</span></p><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Ameliorer_le_temps_de_chargement" style="box-sizing: border-box;" class="fs12">Améliorer le temps de chargement</span></h2><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Lors de l’utilisation d’owncloud, il se peut que le temps de chargement soit assez long… Notamment parce que lorsque l’on demande une page sur le serveur, le serveur doit compiler la page de la source de PHP et comme l’alimentation du RPi et basse, cela peut provoquer des ralentissements.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Ainsi pour améliorer le temps de chargement, nous avons la possibilité mettre en place un système de « cache » PHP.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Ceci permettant de passer de <span style="box-sizing: border-box; font-weight: 700;">20 secondes</span> (lors de la première visualisation de la page) <span style="box-sizing: border-box; font-weight: 700;">à 7-8 secondes</span> par la suite !</span></p><div class="encart info" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(216, 216, 235); background-image: url(http://rendering/images/info.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12">M<span style="box-sizing: border-box; font-weight: 700;">émoire cache</span> : mémoire qui enregistre temporairement des copies de données provenant d’une autre source de donnée, afin de diminuer le temps d’accès (en lecture ou en écriture).</span><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://fr.wikipedia.org/wiki/M%C3%A9moire_cache" target="_blank" class="imCssLink">En savoir plus…</a></span></p></div><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Passons donc à l’installation et au redémarrage du service :</span></p><div style="box-sizing: border-box;"><div id="highlighter_372912" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get </code><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">php-apc</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">service apache2 restart</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Évidemment, suite à l’installation la première fois que vous accéderez à une page cela risque d’être lent (20-25 secondes), mais lorsque vous reviendrez vous devriez remarquer une amélioration significative.</span></p><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Se_connecter_en_HTTPSProtocole_SSL" style="box-sizing: border-box;" class="fs12">Se connecter en HTTPS (Protocole SSL)</span></h2><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Dans cette partie, nous allons améliorer la sécurisation de notre &nbsp;accès à <span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a title="ownCloud" href="http://www.it-connect.fr/tutoriels/stockage/cloud/owncloud/" sl-processed="1">ownCloud</a></span> à travers une couche SSL en transformant les échanges HTTP en une session sécurisée HTTPS.</span></p><div class="encart info" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(216, 216, 235); background-image: url(http://rendering/images/info.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12">HTTPS permet au visiteur de vérifier l’identité du site web auquel il accède, grâce à un certificat d’authentification émis par une autorité tierce, réputée fiable (u<em style="box-sizing: border-box;">tilisé pour des transactions bancaires</em>).</span><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">En savoir plus : <span style="box-sizing: border-box; -webkit-transition: 0.3s; transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://fr.wikipedia.org/wiki/Transport_Layer_Security" target="_blank" class="imCssLink">SSL</a></span>, <span style="box-sizing: border-box; -webkit-transition: 0.3s; transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://fr.wikipedia.org/wiki/HyperText_Transfer_Protocol_Secure" target="_blank" class="imCssLink">HTTPS</a></span>.</span></p></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Pour commencer, on va modifier le fichier « virtual hosts » d’apache.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">On se dirige alors dans le répertoire suivant :</span></p><div style="box-sizing: border-box;"><div id="highlighter_234971" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">cd</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/apache2/sites-available/</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">On accède au fichier, puis dans la section « Directory », on modifie le paramètre « AllowOverride » comme ci-dessous :</span></p><div style="box-sizing: border-box;"><div id="highlighter_919587" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">3</span></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">4</span></div><div class="line number5 index4 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">5</span></div><div class="line number6 index5 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">6</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">nano default-ssl</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell comments fs12 cf7 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">#on modifie la ligne :</code></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">AllowOverride None</code></div><div class="line number5 index4 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell comments fs12 cf7 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">#Par :</code></div><div class="line number6 index5 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">AllowOverride All</code></div></div></td></tr></tbody></table></div></div><div class="encart info" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(216, 216, 235); background-image: url(http://rendering/images/info.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12"><span style="box-sizing: border-box; font-weight: 700;">AllowOverride</span> :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span class="fs12">Lorsque cette directive est définie à « None », les fichiers « .htaccess » sont totalement ignorés. Dans ce cas, le serveur n’essaiera même pas de lire les fichiers « .htaccess » du système de fichiers.</span></li><li style="box-sizing: border-box;"><span class="fs12">Lorsque cette directive est définie à « All », toute directive valable dans le « Contexte » .htaccess sera autorisée dans les fichiers « .htaccess ».</span></li></ul><p style="box-sizing: border-box; margin-bottom: 10px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://httpd.apache.org/docs/2.2/fr/mod/core.html" sl-processed="1">En savoir plus…</a></span></p></div><div class="encart warning" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(232, 226, 195); background-image: url(http://rendering/images/warning.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12">Avant de fermer le fichier, vérifier que vous disposez d’une ligne avec <span style="box-sizing: border-box; font-weight: 700;">« SSLEngine on »</span>, et que vos certificats SSLCertificateFile et SSLCertificateKeyFile sont bien à l’emplacement noté.</span></div><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">On active ensuite les modules et on relance le service Apache :</span></p><div style="box-sizing: border-box;"><div id="highlighter_919110" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">3</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">a2enmod ssl</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">a2ensite default-ssl</code></span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">service apache2 reload</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Maintenant, on se dirige vers notre navigateur web et on se connecte à Owncloud en HTTPS &gt;<span style="box-sizing: border-box; font-weight: 700;">https:://@IP_du_RPi/owncloud.</span></span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">On passe ensuite par le menu d’administration comme l’image suivante :</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12"> </span></p><figure id="attachment_4945" class="thumbnail wp-caption aligncenter" style="box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; line-height: 1.42857; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2014/12/admin.png" data-rel="lightbox-0" title="" sl-processed="1" class="inline-block"><img class="size-medium wp-image-4945" src="http://www.windtopik.fr/wp-content/uploads/2014/12/admin-300x200.png" alt="Admin > Administration" width="300" height="200" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf8" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Admin &gt; Administration</span></figcaption></figure><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Et on coche la casse <span style="box-sizing: border-box; font-weight: 700;">Enforce HTTPS </span>:</span></p><figure id="attachment_4946" class="thumbnail wp-caption aligncenter" style="box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; line-height: 1.42857; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2014/12/https.png" data-rel="lightbox-1" title="" sl-processed="1" class="inline-block"><img class="size-medium wp-image-4946" src="http://www.windtopik.fr/wp-content/uploads/2014/12/https-300x93.png" alt="Sécurité > Forcer HTTPS" width="300" height="93" srcset="http://www.windtopik.fr/wp-content/uploads/2014/12/https-300x93.png 300w, http://www.windtopik.fr/wp-content/uploads/2014/12/https.png 486w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf8" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Sécurité &gt; Forcer HTTPS</span></figcaption></figure><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Pour terminer, on vérifie que notre modification et valide.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Pour se faire, on se déconnecte et on tente de se reconnecter en <span style="box-sizing: border-box; font-weight: 700;">HTTP</span> &gt;<span style="box-sizing: border-box; font-weight: 700;">http:://@IP_du_RPi/owncloud.</span></span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Si tout se passe bien, l’accès devrait passer de <span style="box-sizing: border-box; font-weight: 700;">HTTP</span> en <span style="box-sizing: border-box; font-weight: 700;">HTTPS !</span></span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="transpan" style="box-sizing: border-box;"><span id="tran0" style="box-sizing: border-box;" class="fs12">Maintenant toutes vos communications entre les machines de client et votre serveur seront cryptées. <img src="http://www.windtopik.fr/wp-includes/images/smilies/simple-smile.png" alt=":)" class="wp-smiley" style="box-sizing: border-box; height: 1em; max-width: 100%; padding: 0px; max-height: 1em; vertical-align: -0.1em !important; display: inline !important; box-shadow: none !important; width: 1em !important; margin-right: 0.07em !important; margin-left: 0.07em !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-selected="false"><br style="box-sizing: border-box;"></span></span></p><div class="encart info" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(216, 216, 235); background-image: url(http://rendering/images/info.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="transpan" style="box-sizing: border-box;"><span id="tran1" style="box-sizing: border-box;" class="fs12">Si vous n’avez pas déjà de certificat SSL, vous pouvez vouloir produire votre propre et le faire signer par CACERT gratuitement.</span></span><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="transpan cf3" style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;"><span id="tran1" style="box-sizing: border-box;" class="fs12"><a href="http://www.linux-france.org/prj/edu/archinet/systeme/ch24s03.html" target="_blank" class="imCssLink">En savoir plus…</a></span></span></p></div><p style="box-sizing: border-box; margin-bottom: 10px;"></p><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Conclusion_partie_22" style="box-sizing: border-box;" class="fs12">Conclusion partie (2/2)</span></h2><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">J’espère que ce tutoriel vous aura permet de mieux appréhender cette solution de Cloud personnel.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">N’hésitez pas à me faire part de vos retours d’expérience sur la solution ou d’éventuel problème pour la mettre en œuvre.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><br></p><p style="box-sizing: border-box; margin-bottom: 10px;"><br></p></div></div>]]></description>
			<pubDate>Wed, 27 Aug 2014 16:55:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?un-cloud-personnel-sur-le-raspberry-pi---owncloud--2-2-</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/520d7o31</guid>
		</item>
		<item>
			<title><![CDATA[Formater un disque dur ou une clé usb sous Linux]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_j30mvri3"><h2 class="art-postheader cb1"><span class="fs16 cf1">Formater un disque dur ou une clé usb sous Linux</span></h2><div class="art-postcontent clearfix cf2 cb1"><div class="art-article"><p class="mt1 mb1"><img title="disque dur format" src="http://dmesg.fr/images/stories/imgs-linux/disque-dur-bin.jpg" alt="disque dur format" align="right" border="0" class="" data-selected="false"><span class="fs16">Linux peut formater en un grand nombre de formats. Outre les standards Linux (ext2, ext3, ext4, reiserfs, xfs, etc.), vous pouvez avoir besoin de formater un disque dur ou une clé USB dans un format reconnu par Windows (généralement FAT16, FAT32, ou NTFS).<br><br>Partons du principe que vous souhaitez formater une clé USB de 4 Go.<br><br></span></p><p class="mt1 mb1"><span class="fs16"><br>Vous devez d'abord repérer la clé. Tapez :<br><br><strong>fdisk -l</strong><br><br>et cherchez la ligne qui correspond à votre clé USB de 4 Go.<br><br><span class="imUl">Exemple :</span><br><br><span class="cf1">Disk /dev/sdf: 4023 MB</span>, 4023385600 bytes<br>124 heads, 62 sectors/track, 1022 cylinders<br>Units = cylinders of 7688 * 512 = 3936256 bytes<br>Disk identifier: 0x0004098c<br><br>Device Boot &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Blocks &nbsp;&nbsp;Id &nbsp;System<br><span class="cf1">/dev/sdf1</span> 1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1022 &nbsp;&nbsp;&nbsp;&nbsp;3928537 &nbsp;&nbsp;83 &nbsp;Linux<br><br><br><span class="imUl"><strong>Avant de formater, démontez le volume :</strong></span><br><br><strong>umount /dev/sdf1</strong><br><br><br><span class="imUl"><strong>Formater au format EXT3</strong></span><br><br>Pour formater au format EXT3. Tapez :<br><br><strong>mkfs.ext3 /dev/sdf1</strong><br><br><br><span class="imUl"><strong>Formater au format FAT32</strong></span><br><br>Installez d'abord le paquet dosfstools :<br><br><strong>apt-get install dosfstools</strong><br><br>Pour formater au format FAT 32. Tapez :<br><br><strong>mkfs.vfat -F 32 /dev/sdf1</strong><br><br>Si vous souhaitez donner un nom au volume, utilisez l'option -n :<br><br><strong>mkfs.vfat -F 32 -n CLE_USB_PERSO /dev/sdf1</strong><br><br><br><span class="imUl"><strong>Formater au format NTFS</strong></span><br><br><span class="imUl"></span>Installez d'abord le paquet ntfsprogs :<br><br><strong>apt-get install ntfsprogs</strong><br><br>Pour formater au format NTFS. Tapez :<br><br><span class="imUl"></span><strong>mkntfs /dev/sdf1</strong><br><br><br><br>Si votre clé USB est totalement vide et exempte de partition, vous devez d'abord créer une partition.<br><br><br><span class="imUl"><strong>Partitionner une clé USB de 4 Go en FAT 32</strong></span><br><br><br>Repérez la clé USB :<br><br><strong>fdisk -l</strong><br><br>Exemple de résultat :<br><br><span class="cf1">Disk /dev/sdf: 4023 MB</span>, 4023385600 bytes<br>124 heads, 62 sectors/track, 1022 cylinders<br>Units = cylinders of 7688 * 512 = 3936256 bytes<br>Disk identifier: 0x0004098c<br><br>Device Boot &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Blocks &nbsp;&nbsp;Id &nbsp;System<br><br><br>Tapez :<br><br><strong>fdisk /dev/sdf<br></strong><br>Tapez "<strong>n</strong>" puis "<strong>p</strong>" pour créer une partition primaire, et validez.<br>A la demande "Partition number", tapez <strong>1</strong>.<br>A la demande, "First cylinder", ne tapez rien et validez simplement.<br>A la demande, "Last cylinder", ne tapez rien et validez simplement.<br><br>Tapez "<strong>p</strong>" et validez. Vous devriez maintenant avoir l'affichage suivant :<br><br>Disk /dev/sdf: 4023 MB, 4023385600 bytes<br>124 heads, 62 sectors/track, 1022 cylinders<br>Units = cylinders of 7688 * 512 = 3936256 bytes<br>Disk identifier: 0x0004098c<br><br>Device Boot &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Blocks &nbsp;&nbsp;Id &nbsp;System<br>/dev/sdf1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1022 &nbsp;&nbsp;&nbsp;&nbsp;3928537 &nbsp;&nbsp;83 &nbsp;Linux<br><br>Vous remarquerez que la partition proposée par défaut est Linux, ce qui parait somme toute logique. Nous allons maintenant changer le type en FAT 32.<br><br>Tapez "<strong>t</strong>" et validez.<br>Tapez "<strong>L</strong>" pour afficher tous les types de formats possibles.<br><br>0 &nbsp;Empty &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1e &nbsp;Hidden W95 FAT1 80 &nbsp;Old Minix &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;be &nbsp;Solaris boot &nbsp;&nbsp;<br>1 &nbsp;FAT12 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;24 &nbsp;NEC DOS &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;81 &nbsp;Minix / old Lin bf &nbsp;Solaris &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>2 &nbsp;XENIX root &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;39 &nbsp;Plan 9 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;82 &nbsp;Linux swap / So c1 &nbsp;DRDOS/sec (FAT-<br>3 &nbsp;XENIX usr &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3c &nbsp;PartitionMagic &nbsp;83 &nbsp;Linux &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;c4 &nbsp;DRDOS/sec (FAT-<br>4 &nbsp;FAT16 &lt;32M &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;40 &nbsp;Venix 80286 &nbsp;&nbsp;&nbsp;&nbsp;84 &nbsp;OS/2 hidden C: &nbsp;c6 &nbsp;DRDOS/sec (FAT-<br>5 &nbsp;Extended &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;41 &nbsp;PPC PReP Boot &nbsp;&nbsp;85 &nbsp;Linux extended &nbsp;c7 &nbsp;Syrinx &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>6 &nbsp;FAT16 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;42 &nbsp;SFS &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;86 &nbsp;NTFS volume set da &nbsp;Non-FS data &nbsp;&nbsp;&nbsp;<br>7 &nbsp;HPFS/NTFS &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4d &nbsp;QNX4.x &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;87 &nbsp;NTFS volume set db &nbsp;CP/M / CTOS / .<br>8 &nbsp;AIX &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4e &nbsp;QNX4.x 2nd part 88 &nbsp;Linux plaintext de &nbsp;Dell Utility &nbsp;&nbsp;<br>9 &nbsp;AIX bootable &nbsp;&nbsp;&nbsp;4f &nbsp;QNX4.x 3rd part 8e &nbsp;Linux LVM &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;df &nbsp;BootIt &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>a &nbsp;OS/2 Boot Manag 50 &nbsp;OnTrack DM &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;93 &nbsp;Amoeba &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;e1 &nbsp;DOS access &nbsp;&nbsp;&nbsp;&nbsp;<br>b &nbsp;W95 FAT32 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;51 &nbsp;OnTrack DM6 Aux 94 &nbsp;Amoeba BBT &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;e3 &nbsp;DOS R/O &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>c &nbsp;W95 FAT32 (LBA) 52 &nbsp;CP/M &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;9f &nbsp;BSD/OS &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;e4 &nbsp;SpeedStor &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>e &nbsp;W95 FAT16 (LBA) 53 &nbsp;OnTrack DM6 Aux a0 &nbsp;IBM Thinkpad hi eb &nbsp;BeOS fs &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>f &nbsp;W95 Ext'd (LBA) 54 &nbsp;OnTrackDM6 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a5 &nbsp;FreeBSD &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ee &nbsp;EFI GPT &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>10 &nbsp;OPUS &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;55 &nbsp;EZ-Drive &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a6 &nbsp;OpenBSD &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ef &nbsp;EFI (FAT-12/16/<br>11 &nbsp;Hidden FAT12 &nbsp;&nbsp;&nbsp;56 &nbsp;Golden Bow &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a7 &nbsp;NeXTSTEP &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;f0 &nbsp;Linux/PA-RISC b<br>12 &nbsp;Compaq diagnost 5c &nbsp;Priam Edisk &nbsp;&nbsp;&nbsp;&nbsp;a8 &nbsp;Darwin UFS &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;f1 &nbsp;SpeedStor &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>14 &nbsp;Hidden FAT16 &lt;3 61 &nbsp;SpeedStor &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a9 &nbsp;NetBSD &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;f4 &nbsp;SpeedStor &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>16 &nbsp;Hidden FAT16 &nbsp;&nbsp;&nbsp;63 &nbsp;GNU HURD or Sys ab &nbsp;Darwin boot &nbsp;&nbsp;&nbsp;&nbsp;f2 &nbsp;DOS secondary &nbsp;<br>17 &nbsp;Hidden HPFS/NTF 64 &nbsp;Novell Netware &nbsp;b7 &nbsp;BSDI fs &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fd &nbsp;Linux raid auto<br>18 &nbsp;AST SmartSleep &nbsp;65 &nbsp;Novell Netware &nbsp;b8 &nbsp;BSDI swap &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fe &nbsp;LANstep &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>1b &nbsp;Hidden W95 FAT3 70 &nbsp;DiskSecure Mult bb &nbsp;Boot Wizard hid ff &nbsp;BBT &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>1c &nbsp;Hidden W95 FAT3 75 &nbsp;PC/IX <br><br>Tapez "<strong>b</strong>" qui correspond à FAT 32.<br><br>Tapez "<strong>p</strong>". Vous devriez maintenant avoir :<br><br>Device Boot &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Blocks &nbsp;&nbsp;Id &nbsp;System<br>/dev/sdf1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1022 &nbsp;&nbsp;&nbsp;&nbsp;3928537 &nbsp;&nbsp;&nbsp;b &nbsp;W95 FAT32<br><br><br>Jusqu'à présent, tout ce que ce vous venez de faire n'a pas encore été créé sur clé USB. Nous allons maintenant appliquer les modifications, c'est-à-dire écrire la table partition sur la clé USB.<br><br>Tapez "<strong>w</strong>" (write table to disk and exit).<br><br>Les modifications ont été appliquées et vous quittez automatiquement fdisk.<br><br>La clé USB est à présent partionnée. Vérifiez en tapant :<br><br><strong>fdisk -l</strong><br><br>Device Boot &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Blocks &nbsp;&nbsp;Id &nbsp;System<br>/dev/sdf1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1022 &nbsp;&nbsp;&nbsp;&nbsp;3928537 &nbsp;&nbsp;&nbsp;b &nbsp;W95 FAT32<br></span><br></p></div></div></div>]]></description>
			<pubDate>Tue, 26 Aug 2014 07:02:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?formater-un-disque-dur-ou-une-cle-usb-sous-linux</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/j30mvri3</guid>
		</item>
		<item>
			<title><![CDATA[Un cloud personnel sur le Raspberry-PI : OwnCloud (1/2)]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_3v67yhn7"><header class="entry-header page-header cf2" style="box-sizing: border-box; padding-bottom: 0px; margin: 0px 0px 20px; border-bottom-width: 0px; line-height: 23.8px; widows: 1;"><h1 class="entry-title &nbsp;cf1" style="box-sizing: border-box; margin: 0px 0px 30px; line-height: 1.1;"><span class="fs12">Un cloud personnel sur le Raspberry-PI : OwnCloud (1/2)</span></h1></header><div class="entry-content cf2" style="box-sizing: border-box; margin: 1.5em 0px 0px; line-height: 23.8px; widows: 1;"><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Dans ce billet, je vais vous présenter une solution de « Cloud Personnel » pour le Raspberry-Pi nommé <span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://owncloud.org/" target="_blank" sl-processed="1"><span style="box-sizing: border-box; font-weight: 700;">OwnCloud</span></a></span> !</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Cette solution vous permet de mettre en place votre propre service de « cloud » chez vous (sur un Raspberry-Pi bien sur ! <img draggable="false" class="emoji" alt="😉" src="https://s.w.org/images/core/emoji/72x72/1f609.png" style="box-sizing: border-box; max-width: 100%; vertical-align: -0.1em !important; height: 1em !important; display: inline !important; box-shadow: none !important; width: 1em !important; margin-right: 0.07em !important; margin-left: 0.07em !important; padding: 0px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-selected="false"> ). Cette solution open-source est donc une alternative aux autres iCloud, OneDrive ou encore Google Drive.<br style="box-sizing: border-box;"><span id="more-2993" style="box-sizing: border-box;"></span><br style="box-sizing: border-box;">Dans le même genre, vous pouvez également trouver <a href="http://www.seafile.com/en/home/" target="_blank" class="imCssLink"><span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3">Seafile</span><span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"> </span></a>ou encore <span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://cozy.io/fr/" target="_blank" class="imCssLink">CozyCloud</a></span>.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"></p><div class="encart bleu" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px; border: 2px solid rgb(216, 216, 235); background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs12"><img class="alignnone size-full wp-image-116" src="http://www.windtopik.fr/wp-content/uploads/2013/01/Clipboard_Full.png" alt="Clipboard_Full" width="28" height="32" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%;" data-selected="false"> <span style="box-sizing: border-box; font-weight: 700;">Pré-Requis :</span></span><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span style="box-sizing: border-box; font-weight: 700;" class="fs12">Tutoriel :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">Installation et configuration de Raspbian</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">Overclocker son Raspberry-Pi</a></span></li></ul><p style="box-sizing: border-box; margin-bottom: 10px;"><span style="box-sizing: border-box; font-weight: 700;" class="fs12">Matériels :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span class="fs12">Raspberry-Pi <span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://www.amazon.fr/gp/product/B008PT4GGC/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B008PT4GGC&amp;linkCode=as2&amp;tag=windtopik-21&amp;linkId=KEAICKABIWMCTGCA" target="_blank" sl-processed="1">Model B</a></span> ou <span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://www.amazon.fr/gp/product/B00LPESRUK/ref=as_li_tl?ie=UTF8&amp;camp=1642&amp;creative=19458&amp;creativeASIN=B00LPESRUK&amp;linkCode=as2&amp;tag=windtopik-21&amp;linkId=7XLYXPTK766M22Y2" target="_blank" sl-processed="1">Model B+</a></span></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B003VNKNEG/ref=as_li_tf_tl?ie=UTF8&amp;tag=windtopik-21&amp;linkCode=as2&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B003VNKNEG" sl-processed="1">Carte Mémoire SDHC Class 10 8 Go</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B003L1ZYYM/ref=as_li_tf_tl?ie=UTF8&amp;tag=windtopik-21&amp;linkCode=as2&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B003L1ZYYM" sl-processed="1">Câble HDMI</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B001TH7GVE/ref=as_li_tf_tl?ie=UTF8&amp;tag=windtopik-21&amp;linkCode=as2&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B001TH7GVE" sl-processed="1">Câble ethernet RJ45</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a id="static_txt_preview" href="http://www.amazon.fr/gp/product/B005ZHD2LC/ref=as_li_tf_tl?ie=UTF8&amp;camp=2522&amp;creative=9474&amp;creativeASIN=B005ZHD2LC&amp;link_code=as3&amp;tag=guita0f-21" target="_blank" sl-processed="1">Chargeur smartphone</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.amazon.fr/gp/product/B003V4A5UW/ref=as_li_tf_tl?ie=UTF8&amp;tag=windtopik-21&amp;linkCode=as2&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B003V4A5UW" sl-processed="1">Clavier et Souris USB</a></span></li><li style="box-sizing: border-box;"><span class="fs12">Un moniteur (Ecran)</span></li></ul><p style="box-sizing: border-box; margin-bottom: 10px;"></p></div><span class="fs12"><br style="box-sizing: border-box;"></span><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Preparation_du_Raspberry-Pi" style="box-sizing: border-box;" class="fs12">Préparation du Raspberry-Pi</span></h2><div class="encart info" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(216, 216, 235); background-image: url(http://rendering/images/info.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12">Je passe ici la partie <a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink"><span style="box-sizing: border-box; -webkit-transition: 0.3s; transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3">installation et mise à jour de Raspbian</span>.</a></span><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Owncloud étant plutôt « gourmand » en ressources, je vous conseille d’<span style="box-sizing: border-box; -webkit-transition: 0.3s; transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">overclocker votre Raspberry-Pi</a></span>.</span></p></div><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Pour débuter, nous allons installer les packages utiles pour installer et faire fonctionner correctement notre solution.</span></p><div style="box-sizing: border-box;"><div id="highlighter_185236" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 653px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 621px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get </code><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apache2 php5 php5-gd php-xml-parser php5-intl</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get </code><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">php5-sqlite php5-mysql smbclient curl libcurl3 php5-curl</code></span></div></div></td></tr></tbody></table></div></div><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><br></h2><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Installation_de_OwnCloud" style="box-sizing: border-box;" class="fs12">Installation de OwnCloud</span></h2><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Pour installer la dernière version sur votre Raspberry-Pi, vous allez devoir récupérer l’URL de la « dite » version depuis la page suivante &gt; <span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://owncloud.org/install/" target="_blank" sl-processed="1">Download</a></span>.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Cliquer maintenant sur <span style="box-sizing: border-box; font-weight: 700;">« Archive File »</span> comme ci-dessous :</span></p><figure id="attachment_4404" class="thumbnail wp-caption aligncenter" style="box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; line-height: 1.42857; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2014/10/owncloud-download.png" data-rel="lightbox-0" title="" sl-processed="1" class="inline-block"><img class="size-medium wp-image-4404" src="http://www.windtopik.fr/wp-content/uploads/2014/10/owncloud-download-300x76.png" alt="owncloud.org > install" width="300" height="76" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf6" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">owncloud.org &gt; install</span></figcaption></figure><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Faites ensuite un clic-droit sur <span style="box-sizing: border-box; font-weight: 700;">« Unix »</span> et <span style="box-sizing: border-box; font-weight: 700;">« copier l’adresse du lien »</span>.</span></p><figure id="attachment_4405" class="thumbnail wp-caption aligncenter" style="box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; line-height: 1.42857; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2014/10/owncloud-download2.png" data-rel="lightbox-1" title="" sl-processed="1" class="inline-block"><img class="size-medium wp-image-4405" src="http://www.windtopik.fr/wp-content/uploads/2014/10/owncloud-download2-300x84.png" alt="owncloud.org > Install > Copier l'URL" width="300" height="84" srcset="http://www.windtopik.fr/wp-content/uploads/2014/10/owncloud-download2-300x84.png 300w, http://www.windtopik.fr/wp-content/uploads/2014/10/owncloud-download2-1024x286.png 1024w, http://www.windtopik.fr/wp-content/uploads/2014/10/owncloud-download2.png 1157w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf6" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">owncloud.org &gt; Install &gt; Copier l’URL</span></figcaption></figure><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Maintenant, diriger vous vers votre prompt, taper <span style="box-sizing: border-box; font-weight: 700;">« sudo wget »</span> et coller ensuite l’URL copiée précédemment.</span></p><div style="box-sizing: border-box;"><div id="highlighter_57112" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">wget http:</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">//download</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.owncloud.org</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/community/owncloud-7</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.0.3.</code><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">tar</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.bz2</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Une fois l’archive téléchargée, nous allons l’extraire :</span></p><div class="encart warning" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(232, 226, 195); background-image: url(http://rendering/images/warning.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12">Penser bien à modifier l’archive comme l’URL copiée précédemment.</span></div><div style="box-sizing: border-box;"><div id="highlighter_741246" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">tar</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-xjf owncloud-7.0.3.</code><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">tar</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.bz2</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">On copie ensuite les fichiers dans Apache2 pour pouvoir accéder à l’interface web :</span></p><div style="box-sizing: border-box;"><div id="highlighter_42926" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">cp</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-r owncloud </code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Puis on procéder à l’attribution des droits sur le repertoire :</span></p><div style="box-sizing: border-box;"><div id="highlighter_967585" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">chown</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-R www-data:www-data </code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/owncloud</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Maintenant, nous allons changer les paramètres du virtual host pour activé le « .htaccess » pour Owncloud :</span></p><div style="box-sizing: border-box;"><div id="highlighter_437328" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">nano </code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/apache2/sites-enabled/000-default</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">On modifie alors la ligne ci-dessous dans la section « Directory » :</span></p><div style="box-sizing: border-box;"><div id="highlighter_771027" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">3</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">AllowOverride None</code></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell comments fs12 cf7 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">#Par la ligne suivante :</code></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">AllowOverride All</code></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Vérifier ensuite que le fichier « .htaccess » et bien présent :</span></p><div style="box-sizing: border-box;"><div id="highlighter_126950" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">3</span></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">4</span></div><div class="line number5 index4 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">5</span></div><div class="line number6 index5 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">6</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">cd</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/</code> <code class="shell comments cf7" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">#use /var/www/owncloud</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ls</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-al</code></span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell comments fs12 cf7 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">#Sinon lancer les commandes :</code></div><div class="line number5 index4 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">touch</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.htaccess</code></span></div><div class="line number6 index5 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">chown</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">www-data:www-data .htaccess</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Enfin lancer les commandes suivantes pour activer les modules d’apache et redémarrer apache2 :</span></p><div style="box-sizing: border-box;"><div id="highlighter_151850" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">3</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">a2enmod rewrite</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">a2enmod headers</code></span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">service apache2 restart</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"></p><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Connexion_a_lrsquointerface" style="box-sizing: border-box;" class="fs12">Connexion à l’interface</span></h2><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Pour vérifier que votre installation est valide, lancer votre navigateur web et spécifier l’URL suivante &gt; <span style="box-sizing: border-box; font-weight: 700;">http://Votre_@IP/owncloud.</span></span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">OwnCloud vous demandera alors de créer un compte. Saisissez pour ce faire un Identifiant et un Mot de passe.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Vous devriez alors accéder à l’accès suivant :</span></p><figure id="attachment_4761" class="thumbnail wp-caption aligncenter" style="box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; line-height: 1.42857; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 222px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2014/11/owncloud.png" data-rel="lightbox-2" title="" sl-processed="1" class="inline-block"><img class="size-medium wp-image-4761" src="http://www.windtopik.fr/wp-content/uploads/2014/11/owncloud-212x300.png" alt="Page de connexion de Owncloud" width="212" height="300" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf6" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Page de connexion – Owncloud</span></figcaption></figure><figure id="attachment_4812" class="thumbnail wp-caption aligncenter" style="box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; line-height: 1.42857; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2014/11/owncloud-connexion.png" data-rel="lightbox-3" title="" sl-processed="1" class="inline-block"><img class="wp-image-4812 size-medium" src="http://www.windtopik.fr/wp-content/uploads/2014/11/owncloud-connexion-300x284.png" alt="Interface principal de owncloud" width="300" height="284" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf6" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Interface principale – Owncloud</span></figcaption></figure><div class="encart info" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(216, 216, 235); background-image: url(http://rendering/images/info.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12">Sur Owncloud la base de données utilisée par défaut est <span style="box-sizing: border-box; font-weight: 700;">SQLite</span>.</span><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Mais si vous souhaitez utiliser cette solution je vous conseille d’installer <span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://doc.ubuntu-fr.org/mysql" target="_blank" sl-processed="1"><span style="box-sizing: border-box; font-weight: 700;">MySQL </span></a></span>ou<span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="cf3"><a href="http://doc.ubuntu-fr.org/mariadb" target="_blank" sl-processed="1"><span style="box-sizing: border-box; font-weight: 700;">MariaDB</span></a></span>.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"></p></div><div class="encart warning" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(232, 226, 195); background-image: url(http://rendering/images/warning.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12">Dans le cas ou vous auriez un message d’erreur du type « database drivers », tenter de réinstaller php5. Cela devrait résoudre le problème.</span><p style="box-sizing: border-box; margin-bottom: 10px;"></p><div style="box-sizing: border-box;"><div id="highlighter_101469" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 591px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 574px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 542px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get </code><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">php5-mysql</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">reboot</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"></p></div><p style="box-sizing: border-box; margin-bottom: 10px;"></p><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span id="Conclusion_partie_12" style="box-sizing: border-box;" class="fs12">Conclusion partie 1/2</span></h2><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Voilà pour la première partie de ce tutoriel pour mettre en place votre solution Cloud personnel.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Dans la deuxième partie à venir prochainement, nous verrons en détail comment :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><em style="box-sizing: border-box;" class="fs12">Améliorer le temps de chargement des pages</em></li><li style="box-sizing: border-box;"><em style="box-sizing: border-box;" class="fs12">Utiliser un disque dur externe</em></li><li style="box-sizing: border-box;"><em style="box-sizing: border-box;" class="fs12">Sécuriser Owncloud par HTTPS</em></li></ul><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">A Très vite !</span></p></div></div>]]></description>
			<pubDate>Mon, 25 Aug 2014 12:24:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?un-cloud-personnel-sur-le-raspberry-pi---owncloud--1-2-</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/3v67yhn7</guid>
		</item>
		<item>
			<title><![CDATA[Créez une carte SD Raspbian pour votre Raspberry Pi depuis Windows]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_2y253y70"><h1 class="imTAJustify post-title cf1"><span class="fs12">Créez une carte SD Raspbian pour votre Raspberry Pi depuis Windows</span></h1><p class="mb1 imTAJustify cf2"><span class="fs12">Nous avons donc décidé <span class="">de refaire ce tutoriel, avec un autre logiciel, Win32DiskImager.</span> Ce tutoriel reprendra donc des parties de l’ancien tutoriel, en les réadaptant au nouveau logiciel.</span></p><h2 class="imTAJustify western cf1"><span class="fs12">Pourquoi créer une carte SD pour votre Raspberry Pi ?</span></h2><p class="mb1 imTAJustify cf2"><span class="fs12">Si vous connaissez un peu la Raspberry Pi, vous savez surement qu’elle est livrée dans le plus simple appareil, sans alimentation, boitier, etc.</span></p><p class="mb1 imTAJustify cf2"><span class="fs12">Vous savez aussi peut-être <span class="">que la Raspberry Pi ne possède pas de disque dur. À la place, la Raspberry Pi utilise une carte SD comme disque dur, pour être plus précis il s’agit depuis la version B+ de la Raspberry Pi d’une carte MicroSD.</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs12">Pour plus d’informations sur les cartes MicroSD, l’alimentation, le boitier, etc., <span class="cf3"><a title="Bien choisir les accessoires pour votre Raspberry Pi 2." href="http://raspbian-france.fr/accessoires-raspberry-pi-2/" target="_blank">faites un tour sur notre article consacré aux accessoires de la Raspberry Pi</a></span>.</span></p><p class="mb1 imTAJustify cf2"><span class="fs12">Compte tenu du fait que la carte SD sert de disque dur à la Raspberry Pi, nous allons devoir<span class=""> installer un système d’exploitation dessus,</span> nous choisirons ici Raspbian, une distribution robuste, adaptée à la grande majorité des usages et optimisée pour la Raspberry Pi.</span></p><p class="mb1 imTAJustify cf2"><span class="fs12">Il est possible de trouver <span class="cf3"><a title="Carte MicroSD avec Noobs pré-installé" href="http://www.amazon.fr/gp/product/B00LMF3QSU/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00LMF3QSU&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=EYJBCLYQIGYBESFG" target="_blank" rel="nofollow">des cartes qui soient déjà pré-installées</a></span>, cependant celles-ci font majoritairement tourner NOOBS plutôt que Raspbian, NOOBS qui prendra plus de place que nécessaire et nous semble de façon générale moins stable que Raspbian.</span></p><p class="mb1 imTAJustify cf2"><span class="fs12">Par ailleurs, ces cartes sont souvent de qualité moyenne, et proposent une vitesse réduite. Nous vous conseillons donc plutôt de vous orienter <span class="cf3"><a title="Carte MicroSD rapide et fiable" href="http://www.amazon.fr/gp/product/B010NE3ND8/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B010NE3ND8&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">vers une carte SD rapide et fiable</a></span>, <span class="">les performances de la Raspberry Pi risquant d’être fortement influencées par la qualité de la carte SD choisie.</span></span></p><p class="mb1 imTAJustify cf2"><span class="fs12"> </span></p><h3 class="imTAJustify cf1"><span class="fs12">Les cartes SD que nous recommandons</span></h3><p class="mb1 imTAJustify cf2"><span class="fs12">De façon générale, le choix d’une bonne carte SD peut totalement changer votre expérience de la Raspberry Pi !</span></p><p class="mb1 imTAJustify cf2"><span class="fs12">En effet, la carte SD est tout le temps appelée en écriture par le système. Par conséquent, si la carte est lente le système l’est aussi. Nous vous conseillons donc de choisir une des cartes ci-dessous. Il s’agit de cartes très hautes performances proposant néanmoins des coûts tout à fait acceptables.</span></p><ul class="imTAJustify cf2"><li class=""><span class="fs12">Pour &nbsp;une petite installation standard, <span class="cf3"><a href="http://www.amazon.fr/gp/product/B010NE3ND8/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B010NE3ND8&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">choisissez une carte 16 Go.</a></span></span></li><li class=""><span class="fs12">Pour une installation gérant un peu plus de multimédia ou de log, <span class="cf3"><a href="http://www.amazon.fr/gp/product/B010NE3QS0/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B010NE3QS0&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">choisissez une carte 32 Go.</a></span></span></li><li class=""><span class="fs12">Pour une installation destinée à accueillir pas mal de multimédia et des films,<span class="cf3"><a href="http://www.amazon.fr/gp/product/B010NE3N3S/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B010NE3N3S&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">optez pour une carte 64 Go.</a></span></span></li></ul><p class="mb1 imTAJustify cf2"><span class="fs12"> </span></p><h2 class="imTAJustify western cf1"><span class="fs12">Les fichiers et programmes nécessaires à la création de la carte SD</span></h2><p class="mb1 imTAJustify cf2"><span class="fs12">Pour la suite de ce tutoriel vous aurez besoin de<a href="http://downloads.raspberrypi.org/raspbian_latest" target="_blank" class="imCssLink"> <span class="cf3">télécharger la dernière version de la distribution Raspbian</span></a>, c’est elle que nous installerons sur la carte SD de votre Raspberry Pi.</span></p><p class="mb1 imTAJustify cf2"><span class="fs12">Vous aurez également besoin du logiciel Win32DiskManager, je vous laisse <span class="cf3"><a href="http://sourceforge.net/projects/win32diskimager/files/latest/download" target="_blank" class="imCssLink">le télécharger ici</a></span>, et l’installer.</span></p><p class="mb1 imTAJustify cf2"><span class="fs12">Notez qu’au niveau matériel, vous aurez besoin de pouvoir écrire sur la carte SD, ce qui implique soit un ordinateur avec un port adapté, soit de prendre <span class="cf3"><a title="Lecteur carte SD et MicroSD" href="http://www.amazon.fr/gp/product/B008QCY1Y0/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B008QCY1Y0&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">un lecteur de carte SD externe.</a></span></span></p><p class="mb1 imTAJustify cf2"><span class="fs12"> </span></p><h2 class="imTAJustify western cf1"><span class="fs12">Installation de Raspbian sur la carte SD du Raspberry Pi.</span></h2><p class="mb1 imTAJustify cf2"><span class="fs12">Vous devriez maintenant avoir installé Win32DiskImager, et téléchargé la dernière version de Raspbian.</span></p><p class="mb1 imTAJustify cf2"><span class="fs12">Vous avez donc une archive « .zip » de Raspbian, décompressez là et vous devriez obtenir un fichier « .img ».</span></p><p class="mb1 imTAJustify cf2"><span class="fs12">Insérez votre carte SD dans le lecteur de votre ordinateur, et une fois celle-ci reconnue, lancez Win32DiskImager et cliquez sur l’icône représentant un dossier à droite du champ « Image File ».</span></p><div id="attachment_771" class="imTACenter wp-caption aligncenter cf2"><span class="fs12 cf3"><a href="http://raspbian-france.fr/wp-content/uploads/2015/03/installer-raspbian-1.jpg" class="inline-block"><img src="http://raspbian-france.fr/wp-content/uploads/2015/03/installer-raspbian-1-300x152.jpg" alt="Choisir le fichier .img" width="300" height="152" class="size-medium wp-image-771" data-selected="false"></a></span><p class="wp-caption-text"><span class="fs12">Cliquez sur l’icône en forme de dossier.</span></p></div><p class="mb1 imTAJustify cf2"><span class="fs12">Cela ouvrira l’explorateur de fichier, allez jusqu’au fichier « .img » obtenu un peu plus tôt en désarchivant le fichier ZIP de Raspbian.</span></p><p class="mb1 imTAJustify cf2"><span class="fs12">À droite de l’icône en forme de dossier, dans le champ « Device », choisissez le lecteur correspondant à votre carte MicroSD, ne vous trompez surtout pas de lecteur !</span></p><div id="attachment_772" class="imTACenter wp-caption aligncenter cf2"><span class="fs12 cf3"><a href="http://raspbian-france.fr/wp-content/uploads/2015/03/installer-raspbian-2.jpg" class="inline-block"><img src="http://raspbian-france.fr/wp-content/uploads/2015/03/installer-raspbian-2-300x152.jpg" alt="Choisir le disque" width="300" height="152" class="size-medium wp-image-772" data-selected="false"></a></span><p class="wp-caption-text"><span class="fs12">Choisissez le lecteur correspondant à votre carte MicroSD</span></p></div><p class="mb1 imTAJustify cf2"><span class="fs12">Une fois ceci fait, cliquez sur le bouton « Write », vous verrez alors l’écriture de l’image sur votre carte SD progresser.</span></p><div id="attachment_773" class="imTACenter wp-caption aligncenter cf2"><span class="fs12 cf3"><a href="http://raspbian-france.fr/wp-content/uploads/2015/03/installer-raspbian-3.jpg" class="inline-block"><img src="http://raspbian-france.fr/wp-content/uploads/2015/03/installer-raspbian-3-300x151.jpg" alt="Lancer l'écriture sur la carte" width="300" height="151" class="size-medium wp-image-773" data-selected="false"></a></span><p class="wp-caption-text"><span class="fs12">Cliquez sur le bouton « Write » lancera l’écriture.</span></p></div><p class="mb1 imTAJustify cf2"><span class="fs12"> </span></p><div id="attachment_774" class="imTACenter wp-caption aligncenter cf2"><span class="fs12 cf3"><a href="http://raspbian-france.fr/wp-content/uploads/2015/03/installer-raspbian-4.jpg" class="inline-block"><img src="http://raspbian-france.fr/wp-content/uploads/2015/03/installer-raspbian-4-300x155.jpg" alt="Écriture sur la carte en cours" width="300" height="155" class="size-medium wp-image-774" data-selected="false"></a></span><p class="wp-caption-text"><span class="fs12">Vous pourrez voir en direct la progression de l’écriture de Raspbian sur la carte SD de votre Raspberry Pi</span></p></div><p class="mb1 imTAJustify cf2"><span class="fs12"> </span></p><p class="mb1 imTAJustify cf2"><span class="fs12">Une fois l’écriture terminée, la fenêtre affiche « Done » sous la barre de progression. Il ne vous reste plus qu’à quitter Win32DiskImager, à éjecter votre carte SD !</span></p><p class="mb1 imTAJustify cf2"><span class="fs12"> </span></p><h2 class="imTAJustify western cf1"><span class="fs12">Conclusion</span></h2><p class="mb1 imTAJustify cf2"><span class="fs12">La carte Raspbian est prête, il ne vous reste plus qu’à l’insérer dans votre Raspberry Pi et à brancher cette dernière.<span class=""> Pour continuer, nous vous conseillons <span class="cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">de faire un tour sur notre tutoriel dédié au premier démarrage de Raspbian !</a></span></span></span></p><p class="mb1 imTAJustify cf2"><span class="fs12">Nous espérons que ce tutoriel vous aura été utile et que vous vous amuserez bien avec votre Raspberry Pi !</span></p><p class="mb1 imTAJustify cf2"><br></p></div>]]></description>
			<pubDate>Tue, 08 Jul 2014 14:46:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?creez-une-carte-sd-raspbian-pour-votre-raspberry-pi-depuis-windows</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/2y253y70</guid>
		</item>
		<item>
			<title><![CDATA[Activer les fichiers .htaccess sur Raspbian]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_92a1ks63"><h1 class="post-title cf1" style="margin: 0px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs12">Activer les fichiers .htaccess sur Raspbian</span></h1><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Dans cet article nous allons parler <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">de configuration serveur</span>, et plus particulièrement des <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">fichiers .htaccess qui ne fonctionnent pas</span>. Il faut donc que vous ayez <span style="font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit;" class="cf2"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">installé un serveur Apache sur votre Raspbian.</a></span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Mais d’abord, définissons ce qu’est un fichier .htaccess.</span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs12">Les .htaccess c’est quoi ?</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Les « .htaccess », c’est des fichiers. Plus précisément, c’est <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">des fichiers de configuration</span>, à destination <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">du serveur Apache</span>.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Ces fichiers servent à de nombreuses choses, on peut citer entre autres la mise en place de redirections, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">la réécriture d’URL, ou la limitation d’accès à un répertoire</span>(par exemple avec un mot de passe).</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">La particularité des fichiers htaccess, c’est qu’<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">ils se placent dans les répertoires ciblés</span> (et s’appliquent aux répertoires contenus par ceux-ci). Ils permettent donc de<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">gérer facilement des sites, sans avoir la possibilité d’accéder à la configuration centrale d’Apache.</span> Ils sont donc utilisés dans de très nombreux projets, et sont sans doute le meilleur moyen de <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">gérer facilement la réécriture d’URL, ou les redirections,</span> et d’exporter ces réglages vers d’autres machines, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">sans avoir besoin de configurer celles-ci</span><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12"> </span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs12">Ça fonctionne comment ?</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Les fichiers htaccess sont analysés <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">lorsqu’un utilisateur envoie une requête au serveur.</span> Lors de la requête, et afin de savoir comment y répondre, le serveur possède <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">dès le départ</span> une configuration générale, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">celle qui s’applique à tous les sites.</span> Puis, il va consulter <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">la configuration spécifique du site</span>, celle qui ne s’applique<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">qu’au site cible</span>. Enfin, il va analyser <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">chaque dossier </span>depuis la racine des sites, jusqu’à celui du dossier contenant la ressource demandée par la requête, afin de voir si un fichier « .htaccess » est présent, et le cas échéant appliquer le comportement adapté, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">à son contenu au dossier, et à ses enfants.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Pour chaque étape, si une configuration déjà renseignée lors de l’étape précédente est trouvée, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">elle viendra écraser la configuration appliquée jusqu’alors.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">On pourrait résumer ce comportement en disant que pour les configurations, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">les cas les plus particuliers prévalent sur les cas plus généraux.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Ce système signifie donc que la présence de fichier .htaccess va forcément ralentir (bien qu’en pratique cela ne se voit que très peu) le serveur Apache. Préférez donc aussi souvent que possible <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">l’utilisation de la configuration principale, ou de la configuration dédiée au site</span>, à la configuration par htaccess.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Un point important des fichiers .htaccess, c’est qu’ils bloquent les requêtes des utilisateurs, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">mais pas du serveur lui-même.</span> Il est donc possible d’<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">inclure en PHP un fichier dans un dossier protégé par .htaccess.</span> Cela permet par exemple de stocker des fichiers de configuration, ou des fichiers servant de bases de données.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Pour que vous compreniez bien, voici un petit schéma résumant le fonctionnement d’apache et des fichiers « .htaccess ».</span></p><div id="attachment_305" class="wp-caption aligncenter cf3" style="margin: 0px auto; padding: 10px 5px; border: 1px solid rgb(223, 223, 223); font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: center; max-width: 100%; widows: 1; width: 610px;"><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="fs12 cf2"><a href="http://raspbian-france.fr/wp-content/uploads/2014/05/fonctionnement_htaccess.jpg" class="inline-block"><img class="size-full wp-image-305" src="http://raspbian-france.fr/wp-content/uploads/2014/05/fonctionnement_htaccess.jpg" alt="Schéma de fonctionnement des .htaccess" width="600" height="424" style="margin-right: auto; margin-left: auto; padding: 0px; border-width: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; max-width: 100%; height: auto; display: block;" data-selected="false"></a></span><p class="wp-caption-text" style="padding-top: 10px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs12">Le fonctionnement des .htaccess et de la configuration Apache. En noir les actions toujours effectuée, en vert celle effectuées si le test est positif, en rouge si il est négatif.</span></p></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Vous devriez maintenant avoir tout compris ! Les fichiers .htaccess n’ont plus de secret pour vous, et vous saurez toujours quelle configuration a la priorité !</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Nous allons donc pouvoir passer au cœur du tutoriel, à savoir <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">comment activer les fichiers .htaccess.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12"> </span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs12">Pourquoi mes .htaccess ne marchent pas ?</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">C’est un problème que nous avons déjà rencontré dans l’équipe de rédaction (comme toujours avec nos tutoriels). Nous prenons une Raspberry, nous installons un serveur web dessus, nous créons un dossier pour y stocker des sauvegardes de bases de données, ou des fichiers de configurations sensibles, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">nous en restre</span><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">ign</span><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">ons l’accès via un .htaccess</span>, et… Ça marche pas. <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Le serveur ne nous empêche pas d’accéder au contenu du dossier.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Alors pourquoi ça ? Pourquoi ce maudit serveur continue de nous fournir les données sur un plateau d’argent ? Il y a trois possibilités qui peuvent expliquer cette situation :</span></p><ol style="margin: 40px 0px 40px 50px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><li style="margin-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs12">Le fichier .htaccess <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">n’est pas au bon endroit.</span></span></li><li style="margin-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs12">Le fichier .htaccess <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">est mal écrit.</span></span></li><li style="margin-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs12">Les fichiers .htaccess ne marchent pas, ils <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">ne sont pas activés dans Apache.</span></span></li></ol><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12"> </span></p><h2 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs12">Vérifier la cause du problème des .htaccess, et les activer.</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Maintenant que nous connaissons les différentes causes d’erreurs possibles, nous allons voir <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">comment trouver laquelle empêche vos .htaccess de fonctionner.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12"> </span></p><h3 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs12">Mauvais emplacement</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Dans le premier cas, à vous de vérifier <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">si le fichier .htaccess est bien dans le répertoire adapté,</span> par exemple via la commande suivante :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><div id="highlighter_627406" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ls</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-a chemin_repertoire | </code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">grep</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.htaccess</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">L’argument -a permet d’afficher tous les fichiers, même les fichiers cachés (sous Unix, les fichiers commençant par un point, comme « .htaccess » sont cachés). Et la commande grep permet de récupérer <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">uniquement la ligne concernant le fichier .htaccess.</span> Vous devriez donc obtenir comme retour « .htaccess ». Si vous obtenez un retour vide, cela signifie que <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">le fichier .htaccess n’est pas présent.</span> À vous alors de le créer et de le remplir comme il se doit.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12"> </span></p><h3 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs12">Htaccess mal écrit</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Maintenant que nous avons vu que <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">le problème ne provient pas du fait que le fichier soit mal placé</span><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">,</span> nous allons vérifier s’il ne s’agit pas d’un <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">simple problème d</span><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">e fichier</span><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"> .htaccess </span><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">mal fait</span>. Pour cela, nous allons créer <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">à la racine du serveur web</span> (le dossier contenant tous les sites, a priori le répertoire « /var/www ») un fichier .htaccess interdisant <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">tous les accès, pour tous les utilisateurs.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Pour cela, utilisez la commande :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><div id="highlighter_398915" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">echo</code> <code class="bash string cf6" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">'deny from all'</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">&gt; </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/html/</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.htaccess</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Tentez maintenant d’accéder à l’adresse de votre site. <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Vous devriez obtenir une erreur 403</span>, « You don’t have permission to access / on this server. ».</span></p><div id="attachment_306" class="wp-caption aligncenter cf3" style="margin: 0px auto; padding: 10px 5px; border: 1px solid rgb(223, 223, 223); font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: center; max-width: 100%; widows: 1; width: 510px;"><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="fs12 cf2"><a href="http://raspbian-france.fr/wp-content/uploads/2014/05/erreur_403.jpg" class="inline-block"><img class="size-full wp-image-306" src="http://raspbian-france.fr/wp-content/uploads/2014/05/erreur_403.jpg" alt="Screenshot d'une erreur 403 par Apache." width="500" height="280" style="margin-right: auto; margin-left: auto; padding: 0px; border-width: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; max-width: 100%; height: auto; display: block;" data-selected="false"></a></span><p class="wp-caption-text" style="padding-top: 10px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs12">Une jolie erreur 403 d’Apache.</span></p></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Si c’est le cas, cela signifie que <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vous aviez simplement mal écrit votre fichier .htaccess.</span> Là encore, à vous de trouver comment écrire correctement un fichier .htaccess, <span style="font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit;" class="cf2"><a href="http://httpd.apache.org/docs/2.2/fr/howto/htaccess.html" target="_blank" class="imCssLink">de la documentation sur le sujet existe.</a></span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12"><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Si ce n’est pas le cas,</span> cela signifie que <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">la configuration </span><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">par </span><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">htaccess n’est pas activée dans Apache.</span> Il va donc falloir <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">activer les .htaccess dans Apache</span>, et ça se passe dans la configuration.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12"> </span></p><h3 class="western cf1" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs12">Htaccess pas activé</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">S’il ne s’agit ni d’un mauvais emplacement, ni d’un htaccess mal écrit, alors c’est forcément que <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vos fichiers .htaccess ne sont pas activés.</span> C’est le cas <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">par défaut</span> lors de l’installation d’Apache sur Raspbian.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12"> </span></p><h4 class="western cf7" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-transform: uppercase; text-align: justify; widows: 1;"><span class="fs12">POURQUOI RASPBIAN N’ACTIVE PAS LES .HTACCESS PAR DÉFAUT ?</span></h4><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">La question est tout de même légitime. Pourquoi, alors que tout le monde les utilise,<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Raspbian n’active pas automatiquement les fichiers .htaccess ?</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">La réponse à déjà été évoquée plus haut, c’est <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">pour des </span><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">raisons</span><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"> de performances.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Lors de la partie sur le fonctionnement des .htaccess, nous avons dit que <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">le fait de mettre un .htaccess réduit les performances du serveur</span>, ce dernier devant le lire, interpréter les modifications à apporter, et les mettre en place.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Cependant, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">même si l’on ne met pas de fichiers htaccess en place, cela réduit quand même les performances du serveur.</span> En effet, nous l’avons également expliqué, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">le serveur va systématiquement chercher si un fichier « .htaccess » existe</span>, et ce pour chaque répertoire jusqu’à celui (inclus) de la ressource demandée. Par conséquent, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">des ressources seront utilisées à chaque fois, afin de vérifier la présence ou non de ces fichiers, alors qu’il n’en existe aucun.</span> Il s’agit donc de ressources dépensées <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">absolument pour rien.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Pour éviter cela, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">la seule solution est de désactiver le support des htaccess dans Apache.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Par conséquent, certaines distributions, dont Debian, et par conséquent Raspbian, ont choisi de <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">désactiver par défaut le support des .htaccess dans les options d’Apache,</span> et ce dans l’optique d’<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">optimiser la vitesse du système</span>, laissant le soin aux utilisateurs d’activer les .htaccess dans Apache <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">uniquement s</span><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">‘il</span><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">s en ont l’utilité.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Il s’agit finalement d’un vraie bonne idée.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12"> </span></p><h4 class="western cf7" style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-transform: uppercase; text-align: justify; widows: 1;"><span class="fs12">ACTIVER LE SUPPORT DES HTACCESS DANS APACHE</span></h4><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Pour cette partie nous allons réutiliser le fichier .htaccess créé lors de la vérification de l’écriture du .htaccess. <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">En conséquence, si ce n’est pas encore fait, créez-le.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Jusqu’à présent, même avec le .htaccess refusant toutes les connexions et placé dans le répertoire racine de vos sites web, lors d’une requête <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">votre serveur vous retourne toujours les ressources sans broncher.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Nous allons donc <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">modifier les configurations d’Apache2, et activer les htaccess.</span>Pour cela, éditez le fichier <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">de configuration </span><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">par défaut</span> des sites d’Apache avec votre éditeur favori, pour nous ce sera « nano » (il vous faudra les droits root, soit via l’utilisation du compte root, soit via la commande sudo) :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><div id="highlighter_176161" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">nano </code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/apache2/apache2</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.conf</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Puis, cherchez les lignes :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><div id="highlighter_436026" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">AllowOverride None</code></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Et remplacez-les par</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><div id="highlighter_305994" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 cf5 ff1" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">AllowOverride All</code></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Enfin, enregistrez les modifications.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Astuces :</span></p><ul style="margin: 40px 0px 40px 50px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><li style="margin-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs12">Avec nano vous pouvez faire une recherche via le raccourci clavier Ctrl + w</span></li><li style="margin-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs12">Avec vi (ou équivalent), vous pouvez directement remplacer les lignes en tapant « :%s/AllowOverride None/AllowOverride All/g »</span></li></ul><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Si vous avez créé d’autres fichiers de configuration pour certains sites, dans lesquelles sont renseignés « AllowOverride », <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">assurez-vous de bien les mettre à la bonne valeur eux aussi.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Pour que les modifications soient prises en compte, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vous devez redémarrer le serveur Apache :</span></span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><div id="highlighter_589219" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/init</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.d</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/apache2</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">restart</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; vertical-align: baseline;" class="fs12">Les fichiers htaccess devraient maintenant être opérationnels.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Vérifiez-le en tentant d’accéder à votre site. Si vous avez créé le fichier .htaccess de la partie « htaccess mal écrit », vous devriez alors obtenir <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">une erreur 403</span>. Il ne vous reste plus qu’à supprimer le fichier « .htaccess » de test, via la commande :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><div id="highlighter_743463" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">rm</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/www/html/</code><code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.htaccess</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Voilà, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vos fichiers .htaccess sont maintenant activés</span>, et vous pouvez de nouveau utiliser vos redirections et autres restrictions d’accès.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Vous n’avez plus <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf2"><a title="Un bon disque dur, qui tournera très bien sur la Raspberry" href="http://www.amazon.fr/gp/product/B00C9TEL46/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00C9TEL46&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">qu’à vous prendre un disque dur externe</a></span>, et <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vous pourrez stocker tous vos films sur votre serveur, et protéger le répertoire avec un mot de passe</span>, et ainsi accéder à vos films depuis n’importe où !</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf3"><span class="fs12">Sinon, vous pouvez toujours vous amuser à créer d’autres choses avec votre Raspberry Pi, <a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)"><span style="font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit;" class="cf2">comme un media-center pourquoi pas</span>, ou encore une <span style="font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit;" class="cf2">console pour le rétro-gaming</span> </a>!</span></p></div>]]></description>
			<pubDate>Tue, 06 May 2014 14:23:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?activer-les-fichiers--htaccess-sur-raspbian</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/92a1ks63</guid>
		</item>
		<item>
			<title><![CDATA[Installer Raspbian, premier démarrage et configuration]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_j30o7997"><h1 class="post-title cf1" style="margin: 0px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;"><span class="fs16">Installer Raspbian, premier démarrage et configuration</span></h1><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Voici un article qui vient compléter ceux sur la création des cartes SD. Certes, il eut été plus logique de le publier avant celui sur les serveurs web, mais nos articles étant le plus souvent écris suite à notre confrontation à certaines difficultés, nous préférons les rédiger le plus tôt possible, afin <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">d’en améliorer la pertinence.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span style="line-height: 23px;"><span class="fs16">Comme vous pouvez le voir, </span><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; vertical-align: baseline;" class="fs21"><a href="http://youtu.be/9-SWsavXz_s" target="_blank" class="imCssLink">ce tutoriel est aussi disponible en vidéo.</a></span><span class="fs16"> Cette dernière vous permet de suivre en direct une installation, </span><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; vertical-align: baseline;" class="fs16">à partir de l’étape de configuration.</span><br><span class="fs16">Nous espérons que cette vidéo vous sera utile, et qu’elle vous permettra de suivre plus facilement les différentes étapes de configuration.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">C’est donc aujourd’hui sur <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">la première installation de Raspbian</span> que nous allons nous pencher, afin de clore la partie mise en place de la raspberry.</span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Les outils nécessaires</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour cette installation de raspbian, vous aurez besoin de plusieurs choses.<br>Tout d’abord, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Raspberry Pi 2" href="http://www.amazon.fr/gp/product/B00T2U7R7I/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00T2U7R7I&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=IXEFHYYRC4D5XWPS" target="_blank" rel="nofollow">d’une raspberry Pi</a></span>, et de <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Alimentation pour Raspberry Pi" href="http://www.amazon.fr/gp/product/B00U88KSHO/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B00U88KSHO&amp;linkCode=as2&amp;tag=raspbianfranc-21&amp;linkId=AB7YO52GOCYWIQ5E" target="_blank" rel="nofollow">son alimentation</a></span>. Ensuite, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Carte SD très rapide compatible Raspberry" href="http://www.amazon.fr/gp/product/B010NE3ND8/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B010NE3ND8&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">d’une carte MicroSD</a></span>avec raspbian gravé dessus (si vous n’avez pas encore préparé votre carte SD, vous pouvez aller faire un tour sur <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Créer une carte SD Raspberry Raspbian avec Windows" href="http://raspbian-france.fr/creez-carte-sd-raspbian-raspberry-pi-windows/" target="_blank">le tutoriel pour Windows</a></span>, et <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Installer une carte SD Raspberry avec Raspbian sous GNU/Linux" href="http://raspbian-france.fr/creation-carte-sd-raspberry-raspbian-sous-gnulinux/" target="_blank">celui pour Linux</a></span>). Par ailleurs il vous faudra également <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Clavier sans fil avec trackpad" href="http://www.amazon.fr/gp/product/B008JBSTUA/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B008JBSTUA&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">un clavier pour votre raspberry pi</a></span>, et enfin <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a title="Ecran tactile officiel" href="http://www.amazon.fr/gp/product/B0153406SS/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1642&amp;creative=6746&amp;creativeASIN=B0153406SS&amp;linkCode=as2&amp;tag=raspbianfranc-21" target="_blank" rel="nofollow">un écran.</a></span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Premier démarrage, installer raspbian</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Armé de ces différents éléments, vous allez pouvoir allumer votre Raspberry Pi <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">pour la première fois</span>, et installer Raspbian (vous verrez que l’installation se réalise en fait toute seule).</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Dans un premier temps, branchez votre raspberry à l’écran et au clavier, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">sans l’alimenter</span>, et branchez dessus la carte SD.<br>C<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">eci fait</span>, branchez l’alimentation de la raspberry. Le premier démarrage peut-être un peu long, car lors de celui-ci, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">la raspberry va installer le système Raspbian</span>.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Au cours de ce démarrage (et des suivants), vous verrez de nombreuses lignes de commandes défiler toutes seules. Il s’agit des commandes exécutées par le système afin de bien démarrer. N’en tenez pas compte, attendez simplement que le système ai fini de démarrer.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Par ailleurs, au cours de démarrage, la led rouge devrait rester fixe et la verte clignoter quelques secondes puis s’éteindre. Si ce n’est pas le cas, et si la Raspberry ne semble pas démarrer sur l’écran, même après une trentaine de secondes, cela signifie <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">qu’elle n’arrive pas à démarrer sur la carte</span>. En fait, elle n’arrive pas à trouver le code lui permettant de « booter », et d’installer Raspbian.<br>Ce problème peut avoir plusieurs causes, mais la source est <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">presque</span> toujours la carte SD.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Si le problème ne vient pas de là, il peut venir <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">d’un mauvais partitionnement de la carte</span>, ou d’une mauvaise copie du système Raspbian. Dans ce cas, vous devrez <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">re-partitionner votre carte</span>, et réinstaller votre système Raspbian.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Une fois le système démarré, il va (peut-être) vous demander de vous identifier. Lors<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">du premier démarrage</span> le login par défaut est « pi », et le password est « raspberry ».</span></p><div class="symple-box &nbsp;green center &nbsp;cf4" style="margin: 0px auto 20px; padding: 20px; border: 1px solid rgb(196, 219, 160); font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; border-radius: 4px; box-sizing: border-box; box-shadow: rgba(0, 0, 0, 0.0470588) 0px 1px 2px, rgba(255, 255, 255, 0.498039) 0px 1px 0px inset; float: none; widows: 1; width: 637px; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs16">Avec les systèmes Linux, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">les password ne sont pas affichés lorsqu’ils sont tapés</span>. Ne vous étonnez donc pas de <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">ne pas voir les traditionnelles petites étoiles</span> lorsque vous allez taper votre mot de passe, et tapez-le normalement, puis validez en appuyant sur « Entrée ».<br>Si le mot de passe n’est pas bon, cela peut être dû au fait que <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">le clavier est configuré en « QWERTY »</span> et non en « AZERTY » par défaut. Il faudra alors taper « rqspberry » pour le mot de passe.<br></span></div><span class="fs16"><span style="line-height: 25.6px; text-align: justify; widows: 1;" class="cf2">Voilà, vous avez accès au système, vous venez </span><span style="margin: 0px; padding: 0px; border: 0px; font-weight: 600; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2">d’installer Raspbian</span><span style="line-height: 25.6px; text-align: justify; widows: 1;" class="cf2"> ! Il ne vous reste donc plus qu’à </span><span style="margin: 0px; padding: 0px; border: 0px; font-weight: 600; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2">configurer Raspbian</span><span style="line-height: 25.6px; text-align: justify; widows: 1;" class="cf2"> !</span></span><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h2 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Configuration de raspbian</span></h2><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Si c’est <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">votre premier démarrage</span>, vous devriez vous retrouver devant une interface vous permettant de faire des choix de configuration. Cette interface se présente sous la forme d’un menu navigable au clavier.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Si cette interface n’apparaît pas au démarrage, vous pouvez l’obtenir en lançant le terminal et en utilisant la commande</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_87272" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">raspi-config</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Une fois sur cette interface de configuration, nous allons <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">configurer Raspbian</span> pour que vous soyez dans des conditions optimales lors de vos prochaines utilisations, et que vous puissiez profiter au mieux de votre Raspberry.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Un système Raspbian sur toute la carte</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Dans un premier temps, nous allons nous assurer que le système Raspbian utilise bien toute la carte (attention, cette étape n’est à faire <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">que si vous utilisez seulement une distribution Raspbian sur votre carte SD.</span> Si plusieurs versions cohabitent, comme avec NOOBS par exemple, alors n’exécutez pas cette étape).<br>Pour cela, vous allez vous positionner sur <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">le premier choix « Expand Filesystem »</span>, et cliquer sur « Entrée ». Le menu va disparaître, et des lignes de commandes vont être exécutées. Une fois que le système a fini son travail, il vous affichera de nouveau une fenêtre du même type que le menu précédent, vous informant de la réussite de l’opération.<br>Validez, et vous êtes renvoyé sur le menu.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Passer le clavier en AZERTY</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Si vous avez essayé de taper du texte, vous vous en êtes probablement rendu compte, le clavier a un comportement un peu étrange.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">En fait, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">votre clavier est toujours configuré en « QWERTY »</span>, et non en « AZERTY », comme c’est la norme pour les claviers français. Nous allons donc régler ce problème.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour cela, choisissez de nouveau <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">la quatrième ligne « Internationalisation options ».</span><br>Comme précédemment, vous arrivez sur un deuxième menu. Choisissez cette fois <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">la troisième ligne « Change Keyboard Layout »</span> il peut y avoir un certain temps avant l’affichage de la fenêtre (de façon général, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">l’ensemble des étapes pour le clavier peuvent être un peu longues</span>).</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><div class="symple-box &nbsp;green center &nbsp;cf4" style="margin: 0px auto 20px; padding: 20px; border: 1px solid rgb(196, 219, 160); font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; border-radius: 4px; box-sizing: border-box; box-shadow: rgba(0, 0, 0, 0.0470588) 0px 1px 2px, rgba(255, 255, 255, 0.498039) 0px 1px 0px inset; float: none; widows: 1; width: 637px; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><p style="margin-bottom: 20px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs16">Lors de l’écriture de ce tutoriel, nous avons procédé à une réinstallation d’un nouveau système, afin d’être sûrs de nos conseils, et nous avons réalisé l’ensemble des étapes de configuration via connexion SSH. Hors, à l’étape de configuration du clavier, nous avons été confrontés à un problème majeur, il nous était <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">impossible après avoir choisi la ligne « Change Keyboard Layout » d’accéder à la suite des étapes</span>, comme nous l’avions fait lors de nos précédentes installations. Nous étions <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">redirigés directement sur le menu de configuration principal.</span></span></p><p style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="fs16">Nous avons donc convoqué une réunion exceptionnelle autour du billard, afin de débattre, dans le but qu’émerge une solution ! C’est donc après de nombreux cassages, d’innombrables cadavres de kinder bueno, et les meurtres cruels de valeureux sodas, que nous nous rendîmes compte que oui, nous étions bien forcés de l’admettre, nous n’avions pas de clavier branché sur la Raspberry, ce qui empêche sa configuration.<br>Tout cela pour vous dire qu’il <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">faut absolument qu’un clavier soit branché pour pouvoir configurer le clavier…</span></span></p></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Sur la nouvelle fenêtre, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">validez directement sans changer le type de clavier. Sauf cas particuliers, ce devrait être le bon.</span> Une nouvelle autre fenêtre apparaît,<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">choisissez « Autre »</span>. Sur la nouvelle fenêtre, choisissez le clavier <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">« Français »</span>, puis la disposition <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">« Par défaut »</span>, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">« Pas de touche « compose » »</span>, et enfin <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">« Non »</span>.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Passer Raspbian et la Raspberry en français</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour continuer dans l’internationalisation, nous allons passer tout le système en français.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour cela, nous allons modifier ce que l’on nomme <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">les « locales »</span>. Il s’agit d’un réglages définissant un ensemble de textes en plusieurs langues. Vous allez donc vous rendre sur <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">le quatrième choix, « Internationalisation Options »</span>, et appuyer sur « Entrée ».</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Vous allez cette fois choisir <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">la première ligne, « Change Locale ».</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Une fenêtre apparaît (elle peut mettre un petit peu de temps), et vous explique ce que sont les locales.<br>Vous allez descendre <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">jusqu’à la ligne « en_GB.UTF-8 UTF-8 »,</span> et la sélectionner <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">en appuyant sur la touche « Espace »</span>. Un astérisque va alors apparaître entre les crochets précédent le choix (il est possible que <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">la ligne soit déjà sélectionnée dès le départ</span>. Dans ce cas, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">gardez là sélectionnée</span>, c’est à dire avec un astérisque affiché entre les crochets).</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Vous allez de nouveau descendre,</span> cette fois <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">jusqu’à la ligne « fr_FR.UTF-8 UTF-8 »</span>, et répéter la même opération que précédemment.<br>Vous allez maintenant <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vous déplacer sur le champ « Ok »</span> en bas à gauche de la fenêtre. Pour cela, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">appuyez sur la touche tabulation</span> (la touche avec les deux flèches). <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Puis validez.</span></span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Une nouvelle fenêtre va apparaître <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vous demandant de choisir les locales par défaut.</span> Déplacez-vous sur <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">fr_FR.UTF-8,</span> puis utilisez de nouveau <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">la touche tabulation</span>pour aller sur « Ok », et validez.<br>Le système va de nouveau exécuter des commandes. <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Ces dernières risquent de prendre un peu de temps.</span> Une fois ces commandes terminées, vous serez de nouveau devant le menu de configuration basique (ce dernier restera probablement en anglais, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">c’est normal</span>).</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Changer le mot de passe de la Raspberry</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Maintenant que le système est en français et occupe bien toute la carte, nous allons effectuer une opération <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">primordiale</span>, et trop souvent oubliée, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">changer le mot de passe de l’utilisateur « pi » !</span> (l’utilisateur par défaut du système).<br>En effet, ce password étant celui <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">par défaut du système le plus utilisé sur Raspberry</span>, et puisqu’il donne accès via sudo à un niveau root sur votre raspi, le laisser tel quel présente une incroyable <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">faille de sécurité</span>.<br>Pour cela, rendez-vous sur <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">le second choix, « Change User Password »</span>, et validez. Une fenêtre vous informe que vous allez devoir entrer <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">un nouveau mot de passe</span>pour l’utilisateur « pi ».<br>Validez, la fenêtre disparaît, et le terminal vous demande de saisir votre nouveau password. Entrez le nouveau mot de passe, et sa vérification (là encore, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">aucun caractère ne sera affiché</span>).<br>Une fenêtre <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">devrait apparaître</span>, vous signalant que <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">le mot de passe a été mis à jour</span>avec succès (<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">si ce n’est pas le cas</span>, vous avez probablement mal tapé les mots de passe, dans ce cas <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">recommencez</span>). Validez, et vous voici de nouveau sur le superbe menu de de configuration !</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Bien activer le SSH</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Maintenant que notre système Raspbian est un peu plus sécurisé, nous allons <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">nous assurer que le SSH est bien activé</span> afin que vous puissiez prendre le contrôle de la Raspberry à distance.<br>Pour cela, descendez jusqu’au <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">huitième choix, « Advanced Options ».</span><br>Cette fois, après validation <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vous arrivez sur un autre menu</span> ou vous allez choisir <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">la quatrième ligne, « SSH »</span>. Choisissez <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">« Enable »</span>, puis validez. Le système lance quelques commandes puis vous ré-affiche une fenêtre vous indiquant le succès (superbe et incroyable) de l’opération. Vous validez (A priori, vous devez commencer à comprendre le principe…)</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Voila, vous êtes de retour sur le menu principal.<br><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">Utilisez la touche tabulation pour choisir « Finish »</span>, et validez. Il est possible qu’une fenêtre <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">vous demande si vous souhaitez redémarrer la Raspberry</span>. Répondez <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">non</span>. Nous le ferons nous même dans quelques instants.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h3 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-align: justify; widows: 1;" class="cf1"><span class="fs16">Mettre à jour le système</span></h3><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Votre système est maintenant <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">proprement configuré</span>, il ne nous reste plus qu’à <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">le mettre à jour.</span><br>Sous Linux la plupart des distributions, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">dont Raspbian</span>, possèdent des gestionnaires de paquets, qui permettent d’installer des logiciels, mais <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">aussi de faire des mises à jour</span>. C’est donc <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">via ce gestionnaire</span> que nous allons faire notre mise à jour.<br>La mise à jour va se dérouler de la façon suivante, nous allons <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">chercher</span> toutes les mises à jour, nous allons les <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">télécharger</span> et les <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">installer</span>, puis nous allons <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">redémarrer</span>le système.</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Pour cela, il vous suffit de lancer <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">trois commandes</span>. Cependant, comme <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">ces commandes mettent longtemps à s’exécuter</span>, et comme nous sommes gentils, nous vous donnons <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">une commande d’une seule ligne</span>, qui permet <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">d’exécuter automatiquement la commande suivante une fois la précédente finie.</span><br>Voici la commande (une fois lancée, allez vous faire un café, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">les validations se feront sans vous, et le système redémarrera tout seul</span>) :</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_643008" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 652px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">aptitude update -y &amp;&amp; </code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">aptitude upgrade -y &amp;&amp; </code><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">reboot</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16"> </span></p><h4 style="margin: 30px 0px 20px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 1.4em; vertical-align: baseline; text-transform: uppercase; text-align: justify; widows: 1;" class="cf6"><span class="fs16">EXPLICATIONS</span></h4><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">La commande sudo permet de lancer la commande <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">en tant qu’administateur.</span><br>La commande aptitude correspond <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">au gestionnaire de paquets apt</span>. Le mot clef update correspond au fait de <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">rechercher les mises à jour</span>, et le mot clef upgrade au fait de <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">les installer</span>. Les arguments « -y », eux, permettent de <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">valider automatiquement les demandes de vérification</span>.<br>La commande reboot permet de <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">redémarrer la Raspberry</span>.<br>Les doubles esperluettes « &amp;&amp; », quant à elles, signifient que la commande les suivant doit être exécutée <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">à la fin</span> de la commande les précédant, uniquement dans le cas ou cette commande a fonctionné sans erreur (une erreur est caractérisée par un code de retour différent de 0).</span></p><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Au redémarrage l’interface graphique devrait se lancer automatiquement. Si ce n’est pas le cas, vous pouvez <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline;">lancer l’interface graphique</span> via la commande</span></p><div style="margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><div id="highlighter_695240" class="syntaxhighlighter &nbsp;bash" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; width: 637px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; font-stretch: inherit; border-spacing: 0px; width: 637px; margin: 0px !important; border-width: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; text-align: left !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="637" data-minrequestedwidth="637"><tbody style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="font-variant: inherit; font-stretch: inherit; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="font-variant: inherit; font-stretch: inherit; width: 601px; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="font-variant: inherit; font-stretch: inherit; position: relative; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; right: auto !important; top: auto !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="bash functions cf4" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="bash plain cf5" style="font-variant: inherit; font-stretch: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; line-height: 1.1em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">startx</code></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 20px; border: 0px; font-stretch: inherit; line-height: 25.6px; vertical-align: baseline; text-align: justify; widows: 1;" class="cf2"><span class="fs16">Voilà, votre Raspbian est installé votre Raspberry Pi fin prête, le tout bien à jour, <span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; outline: 0px; text-decoration: none;" class="cf3"><a href="http://raspbian-france.fr/accessoires-raspberry-pi-2/">vous avez équipé vôtre Raspberry</a></span> ? Il ne vous reste plus qu’à passer à la suite, pourquoi pas en <span style="font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit;" class="cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">montant votre propre serveur web !</a></span></span></p></div>]]></description>
			<pubDate>Wed, 02 Apr 2014 14:29:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?installer-raspbian,-premier-demarrage-et-configuration</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/j30o7997</guid>
		</item>
		<item>
			<title><![CDATA[Renommer sa Raspberry pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_cc6f96uq"><header class="entry-header cf2 cb1"><h1 class="entry-title cf1"><span class="fs12">Renommer sa Raspberry pi</span></h1></header><div class="mt1 entry-featured cf2 cb1"><div class="entry-thumb cb2"><span class="fs12"><img width="659" height="225" src="http://the-raspberry.com/wp-content/uploads/2013/08/renameaccount2_Fotor.jpg" alt="renameaccount2_Fotor" srcset="http://the-raspberry.com/wp-content/uploads/2013/08/renameaccount2_Fotor-300x102.jpg 300w, http://the-raspberry.com/wp-content/uploads/2013/08/renameaccount2_Fotor-600x204.jpg 600w, http://the-raspberry.com/wp-content/uploads/2013/08/renameaccount2_Fotor.jpg 659w" sizes="(max-width: 659px) 100vw, 659px" class="attachment-entry size-entry wp-post-image" data-selected="false"></span></div></div><div class="mt1 entry-content content cf2 cb1"><p class="mb1"><span class="fs12">Vous avez surement remarqué que quand vous vous connecter en SSH a votre Raspberry pi, avant chaque de chaque ligne de commande se trouve pi@raspberrypi , c’est en fait le nom d’hôte actuelle de votre Raspberry pi. Nous allons voir comment le changer dans ce tutoriel.</span></p><p class="mb1"><span class="fs12">Pour commencer, connecter vous à votre Raspberry pi en SSH, si vous ne savez pas comment faire aller voir <span class="cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">le tutoriel sur SSH</a></span></span></p><p class="mb1"><span class="fs12">Entrer ensuite la commande</span></p><pre class="mt2 mb1 cf4"><span class="fs12 ff1">sudo nano /etc/hostname</span></pre><p class="mb1"><span class="fs12">Un fichier va s’ouvrir dans le terminal, remplacer raspberrypi par le nom que vous souhaitez donner à votre Raspberry pi, pour moi se sera rpi</span></p><p class="mb1"><span class="fs12 cf3 cb3"><a href="http://the-raspberry.com/wp-content/uploads/2013/08/Sans-titre_Fotor.jpg" class="inline-block"><img alt="renommer raspberry pi" src="http://the-raspberry.com/wp-content/uploads/2013/08/Sans-titre_Fotor.jpg" width="588" height="347" srcset="http://the-raspberry.com/wp-content/uploads/2013/08/Sans-titre_Fotor-300x177.jpg 300w, http://the-raspberry.com/wp-content/uploads/2013/08/Sans-titre_Fotor.jpg 588w" sizes="(max-width: 588px) 100vw, 588px" class="mb1 alignnone size-full wp-image-557" data-selected="false"></a></span></p><p class="mb1"><span class="fs12">Enregistré les modifications en faisant CTRL + O puis CTRL + X pour quitter</span></p><p class="mb1"><span class="fs12">Voilà le nom d’hôte de votre Raspberry pi est désormais changé, il faudra redémarrer votre Raspberry pi (sudo reboot) pour que les modifications soient prise en compte.</span></p><p class="mb1"><span class="fs12 cf3 cb3"><a href="http://the-raspberry.com/wp-content/uploads/2013/08/Sans-titre1_Fotor.jpg" class="inline-block"><img alt="rpi renommer" src="http://the-raspberry.com/wp-content/uploads/2013/08/Sans-titre1_Fotor.jpg" width="545" height="156" class="mb1 alignnone size-full wp-image-558" data-selected="false"></a></span></p><p class="mb1"><span class="fs12"> </span></p></div></div>]]></description>
			<pubDate>Wed, 04 Dec 2013 22:20:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?renommer-sa-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/cc6f96uq</guid>
		</item>
		<item>
			<title><![CDATA[Installer un serveur VPN PPTP sur Raspberry Pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_477id6c6"><header id="masthead" class="site-header" role="banner" style="line-height: 21px; widows: 1;"><section class="page-title-bar clearfix" style="border-top-width: 1px; border-top-style: solid; border-top-color: rgba(255, 255, 255, 0.8); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgba(255, 255, 255, 0.8); padding: 17px 0px;"><div class="inner-wrap" style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px auto; outline: 0px; padding: 0px; vertical-align: baseline; width: 978px;"><div class="page-title-wrap" style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; float: left;"><h1 style="text-align: left; border: 0px; font-style: inherit; font-weight: normal; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; clear: both; line-height: 36px;"><span class="fs12">Installer un serveur VPN PPTP sur Raspberry Pi</span></h1></div></div></section></header><div id="main" class="site-main inner-wrap" style="border: 0px; margin: 0px auto 30px; outline: 0px; padding: 44px 0px 0px; vertical-align: baseline; width: 978px; line-height: 21px; widows: 1;"><div id="primary" style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; float: left; width: 641.953px;"><div id="content" class="clearfix" style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><article id="post-1111" class="post-1111 post type-post status-publish format-standard has-post-thumbnail hentry category-raspberry-2 category-reseau category-section-geek category-securite category-systemes category-tutoriels tag-pptp tag-raspberry tag-raspberry-pi tag-securite-2 tag-serveur tag-tunnel tag-vpn" style="margin: 0px 0px 20px; border-bottom-width: medium; border-bottom-style: none; padding-bottom: 15px;"><div class="entry-content clearfix" style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">Si vous souhaitez pouvoir vous connecter depuis n’importe où chez vous comme si vous étiez connecté à la maison, ce tuto va vous expliquer comment faire.</span></p><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">Pour commencer, nous allons détailler ce qu’est un <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">serveur VPN</strong> et à quoi ça sert.</span></p><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span id="more-1111" style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;" class="fs12"></span></p><h2 style="text-align: left; border: 0px; font-style: inherit; font-weight: normal; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; clear: both; line-height: 35px;"><span class="fs12">Comment fonctionne un VPN ?</span></h2><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">Un <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">VPN</strong> (<strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Virtual Private Network</strong>) permet de relier deux <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">réseaux</strong> entre eux ou bien des machines externes à un <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">réseau</strong> précis. La connexion se fait de manière <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">sécurisée</strong> et est <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">encryptée</strong> via un<strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">tunnel</strong>.</span></p><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">Tout cela permet de faire croire que l’on est sur le même réseau alors que l’on passe par un intermédiaire qui est en général <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Internet</strong>.</span></p><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">Le client lance la connexion vers le <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">serveur</strong> et <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">crypte</strong> les données, le serveur décrypte, effectue les actions et retourne les informations demandées vers le client avec le même cryptage.</span></p><h2 style="text-align: left; border: 0px; font-style: inherit; font-weight: normal; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; clear: both; line-height: 35px;"><span class="fs12">A quoi cela va servir d’installer un serveur VPN sur mon Raspberry Pi ?</span></h2><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">On peut trouver toutes une liste d’utilisation d’un <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">serveur</strong> <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">VPN</strong> sur le <span style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-decoration: none;"><a title="Raspberry Pi" href="http://www.canalgeek.fr/raspberry_pi" target="_blank"><strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Raspberry Pi</strong></a></span>:</span></p><ul style="border: 0px; font-style: inherit; font-weight: inherit; margin-right: 0px; margin-bottom: 20px; margin-left: 20px; outline: 0px; vertical-align: baseline; list-style: square outside none;"><li style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-left: 0px; outline: 0px; vertical-align: baseline;"><span class="fs12">Accéder de manière distante aux machines de son réseau domestique ainsi que tous les éléments réseaux (Imprimantes, NAS, Switch … etc)</span></li><li style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-left: 0px; outline: 0px; vertical-align: baseline;"><span class="fs12">Fournir un accès internet en France si on est à l’étranger (comme pour certains sites de replay)</span></li><li style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-left: 0px; outline: 0px; vertical-align: baseline;"><span class="fs12">Se connecter depuis un lieu public chez soi pour ensuite aller sur Internet de manière sécurisée depuis sa maison</span></li></ul><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">Vous savez maintenant, dans les grandes lignes, comment fonctionne un <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">VPN</strong> et à quoi cela sert.</span></p><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">Techniquement, il y a pas mal de solutions qui existent. Les plus courantes sont <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">PPTP</strong> et <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">OpenVPN</strong>.</span></p><ul style="border: 0px; font-style: inherit; font-weight: inherit; margin-right: 0px; margin-bottom: 20px; margin-left: 20px; outline: 0px; vertical-align: baseline; list-style: square outside none;"><li style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-left: 0px; outline: 0px; vertical-align: baseline;"><span class="fs12"><strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">PPTP</strong> est un protocole développé par <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Microsoft</strong>. Il possède des lacunes mais est relativement simple à mettre en place.</span></li><li style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-left: 0px; outline: 0px; vertical-align: baseline;"><span class="fs12"><strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">OpenVPN</strong> pousse la technique plus loin avec un cryptage plus poussé, il passe à travers les proxy plus facilement que <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">PPTP</strong>. Sa mise en place est par contre plus complexe.</span></li></ul><h2 style="text-align: left; border: 0px; font-style: inherit; font-weight: normal; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; clear: both; line-height: 35px;"><span class="fs12">Installation du serveur VPN sur votre Raspberry Pi</span></h2><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">J’ai choisi dans un premier temps de vous expliquer comment configurer votre <span style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-decoration: none;"><a title="Raspberry Pi" href="http://www.canalgeek.fr/raspberry_pi" target="_blank"><strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Raspberry Pi</strong></a></span> avec le protocole <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">PPTP</strong> car il est très bien supporté (sur tous les systèmes d’exploitation ainsi que sur la plupart des appareils mobiles).</span></p><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">1 – Commençons par la mise à jour de <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Raspbian </strong>(pour installer <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Raspbian</strong>, c’est par <span style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-decoration: none;"><a title="[Tuto Geek] Présentation et configuration du Raspberry Pi et installation de Raspbian" href="http://www.canalgeek.fr/tuto-geek-presentation-et-configuration-du-raspberry-pi-et-installation-de-raspbian/">ici</a></span> que ça ce passe)<strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> :</strong></span></p><div style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><div id="highlighter_808902" class="syntaxhighlighter nogutter &nbsp;bash" style="border: 0px; font-style: inherit; font-weight: inherit; outline: 0px; padding: 0px; vertical-align: baseline; width: 641.953px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="text-align: left; border-collapse: separate; border-spacing: 0px; width: 641px; border-width: 0px !important; margin: 0px !important; outline: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="code imVt" style="width: 641px; border: 0px !important; outline: 0px !important; padding: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get update &amp;&amp; apt-get upgrade</code></div></div></td></tr></tbody></table></div></div><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">2 – Installer le paquet suivant (le serveur <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">PPTP</strong>) :</span></p><div style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><div id="highlighter_7483" class="syntaxhighlighter nogutter &nbsp;bash" style="border: 0px; font-style: inherit; font-weight: inherit; outline: 0px; padding: 0px; vertical-align: baseline; width: 641.953px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="text-align: left; border-collapse: separate; border-spacing: 0px; width: 641px; border-width: 0px !important; margin: 0px !important; outline: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="code imVt" style="width: 641px; border: 0px !important; outline: 0px !important; padding: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="bash plain" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get </code><code class="bash functions" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="bash plain" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; line-height: 1.1em !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">pptpd</code></span></div></div></td></tr></tbody></table></div></div><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">3 – Configurer <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">PPTPd</strong> via le fichier de configuration <em style="border: 0px; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">/etc/pptpd.conf</em>. A la toute fin du fichier, il y a deux options à modifier :</span></p><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">– localip : il s’agit de l’adresse locale de votre <span style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-decoration: none;"><a title="Raspberry Pi" href="http://www.canalgeek.fr/raspberry_pi" target="_blank"><strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Raspberry Pi</strong></a></span>. (pour l’exemple j’ai mis l’IP 192.168.1.35).</span></p><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">– remoteip : c’est là que vous rentrer le nombre d’IP que votre <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">serveur VPN</strong> va distribué. Attention de bien rentrer des IP ne faisant <span style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;" class="imUl"><strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">PAS</strong></span> partie de votre range DHCP.</span></p><div style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><div id="highlighter_926197" class="syntaxhighlighter nogutter &nbsp;bash" style="border: 0px; font-style: inherit; font-weight: inherit; outline: 0px; padding: 0px; vertical-align: baseline; width: 641.953px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="text-align: left; border-collapse: separate; border-spacing: 0px; width: 641px; border-width: 0px !important; margin: 0px !important; outline: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="code imVt" style="width: 641px; border: 0px !important; outline: 0px !important; padding: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">localip 192.168.1.35</code></div></div></td></tr></tbody></table></div></div><div style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></div><div style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><div id="highlighter_84906" class="syntaxhighlighter nogutter &nbsp;bash" style="border: 0px; font-style: inherit; font-weight: inherit; outline: 0px; padding: 0px; vertical-align: baseline; width: 641.953px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="text-align: left; border-collapse: separate; border-spacing: 0px; width: 641px; border-width: 0px !important; margin: 0px !important; outline: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="code imVt" style="width: 641px; border: 0px !important; outline: 0px !important; padding: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">remoteip 192.168.1.200-201</code></div></div></td></tr></tbody></table></div></div><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">4 – Ensuite, il faut mettre à jour les options de <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">PPTP</strong> via <em style="border: 0px; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">/etc/ppp/pptpd-options</em> :</span></p><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">– ms-dns : il s’agit du <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">DNS</strong> utilisé pour la résolution de nom.</span></p><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">– noipx : option recommandée pour désactiver <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">IPX</strong> et <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">IPXCP</strong></span></p><div style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><div id="highlighter_987493" class="syntaxhighlighter nogutter &nbsp;bash" style="border: 0px; font-style: inherit; font-weight: inherit; outline: 0px; padding: 0px; vertical-align: baseline; width: 641.953px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="text-align: left; border-collapse: separate; border-spacing: 0px; width: 641px; border-width: 0px !important; margin: 0px !important; outline: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="code imVt" style="width: 641px; border: 0px !important; outline: 0px !important; padding: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">name pptpd</code></div><div class="line number2 index1 alt1" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number3 index2 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">refuse-pap</code></div><div class="line number4 index3 alt1" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number5 index4 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">refuse-chap</code></div><div class="line number6 index5 alt1" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number7 index6 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">refuse-mschap</code></div><div class="line number8 index7 alt1" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number9 index8 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">require-mschap-v2</code></div><div class="line number10 index9 alt1" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number11 index10 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">require-mppe-128</code></div><div class="line number12 index11 alt1" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number13 index12 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">proxyarp</code></div><div class="line number14 index13 alt1" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number15 index14 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">lock</code></div><div class="line number16 index15 alt1" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number17 index16 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">nobsdcomp</code></div><div class="line number18 index17 alt1" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number19 index18 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">novj</code></div><div class="line number20 index19 alt1" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number21 index20 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">novjccomp</code></div><div class="line number22 index21 alt1" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number23 index22 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">nologfd</code></div><div class="line number24 index23 alt1" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number25 index24 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ms-dns 212.27.40.240</code></div><div class="line number26 index25 alt1" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number27 index26 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ms-dns 212.27.40.241</code></div></div></td></tr></tbody></table></div></div><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">5 – Dans le fichier <em style="border: 0px; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">/etc/ppp/chap-secrets</em> vous allez pouvoir définir les accès que vous voulez donner à votre <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">serveur VPN</strong>.</span></p><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">La première ligne du fichier contient le format des entrées ([TAB] correspond au caractère de tabulation):</span></p><div style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><div id="highlighter_372045" class="syntaxhighlighter nogutter &nbsp;bash" style="border: 0px; font-style: inherit; font-weight: inherit; outline: 0px; padding: 0px; vertical-align: baseline; width: 641.953px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="text-align: left; border-collapse: separate; border-spacing: 0px; width: 641px; border-width: 0px !important; margin: 0px !important; outline: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="code imVt" style="width: 641px; border: 0px !important; outline: 0px !important; padding: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash comments fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"># Secrets for authentication using CHAP</code></div><div class="line number2 index1 alt1" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number3 index2 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash comments fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"># client[TAB]server[TAB]secret[TAB]IP addresses</code></div><div class="line number4 index3 alt1" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number5 index4 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">username[TAB]*[TAB]mon_mot_de_passe[TAB]*</code></div></div></td></tr></tbody></table></div></div><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">6 – Relancer le service</span></p><div style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><div id="highlighter_602229" class="syntaxhighlighter nogutter &nbsp;bash" style="border: 0px; font-style: inherit; font-weight: inherit; outline: 0px; padding: 0px; vertical-align: baseline; width: 641.953px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="text-align: left; border-collapse: separate; border-spacing: 0px; width: 641px; border-width: 0px !important; margin: 0px !important; outline: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="code imVt" style="width: 641px; border: 0px !important; outline: 0px !important; padding: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">service pptpd restart</code></div></div></td></tr></tbody></table></div></div><p style="border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"></p><div style="text-align: left;"><span style="font-style: inherit; font-weight: inherit;" class="fs12">7 – Il faut activer l’</span><strong style="font-style: inherit; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;" class="fs12">IP Forwarding</strong><span style="font-style: inherit; font-weight: inherit;" class="fs12"> </span><span style="font-style: inherit; font-weight: inherit;" class="fs12">sur le serveur afin de pouvoir surfer en sortant du</span><span style="font-style: inherit; font-weight: inherit;" class="fs12"> </span><strong style="font-style: inherit; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;" class="fs12">VPN</strong><span style="font-style: inherit; font-weight: inherit;" class="fs12">.</span></div><div class="fs12"><div style="text-align: left;"><span style="font-style: inherit; font-weight: inherit;" class="fs12">Pour cela, dans le fichier /etc/sysctl.conf, ajouter la ligne suivante</span></div></div><p></p><div style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><div id="highlighter_332385" class="syntaxhighlighter nogutter &nbsp;bash" style="border: 0px; font-style: inherit; font-weight: inherit; outline: 0px; padding: 0px; vertical-align: baseline; width: 641.953px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="text-align: left; border-collapse: separate; border-spacing: 0px; width: 641px; border-width: 0px !important; margin: 0px !important; outline: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="code imVt" style="width: 641px; border: 0px !important; outline: 0px !important; padding: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">net.ipv4.ip_forward=1</code></div></div></td></tr></tbody></table></div></div><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">8 – Lancer la commande suivante pour prendre en compte les changements.</span></p><div style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><div id="highlighter_538619" class="syntaxhighlighter nogutter &nbsp;bash" style="border: 0px; font-style: inherit; font-weight: inherit; outline: 0px; padding: 0px; vertical-align: baseline; width: 641.953px; margin: 1em 0px !important; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important;"><table border="0" cellpadding="0" cellspacing="0" style="text-align: left; border-collapse: separate; border-spacing: 0px; width: 641px; border-width: 0px !important; margin: 0px !important; outline: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; table-layout: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="code imVt" style="width: 641px; border: 0px !important; outline: 0px !important; padding: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em 0px 0em !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="bash plain fs12 ff1" style="font-stretch: normal; border: 0px !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; vertical-align: baseline !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; display: inline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sysctl -p</code></div></div></td></tr></tbody></table></div></div><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">9 – Votre <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">serveur VPN</strong> est en place. Il faut maintenant le rendre accessible depuis l’extérieur. Pour cela, il faut rediriger le port 1723 en <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">TCP</strong> vers votre <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Raspberry Pi</strong>. Cela se passe sur votre routeur ou box.</span></p><p style="text-align: left; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 0.7rem; outline: 0px; padding-bottom: 10px; vertical-align: baseline;"><span class="fs12">Une fois terminé, il faut configurer la connexion <strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">VPN</strong> sur votre PC ou téléphone mobile.</span></p></div></article></div></div></div></div>]]></description>
			<pubDate>Wed, 02 Oct 2013 21:36:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?installer-un-serveur-vpn-pptp-sur-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/477id6c6</guid>
		</item>
		<item>
			<title><![CDATA[Comment ajouter un utilisateur phpMyAdmin ?]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_44130994"><h2 class="cf2"><span class="fs12 cf1"><a name="comment-ajouter-un-utilisateur-phpmyadmin" id="comment-ajouter-un-utilisateur-phpmyadmin" href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-ajouter-un-utilisateur-phpmyadmin">Comment ajouter un utilisateur phpMyAdmin ?</a></span></h2><div><br></div><h3 id="connectez-vous-sur-l-interface-de-phpmyadmin" class="sectionedit1 cf2"><span class="fs12">Connectez vous sur l'interface de phpMyAdmin :</span></h3><div class="level3 cf2"><p class="mb1"><span class="fs12">Tapez dans votre navigateur web préféré l'adresse suivante en changent l'ip par celle de votre raspberry :</span></p><pre class="mt1 mb1 code cf3"><span class="fs12 ff1">http://192.168.1.21/phpmyadmin</span></pre><p class="mb1"><span class="fs12">Identifiez vous avec :</span></p><pre class="mt1 mb1 code cf3"><span class="fs12 ff1">Login : root</span></pre><pre class="mt1 mb1 code cf3"><span class="fs12 ff1">Mot de passe : Password</span></pre><p class="mb1"><strong class="fs12">C'est le mot de passe que vous avez définis lors de l'installation du serveur lamp</strong></p><p class="mb1"><span class="fs12">Cliquez ensuite sur : <strong>Privilèges</strong></span></p><p class="mb1"><span class="fs12"><img src="http://www.tropfacile.net/lib/exe/fetch.php/raspberry-pi/pma1.png" alt="" class="media" data-selected="false"></span></p><p class="mb1"><span class="fs12">Puis sur : <strong>Ajouter un utilisateur</strong></span></p><p class="mb1"><span class="fs12"><img src="http://www.tropfacile.net/lib/exe/fetch.php/raspberry-pi/pma2.png" alt="" class="media" data-selected="false"></span></p><p class="mb1"><span class="fs12">Enfin veuillez remplir les informations comme si dessous :</span></p><p class="mb1"><span class="fs12"><img src="http://www.tropfacile.net/lib/exe/fetch.php/raspberry-pi/pma3.png" alt="" class="media" data-selected="false"></span></p><p class="mb1"><span class="fs12">Puis cliquez sur <strong>Créer un compte d'utilisateur</strong></span></p></div></div>]]></description>
			<pubDate>Tue, 30 Jul 2013 10:53:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?comment-ajouter-un-utilisateur-phpmyadmin--</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/44130994</guid>
		</item>
		<item>
			<title><![CDATA[Comment installer un serveur web avec Linux Apache Mysql Php (LAMP) ?]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_0g74zpom"><h1 class="cf2"><span class="fs12 cf1"><a name="comment-installer-un-serveur-web-lamp" id="comment-installer-un-serveur-web-lamp" href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-installer-un-serveur-web-lamp">Comment installer un serveur web (LAMP) ?</a></span></h1><div class="level1 cf2"><hr class=""><p class="mb1"></p><p class="mb1"></p><div class="imTAJustify noteclassic"><span class="fs12">Que signifie LAMP ? ⇒ <strong>L</strong>inux <strong>A</strong>pache <strong>M</strong>ysql <strong>P</strong>hp</span></div><p class="mb1"></p><span class="fs12">Connectez-vous en local sur votre raspberry ou par <span class="cf1"><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-se-connecter-en-ssh" class="wikilink1" title="raspberry-pi:comment-se-connecter-en-ssh">ssh</a></span> avec l'utilisateur <strong>pi</strong>. Vous pouvez aussi prendre n'importe quel utilisateur avec les droits<span class="cf1"><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-devenir-super-utilisateur" class="wikilink1" title="raspberry-pi:comment-devenir-super-utilisateur">sudo</a></span>.</span><p class="mb1"></p><p class="mb1"><span class="fs12">Faites les mises à jours du système :</span></p><pre class="mt1 mb1 code bash cf5"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">apt-get update</span></b> <span class="sy0 cf4">&amp;&amp;</span> <b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">apt-get</span></b> <span class="re5">-y</span> upgrade <span class="sy0 cf4">&amp;&amp;</span> <b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">apt-get</span></b> <span class="re5">-y</span> dist-upgrade</span></pre><p class="mb1"><span class="fs12">Installation des différents paquets :</span></p><pre class="mt1 mb1 code bash cf5"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">apt-get install</span></b> apache2 php5 mysql-server phpmyadmin</span></pre><p class="mb1"><span class="fs12">Pendant le processus d'installation, on nous demande quelques informations :</span></p></div><h3 id="configuration-de-mysql-server-55" class="sectionedit1 cf2"><span class="fs12">Configuration de mysql-server-5.5</span></h3><div class="level3 cf2"><pre class="mt1 mb1 code cf5"><span class="fs12 ff1">Nouveau mot de passe du superutilisateur de MySQL : Password</span></pre><pre class="mt1 mb1 code cf5"><span class="fs12 ff1">Confirmation du mot de passe du superutilisateur de MySQL : Password</span></pre><p class="mb1"></p><p class="mb1"></p><div class="imTAJustify noteimportant"><span class="fs12">Veuillez changer le mot de passe par un mot de passe sécurisé !!!</span></div><p class="mb1"></p><p class="mb1"></p></div><h3 id="configuration-de-phpmyadmin" class="sectionedit2 cf2"><span class="fs12">Configuration de phpmyadmin</span></h3><div class="level3 cf2"><pre class="mt1 mb1 code cf5"><span class="fs12 ff1">Serveur web à reconfigurer automatiquement : apache2</span></pre><pre class="mt1 mb1 code cf5"><span class="fs12 ff1">Faut-il configurer la base de données de phpmyadmin avec dbconfig-common ? : Oui</span></pre><pre class="mt1 mb1 code cf5"><span class="fs12 ff1">Mot de passe de l'administrateur de la base de données : Password</span></pre><p class="mb1"><strong class="fs12">Mettez le même mot de passe que celui de la configuration Mysql-server</strong></p><pre class="mt1 mb1 code cf5"><span class="fs12 ff1">Mot de passe de connexion MySQL pour phpmyadmin : </span></pre><p class="mb1"><strong class="fs12">Laissez vide pour un mot de passe généré aléatoirement, ou tapez votre propre mot de passe.</strong></p></div><h3 id="verifications" class="sectionedit3 cf2"><span class="fs12">Vérifications</span></h3><div class="level3 cf2"><p class="mb1"><span class="fs12">Maintenant que tout est correctement installé, ouvrez votre navigateur web préféré et rentrez dans la barre d'adresse l'ip de votre raspberry:</span></p><p class="mb1"><span class="fs12">Dans mon cas:</span></p><pre class="mt1 mb1 code cf5"><span class="fs12 ff1">http://192.168.1.21</span></pre><p class="mb1"><span class="fs12">Vous devriez soit voir une page avec écrit dedans:</span></p><pre class="mt1 mb1 code cf5"><span class="fs12 ff1">It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.</span></pre><p class="mb1"><strong class="fs12">Ou alors une page vide listant le dossier /var/www/</strong></p><p class="mb1"><span class="fs12">Ajoutez maintenant /phpmyadmin derrière votre adresse ip :</span></p><pre class="mt1 mb1 code cf5"><span class="fs12 ff1">http://192.168.1.21/phpmyadmin</span></pre><p class="mb1"><span class="fs12">Si vous n'avez pas de message d'erreur, vous avez correctement installé votre serveur web.</span></p></div></div>]]></description>
			<pubDate>Thu, 04 Jul 2013 10:15:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?comment-installer-un-serveur-web-avec-linux-apache-mysql-php--lamp---</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/0g74zpom</guid>
		</item>
		<item>
			<title><![CDATA[Aujourd'hui, nous allons installer le nouveau RPI Monitor:]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_f0kz14x8"><h1 class="cf2"><span class="fs12 cf1"><a name="comment-monitorer-son-raspberry-rpi-monitor" id="comment-monitorer-son-raspberry-rpi-monitor" href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-monitorer-son-raspberry-rpi-monitor">Comment monitorer son Raspberry (RPI Monitor) ?</a></span></h1><div class="level1 cf2"><hr class=""><p class="mb1"><span class="fs12">Aujourd'hui, nous allons installer le nouveau <strong>RPI Monitor</strong>:</span></p><hr class=""><p class="mb1"><span class="fs12"><img src="http://www.tropfacile.net/lib/exe/fetch.php/raspberry-pi/rpi1.png" alt="" class="media" data-selected="false"></span></p><p class="mb1"><span class="fs12"><img src="http://www.tropfacile.net/lib/exe/fetch.php/raspberry-pi/rpi2.png" alt="" class="media" data-selected="false"></span></p><hr class=""><p class="mb1"><span class="fs12">Connectez-vous en local sur votre raspberry ou par <span class="cf1"><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-se-connecter-en-ssh" class="wikilink1" title="raspberry-pi:comment-se-connecter-en-ssh">ssh</a></span> avec l'utilisateur <strong>pi</strong>. Vous pouvez aussi prendre n'importe quel utilisateur avec les droits<span class="cf1"><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-devenir-super-utilisateur" class="wikilink1" title="raspberry-pi:comment-devenir-super-utilisateur">sudo</a></span>.</span></p><hr class=""><p class="mb1"><span class="fs12">Installation des dépendances :</span></p><pre class="mt1 mb1 code bash cf4"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">apt-get install</span></b> librrds-perl libhttp-daemon-perl libhttp-daemon-ssl-perl</span></pre><p class="mb1"><span class="fs12">Téléchargement de <strong>RPI Monitor</strong> :</span></p><pre class="mt1 mb1 code bash cf4"><span class="fs12 ff1"><b><span class="kw2 cf3">wget</span></b> https:<span class="sy0 cf5">//</span>github.com<span class="sy0 cf5">/</span>XavierBerger<span class="sy0 cf5">/</span>RPi-Monitor-deb<span class="sy0 cf5">/</span>blob<span class="sy0 cf5">/</span>master<span class="sy0 cf5">/</span>packages<span class="sy0 cf5">/</span>rpimonitor_1.0-<span class="nu0 cf6">1</span>_all.deb?<span class="re2 cf7">raw</span>=<b><span class="kw2 cf3">true</span></b> <span class="re5">-O</span> rpimonitor_1.0-<span class="nu0 cf6">1</span>_all.deb</span></pre><p class="mb1"><span class="fs12">Installation :</span></p><pre class="mt1 mb1 code bash cf4"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">dpkg</span></b> <span class="re5">-i</span> rpimonitor_1.0-<span class="nu0 cf6">1</span>_all.deb</span></pre><p class="mb1"><span class="fs12">C'est terminé, vous pouvez vous connecter à votre RPI Monitor avec l'ip de votre raspberry suivi du port 8888 :</span></p><p class="mb1"><span class="fs12">Par exemple:</span></p><pre class="mt1 mb1 code cf4"><span class="fs12 ff1">http://192.168.1.22:8888</span></pre></div></div>]]></description>
			<pubDate>Wed, 12 Jun 2013 10:09:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?aujourd-hui,-nous-allons-installer-le-nouveau-rpi-monitor-</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/f0kz14x8</guid>
		</item>
		<item>
			<title><![CDATA[Comment monitorer son Raspberry avec Munin ?]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_76o80rp6"><h1 class="cf2"><span class="fs16 cf1"><a name="comment-monitorer-son-raspberry-munin" id="comment-monitorer-son-raspberry-munin" href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-monitorer-son-raspberry-munin">Comment monitorer son Raspberry (Munin) ?</a></span></h1><div class="level1 cf2"><p class="mb1"><span class="fs16"><img src="http://www.tropfacile.net/lib/exe/fetch.php/raspberry-pi/munin.png" alt="" class="media" data-selected="false"></span></p><hr class=""><p class="mb1"><span class="fs16">Connectez-vous en local sur votre raspberry ou par <span class="cf1"><span><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-se-connecter-en-ssh" class="wikilink1" title="raspberry-pi:comment-se-connecter-en-ssh">ssh</a></span></span> avec l'utilisateur <strong>pi</strong>. Vous pouvez aussi prendre n'importe quel utilisateur avec les droits<span class="cf1"><span><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-devenir-super-utilisateur" class="wikilink1" title="raspberry-pi:comment-devenir-super-utilisateur">sudo</a></span></span>.</span></p><hr class=""><p class="mb1"><span class="fs16">Installation de munin :</span></p><pre class="mt1 mb1 code bash cf4"><span class="fs16 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">apt-get install</span></b> munin munin-node munin-plugins-extra libnet-snmp-perl</span></pre><pre class="mt1 mb1 code bash cf4"><span class="fs16 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">nano</span></b> <span class="sy0 cf5">/</span>etc<span class="sy0 cf5">/</span>munin<span class="sy0 cf5">/</span>munin-node.conf</span></pre><p class="mb1"><span class="fs16">Vérifiez les valeurs suivante :</span></p><pre class="mt1 mb1 code cf4"><span class="fs16 ff1">allow ^127\.0\.0\.1$ # Which address to bind to; host * #host 127.0.0.1 # And which port port 4949</span></pre><pre class="mt1 mb1 code bash cf4"><span class="fs16 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">nano</span></b> <span class="sy0 cf5">/</span>etc<span class="sy0 cf5">/</span>munin<span class="sy0 cf5">/</span>munin.conf</span></pre><p class="mb1"><span class="fs16">Vérifiez les valeurs suivante :</span></p><pre class="mt1 mb1 code cf4"><span class="fs16 ff1"># a simple host tree [localhost.localdomain] &nbsp;&nbsp;&nbsp;&nbsp;address 127.0.0.1 &nbsp;&nbsp;&nbsp;&nbsp;use_node_name yes</span></pre><pre class="mt1 mb1 code bash cf4"><span class="fs16 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">su</span></b> - munin --shell=<span class="sy0 cf5">/</span>bin<span class="sy0 cf5">/</span><b><span class="kw2 cf3">bash</span></b></span></pre><pre class="mt1 mb1 code bash cf4"><span class="fs16 ff1"><span class="sy0 cf5">/</span>usr<span class="sy0 cf5">/</span>share<span class="sy0 cf5">/</span>munin<span class="sy0 cf5">/</span>munin-update --nofork --debug</span></pre><p class="mb1"><span class="fs16">Veuillez attendre (une trentaine de secondes) le message : <strong>Update (xxsec)</strong></span></p><pre class="mt1 mb1 code cf4"><span class="fs16 ff1">exit</span></pre><p class="mb1"><span class="fs16">On redémarre le service :</span></p><pre class="mt1 mb1 code bash cf4"><span class="fs16 ff1"><b><span class="kw2 cf3">sudo</span></b> service munin-node restart</span></pre><p class="mb1"><span class="fs16">Configuration de munin dans nginx :</span></p><pre class="mt1 mb1 code bash cf4"><span class="fs16 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">nano</span></b> <span class="sy0 cf5">/</span>etc<span class="sy0 cf5">/</span>nginx<span class="sy0 cf5">/</span>sites-available<span class="sy0 cf5">/</span>default</span></pre><p class="mb1"><span class="fs16">Puis ajoutez avant la dernière <strong>}</strong> :</span></p><pre class="mt1 mb1 code cf4"><span class="fs16 ff1">location /munin { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alias /var/cache/munin/www; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;index index.html; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;location /stats { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;stub_status on; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;access_log &nbsp;&nbsp;off; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;allow 127.0.0.1; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;deny all; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></pre><p class="mb1"><span class="fs16">On recharge nginx :</span></p><pre class="mt1 mb1 code bash cf4"><span class="fs16 ff1"><b><span class="kw2 cf3">sudo</span></b> service nginx reload</span></pre><p class="mb1"><span class="fs16">Vous pouvez maintenant accèder à Munin à partir de l'url : <strong><span class="cf1"><span><a href="http://ipduraspberry/munin/" class="urlextern" target="_blank" title="http://ipduraspberry/munin/" rel="nofollow">http://ipduraspberry/munin/</a></span></span></strong></span></p></div></div>]]></description>
			<pubDate>Thu, 06 Jun 2013 10:06:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?comment-monitorer-son-raspberry-avec-munin--</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/76o80rp6</guid>
		</item>
		<item>
			<title><![CDATA[Test de la caméra Raspberry Pi 5M]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_hp267z4l"><div class="BlocSection0 cf2" style="margin: 10px 0px 10px 30px; line-height: 18px; text-align: justify; widows: 1;"><p><span class="fs12">Avec un capteur d'une résolution native de 5 mégapixels (5M) et, au niveau optique, d'une lentille de focalisation fixe, la caméra peut servir d'appareil photo (résolution maximale de 2592 x 1944 pixels) ou de caméra <b><span style="padding-left: 14px; text-align: center; font-stretch: normal; line-height: normal; background-image: url(http://www.developpez.com/template/kit/link.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: no-repeat;" class="cf1"><a class="lienArticle simple" href="http://blog.nicolargo.com/gstreamer" target="_blank">vidéo</a></span></b> (format HD jusqu'à 1080p). Son poids est impressionnant, car elle ne pèse pas plus de quatre grammes pour un volume de L25 x l20 x H9 (en millimètres).</span></p><figure class="TextAlign-center" style="padding: 10px; text-align: center;"><span class="fs12"><img src="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/images/capture_082-580x323.png" alt="Image non disponible" width="580" height="323" data-selected="false"></span></figure></div><h1 class="TitreSection0 cf3" id="LII" style="padding: 4px 15px; border-radius: 5px 5px 0px 0px; text-shadow: rgba(0, 0, 0, 0.6) 1px 1px 0px; vertical-align: middle; height: 16px; box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 3px, rgba(0, 0, 0, 0.2) 0px 3px 5px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.14902) 0px 15px 15px; margin-bottom: 20px; margin-top: 20px; margin-left: 15px; line-height: 18px; text-align: justify; widows: 1; background-image: url(http://www.developpez.com/template/kit/ent-niveau0.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat-x;"><span class="fs12">II. Installation de la caméra</span><span style="float: right; text-align: right; vertical-align: middle; width: 45px;" class="cf3"><a class="HautPage" href="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/#" title="Haut de page"><span class="fs12">▲</span></a></span></h1><div class="BlocSection0 cf2" style="margin: 10px 0px 10px 30px; line-height: 18px; text-align: justify; widows: 1;"><p><span class="fs12">On commence par brancher la caméra sur l'interface CSI. Il faut y aller doucement et sans trop forcer. Je vous conseille de visualiser la vidéo suivante :</span></p><br><p><span class="fs12">Il faut disposer d'une distribution <b>Raspbian</b> à jour avant de pouvoir activer la caméra :</span></p><div class="code_et_titre" style="margin: 10px 40px; padding-left: 0px; border-radius: 10px; border: 1px solid rgb(221, 221, 221); text-align: left; overflow: auto; background-image: none; background-attachment: scroll; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat;"><div class="titre_des_codes cf4" id="IdTitreCode-d0e230" style="border-radius: 8px 8px 0px 0px; padding-left: 12px; padding-top: 2px; margin-left: 0px; height: 18px; font-stretch: normal; line-height: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs12"> </span><div class="selectionner_code" style="float: right; padding-right: 5px; vertical-align: middle;"><span class="selectionner_code LienSelectionne imUl cf1" id="code-d0e230" style="cursor: pointer; float: right; padding-right: 5px; vertical-align: middle;"><span class="fs12">Sélectionnez</span></span></div></div><pre class="code_uniquement" style="padding-left: 12px; overflow: auto;"><code id="contenuCoded0e230" class="contenuCode fs12 ff1" style="font-stretch: normal; padding: 0px;">sudo apt-get update <code class="shell_operator cf5" style="font-stretch: normal;">&amp;</code><code class="shell_operator cf5" style="font-stretch: normal;">&amp;</code> sudo apt-get upgrade
</code></pre></div><p><span class="fs12">Puis on lance ensuite l'utilitaire <b>Raspi-config</b> où un nouveau menu devrait vous permettre d'activer la caméra (choix numéro 5 - <i><span class="italique">Activate the camera</span></i>) :</span></p><div class="code_et_titre" style="margin: 10px 40px; padding-left: 0px; border-radius: 10px; border: 1px solid rgb(221, 221, 221); text-align: left; overflow: auto; background-image: none; background-attachment: scroll; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat;"><div class="titre_des_codes cf4" id="IdTitreCode-d0e247" style="border-radius: 8px 8px 0px 0px; padding-left: 12px; padding-top: 2px; margin-left: 0px; height: 18px; font-stretch: normal; line-height: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs12"> </span><div class="selectionner_code" style="float: right; padding-right: 5px; vertical-align: middle;"><span class="selectionner_code LienSelectionne imUl cf1" id="code-d0e247" style="cursor: pointer; float: right; padding-right: 5px; vertical-align: middle;"><span class="fs12">Sélectionnez</span></span></div></div><pre class="code_uniquement" style="padding-left: 12px; overflow: auto;"><code id="contenuCoded0e247" class="contenuCode fs12 ff1" style="font-stretch: normal; padding: 0px;">sudo raspi-config
</code></pre></div><p><span class="fs12">Un <i><span class="italique">reboot</span></i> plus tard, vous pouvez commencer à jouer avec la caméra.</span></p></div><h1 class="TitreSection0 cf3" id="LIII" style="padding: 4px 15px; border-radius: 5px 5px 0px 0px; text-shadow: rgba(0, 0, 0, 0.6) 1px 1px 0px; vertical-align: middle; height: 16px; box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 3px, rgba(0, 0, 0, 0.2) 0px 3px 5px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.14902) 0px 15px 15px; margin-bottom: 20px; margin-top: 20px; margin-left: 15px; line-height: 18px; text-align: justify; widows: 1; background-image: url(http://www.developpez.com/template/kit/ent-niveau0.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat-x;"><span class="fs12">III. Utilisation de la caméra pour prendre des photos</span><span style="float: right; text-align: right; vertical-align: middle; width: 45px;" class="cf3"><a class="HautPage" href="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/#" title="Haut de page"><span class="fs12">▲</span></a></span></h1><div class="BlocSection0 cf2" style="margin: 10px 0px 10px 30px; line-height: 18px; text-align: justify; widows: 1;"><p><span class="fs12">Première surprise un peu désagréable : la caméra n'est pas reconnue comme un <i><span class="italique">device</span></i> vidéo standard (accessible via <span class="codeinline" style="padding: 0px 3px; white-space: pre;">/dev/videoX</span>). En l'état actuel des choses on ne peut donc pas l'utiliser avec une bibliothèque comme <b><span style="padding-left: 14px; text-align: center; font-stretch: normal; line-height: normal; background-image: url(http://www.developpez.com/template/kit/link.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: no-repeat;" class="cf1"><a class="lienArticle simple" href="http://man.developpez.com/man1/gstreamer-properties/" target="_blank">GStreamer</a></span></b>.</span></p><p><span class="fs12">Pour utiliser la caméra comme appareil photo, il faut donc passer par un utilitaire installé de base dans <b>Raspbian</b> : <b><span style="padding-left: 14px; text-align: center; font-stretch: normal; line-height: normal; background-image: url(http://www.developpez.com/template/kit/https.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: no-repeat;" class="cf1"><a class="lienArticle https" href="https://github.com/raspberrypi/userland/tree/master/host_applications/linux/apps/raspicam" target="_blank">Raspistill (les sources sont disponibles sur Github)</a></span></b>.</span></p><p><span class="fs12">Ce logiciel est utilisable en ligne de commande.</span></p><p><span class="fs12">Prenons donc notre première « photo » en résolution maximale et à main levée (2592 x 1944 &nbsp;pixels) :</span></p><div class="code_et_titre" style="margin: 10px 40px; padding-left: 0px; border-radius: 10px; border: 1px solid rgb(221, 221, 221); text-align: left; overflow: auto; background-image: none; background-attachment: scroll; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat;"><div class="titre_des_codes cf4" id="IdTitreCode-d0e289" style="border-radius: 8px 8px 0px 0px; padding-left: 12px; padding-top: 2px; margin-left: 0px; height: 18px; font-stretch: normal; line-height: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs12"> </span><div class="selectionner_code" style="float: right; padding-right: 5px; vertical-align: middle;"><span class="selectionner_code LienSelectionne imUl cf1" id="code-d0e289" style="cursor: pointer; float: right; padding-right: 5px; vertical-align: middle;"><span class="fs12">Sélectionnez</span></span></div></div><pre class="code_uniquement" style="padding-left: 12px; overflow: auto;"><code id="contenuCoded0e289" class="contenuCode fs12 ff1" style="font-stretch: normal; padding: 0px;">raspistill -o image001.jpg
</code></pre></div><figure class="TextAlign-center" style="padding: 10px; text-align: center;"><span class="fs12"><a data-rel="lightbox[article]" href="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/images/8815489915_fba7c25b07_o.jpg"><img class="ImgCliquable" src="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/images/8815489915_fba7c25b07_o.jpg" alt="Image non disponible" width="433" height="325" style="box-shadow: black 0px 0px 10px 2px; border-radius: 5px; padding: 3px; margin: 10px;" data-selected="false"></a></span></figure><p><span class="fs12">La même photo avec l'option de stabilisation activée (pas de grosse différence mais je ne bougeais pas) :</span></p><div class="code_et_titre" style="margin: 10px 40px; padding-left: 0px; border-radius: 10px; border: 1px solid rgb(221, 221, 221); text-align: left; overflow: auto; background-image: none; background-attachment: scroll; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat;"><div class="titre_des_codes cf4" id="IdTitreCode-d0e297" style="border-radius: 8px 8px 0px 0px; padding-left: 12px; padding-top: 2px; margin-left: 0px; height: 18px; font-stretch: normal; line-height: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs12"> </span><div class="selectionner_code" style="float: right; padding-right: 5px; vertical-align: middle;"><span class="selectionner_code LienSelectionne imUl cf1" id="code-d0e297" style="cursor: pointer; float: right; padding-right: 5px; vertical-align: middle;"><span class="fs12">Sélectionnez</span></span></div></div><pre class="code_uniquement" style="padding-left: 12px; overflow: auto;"><code id="contenuCoded0e297" class="contenuCode fs12 ff1" style="font-stretch: normal; padding: 0px;">raspistill -ev -o image002.jpg
</code></pre></div><figure class="TextAlign-center" style="padding: 10px; text-align: center;"><span class="fs12"><a data-rel="lightbox[article]" href="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/images/8826075912_a3b2b149e6_o.jpg"><img class="ImgCliquable" src="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/images/8826075912_a3b2b149e6_o.jpg" alt="Image non disponible" width="433" height="325" style="box-shadow: black 0px 0px 10px 2px; border-radius: 5px; padding: 3px; margin: 10px;" data-selected="false"></a></span></figure><p><span class="fs12">Il est possible de désactiver la compression JPEG en utilisant le tag <span class="codeinline" style="padding: 0px 3px; white-space: pre;">--raw</span> (mais attention la taille des images passe à plus de 5 Mo) :</span></p><div class="code_et_titre" style="margin: 10px 40px; padding-left: 0px; border-radius: 10px; border: 1px solid rgb(221, 221, 221); text-align: left; overflow: auto; background-image: none; background-attachment: scroll; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat;"><div class="titre_des_codes cf4" id="IdTitreCode-d0e308" style="border-radius: 8px 8px 0px 0px; padding-left: 12px; padding-top: 2px; margin-left: 0px; height: 18px; font-stretch: normal; line-height: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs12"> </span><div class="selectionner_code" style="float: right; padding-right: 5px; vertical-align: middle;"><span class="selectionner_code LienSelectionne imUl cf1" id="code-d0e308" style="cursor: pointer; float: right; padding-right: 5px; vertical-align: middle;"><span class="fs12">Sélectionnez</span></span></div></div><pre class="code_uniquement" style="padding-left: 12px; overflow: auto;"><code id="contenuCoded0e308" class="contenuCode fs12 ff1" style="font-stretch: normal; padding: 0px;">raspistill --raw -o image002.jpg
</code></pre></div><p><span class="fs12">Voilà un aperçu des résultats :</span></p><div class="TextAlign-center" style="text-align: center;"><table class="tableau" style="width: 978px; border: 0px solid rgb(221, 221, 221); text-align: left; margin: 0px auto 10px; line-height: 15.6px; clear: both; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody><tr><td class="colonne imVt" style="padding-top: 3px; padding-bottom: 3px; font-stretch: normal; line-height: normal; text-align: justify;"><span class="fs12"><img src="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/images/photo1.jpg" alt="Image non disponible" width="320" height="240" class="image_verticale" style="vertical-align: middle;" data-selected="false"></span></td><td class="colonne imVt" style="padding-top: 3px; padding-bottom: 3px; font-stretch: normal; line-height: normal; text-align: justify;"><span class="fs12"><img src="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/images/photo2.jpg" alt="Image non disponible" width="320" height="240" class="image_verticale" style="vertical-align: middle;" data-selected="false"></span></td><td class="colonne imVt" style="padding-top: 3px; padding-bottom: 3px; font-stretch: normal; line-height: normal; text-align: justify;"><span class="fs12"><img src="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/images/photo3.jpg" alt="Image non disponible" width="320" height="240" class="image_verticale" style="vertical-align: middle;" data-selected="false"></span></td></tr><tr><td class="colonne imVt" style="padding-top: 3px; padding-bottom: 3px; font-stretch: normal; line-height: normal; text-align: justify;"><span class="fs12"><img src="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/images/photo4.jpg" alt="Image non disponible" width="320" height="240" class="image_verticale" style="vertical-align: middle;" data-selected="false"></span></td><td class="colonne imVt" style="padding-top: 3px; padding-bottom: 3px; font-stretch: normal; line-height: normal; text-align: justify;"><span class="fs12"><img src="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/images/photo5.jpg" alt="Image non disponible" width="320" height="256" class="image_verticale" style="vertical-align: middle;" data-selected="false"></span></td><td class="colonne imVt" style="padding-top: 3px; padding-bottom: 3px; font-stretch: normal; line-height: normal; text-align: justify;"><span class="fs12"><img src="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/images/photo6.jpg" alt="Image non disponible" width="320" height="240" class="image_verticale" style="vertical-align: middle;" data-selected="false"></span></td></tr><tr><td class="colonne imVt" style="padding-top: 3px; padding-bottom: 3px; font-stretch: normal; line-height: normal; text-align: justify;"><span class="fs12"><img src="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/images/photo7.jpg" alt="Image non disponible" width="320" height="240" class="image_verticale" style="vertical-align: middle;" data-selected="false"></span></td><td class="colonne imVt" style="padding-top: 3px; padding-bottom: 3px; font-stretch: normal; line-height: normal; text-align: justify;"><span class="fs12"> </span></td><td class="colonne imVt" style="padding-top: 3px; padding-bottom: 3px; font-stretch: normal; line-height: normal; text-align: justify;"><span class="fs12"> </span></td></tr></tbody></table></div><p><span class="fs12">Il est bien sûr possible de fixer la résolution avec les tags <span class="codeinline" style="padding: 0px 3px; white-space: pre;">-h</span> et <span class="codeinline" style="padding: 0px 3px; white-space: pre;">-w</span>. Par exemple une photo en 1280 x 1024 :</span></p><div class="code_et_titre" style="margin: 10px 40px; padding-left: 0px; border-radius: 10px; border: 1px solid rgb(221, 221, 221); text-align: left; overflow: auto; background-image: none; background-attachment: scroll; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat;"><div class="titre_des_codes cf4" id="IdTitreCode-d0e369" style="border-radius: 8px 8px 0px 0px; padding-left: 12px; padding-top: 2px; margin-left: 0px; height: 18px; font-stretch: normal; line-height: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs12"> </span><div class="selectionner_code" style="float: right; padding-right: 5px; vertical-align: middle;"><span class="selectionner_code LienSelectionne imUl cf1" id="code-d0e369" style="cursor: pointer; float: right; padding-right: 5px; vertical-align: middle;"><span class="fs12">Sélectionnez</span></span></div></div><pre class="code_uniquement" style="padding-left: 12px; overflow: auto;"><code id="contenuCoded0e369" class="contenuCode fs12 ff1" style="font-stretch: normal; padding: 0px;">raspistill -w <code class="shell_digit cf6" style="font-stretch: normal;">1280</code> -h <code class="shell_digit cf6" style="font-stretch: normal;">1024</code> -o image003.jpg
</code></pre></div><figure class="TextAlign-center" style="padding: 10px; text-align: center;"><span class="fs12"><a data-rel="lightbox[article]" href="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/images/8826065002_75dc7ebd49_o.jpg"><img class="ImgCliquable" src="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/images/8826065002_75dc7ebd49_o.jpg" alt="Image non disponible" width="406" height="325" style="box-shadow: black 0px 0px 10px 2px; border-radius: 5px; padding: 3px; margin: 10px;" data-selected="false"></a></span></figure><p><span class="fs12">Documentation officielle de la commande <span class="codeinline" style="padding: 0px 3px; white-space: pre;">raspistill </span>:</span></p><div class="code_et_titre" style="margin: 10px 40px; padding-left: 0px; border-radius: 10px; border: 1px solid rgb(221, 221, 221); text-align: left; overflow: auto; background-image: none; background-attachment: scroll; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat;"><div class="titre_des_codes cf4" id="IdTitreCode-d0e386" style="border-radius: 8px 8px 0px 0px; padding-left: 12px; padding-top: 2px; margin-left: 0px; height: 18px; font-stretch: normal; line-height: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs12"> </span><div class="selectionner_code" style="float: right; padding-right: 5px; vertical-align: middle;"><span class="selectionner_code LienSelectionne imUl cf1" id="code-d0e386" style="cursor: pointer; float: right; padding-right: 5px; vertical-align: middle;"><span class="fs12">Sélectionnez</span></span></div></div><pre class="code_uniquement" style="padding-left: 12px; overflow: auto;"><code id="contenuCoded0e386" class="contenuCode fs12 ff1" style="font-stretch: normal; padding: 0px;">raspistill
==========

--width, &nbsp;&nbsp;&nbsp;-w &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set image width &lt;size&gt;
--height, &nbsp;&nbsp;&nbsp;-h &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set image height &lt;size&gt;
--quality, &nbsp;-q &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set jpeg quality &lt;0 to 100&gt;

Quality 100 is almost completely uncompressed. 75 is a good all round value

--raw, &nbsp;&nbsp;&nbsp;-r &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add raw bayer data to jpeg metadata

This option inserts the raw Bayer data from the camera in to the JPEG metadata

--output &nbsp;&nbsp;&nbsp;-o &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Output filename &lt;filename&gt;.

Specify the output filename. If not specified, no file is saved. If the filename is '-', then all output is sent to stdout.

--verbose, &nbsp;&nbsp;&nbsp;-v &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Output verbose information during run

Outputs debugging/information messages during the program run.

--timeout, &nbsp;&nbsp;&nbsp;-t &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Time before takes picture and shuts down.

The program will run for this length of time, then take the capture (if output is specified). If not specified, this is set to 5 seconds

--timelapse,-tl &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Timelapse mode.

The specific value is the time between shots in milliseconds. Note you should specify %d at the point in the filename where you want a frame count number to appear. e.g.

 &nbsp;&nbsp;&nbsp;-t 30000 -tl 2000 -o image%d.jpg

will produce a capture every 2 seconds, over a total period of 30s, named image1.jpg, image2.jpg..image15.jpg.

--thumb, &nbsp;&nbsp;&nbsp;-th &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set thumbnail parameters (x:y:quality)

Allows specification of the thumbnail image inserted in to the JPEG file. If not specified, defaults are a size of 64x48 at quality 35.

--demo, &nbsp;&nbsp;&nbsp;&nbsp;d &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Run a demo mode &lt;milliseconds&gt;

This options cycles through range of camera options, no capture is done, the demo will end at the end of the timeout period, irrespective of whether all the options have been cycled. The time between cycles should be specified as a millisecond value.

--encoding, &nbsp;&nbsp;&nbsp;-e &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Encoding to use for output file

Valid options are jpg, bmp, gif and png. Note that unaccelerated image types (gif, png, bmp) will take much longer to save than JPG which is hardware accelerated. Also note that the filename suffix is completely ignored when encoding a file.

--exif, &nbsp;&nbsp;&nbsp;-x &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EXIF tag to apply to captures (format as 'key=value')

Allows the insertion of specific exif tags in to the JPEG image. You can have up to 32 exif tge entries. This is useful for things like adding GPS metadata. For example, to set the Longitude

 &nbsp;&nbsp;&nbsp;--exif GPS.GPSLongitude=5/1,10/1,15/100

would set the Longitude to 5degs, 10 minutes, 15 seconds. See exif documentation for more details on the range of tags available; the supported tags are as follows.
</code></pre></div></div><h1 class="TitreSection0 cf3" id="LIV" style="padding: 4px 15px; border-radius: 5px 5px 0px 0px; text-shadow: rgba(0, 0, 0, 0.6) 1px 1px 0px; vertical-align: middle; height: 16px; box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 3px, rgba(0, 0, 0, 0.2) 0px 3px 5px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.14902) 0px 15px 15px; margin-bottom: 20px; margin-top: 20px; margin-left: 15px; line-height: 18px; text-align: justify; widows: 1; background-image: url(http://www.developpez.com/template/kit/ent-niveau0.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat-x;"><span class="fs12">IV. Utilisation de la caméra pour capturer des vidéo</span><span style="float: right; text-align: right; vertical-align: middle; width: 45px;" class="cf3"><a class="HautPage" href="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/#" title="Haut de page"><span class="fs12">▲</span></a></span></h1><div class="BlocSection0 cf2" style="margin: 10px 0px 10px 30px; line-height: 18px; text-align: justify; widows: 1;"><p><span class="fs12">Tout comme pour les photos, il faut passer par l'utilitaire <b><span style="padding-left: 14px; text-align: center; font-stretch: normal; line-height: normal; background-image: url(http://www.developpez.com/template/kit/https.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: no-repeat;" class="cf1"><a class="lienArticle https" href="https://github.com/raspberrypi/userland/tree/master/host_applications/linux/apps/raspicam" target="_blank">Raspivid (les sources sont disponibles sur Github)</a></span></b>. Le logiciel va permettre de générer des vidéos au format H.264.</span></p><p><span class="fs12">Capturons notre première vidéo en full HD (1080p) pendant 10 secondes (<span class="codeinline" style="padding: 0px 3px; white-space: pre;">-t 10000</span>) :</span></p><div class="code_et_titre" style="margin: 10px 40px; padding-left: 0px; border-radius: 10px; border: 1px solid rgb(221, 221, 221); text-align: left; overflow: auto; background-image: none; background-attachment: scroll; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat;"><div class="titre_des_codes cf4" id="IdTitreCode-d0e407" style="border-radius: 8px 8px 0px 0px; padding-left: 12px; padding-top: 2px; margin-left: 0px; height: 18px; font-stretch: normal; line-height: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs12"> </span><div class="selectionner_code" style="float: right; padding-right: 5px; vertical-align: middle;"><span class="selectionner_code LienSelectionne imUl cf1" id="code-d0e407" style="cursor: pointer; float: right; padding-right: 5px; vertical-align: middle;"><span class="fs12">Sélectionnez</span></span></div></div><pre class="code_uniquement" style="padding-left: 12px; overflow: auto;"><code id="contenuCoded0e407" class="contenuCode fs12 ff1" style="font-stretch: normal; padding: 0px;">raspivid -t <code class="shell_digit cf6" style="font-stretch: normal;">10000</code> -o video001.h264
</code></pre></div><p><span class="fs12">La vidéo est stockée au format H.264 dans le fichier <span class="codeinline" style="padding: 0px 3px; white-space: pre;">video001.h264</span>. Pour lire cette vidéo sur votre Raspberry, vous pouvez utiliser la commande<span class="codeinline" style="padding: 0px 3px; white-space: pre;">omxplayer</span> qui va utiliser le GPU interne et afficher la vidéo d'une manière fluide sans consommation CPU.</span></p><div class="code_et_titre" style="margin: 10px 40px; padding-left: 0px; border-radius: 10px; border: 1px solid rgb(221, 221, 221); text-align: left; overflow: auto; background-image: none; background-attachment: scroll; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat;"><div class="titre_des_codes cf4" id="IdTitreCode-d0e422" style="border-radius: 8px 8px 0px 0px; padding-left: 12px; padding-top: 2px; margin-left: 0px; height: 18px; font-stretch: normal; line-height: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs12"> </span><div class="selectionner_code" style="float: right; padding-right: 5px; vertical-align: middle;"><span class="selectionner_code LienSelectionne imUl cf1" id="code-d0e422" style="cursor: pointer; float: right; padding-right: 5px; vertical-align: middle;"><span class="fs12">Sélectionnez</span></span></div></div><pre class="code_uniquement" style="padding-left: 12px; overflow: auto;"><code id="contenuCoded0e422" class="contenuCode fs12 ff1" style="font-stretch: normal; padding: 0px;">omxplayer video001.h264
</code></pre></div><p><span class="fs12">On peut voir que la qualité du capteur est au rendez-vous, la vidéo est lumineuse et fluide, comparable à ce que l'on peut obtenir avec un bon smartphone.</span></p><p><span class="fs12">Pour activer la prévisualisation de la vidéo dans un coin de l'écran (position 0 x 0 et taille de 640 x 480) on peut utiliser l'option <span class="codeinline" style="padding: 0px 3px; white-space: pre;">-p </span>:</span></p><div class="code_et_titre" style="margin: 10px 40px; padding-left: 0px; border-radius: 10px; border: 1px solid rgb(221, 221, 221); text-align: left; overflow: auto; background-image: none; background-attachment: scroll; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat;"><div class="titre_des_codes cf4" id="IdTitreCode-d0e434" style="border-radius: 8px 8px 0px 0px; padding-left: 12px; padding-top: 2px; margin-left: 0px; height: 18px; font-stretch: normal; line-height: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs12"> </span><div class="selectionner_code" style="float: right; padding-right: 5px; vertical-align: middle;"><span class="selectionner_code LienSelectionne imUl cf1" id="code-d0e434" style="cursor: pointer; float: right; padding-right: 5px; vertical-align: middle;"><span class="fs12">Sélectionnez</span></span></div></div><pre class="code_uniquement" style="padding-left: 12px; overflow: auto;"><code id="contenuCoded0e434" class="contenuCode fs12 ff1" style="font-stretch: normal; padding: 0px;">raspivid -t <code class="shell_digit cf6" style="font-stretch: normal;">10000</code> -p <code class="shell_digit cf6" style="font-stretch: normal;">0</code>,<code class="shell_digit cf6" style="font-stretch: normal;">0</code>,<code class="shell_digit cf6" style="font-stretch: normal;">640</code>,<code class="shell_digit cf6" style="font-stretch: normal;">480</code> -o video0012.h264
</code></pre></div><p><span class="fs12">Documentation officielle de la commande<span class="codeinline" style="padding: 0px 3px; white-space: pre;"> raspivid</span> :</span></p><div class="code_et_titre" style="margin: 10px 40px; padding-left: 0px; border-radius: 10px; border: 1px solid rgb(221, 221, 221); text-align: left; overflow: auto; background-image: none; background-attachment: scroll; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat;"><div class="titre_des_codes cf4" id="IdTitreCode-d0e458" style="border-radius: 8px 8px 0px 0px; padding-left: 12px; padding-top: 2px; margin-left: 0px; height: 18px; font-stretch: normal; line-height: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs12"> </span><div class="selectionner_code" style="float: right; padding-right: 5px; vertical-align: middle;"><span class="selectionner_code LienSelectionne imUl cf1" id="code-d0e458" style="cursor: pointer; float: right; padding-right: 5px; vertical-align: middle;"><span class="fs12">Sélectionnez</span></span></div></div><pre class="code_uniquement" style="padding-left: 12px; overflow: auto;"><code id="contenuCoded0e458" class="contenuCode fs12 ff1" style="font-stretch: normal; padding: 0px;">raspivid
========

--width, &nbsp;&nbsp;&nbsp;-w &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set image width &lt;size&gt;

Width of resulting video. This should be between 64 and 1920.

--height, &nbsp;&nbsp;&nbsp;-h &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set image height &lt;size&gt;

Height of resulting video. This should be between 64 and 1080.

--bitrate, &nbsp;&nbsp;&nbsp;-b &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set bitrate.

Use bits per second, so 10MBits/s would be -b 10000000. For H264, 1080p a high quality bitrate would be 15Mbits/s or more.

--output &nbsp;&nbsp;&nbsp;-o &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Output filename &lt;filename&gt;.

Specify the output filename. If not specified, no file is saved. If the filename is '-', then all output is sent to stdout.

--verbose, &nbsp;&nbsp;&nbsp;-v &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Output verbose information during run

Outputs debugging/information messages during the program run.

--timeout, &nbsp;&nbsp;&nbsp;-t &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Time before takes picture and shuts down.

The program will run for this length of time, then take the capture (if output is specified). If not specified, this is set to 5seconds

--demo, &nbsp;&nbsp;&nbsp;&nbsp;d &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Run a demo mode &lt;milliseconds&gt;

This options cycles through range of camera options, no capture is done, the demo will end at the end of the timeout period, irrespective of whether all the options have been cycled. The time between cycles should be specified as a millisecond value.

--framerate, &nbsp;&nbsp;&nbsp;&nbsp;-fps &nbsp;Specify the frames per second to record

At present, the minimum frame rate allowed is 2fps, the maximum is 30fps. This is likely to change in the future.

--penc, &nbsp;&nbsp;&nbsp;-e &nbsp;&nbsp;&nbsp;Display preview image *after* encoding

Switch on an option to display the preview after compression. This will show any compression artefacts in the preview window. In normal operation, the preview will show the camera output prior to being compressed. This option is not guaranteed to work in future releases.
</code></pre></div></div><h1 class="TitreSection0 cf3" id="LV" style="padding: 4px 15px; border-radius: 5px 5px 0px 0px; text-shadow: rgba(0, 0, 0, 0.6) 1px 1px 0px; vertical-align: middle; height: 16px; box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 3px, rgba(0, 0, 0, 0.2) 0px 3px 5px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.14902) 0px 15px 15px; margin-bottom: 20px; margin-top: 20px; margin-left: 15px; line-height: 18px; text-align: justify; widows: 1; background-image: url(http://www.developpez.com/template/kit/ent-niveau0.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat-x;"><span class="fs12">V. Streaming depuis la Raspberry Camera</span><span style="float: right; text-align: right; vertical-align: middle; width: 45px;" class="cf3"><a class="HautPage" href="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/#" title="Haut de page"><span class="fs12">▲</span></a></span></h1><div class="BlocSection0 cf2" style="margin: 10px 0px 10px 30px; line-height: 18px; text-align: justify; widows: 1;"><p><span class="fs12">Entrons maintenant dans le vif du sujet avec une utilisation pratique : le <b><span style="padding-left: 14px; text-align: center; font-stretch: normal; line-height: normal; background-image: url(http://www.developpez.com/template/kit/link.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: no-repeat;" class="cf1"><a class="lienArticle simple" href="http://man.developpez.com/man1/gstreamer-properties/" target="_blank">streaming</a></span></b> « live » du flux vidéo vers une autre machine de votre réseau. Les applications peuvent aller du « baby video phone » à l'« interphone vidéo » pour votre maison en passant par toutes les autres choses qui vous passent par la tête !</span></p><p><span class="fs12">Actuellement, la camera dispose d'un logiciel spécifique <b><span style="padding-left: 14px; text-align: center; font-stretch: normal; line-height: normal; background-image: url(http://www.developpez.com/template/kit/https.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: no-repeat;" class="cf1"><a class="lienArticle https" href="https://github.com/raspberrypi/userland/tree/master/host_applications/linux/apps/raspicam" target="_blank">Raspivid (dont les sources sont disponibles sur Github)</a></span></b>, pour capturer et encoder en H.264 la vidéo dans un fichier ou bien sûr le flux standard de sortie (stdout). C'est cette dernière particularité que nous allons exploiter afin de rediriger le flux vidéo vers une pipeline <b><span style="padding-left: 14px; text-align: center; font-stretch: normal; line-height: normal; background-image: url(http://www.developpez.com/template/kit/link.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: no-repeat;" class="cf1"><a class="lienArticle simple" href="http://man.developpez.com/man1/gstreamer-properties/" target="_blank">GStreamer</a></span></b> qui va s'occuper du streaming vers notre machine cible (celle ou l'on souhaite voir la vidéo).</span></p><h2 class="TitreSection1 cf3" id="LV-A" style="padding: 4px 15px; border-radius: 5px 5px 0px 0px; text-shadow: rgba(0, 0, 0, 0.6) 1px 1px 0px; vertical-align: middle; height: 16px; box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 3px, rgba(0, 0, 0, 0.2) 0px 3px 5px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.14902) 0px 15px 15px; margin-bottom: 20px; margin-top: 20px; margin-left: 15px; background-image: url(http://www.developpez.com/template/kit/ent-niveau1.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat-x;"><span class="fs12">V-A. Installation des composants GStreamer</span><span style="float: right; text-align: right; vertical-align: middle; width: 45px;" class="cf3"><a class="HautPage" href="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/#" title="Haut de page"><span class="fs12">▲</span></a></span></h2><div class="BlocSection1" style="margin: 10px 0px 10px 30px;"><p><span class="fs12">On commence par installer <b>GStreamer</b> sur notre <b><span style="padding-left: 14px; text-align: center; font-stretch: normal; line-height: normal; background-image: url(http://www.developpez.com/template/kit/link.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: no-repeat;" class="cf1"><a class="lienArticle simple" href="http://man.developpez.com/man1/gstreamer-properties/" target="_blank">Raspberry</a></span></b> Pi. Pour cela, on saisit la commande suivante :</span></p><div class="code_et_titre" style="margin: 10px 40px; padding-left: 0px; border-radius: 10px; border: 1px solid rgb(221, 221, 221); text-align: left; overflow: auto; background-image: none; background-attachment: scroll; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat;"><div class="titre_des_codes cf4" id="IdTitreCode-d0e496" style="border-radius: 8px 8px 0px 0px; padding-left: 12px; padding-top: 2px; margin-left: 0px; height: 18px; font-stretch: normal; line-height: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs12"> </span><div class="selectionner_code" style="float: right; padding-right: 5px; vertical-align: middle;"><span class="selectionner_code LienSelectionne imUl cf1" id="code-d0e496" style="cursor: pointer; float: right; padding-right: 5px; vertical-align: middle;"><span class="fs12">Sélectionnez</span></span></div></div><pre class="code_uniquement" style="padding-left: 12px; overflow: auto;"><code id="contenuCoded0e496" class="contenuCode fs12 ff1" style="font-stretch: normal; padding: 0px;">sudo apt-get install gstreamer-tools gstreamer0.<code class="shell_digit cf6" style="font-stretch: normal;">10</code>-plugins-base gstreamer0.<code class="shell_digit cf6" style="font-stretch: normal;">10</code>-plugins-good gstreamer0.<code class="shell_digit cf6" style="font-stretch: normal;">10</code>-plugins-bad gstreamer0.<code class="shell_digit cf6" style="font-stretch: normal;">10</code>-plugins-ugly
</code></pre></div><p><span class="fs12">L'installation va prendre un certain temps. Passiensa !</span></p><p><span class="fs12">Pour vérifier que les composants ont été correctement installés, saisir la commande suivante :</span></p><div class="code_et_titre" style="margin: 10px 40px; padding-left: 0px; border-radius: 10px; border: 1px solid rgb(221, 221, 221); text-align: left; overflow: auto; background-image: none; background-attachment: scroll; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat;"><div class="titre_des_codes cf4" id="IdTitreCode-d0e517" style="border-radius: 8px 8px 0px 0px; padding-left: 12px; padding-top: 2px; margin-left: 0px; height: 18px; font-stretch: normal; line-height: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs12"> </span><div class="selectionner_code" style="float: right; padding-right: 5px; vertical-align: middle;"><span class="selectionner_code LienSelectionne imUl cf1" id="code-d0e517" style="cursor: pointer; float: right; padding-right: 5px; vertical-align: middle;"><span class="fs12">Sélectionnez</span></span></div></div><pre class="code_uniquement" style="padding-left: 12px; overflow: auto;"><code id="contenuCoded0e517" class="contenuCode fs12 ff1" style="font-stretch: normal; padding: 0px;">gst-inspect
</code></pre></div><p><span class="fs12">Qui devrait afficher les chiffres suivants (qui peuvent varier légèrement selon votre configuration) :</span></p><div class="code_et_titre" style="margin: 10px 40px; padding-left: 0px; border-radius: 10px; border: 1px solid rgb(221, 221, 221); text-align: left; overflow: auto; background-image: none; background-attachment: scroll; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat;"><div class="titre_des_codes cf4" id="IdTitreCode-d0e523" style="border-radius: 8px 8px 0px 0px; padding-left: 12px; padding-top: 2px; margin-left: 0px; height: 18px; font-stretch: normal; line-height: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs12"> </span><div class="selectionner_code" style="float: right; padding-right: 5px; vertical-align: middle;"><span class="selectionner_code LienSelectionne imUl cf1" id="code-d0e523" style="cursor: pointer; float: right; padding-right: 5px; vertical-align: middle;"><span class="fs12">Sélectionnez</span></span></div></div><pre class="code_uniquement" style="padding-left: 12px; overflow: auto;"><code id="contenuCoded0e523" class="contenuCode fs12 ff1" style="font-stretch: normal; padding: 0px;">Total count: <code class="shell_digit cf6" style="font-stretch: normal;">233</code> plugins, <code class="shell_digit cf6" style="font-stretch: normal;">695</code> features
</code></pre></div></div><h2 class="TitreSection1 cf3" id="LV-B" style="padding: 4px 15px; border-radius: 5px 5px 0px 0px; text-shadow: rgba(0, 0, 0, 0.6) 1px 1px 0px; vertical-align: middle; height: 16px; box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 3px, rgba(0, 0, 0, 0.2) 0px 3px 5px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.14902) 0px 15px 15px; margin-bottom: 20px; margin-top: 20px; margin-left: 15px; background-image: url(http://www.developpez.com/template/kit/ent-niveau1.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat-x;"><span class="fs12">V-B. Lancement de la diffusion (streaming) sur le Raspberry</span><span style="float: right; text-align: right; vertical-align: middle; width: 45px;" class="cf3"><a class="HautPage" href="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/#" title="Haut de page"><span class="fs12">▲</span></a></span></h2><div class="BlocSection1" style="margin: 10px 0px 10px 30px;"><p><span class="fs12">On utilise la pipeline suivante :</span></p><div class="code_et_titre" style="margin: 10px 40px; padding-left: 0px; border-radius: 10px; border: 1px solid rgb(221, 221, 221); text-align: left; overflow: auto; background-image: none; background-attachment: scroll; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat;"><div class="titre_des_codes cf4" id="IdTitreCode-d0e541" style="border-radius: 8px 8px 0px 0px; padding-left: 12px; padding-top: 2px; margin-left: 0px; height: 18px; font-stretch: normal; line-height: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs12"> </span><div class="selectionner_code" style="float: right; padding-right: 5px; vertical-align: middle;"><span class="selectionner_code LienSelectionne imUl cf1" id="code-d0e541" style="cursor: pointer; float: right; padding-right: 5px; vertical-align: middle;"><span class="fs12">Sélectionnez</span></span></div></div><pre class="code_uniquement" style="padding-left: 12px; overflow: auto;"><code id="contenuCoded0e541" class="contenuCode fs12 ff1" style="font-stretch: normal; padding: 0px;">raspivid -t <code class="shell_digit cf6" style="font-stretch: normal;">0</code> -w <code class="shell_digit cf6" style="font-stretch: normal;">1280</code> -h <code class="shell_digit cf6" style="font-stretch: normal;">720</code> -fps <code class="shell_digit cf6" style="font-stretch: normal;">25</code> -b <code class="shell_digit cf6" style="font-stretch: normal;">2500000</code> -p <code class="shell_digit cf6" style="font-stretch: normal;">0</code>,<code class="shell_digit cf6" style="font-stretch: normal;">0</code>,<code class="shell_digit cf6" style="font-stretch: normal;">640</code>,<code class="shell_digit cf6" style="font-stretch: normal;">480</code> -o - <code class="shell_operator cf5" style="font-stretch: normal;">|</code> gst-launch -v fdsrc <code class="shell_operator cf5" style="font-stretch: normal;">!</code> h264parse <code class="shell_operator cf5" style="font-stretch: normal;">!</code> rtph264pay config-<i><code class="shell_keyword2" style="font-weight: 700; font-stretch: normal;">interval</code></i>=<code class="shell_digit cf6" style="font-stretch: normal;">1</code> <i><code class="shell_keyword2" style="font-weight: 700; font-stretch: normal;">pt</code></i>=<code class="shell_digit cf6" style="font-stretch: normal;">96</code> <code class="shell_operator cf5" style="font-stretch: normal;">!</code> gdppay <code class="shell_operator cf5" style="font-stretch: normal;">!</code> tcpserversink <i><code class="shell_keyword2" style="font-weight: 700; font-stretch: normal;">host</code></i>=<code class="shell_digit cf6" style="font-stretch: normal;">192</code>.<code class="shell_digit cf6" style="font-stretch: normal;">168</code>.<code class="shell_digit cf6" style="font-stretch: normal;">0</code>.<code class="shell_digit cf6" style="font-stretch: normal;">9</code> port <code class="shell_digit cf6" style="font-stretch: normal;">5000</code>
</code></pre></div><p><span class="fs12">Détaillons un peu cette ligne de commande. La première partie est dédiée à <b>Raspvid</b> et s'occupe de l'encodage H.264. Les paramètres sont très importants pour avoir une qualité vidéo conforme à vos besoins. Ainsi, dans mon exemple, je n'y suis pas allé avec le dos de la cuillère, car j'ai opté pour une résolution HD 720p (<span class="codeinline" style="padding: 0px 3px; white-space: pre;">-w 1280 -h 720</span>) à 25 images par seconde (<span class="codeinline" style="padding: 0px 3px; white-space: pre;">-fps 25</span>) pendant un temps infini (<span class="codeinline" style="padding: 0px 3px; white-space: pre;">-t -1</span>).</span></p><p><span class="fs12">Pour le streaming, le paramètre de débit (bitrate, <span class="codeinline" style="padding: 0px 3px; white-space: pre;">-b 2500000</span>) est primordial, car il va fixer le débit sortant de la vidéo (à 2.5 Mbps dans mon exemple).</span></p><p><span class="fs12">Ce débit est à adapter selon votre résolution. Après quelques tests, voici une table indicative des débits à utiliser :</span></p><ul class="ListeDVP"><li style="text-align: justify; margin-bottom: 3px;"><span class="fs12">SD Low : <span class="codeinline" style="padding: 0px 3px; white-space: pre;">-w 480 -h 260 -fps 25 -b 800000</span></span></li><li style="text-align: justify; margin-bottom: 3px;"><span class="fs12">SD Medium : <span class="codeinline" style="padding: 0px 3px; white-space: pre;">-w 640 -h 360 -fps 25 -b 1200000</span></span></li><li style="text-align: justify; margin-bottom: 3px;"><span class="fs12">SD High : <span class="codeinline" style="padding: 0px 3px; white-space: pre;">-w 960 -h 540 -fps 25 -b 1800000</span></span></li><li style="text-align: justify; margin-bottom: 3px;"><span class="fs12">HD Ready : <span class="codeinline" style="padding: 0px 3px; white-space: pre;">-w 1280 -h 720 -fps 25 -b 2500000</span></span></li><li style="text-align: justify; margin-bottom: 3px;"><span class="fs12">Full HD : <span class="codeinline" style="padding: 0px 3px; white-space: pre;">-w 1920 -h 1080 -fps 25 -b 5000000</span></span></li></ul><p class="imgtext-info" style="border-radius: 10px; margin: 10px 40px; padding: 10px 10px 10px 70px; border: none !important; background-image: url(http://www.developpez.com/template/kit/kitinfo.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 10px 50%; background-repeat: no-repeat;"><span class="fs12">Attention au dimensionnement de votre réseau si vous utilisez des débits élevés, en effet même avec des bornes Wifi récentes, il est difficile de garder un débit constant de 5 Mbps (Full HD).</span></p><p class="imgtext-info" style="border-radius: 10px; margin: 10px 40px; padding: 10px 10px 10px 70px; border: none !important; background-image: url(http://www.developpez.com/template/kit/kitinfo.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 10px 50%; background-repeat: no-repeat;"><span class="fs12">Sur le Raspberry, je conseille d'utiliser l'interface Ethernet et pas un dongle Wifi, surtout avec des résolutions importantes.</span></p><p><span class="fs12">La commande passe ensuite la main à <b>GStreamer</b> qui va encapsuler le flux H.264 dans un conteneur RTP puis créer le serveur TCP en écoute des clients (il faudra penser à remplacer l'adresse IP par celle de votre Raspberry Pi).</span></p></div><h2 class="TitreSection1 cf3" id="LV-C" style="padding: 4px 15px; border-radius: 5px 5px 0px 0px; text-shadow: rgba(0, 0, 0, 0.6) 1px 1px 0px; vertical-align: middle; height: 16px; box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 3px, rgba(0, 0, 0, 0.2) 0px 3px 5px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.14902) 0px 15px 15px; margin-bottom: 20px; margin-top: 20px; margin-left: 15px; background-image: url(http://www.developpez.com/template/kit/ent-niveau1.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat-x;"><span class="fs12">V-C. Lecture de la vidéo depuis une autre machine</span><span style="float: right; text-align: right; vertical-align: middle; width: 45px;" class="cf3"><a class="HautPage" href="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/#" title="Haut de page"><span class="fs12">▲</span></a></span></h2><div class="BlocSection1" style="margin: 10px 0px 10px 30px;"><p><span class="fs12">J'ai fait le test depuis mon portable Ubuntu 13.04 en saisissant la ligne de commande suivante pour récupérer et afficher la vidéo :</span></p><div class="code_et_titre" style="margin: 10px 40px; padding-left: 0px; border-radius: 10px; border: 1px solid rgb(221, 221, 221); text-align: left; overflow: auto; background-image: none; background-attachment: scroll; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat;"><div class="titre_des_codes cf4" id="IdTitreCode-d0e689" style="border-radius: 8px 8px 0px 0px; padding-left: 12px; padding-top: 2px; margin-left: 0px; height: 18px; font-stretch: normal; line-height: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs12">Lecture du streaming depuis une machine GNU/Linux</span><div class="selectionner_code" style="float: right; padding-right: 5px; vertical-align: middle;"><span class="selectionner_code LienSelectionne imUl cf1" id="code-d0e689" style="cursor: pointer; float: right; padding-right: 5px; vertical-align: middle;"><span class="fs12">Sélectionnez</span></span></div></div><pre class="code_uniquement" style="padding-left: 12px; overflow: auto;"><code id="contenuCoded0e689" class="contenuCode fs12 ff1" style="font-stretch: normal; padding: 0px;">gst-launch-<code class="shell_digit cf6" style="font-stretch: normal;">1</code>.<code class="shell_digit cf6" style="font-stretch: normal;">0</code> -v tcpclientsrc <i><code class="shell_keyword2" style="font-weight: 700; font-stretch: normal;">host</code></i>=<code class="shell_digit cf6" style="font-stretch: normal;">192</code>.<code class="shell_digit cf6" style="font-stretch: normal;">168</code>.<code class="shell_digit cf6" style="font-stretch: normal;">0</code>.<code class="shell_digit cf6" style="font-stretch: normal;">9</code> <i><code class="shell_keyword2" style="font-weight: 700; font-stretch: normal;">port</code></i>=<code class="shell_digit cf6" style="font-stretch: normal;">5000</code> &nbsp;<code class="shell_operator cf5" style="font-stretch: normal;">!</code> gdpdepay <code class="shell_operator cf5" style="font-stretch: normal;">!</code> rtph264depay <code class="shell_operator cf5" style="font-stretch: normal;">!</code> avdec_h264 <code class="shell_operator cf5" style="font-stretch: normal;">!</code> videoconvert <code class="shell_operator cf5" style="font-stretch: normal;">!</code> autovideosink <i><code class="shell_keyword2" style="font-weight: 700; font-stretch: normal;">sync</code></i>=false
</code></pre></div><p><span class="fs12">La qualité de la vidéo est très bonne, fluide. On note quelques retards quand on sollicite le réseau en parallèle mais cela semble normal vu les débits utilisés.</span></p><figure class="TextAlign-center" style="padding: 10px; text-align: center;"><span class="fs12"><a data-rel="lightbox[article]" href="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/images/capture_083-580x326.png"><img class="ImgCliquable" src="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/images/capture_083-580x326.png" alt="Image non disponible" width="578" height="325" style="box-shadow: black 0px 0px 10px 2px; border-radius: 5px; padding: 3px; margin: 10px;" data-selected="false"></a></span></figure><p><span class="fs12">Ce qui est très impressionnant au niveau du Raspberry, c'est <b>la faible consommation CPU</b>. En effet, <b>Raspivid</b> ne dépasse pas les 2 % (merci le GPU) et <b>GStreamer</b> les 25 %. On peut sans aucun problème laisser tourner le tout sans risque de surchauffe.</span></p></div></div><h1 class="TitreSection0 cf3" id="LVI" style="padding: 4px 15px; border-radius: 5px 5px 0px 0px; text-shadow: rgba(0, 0, 0, 0.6) 1px 1px 0px; vertical-align: middle; height: 16px; box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 3px, rgba(0, 0, 0, 0.2) 0px 3px 5px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.14902) 0px 15px 15px; margin-bottom: 20px; margin-top: 20px; margin-left: 15px; line-height: 18px; text-align: justify; widows: 1; background-image: url(http://www.developpez.com/template/kit/ent-niveau0.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 0%; background-repeat: repeat-x;"><span class="fs12">VI. Conclusion</span><span style="float: right; text-align: right; vertical-align: middle; width: 45px;" class="cf3"><a class="HautPage" href="http://nicolargo.developpez.com/tutoriels/raspberry-pi/test-camera-5M-apprendre-streaming/#" title="Haut de page"><span class="fs12">▲</span></a></span></h1><div class="BlocSection0 cf2" style="margin: 10px 0px 10px 30px; line-height: 18px; text-align: justify; widows: 1;"><p><span class="fs12">Pour moins de 60 €, il est donc possible d'avoir un Raspberry Pi model B + Camera qui vous ouvre la porte à pas mal de possibilités. J'espère rapidement voir apparaître une API (en Python par exemple) permettant de programmer directement la caméra.</span></p><p><span class="fs12">J'espère également que cette rapide introduction sur le streaming vidéo depuis le Raspberry vous a donné des idées.</span></p></div></div>]]></description>
			<pubDate>Tue, 21 May 2013 22:18:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?test-de-la-camera-raspberry-pi-5m</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/hp267z4l</guid>
		</item>
		<item>
			<title><![CDATA[Créer une station de téléchargement avec Transmission Raspberry]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_a1jr15u4"><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px; widows: 1;" class="cf1"><span id="Preparation_de_la_station" style="box-sizing: border-box;" class="fs16">Préparation de la station</span></h2><p style="box-sizing: border-box; margin-bottom: 10px; line-height: 23.8px; widows: 1;" class="cf2"><span class="fs16">Tout d’abord, connectez vous en SSH ou depuis VNC sur votre RPI. Une fois connecté nous allons commencer par vérifier que notre système est à jour :</span></p><div style="box-sizing: border-box; line-height: 23.8px; widows: 1;" class="cf2"><div id="highlighter_84476" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="631" data-minrequestedwidth="631"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 595px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell functions cf3" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get update</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell functions cf3" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get upgrade</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px; line-height: 23.8px; widows: 1;" class="cf2"></p><h3 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px; widows: 1;" class="cf1"><span id="Configuration_du_disque_dur_externe" style="box-sizing: border-box;" class="fs16">Configuration du disque dur externe</span></h3><p style="box-sizing: border-box; margin-bottom: 10px; line-height: 23.8px; widows: 1;" class="cf2"><span class="fs16">Pour débuter nous allons préparer les accès au disque dur externe pour ensuite les ajouter dans le fichier de configuration de transmission.</span></p><p style="box-sizing: border-box; margin-bottom: 10px; line-height: 23.8px; widows: 1;" class="cf2"><span class="fs16">On vérifie que notre disque et bien renseigné :</span></p><div style="box-sizing: border-box; line-height: 23.8px; widows: 1;" class="cf2"><div id="highlighter_220729" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="631" data-minrequestedwidth="631"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 595px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell functions cf3" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf3" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">fdisk</code> <code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-l</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px; line-height: 23.8px; widows: 1;" class="cf2"></p><p style="box-sizing: border-box; margin-bottom: 10px; line-height: 23.8px; widows: 1;" class="cf2"><span class="fs16">vous devriez avoir quelque chose comme ceci à l’écran :</span></p><figure class="thumbnail wp-caption aligncenter cf2" style="box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; line-height: 1.42857; border: 1px solid rgb(204, 204, 204); border-radius: 4px; -webkit-transition: border 0.2s ease-in-out; transition: border 0.2s ease-in-out; clear: both; max-width: 100%; widows: 1; width: 504px;"><img title="fdisk" src="http://www.windtopik.fr/wp-content/uploads/2013/05/disque-rpi.png" alt="disque-rpi" width="494" height="257" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"><figcaption class="caption wp-caption-text cf5" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs16">commande « fdisk -l »</span></figcaption></figure><p style="box-sizing: border-box; margin-bottom: 10px; line-height: 23.8px; widows: 1;" class="cf2"><span class="fs16"> </span></p><p style="box-sizing: border-box; margin-bottom: 10px; line-height: 23.8px; widows: 1;" class="cf2"><span class="fs16">On installe le paquet ntfs-3g &nbsp;:</span></p><div class="encart info cf2" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(216, 216, 235); line-height: 23.8px; widows: 1; background-image: url(http://rendering/images/info.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs16">ntfs-3g est un paquet qui permet d’écrire de façon sûre et simple sur votre disque dur NTFS.</span></div><div style="box-sizing: border-box; line-height: 23.8px; widows: 1;" class="cf2"><div id="highlighter_122648" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="631" data-minrequestedwidth="631"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 595px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell functions cf3" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get </code><code class="shell functions cf3" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ntfs-3g</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px; line-height: 23.8px; widows: 1;" class="cf2"><span class="fs16">On créé maintenant un répertoire où nous allons monter le disque :</span></p><div style="box-sizing: border-box; line-height: 23.8px; widows: 1;" class="cf2"><div id="highlighter_464698" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="631" data-minrequestedwidth="631"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 595px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell functions cf3" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf3" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">mkdir</code> <code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/media/usb</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px; line-height: 23.8px; widows: 1;" class="cf2"><span class="fs16">Puis on monte l’accès au disque dur :</span></p><div style="box-sizing: border-box; line-height: 23.8px; widows: 1;" class="cf2"><div id="highlighter_393564" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="631" data-minrequestedwidth="631"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 595px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell functions cf3" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell functions cf3" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">mount</code> <code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-t ntfs-3g </code><code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/dev/sda1</code> <code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/media/usb</code></span></div></div></td></tr></tbody></table></div></div><div class="encart warning cf2" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(232, 226, 195); line-height: 23.8px; widows: 1; background-image: url(http://rendering/images/warning.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs16">Il se peut que votre disque dur soit déjà monté. Dans ce cas, il suffit d’utiliser commande « umount » en spécifiant le répertoire monté au démarrage.<br style="box-sizing: border-box;">ex: &nbsp;$sudo umount -f /media/usb</span></div><p style="box-sizing: border-box; margin-bottom: 10px; line-height: 23.8px; widows: 1;" class="cf2"><span class="fs16">Pour ne pas relancer la commande « mount » après chaque redémarrage, vous pouvez ajouter dans le FSTAB la ligne ci-dessous :</span></p><div style="box-sizing: border-box; line-height: 23.8px; widows: 1;" class="cf2"><div id="highlighter_703251" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="631" data-minrequestedwidth="631"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">3</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 595px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell functions cf3" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">nano </code><code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/fstab</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/dev/sda1</code> <code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/media/usb</code> <code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ntfs-3g rw, auto 0 0</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px; line-height: 23.8px; widows: 1;" class="cf2"></p><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px; widows: 1;" class="cf1"><span id="Installation_de_transmission" style="box-sizing: border-box;" class="fs16">Installation de transmission</span></h2><p style="box-sizing: border-box; margin-bottom: 10px; line-height: 23.8px; widows: 1;" class="cf2"><span class="fs16">On installe transmission avec la commande suivante :</span></p><div style="box-sizing: border-box; line-height: 23.8px; widows: 1;" class="cf2"><div id="highlighter_993564" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="631" data-minrequestedwidth="631"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 595px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell functions cf3" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get </code><code class="shell functions cf3" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">transmission-daemon</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px; line-height: 23.8px; widows: 1;" class="cf2"><span class="fs16">On stop maintenant transmission afin de passer à la partie configuration.</span></p><div style="box-sizing: border-box; line-height: 23.8px; widows: 1;" class="cf2"><div id="highlighter_831979" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="631" data-minrequestedwidth="631"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 595px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell functions cf3" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/init</code><code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.d</code><code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/transmission-daemon</code> <code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">stop</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px; line-height: 23.8px; widows: 1;" class="cf2"></p><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px; widows: 1;" class="cf1"><span id="Configuration_de_transmission" style="box-sizing: border-box;" class="fs16">Configuration de transmission</span></h2><p style="box-sizing: border-box; margin-bottom: 10px; line-height: 23.8px; widows: 1;" class="cf2"><span class="fs16">Passons maintenant à la partie de configuration. Pour cela on se dirige dans le répertoire où se situe le fichier<span style="box-sizing: border-box; font-weight: 700;">« setting.json »</span> :</span></p><div style="box-sizing: border-box; line-height: 23.8px; widows: 1;" class="cf2"><div id="highlighter_218150" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="631" data-minrequestedwidth="631"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 595px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell functions cf3" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">cd</code> <code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/transmission-daemon/</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px; line-height: 23.8px; widows: 1;" class="cf2"><span class="fs16">Puis on édite le fichier :</span></p><div style="box-sizing: border-box; line-height: 23.8px; widows: 1;" class="cf2"><div id="highlighter_627363" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="631" data-minrequestedwidth="631"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 595px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell functions cf3" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">nano settings.json</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px; line-height: 23.8px; widows: 1;" class="cf2"><span class="fs16">Il faut maintenant configurer transmission selon vos paramètres. Voici un exemples de paramètres à modifier :</span></p><div style="box-sizing: border-box; line-height: 23.8px; widows: 1;" class="cf2"><div id="highlighter_599823" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="631" data-minrequestedwidth="631"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">3</span></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">4</span></div><div class="line number5 index4 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">5</span></div><div class="line number6 index5 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">6</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 1142px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell string cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"download-dir"</code><code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">: </code><code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/media/usb</code> <code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">(chemin où seront placés vos fichiers téléchargés.)</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell string cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"peer-port"</code><code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">: 51413 (port de téléchargement à configurer sur votre box.)</code></span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell string cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"rpc-port"</code><code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">: 9091, &nbsp;(port d'écoute de transmission.)</code></span></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell string cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"rpc-username"</code><code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">: </code><code class="shell string cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"transmission"</code><code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">,(mot de passe administrateur.)</code></span></div><div class="line number5 index4 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell string cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"rpc-password"</code><code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">: </code><code class="shell string cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"transmission"</code><code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">, (identifiant administrateur.)</code></span></div><div class="line number6 index5 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell string cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"rpc-whitelist"</code><code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">: </code><code class="shell string cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">"127.0.0.1"</code><code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">, (autorisation de l</code><code class="shell string cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">'accès web. Mettre ici l'</code><code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">IP </code><code class="shell functions cf3" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">du</code> <code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">poste duquel vous souhaitez accéder.)</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px; line-height: 23.8px; widows: 1;" class="cf2"></p><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px; widows: 1;" class="cf1"><span id="Acces_lrsquointerface_web" style="box-sizing: border-box;" class="fs16">Accès l’interface web</span></h2><p style="box-sizing: border-box; margin-bottom: 10px; line-height: 23.8px; widows: 1;" class="cf2"><span class="fs16">Une fois toutes les options configurées, on enregistre les modifications puis on relance transmission :</span></p><div style="box-sizing: border-box; line-height: 23.8px; widows: 1;" class="cf2"><div id="highlighter_934304" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="631" data-minrequestedwidth="631"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 595px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell functions cf3" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/etc/init</code><code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.d</code><code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/transmission-daemon</code> <code class="shell plain cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">start</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px; line-height: 23.8px; widows: 1;" class="cf2"><span class="fs16">Vous pouvez maintenant accéder à transmission en tapant l’url suivant dans votre navigateur favori :</span></p><div class="encart bleu cf2" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px; border: 2px solid rgb(216, 216, 235); line-height: 23.8px; widows: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs16">http://@IP_de_votre_poste:9091 exemple –&gt; http://192.168.1.10:9091</span></div><p style="box-sizing: border-box; margin-bottom: 10px; line-height: 23.8px; widows: 1;" class="cf2"><span class="fs16">Vous pouvez maintenant télécharger votre premier torrent. <img src="http://www.windtopik.fr/wp-includes/images/smilies/simple-smile.png" alt=":-)" class="wp-smiley" style="box-sizing: border-box; height: 1em; max-width: 100%; padding: 0px; max-height: 1em; vertical-align: -0.1em !important; display: inline !important; box-shadow: none !important; width: 1em !important; margin-right: 0.07em !important; margin-left: 0.07em !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-selected="false"></span></p></div>]]></description>
			<pubDate>Mon, 20 May 2013 11:35:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?creer-une-station-de-telechargement-avec-transmission-raspberry</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/a1jr15u4</guid>
		</item>
		<item>
			<title><![CDATA[Installer un serveur web sur votre Raspberry (Apache + PHP + MySQL) SUITE]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_upi1yjre"><h1 id="post-page-post-title" style="box-sizing: border-box; padding: 0px; margin: 0px 0px 10px; font-weight: 300; font-variant-ligatures: normal; orphans: 2; widows: 2;" class="fs30 cf1">Mettre en ligne votre serveur web Raspbian, rendre votre Raspberry Pi accessible depuis internet avec DynDNS et le port forwarding</h1><div id="post-page-post-meta" style="box-sizing: border-box; padding: 0px; margin: 0px 0px 30px; font-variant-ligatures: normal; orphans: 2; widows: 2;" class="fs11 cf2"><span style="letter-spacing: 0.5px;" class="fs12 cf1">Si vous êtes ici, c’est probablement que vous avez lu </span><span style="letter-spacing: 0.5px;" class="fs12 cf1">le tutoriel sur l’installation d’un serveur web pour la raspberry Pi.</span><span style="letter-spacing: 0.5px;" class="fs12 cf1"> </span><span style="letter-spacing: 0.5px;" class="fs12 cf1"> </span><span style="letter-spacing: 0.5px;" class="fs12 cf1"> Le tutoriel ici présent</span><span style="letter-spacing: 0.5px;" class="fs12 cf1"> </span><span style="letter-spacing: 0.5px; box-sizing: border-box; padding: 0px; margin: 0px;" class="fs12 cf1">lui fait suite</span><span style="letter-spacing: 0.5px;" class="fs12 cf1"> </span><span style="letter-spacing: 0.5px;" class="fs12 cf1">de façon directe. Par conséquent, vous devriez maintenant avoir</span><span style="letter-spacing: 0.5px;" class="fs12 cf1"> </span><span style="letter-spacing: 0.5px; box-sizing: border-box; padding: 0px; margin: 0px;" class="fs12 cf1">un serveur web sous Raspbian opérationnel</span><span style="letter-spacing: 0.5px;" class="fs12 cf1">.</span></div><div id="post-page-post-meta" style="box-sizing: border-box; padding: 0px; margin: 0px 0px 30px; font-variant-ligatures: normal; orphans: 2; widows: 2;" class="fs11 cf2"><table width="808" style="box-sizing: border-box; margin: 0px; text-align: center; width: auto; max-width: 100%; font-variant-ligatures: normal; letter-spacing: 0.5px;" class="fs12 cf1"><tbody style="box-sizing: border-box; padding: 0px; margin: 0px;"><tr style="box-sizing: border-box; padding: 0px; margin: 0px;"><th style="box-sizing: border-box; padding: 0px; margin: 0px;" class="imVt">Type de requête</th><th style="box-sizing: border-box; padding: 0px; margin: 0px;" class="imVt">Port externe de la requête</th><th style="box-sizing: border-box; padding: 0px; margin: 0px;" class="imVt">Port interne de la redirection</th><th style="box-sizing: border-box; padding: 0px; margin: 0px;" class="imVt">Protocole employé</th><th style="box-sizing: border-box; padding: 0px; margin: 0px;" class="imVt">Équipement cible</th></tr><tr style="box-sizing: border-box; padding: 0px; margin: 0px;"><td style="box-sizing: border-box; padding: 0px;" class="imVt">HTTP</td><td style="box-sizing: border-box; padding: 0px;" class="imVt">80</td><td style="box-sizing: border-box; padding: 0px;" class="imVt">80</td><td style="box-sizing: border-box; padding: 0px;" class="imVt">TCP</td><td style="box-sizing: border-box; padding: 0px;" class="imVt">raspberry*</td></tr><tr style="box-sizing: border-box; padding: 0px; margin: 0px;"><td style="box-sizing: border-box; padding: 0px;" class="imVt">HTTPS</td><td style="box-sizing: border-box; padding: 0px;" class="imVt">443</td><td style="box-sizing: border-box; padding: 0px;" class="imVt">443</td><td style="box-sizing: border-box; padding: 0px;" class="imVt">TCP</td><td style="box-sizing: border-box; padding: 0px;" class="imVt">raspberry*</td></tr></tbody></table></div></div>]]></description>
			<pubDate>Mon, 06 May 2013 13:58:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?installer-un-serveur-web-sur-votre-raspberry--apache---php---mysql--suite</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/upi1yjre</guid>
		</item>
		<item>
			<title><![CDATA[Installer un serveur web sur votre Raspberry (Apache + PHP + MySQL)]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_u9vrvjpx"><br><span class="fsNaN cf1"></span><h1 id="post-page-post-title" class="fs30 cf3">Installer un serveur web sur votre Raspberry (Apache + PHP + MySQL)<span class="fs11 cf2"> </span></h1><div id="post-page-post-content" class=""><p class="mb1 cf3"><br></p><p class="mb1 cf3">Après avoir créé votre carte SD, et après avoir démarré pour la première fois votre Raspberry Pi, il y a de fortes chances que vous souhaitiez l’utiliser comme un serveur web.</p><h2 class="fs23 cf3">La Raspberry Pi comme serveur web, pourquoi ?</h2><p class="mb1 cf3">Mais <span class="">pourquoi utiliser la Raspberry comme un serveur Web</span>, plutôt que de faire appel à des prestataires de services spécialisés dans l’hébergement web ?</p><p class="mb1"><span class="cf3">Tout d’abord, d’un point de vue économique, il faut savoir que </span><span class="cf3">les services d’hébergement web ne sont pas gratuits</span><span class="cf3"> et qu’il faut sortir le porte-monnaie tous les mois/ans. Contrairement à la Raspberry qui </span><span class="cf3">demande juste une connexion.</span><br class=""><span class="cf3">De plus, en choisissant la Raspberry, </span><span class="cf3">vous avez la possibilité de modifier vos services à souhait</span><span class="cf3"> (exemples : la taille du disque, l’hébergem­ent de Database, etc.), ce qui n’est en général </span><span class="cf3">pas le cas chez les hébergeurs spécialisés</span><span class="cf3">, qui vendent souvent des hébergements mutualisés avec </span><span class="cf3">une faible capacité de configuration.</span><br class=""><span class="cf3">Cependant </span><span class="cf3">pour supporter plus d’utilisateurs</span><span class="cf3">, vous avez intérêt à utiliser une PI, soit la Raspberry Pi avec </span><span class="cf3">1 Go de RAM</span><span class="cf3">, plutôt que la </span><span class="fs12 cf3">Raspberry de type B+</span><span class="fs12 cf3"> (512 Mo de RAM)</span></p><p class="mb1 cf3">La question qui se pose maintenant est, <span class="">comment faire de la Raspeberry un serveur web</span> ?</p><h2 class="fs23 cf3">Installation du serveur Apache avec Raspbian</h2><h3 class="fs19 cf3">Apache, c’est quoi ?</h3><p class="mb1 cf3">Tout d’abord, nous allons installer Apache, qui est <span class="">le serveur web en tant que tel</span>.<br class="">Quand on parle de serveur web, on pense souvent à la machine, mais <span class="">ce terme désigne aussi le logiciel</span> qui permet à la machine d’analyser les requêtes d’un utilisateur (sous forme http), et de retourner le fichier correspondant à la requête (ou une erreur si le fichier n’est pas trouvé, ou la requête mal formulée).<br class="">Dans le cadre d’Apache, <span class="">c’est donc du logiciel que l’on parle.</span></p><p class="mb1 cf3">À l’heure actuelle, <span class="">Apache est le serveur web le plus utilisé</span>, avec environ <span class="">60 % de parts de marché</span>. Apache possède même <span class="">sa propre licence</span>, utilisée par de nombreux autres projets. De plus, l’utilisation massive d’Apache (devenu le standard des serveurs web), couplée à sa forte popularité, à amener à une formidable abondance de documentation, de cours, et autres livres traitant de son utilisation, depuis l’installation jusqu’à la sécurisation. </p><p class="mb1 cf3">Que ce soit pour la Raspberry Pi et Raspbian, ou pour une machine plus généraliste, <span class="">Apache est donc un choix sûr</span>, et les compétences que vous pourrez acquérir sur le sujet <span class="">vous seront toujours utiles.</span></p><h3 class="fs19 cf3">Installation d’Apache</h3><p class="mb1 cf3">Avant d’installer le serveur, assurons nous d’avoir une machine bien à jour. Pour ce faire nous devons <span class="">posséder les droits administrateur</span>, soit en étant connecté en root, soit via la commande sudo.</p><pre class="mt1 mb2 cf4 cb1"><span class="ff1">sudo aptitude update &nbsp;sudo aptitude upgrade</span></pre><p class="mb1 cf3">Une fois la Raspberry Pi à jour, nous allons installer le serveur Apache.</p><pre class="mt1 mb2 cf4 cb1"><span class="ff1">sudo aptitude install apache2</span></pre><p class="mb1 cf3">Au passage, nous allons en profiter pour donner des droits au dossier d’apache qui vous permettra de facilement administrer les sites. Pour cela, lancez les commandes suivantes :</p><pre class="mt1 mb2 cf4 cb1"><span class="ff1">sudo chown -R pi:www-data /var/www/html/ sudo chmod -R 770 /var/www/html/</span></pre><h3 class="fs19 cf3">Vérifier qu’Apache fonctionne</h3><p class="mb1 cf3">Une fois l’installation terminée, nous pouvons <span class="">tester qu’Apache fonctionne correctement</span>en nous rendant sur l’adresse de la Raspberry.<br class="">Pour cela, il faut tenter d’accéder à la Raspberry depuis le port 80 (ce port n’étant pas encore ouvert depuis l’extérieur, <span class="">il faudra le faire depuis la Raspberry elle-même</span>). Ne vous inquiétez pas, c’est très facile. Il vous suffit d’ouvrir le navigateur web de la Raspberry (par défaut Midori sous Raspbian), et d’aller à l’adresse « http://127.0.0.1 ». Vous devriez alors obtenir une page avec un message du genre « <em class="">It works!</em> » et plein d’autre texte.<br class="">Si jamais <span class="">vous ne possédez pas d’interface graphique sur votre Raspbian</span>, ou que vous utilisez le SSH pour vous connecter à votre Raspberry, vous pouvez utiliser la commande suivante :</p><pre class="mt1 mb2 cf4 cb1"><span class="ff1">wget -O verif_apache.html http://127.0.0.1</span></pre><p class="mb1 cf3">Cette commande va <span class="">enregistrer le code HTML de la page dans le fichier « verif_apache.html »</span> dans le répertoire courant.<br class="">Vous n’avez donc plus qu’à lire le fichier avec la commande</p><pre class="mt1 mb2 cf4 cb1"><span class="ff1">cat ./verif_apache.html</span></pre><p class="mb1 cf3">Si vous voyez marqué à un endroit dans le code « <em class="">It works!</em> », c’est qu’Apache fonctionne.</p><p class="mb1 cf3"> </p><p class="mb1 cf3"><span class="">Apache utilise le répertoire <code class="cb2">/var/www/html</code> comme racine pour votre site.</span> Cela signifie que quand vous appelez votre Raspberry sur le port <code class="cb2">80</code> (http), Apache cherche le fichier dans <code class="cb2">/var/www/html</code>.</p><p class="mb1 cf3">Par exemple, si vous appelez l’adresse <code class="cb2">http://127.0.0.1/example</code>, Apache cherchera le fichier <code class="cb2">example</code> dans le répertoire <code class="cb2">/var/www/html</code>.<br class="">Pour ajouter de nouveaux fichiers, sites, etc., vous devrez donc <span class="">les ajouter dans ce répertoire.</span></p><p class="mb1 cf3">Vous pouvez <span class="">dès à présent</span> utiliser votre Raspberry pour faire un site <span class="">en HTML, &nbsp;CSS et JavaScript pur</span>, en interne.<br class="">Cependant, vous voudrez sans doute rapidement <span class="">permettre des interactions entre le site et l’utilisateur</span>. Par exemple permettre à l’utilisateur de s’inscrire, etc. Pour cela, vous allez avoir besoin de PHP.</p><h2 class="fs23 cf3">Installation de PHP sur la Raspberry</h2><h3 class="fs19 cf3">Qu’est-ce que PHP ?</h3><p class="mb1 cf3">Tout d’abord, il faut savoir que le <span class="">PHP est un langage interprété</span>. Et comme dans le cas des serveurs, l’acronyme PHP <span class="">peut avoir plusieurs sens</span>. En fait, quand l’on parle de PHP, on peut parler<span class=""> soit du langage, soit de l’interpréteur.</span><br class="">Ici, quand nous parlons d’installer PHP, cela signifie que <span class="">nous allons installer l’interpréteur</span>, afin d’utiliser le langage.</p><p class="mb1 cf3">PHP (le langage cette fois) est <span class="">principalement</span> utilisé pour rendre un site dynamique, c’est-à-dire que l’utilisateur envoie des informations au serveur qui lui renvoie <span class="">les résultats modifiés en fonction de ces infos</span>. A contrario, un site statique<span class=""> ne s’adapte pas aux informations fournies par un utilisateur.</span> Il est enregistré sous forme de fichier <span class="">une fois pour toute,</span> et livrera toujours le même contenu.</p><p class="mb1 cf3"><span class="">PHP est libre</span>, et maintenu par la fondation PHP, ainsi que l’entreprise Zend, et diverses autres entreprises (<span class="fs12">il est à noter que Zend est aussi l’auteur du célèbre framework Zend PHP, très utilisé et reconnu dans le monde de l’entreprise)</span><span class="fs12">.</span></p><p class="mb1 cf3">C’est <span class="">un des langages de programmation les plus utilisés</span>, et c’est même <span class="">le plus utilisé pour la programmation destinée au web</span>, avec environ<span class=""> 79 % de parts de marché.</span></p><p class="mb1 cf3">Là encore, l’ensemble des compétences que vous pourrez acquérir, sur le langage ou sur l’installation et la configuration de l’interpréteur, <span class="">vous seront toujours utiles.</span> Nous ne pouvons donc que vous conseiller <span class="fs12">d’apprendre le PHP</span><span class="fs12">, qui est vraiment un langage merveilleux et trop souvent sous-estimé.</span></p><h3 class="fs19 cf3">Installer PHP</h3><p class="mb1 cf3">On va encore une fois faire appel à <span class="">l’administrateur</span> pour installer PHP avec la ligne de commande.</p><pre class="mt1 mb2 cf4 cb1"><span class="ff1">sudo aptitude install php php-mbstring</span></pre><h3 class="fs19 cf3">Vérifier que PHP fonctionne</h3><p class="mb1 cf3">Pour savoir si PHP fonctionne correctement, ce n’est pas très compliqué, et <span class="">la méthode est relativement proche de celle employée pour Apache.</span></p><p class="mb1 cf3">Vous allez en premier lieu <span class="">supprimer le fichier « index.html »</span> dans le répertoire « /var/www/html ».</p><pre class="mt1 mb2 cf4 cb1"><span class="ff1">sudo rm /var/www/html/index.html</span></pre><p class="mb1 cf3">Puis <span class="">créez un fichier « index.php »</span> dans ce répertoire, avec cette ligne de commande</p><pre class="mt1 mb2 cf4 cb1"><span class="ff1">echo "&lt;?php phpinfo(); ?&gt;" &gt; /var/www/html/index.php</span></pre><p class="mb1 cf3">À partir de là, le fonctionnement <span class="">est le même que pour la vérification d’Apache.</span> Vous tentez d’accéder à votre page, et vous devriez avoir un résultat proche de cette image (si vous n’avez pas d’interface, utilisez la même méthode que précédemment, et cherchez les mots « PHP Version »).</p><div id="attachment_96" class="imTACenter wp-caption aligncenter cf3"><span class="cf5"><span><a href="http://raspbian-france.fr/wp-content/uploads/2014/03/phpinfo.jpg" class="inline-block"><img src="http://raspbian-france.fr/wp-content/uploads/2014/03/phpinfo.jpg" alt="Capture d'un phpinfo d'un serveur sous Raspbian" width="601" height="441" class="mt2 mb3 size-full wp-image-96" data-selected="false"></a></span></span><p class="mb1 wp-caption-text fs11">Tableau généré par la commande phpinfo sur une raspberry.</p></div><p class="mb1 cf3"> </p><h2 class="fs23 cf3">Une base de données MySQL pour votre serveur</h2><h3 class="fs19 cf3">Un SGBD c’est quoi ? Pourquoi MySQL ?</h3><p class="mb1 cf3">Maintenant que <span class="">nous avons mis en place PHP</span>, vous allez sans doute <span class="">vouloir stocker des informations</span> pour les utiliser dans vos sites. Pour cela, on utilise le plus souvent des bases de données.<br class="">Nous allons donc mettre en place un SGBD (Système de Gestion de Bases de Données), à savoir MySQL.</p><p class="mb1 cf3"><span class="">MySQL est un SGBD libre</span>, puissant, massivement utilisé (<span class="">environ 56 % de parts de marché des SGBD libres</span>). Là encore, MySQL est tellement un incontournable du développement, quelle qu’en soit la branche, que vous devez absolument <span class="fs12">l’apprendre et le maitriser.</span></p><h3 class="fs19 cf3">Installer MySQL</h3><p class="mb1 cf3">Pour ce faire, nous allons installer mysql-server <span class="">et</span> php-mysql (qui servira de lien entre php et mysql)</p><pre class="mt1 mb2 cf4 cb1"><span class="ff1">sudo aptitude install mysql-server php-mysql</span></pre><p class="mb1 cf3"><del class=""><span class=""><br class=""></span></del></p><h3 class="fs19 cf3">Vérifier que MySQL marche correctement</h3><p class="mb1 cf3">Pour vérifier le fonctionnement de MySQL, cette fois <span class="">nous utiliserons uniquement la ligne de commande.</span> Pour cela, nous allons simplement nous connecter via la commande :</p><pre class="mt1 mb2 cf4 cb1"><span class="ff1">sudo mysql --user=root</span></pre><p class="mb1 cf3">Nous allons maintenant <span class="">supprimer l’utilisateur root et créer un nouvel utilisateur root</span>, car celui par défaut n’est utilisable que par le compte administrateur du système, et n’est donc pas accessible aux script PHP du serveur.</p><p class="mb1 cf3">Pour cela, une fois connecté à MySQL, lancez les commandes suivantes (remplacez <code class="cb2">password</code> par le mot de passe de votre choix) :</p><pre class="mt1 mb2 cf4 cb1"><span class="ff1">DROP USER 'root'@'localhost'; CREATE USER 'root'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost';</span></pre><p class="mb1 cf3">Vous avez donc maintenant un <span class="">serveur web, relié à PHP et à MySQL</span>. Soit tout ce qu’il faut. <span class="">Vous pouvez donc vous arrêter ici.</span></p><p class="mb1 cf3">(Lors de vos prochaine connections, vous pourrez donc utilisez la commande <code class="cb2">mysql --user=root --password=votremotdepasse</code>).</p><h2 class="fs23 cf3">PHPMyAdmin, gérer facilement ses bases de données</h2><p class="mb1 cf3">Toutefois, vous pourriez vouloir <span class="">une interface un peu plus simple</span> pour administrer vos bases de données qu’une simple console MySQL. Pour cela, vous pouvez installer PHPMyAdmin.</p><h3 class="fs19 cf3">PHPMyAdmin, c’est quoi ?</h3><p class="mb1 cf3">PHPMyAdmin est une application développée en PHP, et qui vise à fournir <span class="">une interface simplifiée pour MySQL.</span><br class="">Elle vous permet par exemple de voir rapidement et de façon lisible le contenu de votre base de données, ou de la manipuler <span class="">sans avoir besoin de faire vous-mêmes vos requêtes MySQL.</span></p><h3 class="fs19 cf3">Installer PHPMyAdmin</h3><p class="mb1 cf3">L’installation de PHPMyAdmin n’est <span class="">pas du tout obligatoire</span>. Nous ferons ici une installation <span class="">sans paramètres de sécurité particuliers.</span></p><p class="mb1 cf3">L’installation de PHPMyAdmin se fait très simplement, via le gestionnaire de paquets, en utilisant la commande suivante :</p><pre class="mt1 mb2 cf4 cb1"><span class="ff1">sudo aptitude install phpmyadmin</span></pre><p class="mb1 cf3">PHPMyAdmin vous posera plusieurs questions concernant ses réglages.</p><p class="mb1 cf3">Comme nous avons déjà configurez la base de données, choisissez <code class="cb2">no</code> à la question concernant l’utilisation de <code class="cb2">dbconfig-common</code>. Choisissez d’utiliser PHPMyAdmin pour <span class="">un serveur Apache</span>. Pour le mot de passe root, il s’agit de <span class="">celui que vous aviez utilisé pour MySQL.</span></p><h3 class="fs19 cf3">Vérifier l’installation de PHPMyAdmin</h3><p class="mb1 cf3">Pour vérifier le bon fonctionnement de PHPMyAdmin, vous allez simple tenter d’y accéder, en utilisant l’adresse de votre Raspberry suivi de /phpmyadmin. Par exemple, en local ce sera « http://127.0.0.1/phpmyadmin ».</p><p class="mb1 cf3">Si jamais vous avez une erreur, cela peut venir du fait que PHPMyAdmin se soit installé dans un autre dossier. Dans ce cas, essayez la commande</p><pre class="mt1 mb2 cf4 cb1"><span class="ff1">sudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin</span></pre><h2 class="fs23 cf3">Rendre votre raspberry pi accessible depuis le web</h2><p class="mb1 cf3">Votre serveur web est donc prêt. Cependant, <span class="">vous ne pouvez sans doute pas y accéder depuis internet.</span> En effet, il faudrait pour cela que votre box (livebox, freebox, etc.) redirige les requêtes vers votre Raspberry, sur les bons ports, etc. Pour mettre ces redirections en place, et même obtenir une adresse URL, <a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)"><span class="fsNaN cf1 ff2">allez voir</span><span class="fsNaN cf1 ff2"> </span><span class="fsNaN cf6 ff2">le tuto sur le port fowarding et le dydns</span><span class="fsNaN cf1 ff2">.</span></a></p><div><br></div></div></div>]]></description>
			<pubDate>Sun, 05 May 2013 09:47:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?installer-un-serveur-web-sur-votre-raspberry--apache---php---mysql-</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/u9vrvjpx</guid>
		</item>
		<item>
			<title><![CDATA[Transfert de fichiers (SFTP)]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_795v3b70"><span class="fs12"><b><span class="cf1"><span class="">Transfert de fichiers (SFTP)</span></span></b><span class=""><br class="cf1"><br class="cf1"><span class="cf1">Il est possible de faire transférer des fichiers en SSH avec le SFTP (SSH File Transfer Protocol).</span><br class="cf1"><br class="cf1"><span class="cf1">On va utiliser </span><span class="cf2"><a href="http://winscp.net/eng/download.php" target="_blank" class="imCssLink">WinSCP</a></span><span class="cf1"> pour l'exemple ici!</span><br class="cf1"></span></span><ul class="mb1 cf1"><li class=""><span class="fs12">On télécharge <span class="cf2"><a href="http://winscp.net/eng/download.php" target="_blank" class="imCssLink">WinSCP</a></span></span></li><li class=""><span class="fs12">On l'installe et on le lance!</span></li></ul><span class="fs12"><br class="cf1"><img src="http://i.imgur.com/TeaOWLG.png" alt="Image" class="" data-selected="false"><br class="cf1"><br class="cf1"></span><ul class="mb1 cf1"><li class=""><span class="fs12">On va entrer l'IP du Raspberry Pi, et on va se logger en super utilisateur (root)</span></li></ul><span class="fs12"><br class="cf1"><span class="cf1">Voilà sur quoi on arrive :</span><br class="cf1"><br class="cf1"><span class=""><img src="http://i.imgur.com/WqnmAW5.png" alt="Image" class="" data-selected="false"></span><br class="cf1"><br class="cf1"><span class="cf1">Ça ressemble à un FTP, c'est le même principe pour transférer les fichiers!</span><br class="cf1"><br class="cf1"><img src="http://i.imgur.com/2H6EaOQ.png" alt="Image" class="" data-selected="false"></span></div>]]></description>
			<pubDate>Thu, 02 May 2013 06:46:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?transfert-de-fichiers--sftp-</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/795v3b70</guid>
		</item>
		<item>
			<title><![CDATA[Un petit pense bête pour les cartes Raspberry Pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_t967rv81"><header class="entry-header cf1"><h1 class="entry-title"><span class="fs12">Un petit pense bête pour les cartes Raspberry Pi</span></h1></header><div class="entry-content cf1"><p class="mb1 cf2"><span class="fs12">Voici un document de deux images pense bête pour ceux qui veulent faire des montages électroniques avec le RaspberryPi :</span></p><p class="mb1 cf2"><span id="more-2437" class="fs12"></span></p><ul class="mb2"><li class=""><span class="fs12">Rappel du calcul de la valeur des résistance pour les led</span></li><li class=""><span class="fs12">rappel du schéma mnémonique des composants</span></li><li class=""><span class="fs12">valeur des résistances</span></li><li class=""><span class="fs12">commande majeure du linux os</span></li></ul><div class="imTACenter"><span class="fs26"><a href="http://www.raspberry-pi.ovh/files/raspberry.pdf" target="_blank" class="imCssLink">cliquer ici</a></span></div><div class="imTACenter"><br></div></div></div>]]></description>
			<pubDate>Fri, 05 Apr 2013 19:42:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?un-petit-pense-bete-pour-les-cartes-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/t967rv81</guid>
		</item>
		<item>
			<title><![CDATA[Plusieurs fonctions avec un seul bouton]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_ae43iyb3"><header class="mb1 entry-header cb1"><h1 class="entry-title"><span class="fs12 cf1"><a href="http://hardware-libre.fr/2014/03/raspberry-pi-plusieurs-fonctions-avec-un-seul-bouton-2/">Plusieurs fonctions avec un seul bouton</a></span></h1><h1 class="entry-title"><header class="mb1 entry-header"></header><div class="entry-content"><p class="mb1 imTAJustify"><span class="fs12">Dans un des premiers articles de hardware-libre, j’ai expliqué comment ajouter un bouton d’extinction ou de reboot au Raspberry Pi.</span></p><p class="mb1 imTAJustify"><span class="fs12">Nous allons aujourd’hui améliorer ce système en rajoutant une possibilité bien pratique : des fonctions différentes selon la durée d’appui sur le bouton.</span></p><p class="mb1 imTAJustify"><span class="fs12">Pour faire suite à l’<span class=""><a title="Raspberry Pi : Ajouter un bouton d’extinction (avec Python)" href="http://hardware-libre.fr/2013/07/ajouter-un-bouton-dextinction-avec-python/" target="_blank">article précédent</a></span>, nous aurons désormais 2 fonctions :<br>– reboot sur un appui entre 1 et 4 secondes,<br>– arrêt complet sur un appui long de plus de 4 secondes<br>Le code fourni ici rajoute une autre possibilité d’appui très court, entre 0.2 et 1 seconde, mais nous l’utiliserons simplement afin d’éviter un reboot en cas d’appui malencontreux.</span></p><p class="mb1 imTAJustify"><span class="fs12">Bien que ce ne soit pas obligatoire, nous allons modifier un peu le circuit. La raison est qu’en ayant le bouton directement entre le GPIO et le GND, si une erreur dans un script configure le GPIO en sortie, et qu’on le presse à ce moment là, on va créer un court-circuit au niveau du GPIO, qui risque de griller.<br>Nous allons donc supprimer complètement ce risque en rajoutant simplement une résistance de pull-up. Voici un petit schéma rapide de cette modification :<br><span class=""><a href="http://i1.wp.com/hardware-libre.fr/wp-content/uploads/2014/03/butt-schem.png"><img alt="butt-schem" src="http://i1.wp.com/hardware-libre.fr/wp-content/uploads/2014/03/butt-schem.png?resize=560%2C358" srcset="http://i1.wp.com/hardware-libre.fr/wp-content/uploads/2014/03/butt-schem.png?resize=300%2C192 300w, http://i1.wp.com/hardware-libre.fr/wp-content/uploads/2014/03/butt-schem.png?resize=720%2C460 720w, http://i1.wp.com/hardware-libre.fr/wp-content/uploads/2014/03/butt-schem.png?w=800 800w" sizes="(max-width: 560px) 100vw, 560px" width="560" height="358" class="aligncenter &nbsp;wp-image-1152" data-selected="false"></a></span><br>La résistance de pull-up permet de limiter le courant si le GPIO est malencontreusement configuré en sortie, et le bouton pressé.</span></p><p class="mb1 imTAJustify"><span class="fs12">Coté code, les commentaires sont je pense suffisant pour expliquer le tout :</span></p><pre class="mt1 mb1"><span class="fs12 ff1">#!/usr/bin/env python2.7

from time import sleep
import subprocess
import RPi.GPIO as GPIO

# On choisit le GPIO 23 (pin 16) pour notre bouton
CHANNEL = 23 

# On definit nos durees
long_press = 1
very_long_press = 4

# on met RPi.GPIO en mode notation BCM
GPIO.setmode(GPIO.BCM)

# on initialise le GPIO 23 en mode entree
GPIO.setup(CHANNEL, GPIO.IN, pull_up_down=GPIO.PUD_UP)

# notre fonction extinction
def shutdown():
	subprocess.call(['shutdown -h now "Arret du systeme par bouton GPIO" &amp;'], shell=True)

# notre fonction reboot
def reboot():
	subprocess.call(['sudo reboot "Reboot du systeme par bouton GPIO" &amp;'], shell=True)

# notre fonction de gestion du bouton
def system_button(CHANNEL):
	# cette variable servira a stocker le temps de pression
	button_press_timer = 0

	while True:
			if (GPIO.input(CHANNEL) == False) : # le bouton a ete presse...
				button_press_timer += 0.2 # ... on enregistre le temps que cela dure

			else: # le bouton a ete relache, on compte combien de temps cela a dure
				if (button_press_timer &gt; very_long_press) :
					print "very long press : ", button_press_timer
					shutdown()

				elif (button_press_timer &gt; long_press) :
					print "long press : ", button_press_timer
					reboot()

				elif (button_press_timer &gt; 0.2):
					print "short press : ", button_press_timer

				button_press_timer = 0
			# on attend 0.2 secondes avant la boucle suivante afin de reduire la charge sur le CPU
			sleep(0.2)

# on met le bouton en ecoute par interruption, detection falling edge sur le canal choisi, et un debounce de 200 millisecondes
GPIO.add_event_detect(CHANNEL, GPIO.FALLING, callback=system_button, bouncetime=200)

# ici vous pouvez mettre du code qui sera execute normalement, sans influence de la fonction bouton
try:
	while True:
		# faites ce qui vous plait
		sleep (2)

# on reinitialise les ports GPIO en sortie de script
except KeyboardInterrupt:
	GPIO.cleanup()
GPIO.cleanup()
</span></pre><p class="mb1 imTAJustify"><span class="fs12">Vous remarquerez qu’on a introduit le module subprocess à la place du module os pour appeler nos commandes shutdown et reboot, ce qui est bien plus efficace « pythoniquement » parlant. Je vous invite à suivre <span class=""><a href="http://www.haypocalc.com/wiki/Python_subprocess" target="_blank">ce lien</a></span> pour en apprendre plus à ce sujet.<br>L’option « bouncetime=200 » de la fonction « GPIO.add_event_detect », quant à elle, effectue un premier filtrage du bouton (pour éviter par exemple les micro-relachements lors d’un appui).</span></p><p class="mb1 imTAJustify"><span class="fs12">Pour améliorer le système, on pourrait également par exemple rajouter une led,<br>– allumée pour signaler que le Pi est démarré et prêt,<br>– clignotement rapide pour signaler un reboot,<br>– clignotement lent pour signaler une extinction,<br>……<br>A vous de faire preuve d’imagination, tout est possible <img draggable="false" alt="😉" src="https://s.w.org/images/core/emoji/72x72/1f609.png" class="emoji" data-selected="false"></span></p><p class="mb1"><span class="fs12">Edit :<br>– En cas d’erreur du type « <strong class="">TypeError: set_callback() takes at most 3 arguments (4 given)</strong> » lors de l’execution du script, il vous faudra installer / mettre à jour le composant RPi.GPIO :</span></p><pre class="mt1 mb1"><span class="fs12 ff1">sudo apt-get update
sudo apt-get install python-dev
sudo apt-get install python-rpi.gpio</span></pre><p class="mb1"><span class="fs12">– En cas d’erreur avec la fonction reboot (<strong class="">usage: reboot [-n] [-w] [-d] [-f] [-h] [-i]</strong> …), il suffit de modifier la ligne 26 :</span></p><pre class="mt1 mb1"><span class="fs12 ff1">subprocess.call(['sudo reboot -f "Reboot du systeme par bouton GPIO" &amp;'], shell=True)</span></pre><p class="mb1"><span class="fs12">ou encore :</span></p><pre class="mt1 mb1"><span class="fs12 ff1">subprocess.call(['sudo shutdown -r now "Reboot du systeme par bouton GPIO" &amp;'], shell=True)</span></pre><div><br></div></div></h1></header></div>]]></description>
			<pubDate>Thu, 21 Mar 2013 22:05:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?plusieurs-fonctions-avec-un-seul-bouton</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/ae43iyb3</guid>
		</item>
		<item>
			<title><![CDATA[Ajouter un bouton d’extinction (avec Python)]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_5pm2f425"><header class="mb1 entry-header cf1 cb1"><h1 class="entry-title"><span class="fs12 cf1"><a href="http://hardware-libre.fr/2013/07/ajouter-un-bouton-dextinction-avec-python/">Raspberry Pi : Ajouter un bouton d’extinction (avec Python)</a></span></h1></header><div class="entry-content cf1 cb1"><p class="mb1 imTAJustify"><span class="fs12 cf1"><a href="http://i1.wp.com/hardware-libre.fr/wp-content/uploads/2013/07/1119_LRG.jpg"><img src="http://i1.wp.com/hardware-libre.fr/wp-content/uploads/2013/07/1119_LRG.jpg?resize=161%2C125" alt="1119_LRG" width="161" height="125" class="mt1 mb2 alignright" data-selected="false"></a></span></p><p class="mb1 imTAJustify"><span class="fs12">S’il manque une seule chose au Raspberry Pi, c’est un bouton d’extinction. En effet, on a pas toujours un clavier sous la main, ou un ordinateur pour lancer le fameux « <strong class="">sudo halt</strong> » en SSH… Parfois il nous arrive même de faire des erreurs, et le Raspberry Pi peut se retrouver bloqué, avec pour seule solution de le débrancher à chaud. Cette dernière méthode est d’ailleurs à proscrire, puisqu’elle peut totalement détruire votre système d’exploitation, voire la carte SD. Nous allons donc connecter un bouton, qui nous servira à éteindre le Pi une fois pressé (pour l’allumage, ce sera le sujet d’un autre article). De cette façon, même si le Pi est planté, on devrait toujours pouvoir l’éteindre proprement.</span></p><h3 class="imTAJustify"><span class="imUl fs12"><strong class="">Prérequis</strong></span></h3><p class="mb1 imTAJustify"><span class="fs12">Nous aurons besoin pour ce guide :</span></p><ul class="mb1 imTAJustify"><li class=""><span class="fs12">d’un Raspberry Pi (la préparation grâce au <span class="cf1"><a href="http://hardware-libre.fr/2013/07/raspberry-pi-4-premier-demarrage-et-configuration-de-base">mini-guide ~4</a></span> est idéale)</span></li><li class=""><span class="fs12">d’une platine d’expérimentation (un petit modèle suffira),</span></li><li class=""><span class="fs12">d’un bouton de type micro-switch,</span></li><li class=""><span class="fs12">de deux fils Dupont male-femelle,</span></li><li class=""><span class="fs12">du guide <span class="cf1"><a title="Raspberry ~ 5 : Ajouter un bouton matériel (avec Python)" href="http://hardware-libre.fr/2013/07/raspberry-pi-5-ajouter-un-bouton-materiel-avec-python">~5 : Ajouter un bouton matériel (avec Python)</a></span> pour le câblage et les explications techniques</span></li></ul><h3 class="imTAJustify"><strong class=""><span class="imUl fs12">Explication<br></span></strong></h3><p class="mb1 imTAJustify"><span class="fs12">Le code du bouton sera un peu amélioré par rapport à l’exemple du guide. En effet, nous allons utiliser une autre technique, appelée <strong class="">threaded callback</strong>, qui permettra à notre script de faire autre chose pendant qu’il attend un appui sur le bouton. En clair, le <strong class="">threaded callback</strong> peut par exemple permettre de gérer plusieurs boutons avec un seul et même script !</span></p><h3 class=""><strong class="fs12"><span class="imUl">Le code</span><br></strong></h3><p class="mb1 imTAJustify"><span class="fs12">En admettant qu’on désire que notre script se trouve dans le dossier /home/pi/, lancer la commande <strong class="">sudo nano /home/pi/bouton_extinction.py</strong>. Cela créera le fichier et l’ouvrira pour l’édition.</span></p><p class="mb1 imTAJustify"><span class="fs12">Coller ce code dans le fichier qu’on vient de créer :</span></p><pre class="mt2 mb1 cf2"><span class="fs12 ff1">#!/usr/bin/env python2.7

# on importe les modules necessaires
import time
import os
import RPi.GPIO as GPIO

# on met RPi.GPIO en mode notation BCM (numero des pins)
GPIO.setmode(GPIO.BCM)

# on initialise le GPIO 23 en mode ecoute
GPIO.setup(23, GPIO.IN, pull_up_down=GPIO.PUD_UP)

# on definit notre fonction qui sera appelee quand on appuiera sur le bouton
def extinction(channel):
 &nbsp;&nbsp;&nbsp;&nbsp;# on affiche un petit message pour confirmer
 &nbsp;&nbsp;&nbsp;&nbsp;print("Appui détecté sur le GPIO 23")
 &nbsp;&nbsp;&nbsp;&nbsp;# on reinitialise les GPIO
 &nbsp;&nbsp;&nbsp;&nbsp;GPIO.cleanup()
 &nbsp;&nbsp;&nbsp;&nbsp;# on lance la commande d extinction
 &nbsp;&nbsp;&nbsp;&nbsp;os.system('sudo halt')

# on met le bouton en ecoute
GPIO.add_event_detect(23, GPIO.FALLING, callback=extinction)

# on lance une boucle infinie, pour garder le script actif
while 1:
 &nbsp;&nbsp;&nbsp;&nbsp;# une petite pause entre chaque boucle, afin de réduire la charge sur le CPU
 &nbsp;&nbsp;&nbsp;&nbsp;time.sleep(0.02)

# on reinitialise les ports GPIO en sortie de script
GPIO.cleanup()</span></pre><p class="mb1 imTAJustify"><span class="fs12"><strong class="">CTRL+O</strong> puis <strong class="">ENTREE</strong> pour sauvegarder, <strong class="">CTRL+X</strong> pour quitter</span></p><p class="mb1 imTAJustify"><span class="fs12">Il suffit maintenant de lancer notre script au démarrage du Raspberry Pi, et on aura terminé !</span></p><ul class="mb1 imTAJustify"><li class=""><span class="fs12">Rendre le script exécutable avec la commande <strong class="">sudo chmod +x /home/pi/bouton_extinction.py</strong></span></li><li class=""><span class="fs12">ouvrir le script de démarrage automatique avec la commande <strong class="">sudo nano /etc/rc.local</strong></span></li><li class=""><span class="fs12">juste avant la ligne <strong class=""># Print the IP address</strong>, insérer la commande suivante : <strong class="">sudo python /home/pi/bouton_extinction.py</strong></span></li></ul><p class="mb1 imTAJustify"><em class="fs12">A l’avenir, si vous devez lancer des commandes au démarrage, veillez à les lancer après le script bouton_extinction.py. De cette façon, le bouton devrait fonctionner quoi qu’il arrive (a part en cas de gros problème de démarrage, mais dans ce cas, le bouton ne sera pas une priorité).</em></p><p class="mb1 imTAJustify"><span class="fs12">Nous avons terminé avec ce tutoriel, et vous avez maintenant un bouton matériel pour éteindre votre Raspberry Pi… Félicitations !</span></p></div></div>]]></description>
			<pubDate>Thu, 14 Mar 2013 22:10:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?ajouter-un-bouton-d-extinction--avec-python-</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/5pm2f425</guid>
		</item>
		<item>
			<title><![CDATA[Comment utiliser Screen ?]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_w19h7o8y"><div class="notetip cf1" style="margin: 2em auto; min-height: 40px; clear: both; text-align: justify; vertical-align: middle; border-collapse: collapse; padding: 15px 20px 15px 80px; border-radius: 20px; width: 654.734px; line-height: 20px; widows: 1; background-image: url(http://www.tropfacile.net/lib/plugins/note/images/tip.png); background-position: 20px 50%; background-repeat: no-repeat;"><span class="fs16"><strong>Screen</strong> permet de faire fonctionner des applications en arrière plan en laissant le terminal disponible pour d'autres application.</span></div><p style="margin-bottom: 10px; line-height: 20px; widows: 1;" class="cf1"></p><p style="margin-bottom: 10px; line-height: 20px; widows: 1;" class="cf1"></p><h1 style="margin: 10px 0px; line-height: 40px; text-rendering: optimizelegibility; widows: 1;" class="cf1"><span style="text-decoration: none;" class="fs16 cf2"><a name="comment-utiliser-screen" id="comment-utiliser-screen" href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-utiliser-screen">Comment utiliser Screen ?</a></span></h1><div class="level1 cf1" style="line-height: 20px; widows: 1;"><hr style="margin: 20px 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: solid; border-top-color: rgb(238, 238, 238); border-bottom-style: none;"><p style="margin-bottom: 10px;"><span class="fs16">Connectez vous en local sur votre raspberry ou par <span style="text-decoration: none;" class="cf2"><span><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-se-connecter-en-ssh" class="wikilink1" title="raspberry-pi:comment-se-connecter-en-ssh">ssh</a></span></span> avec l'utilisateur <strong>pi</strong>. Vous pouvez aussi prendre n'importe quel utilisateur avec les droits<span style="text-decoration: none;" class="cf2"><span><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-devenir-super-utilisateur" class="wikilink1" title="raspberry-pi:comment-devenir-super-utilisateur">sudo</a></span></span>.</span></p><p style="margin-bottom: 10px;"><span class="fs16">Nous allons installer le paquet : <strong>screen</strong> :</span></p><pre class="code bash cf4" style="padding: 9.5px; border-radius: 0px; margin-top: 0px; margin-bottom: 10px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; border: 1px solid rgba(0, 0, 0, 0.14902);"><span class="fs16 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">apt-get install</span></b> <b><span class="kw2 cf3">screen</span></b></span></pre><p style="margin-bottom: 10px;"><span class="fs16">Liste des commandes importante pour utiliser <strong>Screen</strong> :</span></p><div class="table sectionedit1" style="width: 935.344px; margin-bottom: 20px;"><table class="inline" style="max-width: 100%; border-spacing: 0px; width: 322px;" data-computedwidth="322" data-minrequestedwidth="322"><tbody><tr class="row0"><th class="col0 imVt" style="padding: 8px; width: 91px; height: 23px;"><span class="fs16">Commande</span></th><th class="col1 imVt" style="padding: 8px; width: 196px; height: 23px;"><span class="fs16">Description</span></th></tr><tr class="row1"><td class="col0 imVt" style="padding: 8px; width: 91px; height: 23px;"><span class="fs16">screen -ls</span></td><td class="col1 imVt" style="padding: 8px; width: 196px; height: 23px;"><span class="fs16">Affiche les screens ouvert</span></td></tr><tr class="row2"><td class="col0 imVt" style="padding: 8px; width: 91px; height: 23px;"><span class="fs16">screen -dr</span></td><td class="col1 imVt" style="padding: 8px; width: 196px; height: 23px;"><span class="fs16">Récupérer un screen ouvert</span></td></tr><tr class="row3"><td class="col0 imVt" style="padding: 8px; width: 91px; height: 23px;"><span class="fs16">ctrl+a</span></td><td class="col1 imVt" style="padding: 8px; width: 196px; height: 23px;"><span class="fs16">Commande principale</span></td></tr></tbody></table></div><p style="margin-bottom: 10px;"><span class="fs16">Liste des options après avoir tapé la commande principale <strong>ctrl+a</strong></span></p><div class="table sectionedit2" style="width: 935.344px; margin-bottom: 20px;"><table class="inline" style="max-width: 100%; border-spacing: 0px; width: 322px;" data-computedwidth="322" data-minrequestedwidth="322"><tbody><tr class="row0"><th class="col0 imVt" style="padding: 8px; width: 52px; height: 23px;"></th><th class="col1 imVt" style="padding: 8px; width: 310px; height: 23px;"><span class="fs16">Description</span></th></tr><tr class="row1"><td class="col0 imVt" style="padding: 8px; width: 52px; height: 23px;"><span class="fs16">“</span></td><td class="col1 imVt" style="padding: 8px; width: 310px; height: 23px;"><span class="fs16">Affiche la liste des screens</span></td></tr><tr class="row2"><td class="col0 imVt" style="padding: 8px; width: 52px; height: 23px;"><span class="fs16">w</span></td><td class="col1 imVt" style="padding: 8px; width: 310px; height: 23px;"><span class="fs16">Nous informe sur quel screen nous sommes</span></td></tr><tr class="row3"><td class="col0 imVt" style="padding: 8px; width: 52px; height: 23px;"><span class="fs16">d</span></td><td class="col1 imVt" style="padding: 8px; width: 310px; height: 23px;"><span class="fs16">Détache le screen actuel</span></td></tr><tr class="row4"><td class="col0 imVt" style="padding: 8px; width: 52px; height: 23px;"><span class="fs16">c</span></td><td class="col1 imVt" style="padding: 8px; width: 310px; height: 23px;"><span class="fs16">Créer un nouveau Screen</span></td></tr><tr class="row5"><td class="col0 imVt" style="padding: 8px; width: 52px; height: 23px;"><span class="fs16">shift+A</span></td><td class="col1 imVt" style="padding: 8px; width: 310px; height: 23px;"><span class="fs16">Renomme le Screen courant</span></td></tr></tbody></table></div></div><h1 class="sectionedit3 cf1" id="prise-en-main-de-screen" style="margin: 10px 0px; line-height: 40px; text-rendering: optimizelegibility; widows: 1;"><span class="fs16">Prise en main de Screen :</span></h1><div class="level1 cf1" style="line-height: 20px; widows: 1;"><hr style="margin: 20px 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: solid; border-top-color: rgb(238, 238, 238); border-bottom-style: none;"><p style="margin-bottom: 10px;"><span class="fs16">Pour cet exemple, nous voulons utiliser le programme <strong>top</strong> dans un screen.</span></p><p style="margin-bottom: 10px;"><span class="fs16">Si vous tapez <strong>top</strong> dans votre terminal, vous vous rendez compte que l'application <strong>top</strong> s'actualise toute seule il n'est plus possible d'utiliser le terminal sans avoir quitté l'application <strong>top</strong> avec le raccourcis : <strong>ctrl+c</strong></span></p><p style="margin-bottom: 10px;"><span class="fs16">Tapez dans le terminal :</span></p><pre class="code bash cf4" style="padding: 9.5px; border-radius: 0px; margin-top: 0px; margin-bottom: 10px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; border: 1px solid rgba(0, 0, 0, 0.14902);"><b><span class="kw2 fs16 cf3 ff1">screen</span></b></pre><p style="margin-bottom: 10px;"><span class="fs16">puis appuyez sur la touche <strong>entrée</strong></span></p><p style="margin-bottom: 10px;"><span class="fs16">Nous arrivons sur un terminal qui est similaire au terminal que vous connaissez mais celui ci est en fait un <strong>screen</strong>.</span></p><p style="margin-bottom: 10px;"><span class="fs16">tapez votre commande <strong>top</strong> :</span></p><pre class="code bash cf4" style="padding: 9.5px; border-radius: 0px; margin-top: 0px; margin-bottom: 10px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; border: 1px solid rgba(0, 0, 0, 0.14902);"><span class="fs16 ff1">top</span></pre><p style="margin-bottom: 10px;"><span class="fs16">Sans surprise elle s’exécute normalement mais dans le screen en cours !</span></p><p style="margin-bottom: 10px;"><span class="fs16">Tapez maintenant la commande principale <strong>ctrl+a</strong> suivit de la lettre <strong>d</strong>.</span></p><p style="margin-bottom: 10px;"><span class="fs16">Nous venons de détacher le screen :</span></p><pre class="code bash cf4" style="padding: 9.5px; border-radius: 0px; margin-top: 0px; margin-bottom: 10px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; border: 1px solid rgba(0, 0, 0, 0.14902);"><span class="fs16 ff1"><span class="br0 cf5">[</span>detached from <span class="nu0 cf6">5600</span>.pts-<span class="nu0 cf6">0</span>.tropfacile<span class="br0 cf5">]</span></span></pre><p style="margin-bottom: 10px;"><span class="fs16">Nous retrouvons notre terminal d'origine et notre commande <strong>top</strong> est dans un screen.</span></p><p style="margin-bottom: 10px;"><span class="fs16">Tapez maintenant la commande : <strong>screen -ls</strong></span></p><pre class="code bash cf4" style="padding: 9.5px; border-radius: 0px; margin-top: 0px; margin-bottom: 10px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; border: 1px solid rgba(0, 0, 0, 0.14902);"><span class="fs16 ff1"><b><span class="kw2 cf3">screen</span></b> -ls</span></pre><pre class="code bash cf4" style="padding: 9.5px; border-radius: 0px; margin-top: 0px; margin-bottom: 10px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; border: 1px solid rgba(0, 0, 0, 0.14902);"><span class="fs16 ff1">There is a <b><span class="kw2 cf3">screen</span></b> on: 	<span class="nu0 cf6">5600</span>.pts-<span class="nu0 cf6">0</span>.tropfacile	<span class="br0 cf5">(</span><span class="nu0 cf6">18</span><span class="sy0 cf5">/</span>09<span class="sy0 cf5">/</span><span class="nu0 cf6">2012</span> <span class="nu0 cf6">19</span>:<span class="nu0 cf6">34</span>:<span class="nu0 cf6">52</span><span class="br0 cf5">)</span>	<span class="br0 cf5">(</span>Detached<span class="br0 cf5">)</span> <span class="nu0 cf6">1</span> Socket <span class="kw1 cf7">in</span> <span class="sy0 cf5">/</span>var<span class="sy0 cf5">/</span>run<span class="sy0 cf5">/</span>screen<span class="sy0 cf5">/</span>S-pi.</span></pre><p style="margin-bottom: 10px;"><span class="fs16">On nous confirme qu'il y à bien un screen d'ouvert.</span></p><p style="margin-bottom: 10px;"><span class="fs16">Nous voulons maintenant récupérer ce screen, nous tapons : <strong>screen -dr</strong></span></p><pre class="code bash cf4" style="padding: 9.5px; border-radius: 0px; margin-top: 0px; margin-bottom: 10px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; border: 1px solid rgba(0, 0, 0, 0.14902);"><span class="fs16 ff1"><b><span class="kw2 cf3">screen</span></b> -dr</span></pre><p style="margin-bottom: 10px;"><span class="fs16">Nous retrouvons instantanément la commande <strong>top</strong> là où nous l'avons laissé !</span></p><p style="margin-bottom: 10px;"><span class="fs16">Pour quitter définitivement un <strong>screen</strong> il faut taper la commande :</span></p><pre class="code bash cf4" style="padding: 9.5px; border-radius: 0px; margin-top: 0px; margin-bottom: 10px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; border: 1px solid rgba(0, 0, 0, 0.14902);"><span class="kw3 fs16 cf8 ff1">exit</span></pre><p style="margin-bottom: 10px;"></p><p style="margin-bottom: 10px;"></p><div class="notewarning" style="margin: 2em auto; min-height: 40px; clear: both; text-align: justify; vertical-align: middle; border-collapse: collapse; padding: 15px 20px 15px 80px; border-radius: 20px; width: 654.734px; background-image: url(http://www.tropfacile.net/lib/plugins/note/images/warning.png); background-position: 20px 50%; background-repeat: no-repeat;"><span class="fs16">Veuillez faire attention quand vous tapez la commande screen car il est très facile de lancer plusieurs screen dans d'autre screen et ça devient vite le bordel :D</span></div><p style="margin-bottom: 10px;"></p><p style="margin-bottom: 10px;"></p></div><h1 class="sectionedit4 cf1" id="aller-plus-loin" style="margin: 10px 0px; line-height: 40px; text-rendering: optimizelegibility; widows: 1;"><span class="fs16">Aller plus loin...</span></h1><div class="level1 cf1" style="line-height: 20px; widows: 1;"><hr style="margin: 20px 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: solid; border-top-color: rgb(238, 238, 238); border-bottom-style: none;"><p style="margin-bottom: 10px;"><span class="fs16">Il est possible de lancer une commande directement dans un screen en tapant :</span></p><pre class="code bash cf4" style="padding: 9.5px; border-radius: 0px; margin-top: 0px; margin-bottom: 10px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; border: 1px solid rgba(0, 0, 0, 0.14902);"><span class="fs16 ff1"><b><span class="kw2 cf3">screen</span></b> -dmS <span class="st0 cf9">"nom du screen"</span> <span class="st0 cf9">"commande"</span></span></pre><p style="margin-bottom: 10px;"><span class="fs16">Exemple :</span></p><pre class="code bash cf4" style="padding: 9.5px; border-radius: 0px; margin-top: 0px; margin-bottom: 10px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; border: 1px solid rgba(0, 0, 0, 0.14902);"><span class="fs16 ff1"><b><span class="kw2 cf3">screen</span></b> -dmS monitor <b><span class="kw2 cf3">sh</span></b> .<span class="sy0 cf5">/</span>start.sh</span></pre><p style="margin-bottom: 10px;"><span class="fs16">Si je tapes : <strong>screen -ls</strong> je vois bien que mon script est lancé dans un screen nommé monitor :</span></p><pre class="code bash cf4" style="padding: 9.5px; border-radius: 0px; margin-top: 0px; margin-bottom: 10px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; border: 1px solid rgba(0, 0, 0, 0.14902);"><span class="fs16 ff1"><b><span class="kw2 cf3">screen</span></b> -ls</span></pre><pre class="code bash cf4" style="padding: 9.5px; border-radius: 0px; margin-top: 0px; margin-bottom: 10px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; border: 1px solid rgba(0, 0, 0, 0.14902);"><span class="fs16 ff1">There is a <b><span class="kw2 cf3">screen</span></b> on: 	<span class="nu0 cf6">5688</span>.monitor	<span class="br0 cf5">(</span><span class="nu0 cf6">18</span><span class="sy0 cf5">/</span>09<span class="sy0 cf5">/</span><span class="nu0 cf6">2012</span> <span class="nu0 cf6">20</span>:04:<span class="nu0 cf6">52</span><span class="br0 cf5">)</span>	<span class="br0 cf5">(</span>Detached<span class="br0 cf5">)</span> <span class="nu0 cf6">1</span> Socket <span class="kw1 cf7">in</span> <span class="sy0 cf5">/</span>var<span class="sy0 cf5">/</span>run<span class="sy0 cf5">/</span>screen<span class="sy0 cf5">/</span>S-pi.</span></pre><p style="margin-bottom: 10px;"><span class="fs16">Voilà pour l'utilisation de Screen cette note servira a 98% des demandes :)</span></p></div></div>]]></description>
			<pubDate>Mon, 04 Mar 2013 11:23:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?comment-utiliser-screen--</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/w19h7o8y</guid>
		</item>
		<item>
			<title><![CDATA[Comment utiliser son nom de domaine sur un Raspberry ?]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_46q3j7z5"><h1 class="cf2"><span class="fs12 cf1"><a name="comment-utiliser-son-nom-de-domaine-sur-un-raspberry" id="comment-utiliser-son-nom-de-domaine-sur-un-raspberry" href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-utiliser-nom-domaine-raspberry">Comment utiliser son nom de domaine sur un Raspberry ?</a></span></h1><div class="level1 cf2"><p class="mb1"><span class="fs12">Prérequis :</span></p><p class="mb1"><span class="fs12">- Disposer d'une IP FIXE chez son F.A.I</span></p><p class="mb1"><span class="fs12">- Disposer d'un nom de domaine</span></p><hr class=""><p class="mb1"><span class="fs12">Pour cet exemple, je disposes d’un nom de domaine mondomain.com qui est enregistré chez O.V.H. ( peut importe le registrar qui vous à fournis le nom de domaine du moment que vous pouvez changer la zone dns.)</span></p><p class="mb1"><span class="fs12">Je souhaites que mondomain.com pointe sur mon raspberry pour différents services ( web, ftp …)</span></p></div><h3 id="configuration-du-nom-de-domaine" class="sectionedit1 cf2"><span class="fs12">Configuration du nom de domaine</span></h3><div class="level3 cf2"><p class="mb1"><span class="fs12">Connectez vous sur l’interface de gestion de votre nom de domaine, pour ovh c’est par ici : <span class="cf1"><a href="https://www.ovh.com/managerv3/" class="urlextern" target="_blank" title="https://www.ovh.com/managerv3/" rel="nofollow">https://www.ovh.com/managerv3/</a></span></span></p><p class="mb1"><span class="fs12">Sélectionnez dans la liste le nom de domaine que vous souhaitez attribuer à votre raspberry.</span></p><p class="mb1"><span class="fs12">Allez ensuite dans la rubrique : <strong>Mutualisé</strong> » <strong>Domaine &amp; <abbr title="Domain Name System" class="">DNS</abbr></strong></span></p><p class="mb1"><span class="fs12"><img src="http://www.tropfacile.net/lib/exe/fetch.php/raspberry-pi/ndd1.png" alt="" class="media" data-selected="false"></span></p><p class="mb1"><span class="fs12">Cliquez ensuite sur <strong>Zone <abbr title="Domain Name System" class="">DNS</abbr></strong></span></p><p class="mb1"><span class="fs12"><img src="http://www.tropfacile.net/lib/exe/fetch.php/raspberry-pi/ndd2.png" alt="" class="media" data-selected="false"></span></p><p class="mb1"><span class="fs12">En bas de page, vous allez trouver la zone <abbr title="Domain Name System" class="">DNS</abbr> au complet.</span></p><p class="mb1"><span class="fs12">Cliquez maintenant sur l’outil crayon en face de l’enregistrement <strong>A</strong> du domaine et modifiez l’adresse ip par la votre (IP FIXE du FAI)</span></p><p class="mb1"><span class="fs12"><img src="http://www.tropfacile.net/lib/exe/fetch.php/raspberry-pi/ndd3.png" alt="" class="media" data-selected="false"></span></p><p class="mb1"></p><p class="mb1"></p><div class="imTAJustify noteimportant"><span class="fs12">Si vous utilisez déjà votre nom de domaine pour un site déjà en ligne ou emails ect, il est important de ne pas modifier le <strong>champ A </strong>correspondant à votre nom de domaine mais de faire un sous domaine avec un nouveau <strong>champ A</strong> pointant vers votre IP fixe, par exemple : <strong>raspberry.mondomain.com A monipfixe</strong></span></div><p class="mb1"></p><p class="mb1"></p><p class="mb1"><span class="fs12">Si vous le souhaitez, vous pouvez aussi faire des sous domaine (<span class="cf1"><a href="http://www.mondomain.com/" class="urlextern" target="_blank" title="http://www.mondomain.com" rel="nofollow">www.mondomain.com</a></span> ou <span class="cf1"><a href="ftp://ftp.mondomain.com/" class="urlextern" target="_blank" title="ftp://ftp.mondomain.com" rel="nofollow">ftp.mondomain.com</a></span> ect) pour cela, il suffit d’ajouter un champ <strong>CNAME</strong> pointant vers votre nom de domaine ( champ <strong>A</strong> ).</span></p><p class="mb1"><span class="fs12">Sur la capture d’écran au dessus, on voit que j’ai fait un sous domaine <strong>www CNAME mondomain.com</strong> qui lui même renvoi vers votre IP FIXE.</span></p></div><h3 id="configuration-du-routeur-adsl" class="sectionedit2 cf2"><span class="fs12">Configuration du routeur ADSL</span></h3><div class="level3 cf2"><p class="mb1"><span class="fs12">Prérequis :</span></p><p class="mb1"><span class="fs12 cf1"><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-mettre-une-ip-statique" class="wikilink1" title="raspberry-pi:comment-mettre-une-ip-statique">Votre Raspberry doit avoir une ip statique en local</a></span></p><hr class=""><p class="mb1"><span class="fs12">Comme chaque routeur/Box à une configuration spécifique, je vais vous expliquer ici les notions d’ouverture de ports :</span></p><p class="mb1"><span class="fs12">Connectez vous à l’interface de votre routeur.</span></p><p class="mb1"><span class="fs12">Allez ensuite dans la partie (<strong>NAT/PAT</strong> ou <strong>serveur <abbr title="Local Area Network" class="">LAN</abbr></strong> ou <strong>redirections de ports</strong>, si vous ne trouvez pas recherchez sur internet : ouverture de ports suivit du nom de votre box adsl) et ajoutez les règles suivantes (selon vos besoins) :</span></p><pre class="mt1 mb1 code cf3"><span class="fs12 ff1">Port Externe : 80
Protocole : TCP
IP de Destination : mettez ici l’adresse IP local fixe (par exemple : 192.168.1.21) de votre raspberry.
Port Interne : 80</span></pre><p class="mb1"><span class="fs12">Si vous voulez le HTTPS rajoutez la même règle avec le port 443, pour ajouter le service <abbr title="File Transfer Protocol" class="">FTP</abbr> pareil avec le port 21….</span></p><p class="mb1"></p><p class="mb1"></p><div class="imTAJustify notetip"><span class="fs12">Il est intéressent de noter qu’ici on peux changer uniquement le port Externe pour rentre un service fermé par un réseau d’entreprise ( comme le ssh sur le port 22) par un port ouvert comme le https (443) se qui permet de se connecter à son raspberry en ssh à partir du réseau du boulot :D. (ssh pi@mondomain.com -p 443)</span></div><p class="mb1"></p><p class="mb1"></p></div><h2 id="the__comments" class="cf2"><span class="fs12">Comments</span></h2></div>]]></description>
			<pubDate>Fri, 22 Feb 2013 07:11:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?comment-utiliser-son-nom-de-domaine-sur-un-raspberry--</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/46q3j7z5</guid>
		</item>
		<item>
			<title><![CDATA[Comment installer un serveur mail ?]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_dpq6l9hf"><h1 class="cf1"><strong class="fs12">Prérequis:</strong><br></h1><div class="level1 cf1"><p class="mb1"><br></p><p class="mb1"><span class="fs12">- Nom de domaine ( pour l'exemple il sera pris chez OVH pour 5,99 TTC / an offre start).</span></p><p class="mb1"><span class="fs12">- IP fixe ou Dynamique avec le DynHost d'OVH.</span></p><p class="mb1"><span class="fs12">- La raspberry devra être configuré avec une IP fixe local.</span></p><hr class=""><p class="mb1"><span class="fs12">Dans ce tutoriel je parle de :</span></p><p class="mb1"><span class="fs12"><strong>ndd.com</strong> = <strong>mondomaine.com</strong> = votre nom de domaine à changer.</span></p><p class="mb1"><span class="fs12"><strong>mail.ndd.com</strong> = Votre sous domaine mail de votre nom de domaine.</span></p></div><h3 id="installation-configuration-du-serveur-dns-bind9" class="sectionedit1 cf1"><span class="fs12">Installation &amp; configuration du serveur DNS (bind9)</span></h3><div class="level3 cf1"><p class="mb1"><span class="fs12">Connectez vous en local sur votre raspberry ou par <span class="cf2"><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-se-connecter-en-ssh" class="wikilink1" title="raspberry-pi:comment-se-connecter-en-ssh">ssh</a></span> avec l'utilisateur <strong>pi</strong>. Vous pouvez aussi prendre n'importe quel utilisateur avec les droits<span class="cf2"><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-devenir-super-utilisateur" class="wikilink1" title="raspberry-pi:comment-devenir-super-utilisateur">sudo</a></span>.</span></p><p class="mb1"><span class="fs12">Installation des mises à jour :</span></p><pre class="mt1 mb1 code bash cf5"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">apt-get update</span></b> <span class="sy0 cf4">&amp;&amp;</span> <b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">apt-get</span></b> <span class="re5">-y</span> upgrade <span class="sy0 cf4">&amp;&amp;</span> <b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">apt-get</span></b> <span class="re5">-y</span> dist-upgrade</span></pre></div><h3 id="configuration-du-nom-de-domaine-ovh" class="sectionedit2 cf1"><span class="fs12">Configuration du nom de domaine (OVH)</span></h3><div class="level3 cf1"><p class="mb1"><span class="fs12">Connectez-vous sur votre manager ovh <span class="cf2"><a href="https://www.ovh.com/managerv3" class="urlextern" target="_blank" title="https://www.ovh.com/managerv3" rel="nofollow">https://www.ovh.com/managerv3</a></span>.</span></p><p class="mb1"><span class="fs12">Sélectionnez votre nom de domaine ⇒ Mutualisé ⇒ Domaine &amp; <abbr title="Domain Name System" class="">DNS</abbr> ⇒ Zone <abbr title="Domain Name System" class="">DNS</abbr></span></p><hr class=""><p class="mb1"><span class="fs12">Vous avez une <strong>IP Fixe</strong> ? :</span></p><p class="mb1"><span class="fs12">Ajoutez un champ de <strong>Type A</strong> et mettez l'ip de votre box.</span></p><hr class=""><p class="mb1"><span class="fs12">Vous avez une <strong>IP Dynamique</strong> ? : Ajoutez un champ de <strong>Type DynHOST</strong>.</span></p></div><h3 id="ip-fixe" class="sectionedit3 cf1"><span class="fs12">IP FIXE</span></h3><div class="level3 cf1"><p class="mb1"><span class="fs12"><img src="http://www.tropfacile.net/lib/exe/fetch.php/raspberry-pi/mail1.png" alt="" class="media" data-selected="false"></span></p></div><h3 id="ip-dynamique" class="sectionedit4 cf1"><span class="fs12">IP Dynamique</span></h3><div class="level3 cf1"><p class="mb1"><span class="fs12"><img src="http://www.tropfacile.net/lib/exe/fetch.php/raspberry-pi/mail2.png" alt="" class="media" data-selected="false"></span></p><p class="mb1"></p><p class="mb1"></p><div class="imTAJustify notetip"><span class="fs12">Pour connaitre l'adresse Ip demandée, allez sur le site : <strong><span class="cf2"><a href="http://www.monip.org/" class="urlextern" target="_blank" title="http://www.monip.org" rel="nofollow">http://www.monip.org</a></span></strong> et copiez collez l'ip dans <strong>IP de destination</strong>.</span></div><p class="mb1"></p><p class="mb1"></p><p class="mb1"><span class="fs12"><img src="http://www.tropfacile.net/lib/exe/fetch.php/raspberry-pi/mail3.png" alt="" class="media" data-selected="false"></span></p><p class="mb1"><span class="fs12">Choisissez un identifiant ( ici <strong>boxmaison</strong> ), le sous-domaine : <strong>mail</strong>.ndd.com et un mot de passe.</span></p><p class="mb1"><span class="fs12"><img src="http://www.tropfacile.net/lib/exe/fetch.php/raspberry-pi/mail4.png" alt="" class="media" data-selected="false"></span></p></div><h3 id="edition-de-la-cible-du-mx" class="sectionedit5 cf1"><span class="fs12">Edition de la cible du MX</span></h3><div class="level3 cf1"><p class="mb1"><span class="fs12">Editez avec le petit crayon à droite la cible de votre domaine <strong>.ndd.com</strong> <strong>MX1</strong>.</span></p><p class="mb1"><span class="fs12">Remplacez la valeur actuelle par : <strong>mail.ndd.com</strong>.</span></p><p class="mb1"></p><p class="mb1"></p><div class="imTAJustify noteimportant"><span class="fs12">Petit rappel, veuillez changer ndd.com par votre nom de domaine</span></div><p class="mb1"></p><p class="mb1"></p><p class="mb1"><span class="fs12">Normalement que vous aillez une IP fixe ou Dynamique, vous devriez avoir un tableau similaire à celui-ci:</span></p><p class="mb1"><span class="fs12"><img src="http://www.tropfacile.net/lib/exe/fetch.php/raspberry-pi/mail5.png" alt="" class="media" data-selected="false"></span></p></div><h3 id="verifications-de-bon-fonctionnement" class="sectionedit6 cf1"><span class="fs12">Vérifications de bon fonctionnement</span></h3><div class="level3 cf1"><p class="mb1"><span class="fs12">Maintenant que votre raspberry et votre nom de domaine sont bien configurés, il faut s'assurer que tout fonctionne bien avant de continuer le tutoriel.</span></p><p class="mb1"><span class="fs12">Tapez dans un terminal ( pas celui du raspberry ) :</span></p><pre class="mt1 mb1 code bash cf5"><span class="fs12 ff1">host <span class="re5">-t</span> MX ndd.com</span></pre><p class="mb1"><span class="fs12">Vous devriez avoir un résultat similaire à :</span></p><pre class="mt1 mb1 code cf5"><span class="fs12 ff1">ndd.com mail is handled by mail.ndd.com</span></pre><p class="mb1"><span class="fs12">Si tel n'est pas le cas, veuillez patienter le temps que les changements soient pris en compte.</span></p><p class="mb1"><span class="fs12">Seconde vérification :</span></p><pre class="mt1 mb1 code bash cf5"><span class="fs12 ff1"><b><span class="kw2 cf3">ping</span></b> mail.ndd.com</span></pre><p class="mb1"><span class="fs12">Vous devez trouver votre adresse ip durant le ping :</span></p><p class="mb1"><span class="fs12"><img src="http://www.tropfacile.net/lib/exe/fetch.php/raspberry-pi/mail6.png" alt="" class="media" data-selected="false"></span></p></div><h3 id="configuration-de-votre-box-adsl" class="sectionedit7 cf1"><span class="fs12">Configuration de votre box ADSL</span></h3><div class="level3 cf1"><p class="mb1"><span class="fs12">Nous allons maintenant ouvrir les 3 ports nécessaires au bon fonctionnement de notre serveur d'email, à savoir :</span></p><p class="mb1"><span class="fs12">1.	le port 25 (<abbr title="Simple Mail Transfer Protocol" class="">SMTP</abbr>)</span></p><p class="mb1"><span class="fs12">2.	le port 110 (<abbr title="Post Office Protocol 3" class="">POP3</abbr>)</span></p><p class="mb1"><span class="fs12">3.	le port 143 (<abbr title="Internet Message Access Protocol" class="">IMAP</abbr>)</span></p><p class="mb1"><span class="fs12">Ouvrez l'interface de configuration de votre boxAdsl et ouvrez les ports comme le montre la capture suivante (livebox d'orange):</span></p><p class="mb1"><span class="fs12"><img src="http://www.tropfacile.net/lib/exe/fetch.php/raspberry-pi/mail7.png" alt="" class="media" data-selected="false"></span></p><p class="mb1"></p><p class="mb1"></p><div class="imTAJustify noteclassic"><span class="fs12">Pour les autres modèles de boxAdsl le principe reste le même.</span></div><p class="mb1"></p><p class="mb1"></p></div><h3 id="installation-de-postfix" class="sectionedit8 cf1"><span class="fs12">Installation de Postfix</span></h3><div class="level3 cf1"><p class="mb1"><span class="fs12">Tapez maintenant :</span></p><pre class="mt1 mb1 code bash cf5"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">apt-get install</span></b> postfix</span></pre><p class="mb1"><span class="fs12">Acceptez ensuite par <strong>OK suivi de Site Internet</strong></span></p><p class="mb1"><span class="fs12">Arrêt de postfix :</span></p><pre class="mt1 mb1 code bash cf5"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> service postfix stop</span></pre><p class="mb1"><span class="fs12">Suppression des réglages par défaut :</span></p><pre class="mt1 mb1 code bash cf5"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">rm</span></b> <span class="re5">-f</span> <span class="sy0 cf4">/</span>etc<span class="sy0 cf4">/</span>postfix<span class="sy0 cf4">/</span>main.cf</span></pre></div><h3 id="configuration-de-postfix" class="sectionedit9 cf1"><span class="fs12">Configuration de Postfix</span></h3><div class="level3 cf1"><p class="mb1"><span class="fs12">Configuration de Postfix:</span></p><pre class="mt1 mb1 code bash cf5"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">nano</span></b> <span class="sy0 cf4">/</span>etc<span class="sy0 cf4">/</span>postfix<span class="sy0 cf4">/</span>main.cf</span></pre><p class="mb1"><span class="fs12">Copiez collez ce qui suit :</span></p><pre class="mt1 mb1 code cf5"><span class="fs12 ff1">smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)

biff = no
append_dot_mydomain = no
readme_directory = no

# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls= yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_tls_auth_only = no

# Postfix parameters
myhostname = mail.ndd.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = ndd.com, localhost
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = ipv4
home_mailbox = Maildir/</span></pre><p class="mb1"><span class="fs12">Puis modifiez les 2 lignes en remplacant ndd.com par votre nom de domaine:</span></p><pre class="mt1 mb1 code cf5"><span class="fs12 ff1">myhostname = mail.ndd.com</span></pre><pre class="mt1 mb1 code cf5"><span class="fs12 ff1">mydestination = ndd.com, localhost</span></pre><p class="mb1"><span class="fs12">Editez le fichier mailname :</span></p><pre class="mt1 mb1 code bash cf5"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">nano</span></b> <span class="sy0 cf4">/</span>etc<span class="sy0 cf4">/</span>mailname</span></pre><p class="mb1"><span class="fs12">Ajoutez y votre nom de domaine :</span></p><pre class="mt1 mb1 code cf5"><span class="fs12 ff1">ndd.com</span></pre><p class="mb1"><span class="fs12">On redémarre le service postfix pour prendre en compte les changements:</span></p><pre class="mt1 mb1 code bash cf5"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> service postfix start</span></pre></div><h3 id="configuration-du-client-dynhost-seulement-ip-dynamique" class="sectionedit10 cf1"><span class="fs12">Configuration du client DynHOST (seulement IP Dynamique)</span></h3><div class="level3 cf1"><p class="mb1"><span class="fs12">Téléchargement du client :</span></p><pre class="mt1 mb1 code bash cf5"><span class="fs12 ff1"><b><span class="kw2 cf3">wget</span></b> http:<span class="sy0 cf4">//</span>www.bozorokus.net<span class="sy0 cf4">/</span>DynHost.tgz</span></pre><p class="mb1"><span class="fs12">Décompression de l'archive :</span></p><pre class="mt1 mb1 code bash cf5"><span class="fs12 ff1"><b><span class="kw2 cf3">tar</span></b> xvzf DynHost.tgz</span></pre><p class="mb1"><span class="fs12">Edition du fichier de configuration :</span></p><pre class="mt1 mb1 code bash cf5"><span class="fs12 ff1"><span class="kw3 cf6">cd</span> DynHost <span class="sy0 cf4">&amp;&amp;</span> <b><span class="kw2 cf3">nano</span></b> dynhost</span></pre><p class="mb1"><span class="fs12">Editez les champs suivants :</span></p><pre class="mt1 mb1 code cf5"><span class="fs12 ff1">IFACE=eth0
HOST=mail.ndd.com
LOGIN=ndd.com-boxmaison
PASSWORD=pass</span></pre><p class="mb1"><span class="fs12">Cherchez et remplacez la ligne :</span></p><pre class="mt1 mb1 code cf5"><span class="fs12 ff1">IP=`/sbin/ifconfig $IFACE | fgrep "inet ad" | cut -f2 -d":" | cut -f1 -d" "`</span></pre><p class="mb1"><span class="fs12">par :</span></p><pre class="mt1 mb1 code cf5"><span class="fs12 ff1">IP=`curl -sf http://checkip.dyndns.org/|cut -d ':' -f 2|cut -d '&lt;' -f1|sed -e 's/ //g'`</span></pre><p class="mb1"><span class="fs12">On autorise le fichier dynhost à être exécuté :</span></p><pre class="mt1 mb1 code bash cf5"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">chmod</span></b> +x dynhost</span></pre><p class="mb1"><span class="fs12">On fait en sorte que le fichier soit exécuté toutes les heures :</span></p><pre class="mt1 mb1 code bash cf5"><span class="fs12 ff1">crontab <span class="re5">-e</span></span></pre><p class="mb1"><span class="fs12">puis ajoutez à la fin :</span></p><pre class="mt1 mb1 code cf5"><span class="fs12 ff1">1 * * * * /home/pi/dynHost/dynhost</span></pre></div><h3 id="installation-des-serveurs-pop3-imap" class="sectionedit11 cf1"><span class="fs12">Installation des serveurs POP3 &amp; IMAP</span></h3><div class="level3 cf1"><pre class="mt1 mb1 code bash cf5"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">apt-get install</span></b> dovecot-pop3d dovecot-imapd</span></pre><p class="mb1"><span class="fs12">Arrêt des services <strong>dovecot</strong> :</span></p><pre class="mt1 mb1 code bash cf5"><span class="fs12 ff1"> <b><span class="kw2 cf3">sudo</span></b> service dovecot stop</span></pre><p class="mb1"><span class="fs12">Suppression du fichier de configuration par defaut:</span></p><pre class="mt1 mb1 code bash cf5"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">rm</span></b> <span class="re5">-f</span> <span class="sy0 cf4">/</span>etc<span class="sy0 cf4">/</span>dovecot<span class="sy0 cf4">/</span>conf.d<span class="sy0 cf4">/</span><span class="nu0 cf7">10</span>-mail.conf</span></pre><p class="mb1"><span class="fs12">Condifiguration de dovecot :</span></p><pre class="mt1 mb1 code bash cf5"><span class="fs12 ff1"> <b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">nano</span></b> <span class="sy0 cf4">/</span>etc<span class="sy0 cf4">/</span>dovecot<span class="sy0 cf4">/</span>conf.d<span class="sy0 cf4">/</span><span class="nu0 cf7">10</span>-mail.conf</span></pre><p class="mb1"><span class="fs12">Copiez collez ce qui suit :</span></p><pre class="mt1 mb1 code cf5"><span class="fs12 ff1">mail_location = maildir:~/Maildir
listen = *

namespace inbox {
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;inbox = yes
}</span></pre><p class="mb1"><span class="fs12">Redémarrage des services <strong>dovecot</strong> :</span></p><pre class="mt1 mb1 code bash cf5"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> service dovecot start</span></pre><p class="mb1"><span class="fs12">Vous pouvez maintenant configurer votre logiciel de messagerie !</span></p><p class="mb1"></p><p class="mb1"></p><div class="imTAJustify notewarning"><span class="fs12">/!\ Attention, avec cette méthode vous ne pouvez envoyer que des emails vers votre nom de domaine, si vous voulez envoyer des emails partout dans le monde, veuillez utiliser le serveur <abbr title="Simple Mail Transfer Protocol" class="">SMTP</abbr> de votre FAI /!\</span></div><p class="mb1"></p><p class="mb1"></p><p class="mb1"><span class="fs12">Voilà ce tutoriel est maintenant terminé !</span></p></div></div>]]></description>
			<pubDate>Tue, 19 Feb 2013 10:58:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?comment-installer-un-serveur-mail--</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/dpq6l9hf</guid>
		</item>
		<item>
			<title><![CDATA[Installation d’ALSA sur le Raspberry Pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_1jwr77rz"><header class="entry-header page-header cf2" style="box-sizing: border-box; padding-bottom: 0px; margin: 0px 0px 20px; border-bottom-width: 0px; line-height: 23.8px; widows: 1;"><h1 class="entry-title &nbsp;cf1" style="box-sizing: border-box; margin: 0px 0px 30px; line-height: 1.1;"><span class="fs12">Installation d’ALSA sur le Raspberry Pi</span></h1></header><div class="entry-content cf2" style="box-sizing: border-box; margin: 1.5em 0px 0px; line-height: 23.8px; widows: 1;"><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">ALSA (Advanced Linux Sound Architecture) est un pilote informatique du noyau Linux. Les objectifs de ce projet est la configuration automatique des cartes son et le support de plusieurs cartes son dans le même système. L’installation d’alsa sur votre Raspberry-Pi peut régler des problèmes de son inherent sur certain lecteur.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><br></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span id="more-1048" style="box-sizing: border-box;" class="fs12"></span></p><div class="encart bleu" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px; border: 2px solid rgb(216, 216, 235); background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs12"><img class="alignnone size-full wp-image-116" src="http://www.windtopik.fr/wp-content/uploads/2013/01/Clipboard_Full.png" alt="Clipboard_Full" width="28" height="32" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%;" data-selected="false"> <span style="box-sizing: border-box; font-weight: 700;">Pre-Requis</span></span><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span style="box-sizing: border-box; font-weight: 700;" class="fs12">Tutoriels :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">Connexion en SSH et VNC sur le Raspberry-Pi</a></span></li></ul><p style="box-sizing: border-box; margin-bottom: 10px;"></p></div><p style="box-sizing: border-box; margin-bottom: 10px;"></p><h3 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span class="fs12">Installation d’ALSA</span></h3><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Tout d’abord connecter vous sur votre RPI en SSH ou VNC.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Puis on va vérifier que le problème est bien lié à la carte son en tapant l’une des commandes suivantes :</span></p><div style="box-sizing: border-box;"><div id="highlighter_293720" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">cat</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/proc/asound/cards</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ou $ aplay -l</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Si le message <span style="box-sizing: border-box; font-weight: 700;">« No such file or directory »</span> ou <span style="box-sizing: border-box; font-weight: 700;">« </span><span style="box-sizing: border-box; font-weight: 700;">no soundcards found… » </span>apparait, c’est bien que le driver audio n’est pas installé. On va donc procéder à son installation avec la commande comme ci-dessous :</span></p><div style="box-sizing: border-box;"><div id="highlighter_291821" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get </code><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">alsa-utils</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Maintenant on utilise la commande suivante pour vérifier que le module soit chargé :</span></p><div style="box-sizing: border-box;"><div id="highlighter_36114" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">lsmod | </code><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">grep</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">snd</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Si aucune informations ne s’affiche, c’est que le module n’est pas chargé. Dans ce cas on utilise la commande modprobe pour charger le pilote :</span></p><div style="box-sizing: border-box;"><div id="highlighter_142220" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">modprobe snd_bcm2835</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Une fois la commandes modprobe effectué, relancer les 3 commandes précédentes soit :</span></p><div style="box-sizing: border-box;"><div id="highlighter_478304" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">3</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">cat</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/proc/asound/cards</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">aplay -l</code></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12 ff1"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">lsmod | </code><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">grep</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">snd</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Voila, cela devraient résoudre vos problèmes de son ! &nbsp;<img draggable="false" class="emoji" alt="😉" src="https://s.w.org/images/core/emoji/72x72/1f609.png" style="box-sizing: border-box; max-width: 100%; vertical-align: -0.1em !important; height: 1em !important; display: inline !important; box-shadow: none !important; width: 1em !important; margin-right: 0.07em !important; margin-left: 0.07em !important; padding: 0px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-selected="false"></span></p></div></div>]]></description>
			<pubDate>Fri, 08 Feb 2013 12:51:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?installation-d-alsa-sur-le-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/1jwr77rz</guid>
		</item>
		<item>
			<title><![CDATA[Créer un serveur de streaming audio avec Subsonic]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_wkkhd0f6"><header class="entry-header page-header cf2" style="box-sizing: border-box; padding-bottom: 0px; margin: 0px 0px 20px; border-bottom-width: 0px; line-height: 23.8px; widows: 1;"><h1 class="entry-title &nbsp;cf1" style="box-sizing: border-box; margin: 0px 0px 30px; line-height: 1.1;"><span class="fs12">Créer un serveur de streaming audio avec Subsonic</span></h1></header><div class="entry-content cf2" style="box-sizing: border-box; margin: 1.5em 0px 0px; line-height: 23.8px; widows: 1;"><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Je vous présente Subsonic un outil gratuit qui vous permet de réaliser un « clone » de deezer ou autre spotify. Tout cela gérer de chez vous!</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Vous avez ainsi la possibilité de partager votre musique sur le web, en donner l’accès à quelques personnes et d’écouter votre musique depuis n’importe où avec votre navigateur diverses applications clientes pour Android, Iphones, etc…<br style="box-sizing: border-box;"><span id="more-882" style="box-sizing: border-box;"></span><br style="box-sizing: border-box;">Cette solution est plus que pratique, car elle nous permet de disposer de toute notre bibliothèque musicale en dehors de chez nous ! la seule contrainte c’est qu’il nous faut un accès à internet.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"></p><div class="encart bleu" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px; border: 2px solid rgb(216, 216, 235); background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="fs12"><img class="alignnone size-full wp-image-116" src="http://www.windtopik.fr/wp-content/uploads/2013/01/Clipboard_Full.png" alt="Clipboard_Full" width="28" height="32" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%;" data-selected="false"> <span style="box-sizing: border-box; font-weight: 700;">PRE-REQUIS</span></span><p style="box-sizing: border-box; margin-bottom: 10px;"></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span style="box-sizing: border-box; font-weight: 700;" class="fs12">Tutoriels :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">Installation et configuration de Raspbian</a></span></li><li style="box-sizing: border-box;"><span style="box-sizing: border-box; transition: 0.3s; -webkit-transition: 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs12 cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">Connexion en SSH et VNC sur le Raspberry-Pi</a></span></li></ul><p style="box-sizing: border-box; margin-bottom: 10px;"></p></div><span class="fs12"><br style="box-sizing: border-box;"></span><p style="box-sizing: border-box; margin-bottom: 10px;"></p><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf1"><span class="fs12">Installation de Subsonic</span></h2><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Nous allons donc voir comment installer et configurer Subsonic sur votre Raspberry-Pi.</span></p><div class="encart info" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(216, 216, 235); background-image: url(http://rendering/images/info.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12">Si vous n’en posséder pas de Raspberry-Pi vous avez la possibilité d’installer Subsonic sur une distribution Debian Squeeze.</span></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Pour débuter, connecter vous en SSH sur votre Raspberry-pi.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Nous allons maintenant créer un répertoire temporaire ou nous allons &nbsp;y stocker le paquet :</span></p><div style="box-sizing: border-box;"><div id="highlighter_355780" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">mkdir</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">subsonic</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">On se déplace dans le répertoire fraichement créer :</span></p><div style="box-sizing: border-box;"><div id="highlighter_339959" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">cd</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">subsonic</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Et on télécharge le packet :</span></p><div style="box-sizing: border-box;"><div id="highlighter_100284" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 753px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 721px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">wget http:</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">//sourceforge</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.net</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/projects/subsonic/files/subsonic/4</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.7</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/subsonic-4</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.7.deb</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/download</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Une fois notre paquet téléchargé, on installe une plate-forme Java sur notre machine :</span></p><div style="box-sizing: border-box;"><div id="highlighter_246272" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 792px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">2</span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">3</span></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">4</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 760px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get </code><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">openjdk-6-jre</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"> </span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs12 cf5 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">Il est nécessaire de télécharger 47,2 Mo d'archives. Après dépaquetage, 136 Mo seront utilisés.</code></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">Voulez-vous continuer ? [Y</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/n/</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">?]</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Validez par <span style="box-sizing: border-box; font-weight: 700;">Y</span> puis Entrée.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">On renomme maintenant notre paquet :</span></p><div style="box-sizing: border-box;"><div id="highlighter_671125" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">mv</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">download subsonic-4.7.deb</code></span></div></div></td></tr></tbody></table></div></div><div class="encart warning" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(232, 226, 195); background-image: url(http://rendering/images/warning.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12">La version 4.7 est lors de la publication de ce billet la dernière<span style="box-sizing: border-box; font-weight: 700;"> « release »</span> disponible sur le site, pensez à vérifier si une version plus récente n’a pas été publiée depuis.</span></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">On lance l’installation du paquet :</span></p><div style="box-sizing: border-box;"><div id="highlighter_640152" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">dpkg -i subsonic-4.7.deb</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Vous devriez voir le message suivant apparaitre :</span></p><div style="box-sizing: border-box;"><div id="highlighter_202845" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">Started Subsonice [PID XXXXX, </code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/var/subsonic/subsonic/subsonic_sh</code><code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">.log]</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Voila pour l’installation! l’accès peu maintenant se faire depuis votre navigateur sur les pages web suivantes :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li style="box-sizing: border-box;"><span class="fs12">http://@IP:4040</span></li><li style="box-sizing: border-box;"><span class="fs12">http://NomDeDomaine.fr:4040</span></li></ul><div class="encart warning" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(232, 226, 195); background-image: url(http://rendering/images/warning.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs12">Il se peut que l’accès par le port <span style="box-sizing: border-box; font-weight: 700;">4040</span>ne soit pas autoriser sur votre serveur. Dans ce cas, il suffit de rajouter une autorisation avec la commande suivante.</span></div><div style="box-sizing: border-box;"><div id="highlighter_667663" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 599px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs12"><code class="shell functions cf4" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf5" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">iptables -t filter --append INPUT -p tcp --dport 4040 -j ACCEPT</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Vous devriez alors avoir la fenêtre de connexion suivante :</span></p><figure id="attachment_927" class="thumbnail wp-caption aligncenter" style="box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; line-height: 1.42857; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 658px;"><img class="wp-image-927 size-large" title="subsonic" src="http://www.windtopik.fr/wp-content/uploads/2013/02/subsonic01-1024x273.png" alt="subsonic01" width="648" height="173" srcset="http://www.windtopik.fr/wp-content/uploads/2013/02/subsonic01-300x80.png 300w, http://www.windtopik.fr/wp-content/uploads/2013/02/subsonic01-1024x273.png 1024w, http://www.windtopik.fr/wp-content/uploads/2013/02/subsonic01-600x160.png 600w, http://www.windtopik.fr/wp-content/uploads/2013/02/subsonic01.png 1106w" sizes="(max-width: 648px) 100vw, 648px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"><figcaption class="caption wp-caption-text cf6" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Page de connexion (interface web)</span></figcaption></figure><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12"> </span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">un petit screen du menu :</span></p><figure id="attachment_930" class="thumbnail wp-caption aligncenter" style="box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; line-height: 1.42857; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><img class="wp-image-930 size-medium" title="interface-subsonic" src="http://www.windtopik.fr/wp-content/uploads/2013/02/subsonic02-300x210.png" alt="subsonic02" width="300" height="210" srcset="http://www.windtopik.fr/wp-content/uploads/2013/02/subsonic02-300x210.png 300w, http://www.windtopik.fr/wp-content/uploads/2013/02/subsonic02-600x420.png 600w, http://www.windtopik.fr/wp-content/uploads/2013/02/subsonic02.png 967w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"><figcaption class="caption wp-caption-text cf6" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs12">Interface principale de Subsonic</span></figcaption></figure><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12"> </span></p><p style="box-sizing: border-box; margin-bottom: 10px;"><span class="fs12">Voila pour l’installation de Subsonic !</span></p></div></div>]]></description>
			<pubDate>Fri, 01 Feb 2013 08:53:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?creer-un-serveur-de-streaming-audio-avec-subsonic</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/wkkhd0f6</guid>
		</item>
		<item>
			<title><![CDATA[PC to Raspberry via RJ45 (câble ethernet)]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_9nsvg8or"><span class="fs12"><span class="">PC to Raspberry via RJ45 (câble ethernet)</span><br class=""><br class=""><span class="">Il est possible de connecter le Raspberry directement à la machine en passant par un câble ethernet directement entre les deux.</span><br class=""><br class=""><b><span class="">Manip' sur le Raspberry :</span></b><br class=""><br class=""></span><dl class="codebox"><b><dt class="fs12">CODE: </dt></b><dd class=""><code class=""><span class="fs12 ff1">sudo nano /etc/network/interfaces</span></code></dd></dl><span class="fs12"><br class=""><br class=""><span class="">Et remplacez la ligne :</span><br class=""><br class=""></span><dl class="codebox"><b><dt class="fs12">CODE: <span class=""><a href="http://www.libellules.ch/phpBB2/#">TOUT SÉLECTIONNER</a></span></dt></b><dd class=""><code class=""><span class="fs12 ff1">iface eth0 inet dhcp</span></code></dd></dl><span class="fs12"><br class=""><br class=""><span class="">par :</span><br class=""><br class=""></span><dl class="codebox"><b><dt class="fs12">CODE: <span class=""><a href="http://www.libellules.ch/phpBB2/#">TOUT SÉLECTIONNER</a></span></dt></b><dd class=""><code class=""><span class="fs12 ff1">iface eth0 inet static<br class=""> &nbsp;&nbsp;address 192.168.1.x<br class=""> &nbsp;&nbsp;netmask 255.255.255.0<br class=""> &nbsp;&nbsp;network 192.168.1.0<br class=""> &nbsp;&nbsp;broadcast 192.168.1.255<br class=""> &nbsp;&nbsp;gateway 192.168.1.1</span></code></dd></dl><span class="fs12"><br class=""><br class=""><span class="">Il vous faudra remplacer le libellé de “address” par votre Ip réseaux actuelle ainsi que :</span><br class=""><br class=""><span class="">netmask : Vous pouvez le trouver dans la valeur “Mask” du ifconfig</span><br class=""><br class=""><span class="">broadcast : Vous pouvez le trouver dans la valeur “Bcast” du ifconfig</span><br class=""><br class=""><span class="">gateway : C’est l’Ip de votre routeur/box, vous pouvez la trouver dans le panel admin de votre box sous le libellé (serveur DHCP le plus souvent)</span><br class=""><br class=""><span class="">Enregistrez et redémarrez, votre Ip sera fixe et toujours accessible depuis Putty.</span><br class=""><br class=""><span class="">Attention !! Notez bien que lorsque vous fixez cette ip, elle ne peut plus s’adapter dynamiquement à un autre réseau, aussi si vous trimballez votre rpi autre part, pensez à remettre l’ip en dynamique.</span><br class=""><br class=""><b><span class="">Manip' sur la machine :</span></b><span class=""> (ici, windows)</span><br class=""><br class=""></span><ul class="mb1"><li class=""><span class="fs12">Dans <i><span class="">Panneau de configuration\Réseau et Internet\Centre Réseau et partage</span></i><br class=""></span></li><li class=""><span class="fs12">Cliquez sur <i><span class="">Modifier les paramètres de la carte</span></i><br class=""></span></li><li class=""><span class="fs12">Puis aller dans propriété de la connexion au réseau local :<br class=""><br class=""><img src="http://i.imgur.com/RuThqZz.png" alt="Image" class="" data-selected="false"><br class=""></span></li><li class=""><span class="fs12">Puis double clic sur la ligne "Protocole Internet version 4 (TCP/IPv4)"<br class=""><br class=""><img src="http://i.imgur.com/qYGMiHp.png" alt="Image" class="" data-selected="false"><br class=""></span></li><li class=""><span class="fs12">Enfin complter les paramettre avec une adresse IP dans le même réseau IP que le Raspberry (Mettez le masque adéquate aussi <img src="http://www.libellules.ch/phpBB2/images/smilies/smil_plaf.gif" alt=":plaf:" title="Plaf" class="" data-selected="false"> )<br class=""><br class=""><img src="http://i.imgur.com/XCFhnM8.png" alt="Image" class="" data-selected="false"></span></li></ul><span class="fs12"><br class=""><img src="http://www.libellules.ch/phpBB2/images/smilies/icon_arrow.gif" alt=":arrow:" title="Arrow" class="" data-selected="false"><span class=""> Normalement vous pouvez vous connectez via ssh comme vue précedement en indiquant l'adresse IP de votre Raspberry.</span><br class=""><br class=""><span class="">De plus, il est possible de partager la connexion de votre ordinateur avec le Raspberry car si votre machine est aussi connectez en wifi sur votre modem/internet box le Raspberry aura moyen d’accéder à internet lui aussi. Il suffit de modifier les propriétés de la connexion au réseau local dans l'onglet de partage.</span></span></div>]]></description>
			<pubDate>Wed, 30 Jan 2013 23:06:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?pc-to-raspberry-via-rj45--cable-ethernet-</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/9nsvg8or</guid>
		</item>
		<item>
			<title><![CDATA[Comment mettre à jour le firmware du Raspberry ?]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_6421rw1x"><h1 class="cf2"><span class="fs12 cf1"><a name="comment-mettre-a-jour-le-firmware-du-raspberry" id="comment-mettre-a-jour-le-firmware-du-raspberry" href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-mettre-a-jour-le-firmware-du-raspberry">Comment mettre à jour le firmware du Raspberry ?</a></span></h1><div class="level1 cf2"><hr class=""><p class="mb1"><span class="fs12">Connectez-vous en local sur votre raspberry ou par <span class="cf1"><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-se-connecter-en-ssh" class="wikilink1" title="raspberry-pi:comment-se-connecter-en-ssh">ssh</a></span> avec l'utilisateur <strong>pi</strong>. Vous pouvez aussi prendre n'importe quel utilisateur avec les droits<span class="cf1"><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-devenir-super-utilisateur" class="wikilink1" title="raspberry-pi:comment-devenir-super-utilisateur">sudo</a></span>.</span></p><p class="mb1"><span class="fs12">Pour connaitre la version de votre firmware, veuillez taper :</span></p><p class="mb1"><br></p><p class="mb1"><br></p><pre class="mt1 mb1 code bash cf4"><span class="fs12 ff1"><b><span class="kw2 cf3">uname</span></b> <span class="re5">-a</span></span></pre><p class="mb1"><span class="fs12">Nous allons rechercher le chiffre après le <strong>#</strong> :</span></p><pre class="mt1 mb1 code cf4"><span class="fs12 ff1">Linux tropfacile 3.2.27+ #285 PREEMPT Tue Nov 20 17:49:40 GMT 2012 armv6l GNU/Linux</span></pre><p class="mb1"><span class="fs12">Ici j'ai le firmware <strong>285</strong>.</span></p><p class="mb1"><span class="fs12">Mise à jour de Raspbian avant la mise à jour du firmware :</span></p><pre class="mt1 mb1 code bash cf4"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">apt-get update</span></b> <span class="sy0 cf5">&amp;&amp;</span> <b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">apt-get</span></b> <span class="re5">-y</span> upgrade <span class="sy0 cf5">&amp;&amp;</span> <b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">apt-get</span></b> <span class="re5">-y</span> dist-upgrade</span></pre><p class="mb1"><span class="fs12">Installation de rpi-update :</span></p><pre class="mt1 mb1 code bash cf4"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">apt-get install</span></b> ca-certificates git-core</span></pre><pre class="mt1 mb1 code bash cf4"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">wget</span></b> https:<span class="sy0 cf5">//</span>raw.github.com<span class="sy0 cf5">/</span>Hexxeh<span class="sy0 cf5">/</span>rpi-update<span class="sy0 cf5">/</span>master<span class="sy0 cf5">/</span>rpi-update <span class="re5">-O</span> <span class="sy0 cf5">/</span>usr<span class="sy0 cf5">/</span>bin<span class="sy0 cf5">/</span>rpi-update <span class="sy0 cf5">&amp;&amp;</span> <b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">chmod</span></b> +x <span class="sy0 cf5">/</span>usr<span class="sy0 cf5">/</span>bin<span class="sy0 cf5">/</span>rpi-update</span></pre><p class="mb1"><span class="fs12">Mise à jour du firmware :</span></p><pre class="mt1 mb1 code bash cf4"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> rpi-update</span></pre><p class="mb1"><span class="fs12">Veuillez patienter le temps de la mise à jour du firmware:</span></p><pre class="mt1 mb1 code cf4"><span class="fs12 ff1">Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS
Performing self-update
ARM/GPU split is now defined in /boot/config.txt using the gpu_mem option!
Updating firmware (this will take a few minutes)</span></pre><p class="mb1"><span class="fs12">Après quelques minutes, on nous informes qu'il faut redémarrer le raspberry pour finir l'installation du nouveau firmware :</span></p><pre class="mt1 mb1 code cf4"><span class="fs12 ff1">Using HardFP libraries
If no errors appeared, your firmware was successfully updated
A reboot is needed to activate the new firmware</span></pre><p class="mb1"><span class="fs12">Redémarrage du raspberry :</span></p><pre class="mt1 mb1 code bash cf4"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> reboot</span></pre><p class="mb1"><span class="fs12">Vérification de l'installation du nouveau firmware :</span></p><pre class="mt1 mb1 code bash cf4"><span class="fs12 ff1"><b><span class="kw2 cf3">uname</span></b> <span class="re5">-a</span></span></pre><pre class="mt1 mb1 code cf4"><span class="fs12 ff1">Linux tropfacile 3.2.27+ #307 PREEMPT Mon Nov 26 23:22:29 GMT 2012 armv6l GNU/Linux</span></pre><pre class="mt1 mb1 code cf4"><br></pre><pre class="mt1 mb1 code cf4"><span class="fs12 ff1">Si i ne fonctionne pas, veuillez </span><span class="fs12 cf2 ff1">faire une mise à jour du syteme avant de faire un rpi_update.</span></pre><div><br></div><div><br></div><div><span class="fs12">Pour cela:</span></div><div><br></div><div><span class="fs12">sudo apt-get update</span></div><div><br></div><div><span class="fs12">puis</span></div><div><br></div><div><span class="fs12">sudo apt-get upgrade</span></div><div><br></div><div><span class="fs12">Ensuite rpi_update fonctionne très bien</span></div></div></div>]]></description>
			<pubDate>Thu, 17 Jan 2013 14:18:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?comment-mettre-a-jour-le-firmware-du-raspberry--</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/6421rw1x</guid>
		</item>
		<item>
			<title><![CDATA[Se connecter en SSH au Raspberry pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_bz8h6yty"><header class="entry-header cf2"><h1 class="entry-title cf1"><span class="fs16">Se connecter en SSH au Raspberry pi</span></h1><h1 class="entry-title cf1"><br></h1><h1 class="entry-title cf1"><span class="fs16"><span class="cf2">Dans ce tutoriels, vous allez apprendre à télécommander votre Raspberry Pi sur votre réseau local en utilisant le</span><span class="cf2"> </span><span class="cf2">SSH.</span></span></h1></header><div class="mt1 entry-content content cf2"><div class=""><div class=""><span class="fs16 cf3"><a href="http://the-raspberry.com/wp-content/uploads/2013/06/learn_raspberry_pi_putty_connected.png"><img src="http://the-raspberry.com/wp-content/uploads/2013/06/learn_raspberry_pi_putty_connected.png" alt="learn_raspberry_pi_putty_connected" width="696" height="430" srcset="http://the-raspberry.com/wp-content/uploads/2013/06/learn_raspberry_pi_putty_connected-300x185.png 300w, http://the-raspberry.com/wp-content/uploads/2013/06/learn_raspberry_pi_putty_connected.png 696w" sizes="(max-width: 696px) 100vw, 696px" class="mb1 alignnone size-full wp-image-12337" data-selected="false"></a></span></div><div class=""><span class="fs16">Une raison courante de contrôler à distance votre Raspberry pi à partir d’un autre ordinateur est que vous pouvez utilisez uniquement votre pc ou votre mac pour contrôler le Raspberry pi et donc vous n’aurez pas besoin d’un clavier, d’une souris ou d’un moniteur.Le SSH peut aussi sauver l’encombrement de votre bureau, le problème étant d’avoir plusieurs claviers et souris partout.</span></div><h1 class="cf1"><span class="fs16">Activation du SSH</span></h1><div class="imTACenter symple-box symple-fadein green center &nbsp;cf4"><span class="fs16">SSH est maintenant activé par défaut sur les nouvelle version de Raspbian<br class=""></span></div><div class=""><div class=""><p class="mb1"><span class="fs16">Secure Shell (SSH) est une fonctionnalité de Linux qui vous permet d’ouvrir une session de terminal sur votre Raspberry Pi à partir d’une ligne de commande de votre ordinateur hôte.Pour utiliser SSH, vous devez d’abord l’activer pour l’utiliser. La meilleure façon de le faire est d’utiliser Raspi Config.Si vous n’avez pas configuré votre Raspberry pi pour SSH lorsque vous l’avez démarré pour la première fois, pas de problème, vous pouvez le faire maintenant.</span></p><p class="mb1"><span class="fs16">Ouvrir un terminal et entrez la commande suivante pour démarrer Raspi Config:</span></p></div><div class=""><pre class="mt2 mb1 cf4"><span class="fs16 ff1">sudo raspi-config</span></pre><div class=""><div class=""><span class="fs16 cf3"><a href="http://the-raspberry.com/wp-content/uploads/2013/06/learn_raspberry_pi_starting_raspi-config.png"><img src="http://the-raspberry.com/wp-content/uploads/2013/06/learn_raspberry_pi_starting_raspi-config.png" alt="raspberry pi ssh" width="800" height="494" srcset="http://the-raspberry.com/wp-content/uploads/2013/06/learn_raspberry_pi_starting_raspi-config-300x185.png 300w, http://the-raspberry.com/wp-content/uploads/2013/06/learn_raspberry_pi_starting_raspi-config.png 800w" sizes="(max-width: 800px) 100vw, 800px" class="mb1 alignnone size-full wp-image-12332" data-selected="false"></a></span></div><div class=""><span class="fs16">Faites défiler jusqu’à l’option « ssh ».</span></div><div class=""><div class=""><span class="fs16"><img src="http://the-raspberry.com/wp-content/uploads/2013/06/learn_raspberry_pi_raspi_config_ssh1.png" alt="learn_raspberry_pi_raspi_config_ssh1" width="800" height="497" srcset="http://the-raspberry.com/wp-content/uploads/2013/06/learn_raspberry_pi_raspi_config_ssh1-300x186.png 300w, http://the-raspberry.com/wp-content/uploads/2013/06/learn_raspberry_pi_raspi_config_ssh1.png 800w" sizes="(max-width: 800px) 100vw, 800px" class="mb1 alignnone size-full wp-image-12338" data-selected="false"></span></div><div class=""><span class="fs16">Faites la touche Entrée, puis sélectionnez « Enable »</span></div><div class=""><div class=""><span class="fs16"><img src="http://the-raspberry.com/wp-content/uploads/2013/06/learn_raspberry_pi_raspi_config_ssh2.png" alt="learn_raspberry_pi_raspi_config_ssh2" width="800" height="493" class="mb1 alignnone size-full wp-image-12339" data-selected="false"></span></div><div class=""><span class="fs16">Un script s’exécute puis vous verrez une confirmation :</span></div><div class=""><div class=""><span class="fs16 cf3"><a href="http://the-raspberry.com/wp-content/uploads/2013/06/learn_raspberry_pi_raspi_config_ssh3.png"><img src="http://the-raspberry.com/wp-content/uploads/2013/06/learn_raspberry_pi_raspi_config_ssh3.png" alt="learn_raspberry_pi_raspi_config_ssh3" width="800" height="497" srcset="http://the-raspberry.com/wp-content/uploads/2013/06/learn_raspberry_pi_raspi_config_ssh3-300x186.png 300w, http://the-raspberry.com/wp-content/uploads/2013/06/learn_raspberry_pi_raspi_config_ssh3.png 800w" sizes="(max-width: 800px) 100vw, 800px" class="mb1 alignnone size-full wp-image-12340" data-selected="false"></a></span></div><h1 class="cf1"><span class="fs16">Utiliser SSH sur un Mac ou un PC</span></h1><div class=""><div class=""><p class="mb1"><span class="fs16">Maintenant passer à l’ordinateur à partir duquel vous souhaitez contrôler votre pi.Si vous utilisez un Mac ou un ordinateur sous Linux ouvrez un Terminal. Sur le Mac, vous pouvez le trouver dans le dossier Utilitaires de votre dossier Applications.Entrez la commande suivante dans la fenêtre du Terminal.</span></p><pre class="mt2 mb1 cf4"><span class="fs16 ff1">ssh pi@192.168.0.13</span></pre><p class="mb1"><span class="fs16">Notez que vous aurez besoin de remplacer l’adresse IP ci-dessus avec celle de votre Raspberry pi. &nbsp;Vous pourrez la trouver en exécutant la commande « sudo ifconfig » dans le Terminal.</span></p><p class="mb1"><span class="fs16 cf3"><a href="http://the-raspberry.com/wp-content/uploads/2013/06/learn_raspberry_pi_finding_ip_address.png"><img src="http://the-raspberry.com/wp-content/uploads/2013/06/learn_raspberry_pi_finding_ip_address.png" alt="learn_raspberry_pi_finding_ip_address" width="800" height="495" class="mb1 alignnone size-full wp-image-12334" data-selected="false"></a></span></p></div><div class=""><div class=""><div class=""><p class="mb1"><span class="fs16">L’option « pi@ ‘précise que nous voulons nous connecter au Raspberry pi en tant qu’utilisateur » pi « . La première fois que vous exécutez la commande, vous obtiendrez peut être un avertissement de sécurité de ne pas être en mesure de vérifier l’identité de la machine, dites que vous voulez continuer et entrez votre mot de passe (« raspberry » par défaut) lorsque vous y serez invité.Vous remarquerez que l’invite de commande va changer pour indiquer que vous êtes connecté. Essayez d’utiliser la commande « ls » pour afficher le contenu du dossier en cours sur le Pi.</span></p><h1 class="cf1"><span class="fs16">SSH sous Windows</span></h1></div><div class=""><div class=""><span class="fs16">Si vous utilisez Windows, vous aurez besoin de télécharger un programme gratuit appelé « puTTY » : <span class="cf3"><a href="http://www.putty.org/" target="_blank">http://www.putty.org/ </a></span>.Après avoir téléchargé et installé puTTY (c’est un fichier unique appelé putty.exe), exécuté le programme.</span></div><div class=""><div class=""><span class="fs16 cf3"><a href="http://the-raspberry.com/wp-content/uploads/2013/06/learn_raspberry_pi_putty_config.png"><img src="http://the-raspberry.com/wp-content/uploads/2013/06/learn_raspberry_pi_putty_config.png" alt="learn_raspberry_pi_putty_config" width="472" height="462" class="mb1 alignnone size-full wp-image-12336" data-selected="false"></a></span></div><div class=""><span class="fs16">Entrez l’adresse IP que vous avez trouvée précédemment et cliquez sur «Open».Cela vous donnera un avertissement (la première fois) et vous demandera alors l’utilisateur (« pi ») et mot de passe (« raspberry »).</span></div><div class=""><div class=""><span class="fs16">La fenêtre ssh sera alors prêt à être utilisé.</span></div><div class=""><span class="fs16 cf3"><a href="http://the-raspberry.com/wp-content/uploads/2013/06/learn_raspberry_pi_mac_ssh.png"><img src="http://the-raspberry.com/wp-content/uploads/2013/06/learn_raspberry_pi_mac_ssh.png" alt="learn_raspberry_pi_mac_ssh" width="800" height="442" class="mb1 alignnone size-full wp-image-12335" data-selected="false"></a></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div><h1 class="cf1"><span class="fs16">Les erreurs</span></h1><h3 class="cf1"><span class="fs16">WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!</span></h3><p class="mb1"><span class="fs16">Cette erreur survient lorsque que vous avez réinstallé Raspbian que et vous réessayer de vous connecter en SSH. Ce message signifie que vos clés SSH ont changé.</span></p><p class="mb1"><span class="fs16">Pour résoudre le problème il faut réactualiser les clés SSH avec cette commande</span></p><pre class="mt2 mb1 cf4"><span class="fs16 ff1">ssh-keygen -R adresse-ip</span></pre><p class="mb1"><span class="fs16">Remplacer adresse-ip par l’ip de votre Raspberry pi.</span></p></div></div>]]></description>
			<pubDate>Wed, 09 Jan 2013 22:22:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?se-connecter-en-ssh-au-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/bz8h6yty</guid>
		</item>
		<item>
			<title><![CDATA[Connexion en SSH et VNC sur le Raspberry-Pi]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_5dgsg6r2"><header class="entry-header page-header cf1" style="box-sizing: border-box; padding-bottom: 0px; margin: 0px 0px 20px; border-bottom-width: 0px; line-height: 23.8px; widows: 1;"><h1 class="entry-title &nbsp;cf1" style="box-sizing: border-box; margin: 0px 0px 30px; line-height: 1.1;"><span class="fs16">Connexion en SSH et VNC sur le Raspberry-Pi</span></h1><div class="entry-meta" style="box-sizing: border-box; margin-bottom: 30px;"><span class="fs16"><span style="line-height: 23px;">L’accès distant peut-être très intéressant pour votre Raspberry-Pi selon l’utilisation que vous voulez en faire. (</span><em style="line-height: 23px; box-sizing: border-box;">station de téléchargements, gérer son RPI à distance, et j’en passe.</em><span style="line-height: 23px;">)</span></span></div></header><div class="entry-content" style="box-sizing: border-box; margin: 1.5em 0px 0px; line-height: 23.8px; widows: 1;"><p style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"><span class="fs16">Voici donc un petit tutoriel pour accéder à votre petit Raspberry-Pi par SSH ou VNC.<br style="box-sizing: border-box;"><span id="more-356" style="box-sizing: border-box;"></span><br style="box-sizing: border-box;"></span></p><div class="encart prerequis" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(216, 216, 235); background-image: url(http://rendering/images/clipboard.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span style="box-sizing: border-box; font-weight: 700;" class="fs16 cf1">PRE-REQUIS :</span><p style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"></p><p style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"><span style="box-sizing: border-box; font-weight: 700;" class="fs16">Matériels :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;"><li dir="ltr" style="box-sizing: border-box;"><span class="fs16"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">Raspberry-Pi <span style="box-sizing: border-box; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;">Model B,</span> <span style="box-sizing: border-box; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;">Model B+</span>.</a></span></li><li dir="ltr" style="box-sizing: border-box;"><span style="box-sizing: border-box; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs16 cf2"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">Carte Mémoire SDHC Class 10 8 Go</a></span></li><li dir="ltr" style="box-sizing: border-box;"><span style="box-sizing: border-box; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs16 cf2"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">Câble HDMI</a></span></li><li dir="ltr" style="box-sizing: border-box;"><span style="box-sizing: border-box; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs16 cf2"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">Câble ethernet RJ45</a></span></li><li dir="ltr" style="box-sizing: border-box;"><span style="box-sizing: border-box; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs16 cf2"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">Chargeur smartphone</a></span></li><li dir="ltr" style="box-sizing: border-box;"><span style="box-sizing: border-box; transition: all 0.3s; -webkit-transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs16 cf2"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">Clavier et Souris USB</a></span></li><li dir="ltr" style="box-sizing: border-box;"><span class="fs16"><a href="http://www.raspberry-pi.ovh/blog/index.php" class="imCssLink" onclick="return x5engine.utils.location('http://www.raspberry-pi.ovh/blog/index.php', null, false)">Un moniteur (Ecran)</a></span></li></ul><p style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"><span style="box-sizing: border-box; font-weight: 700;" class="fs16">Logiciels :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"><li dir="ltr" style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs16 cf3"><a href="http://www.putty.org/" target="_blank" class="imCssLink">Putty</a></span></li><li dir="ltr" style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs16 cf3"><a href="http://www.realvnc.com/download/viewer/" target="_blank" class="imCssLink">RealVNC</a></span></li></ul><p style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"><span style="box-sizing: border-box; font-weight: 700;" class="fs16">Tutoriel :</span></p><ul style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"><li style="box-sizing: border-box;"><span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs16 cf3"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">Installation et configuration de Raspbian</a></span></li></ul><p style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"></p></div><span class="fs16 cf1"><br style="box-sizing: border-box;"></span><p style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"></p><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf4"><span class="fs16">Connexion en SSH</span></h2><p style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"><span class="fs16">Une fois Putty télécharger, lancez-le puis procédé comme suit :</span></p><figure id="attachment_364" class="thumbnail wp-caption aligncenter cf1" style="box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; line-height: 1.42857; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs16 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2013/01/putty1.png" data-rel="lightbox-0" title="" sl-processed="1" class="inline-block"><img class="wp-image-364 size-medium" src="http://www.windtopik.fr/wp-content/uploads/2013/01/putty1-300x288.png" alt="putty1" width="300" height="288" srcset="http://www.windtopik.fr/wp-content/uploads/2013/01/putty1-300x288.png 300w, http://www.windtopik.fr/wp-content/uploads/2013/01/putty1.png 466w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf5" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs16">Putty Configuration</span></figcaption></figure><figure id="attachment_365" class="thumbnail wp-caption aligncenter cf1" style="box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; line-height: 1.42857; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs16 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2013/01/putty2.png" data-rel="lightbox-1" title="" sl-processed="1" class="inline-block"><img class="wp-image-365 size-medium" src="http://www.windtopik.fr/wp-content/uploads/2013/01/putty2-300x287.png" alt="putty2" width="300" height="287" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf5" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs16">Putty Configuration (2)</span></figcaption></figure><p style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"><span class="fs16">Une fois les réglages effectués, cliquez sur Open. Un message vous informera que la clé SSH du RPI n’est pas enregistrée sur le votre, cliquez sur Oui pour continuer.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"><span class="fs16">Maintenant, identifiez-vous avec le login suivant :</span></p><div style="box-sizing: border-box;" class="cf1"><div id="highlighter_63906" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="631" data-minrequestedwidth="631"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 595px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs16 cf6 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">Login as:pi</code></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs16 cf6 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">password:raspberry</code></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"><span class="fs16">Vous pouvez maintenant interagir avec votre Raspberry-Pi en ligne de commande.</span></p><figure id="attachment_370" class="thumbnail wp-caption aligncenter cf1" style="box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; line-height: 1.42857; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 310px;"><span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs16 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2013/01/putty3.png" data-rel="lightbox-2" title="" sl-processed="1" class="inline-block"><img class="wp-image-370 size-medium" src="http://www.windtopik.fr/wp-content/uploads/2013/01/putty3-300x188.png" alt="putty3" width="300" height="188" srcset="http://www.windtopik.fr/wp-content/uploads/2013/01/putty3-300x188.png 300w, http://www.windtopik.fr/wp-content/uploads/2013/01/putty3.png 676w" sizes="(max-width: 300px) 100vw, 300px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf5" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs16">Putty Terminal</span></figcaption></figure><h2 style="box-sizing: border-box; line-height: 1.1; margin-top: 20px; margin-bottom: 10px;" class="cf4"><span class="fs16">Connexion en VNC</span></h2><p style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"><span class="fs16">Connectez-vous en local sur votre RPI ou en SSH avec l’utilisateur pi.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"><span class="fs16">Installation de tightvncserver :</span></p><div style="box-sizing: border-box;" class="cf1"><div id="highlighter_350751" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="631" data-minrequestedwidth="631"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 1127px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell functions cf7" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">sudo</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">apt-get </code><code class="shell functions cf7" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">install</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">tightvncserver</code></span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">Après cette </code><code class="shell functions cf7" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">op</code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">ération, 12,4 Mo d'espace disque supplémentaires seront utilisés. Souhaitez-vous continuer [O</code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/n</code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">] ? o</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"><span class="fs16">Une fois l’installation terminée, executer vnc :</span></p><div style="box-sizing: border-box;" class="cf1"><div id="highlighter_664531" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="631" data-minrequestedwidth="631"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 595px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs16 cf6 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">tightvncserver</code></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs16 cf6 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">You will require a password to access your desktops.</code></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"><span class="fs16">On nous demande alors de spécifier un mot de passe pour accéder au bureau :</span></p><div style="box-sizing: border-box;" class="cf1"><div id="highlighter_750020" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="631" data-minrequestedwidth="631"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">2</span></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">3</span></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">4</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 595px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs16 cf6 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">Password:</code></div><div class="line number2 index1 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs16 cf6 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">Verify:</code></div><div class="line number3 index2 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16"> </span></div><div class="line number4 index3 alt1" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">Would you like to enter a view-only password (y</code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">/n</code><code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">)? n</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"><span class="fs16"><span style="box-sizing: border-box; font-weight: 700;">n</span> : Non, pas de mot de passe pour un accès en lecture seule.</span></p><p style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"><span class="fs16">Voila pour les modifications sur le Raspberry-Pi. Maintenant placez-vous sur le poste par lequel vous souhaitez vous connecter en VNC :</span></p><p style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"><span class="fs16">Installer VNC par le lien en au de l’article en choisissant la version correspondante à votre système. Dans la partie VNC Serveur y mettre votre adresse IP suivit de :1 (écran 1)</span></p><figure id="attachment_380" class="thumbnail wp-caption aligncenter cf1" style="box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; line-height: 1.42857; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 362px;"><span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs16 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2013/01/vnc1.png" data-rel="lightbox-3" title="" sl-processed="1" class="inline-block"><img class="wp-image-380 size-full" src="http://www.windtopik.fr/wp-content/uploads/2013/01/vnc1.png" alt="vnc1" width="352" height="145" srcset="http://www.windtopik.fr/wp-content/uploads/2013/01/vnc1-300x123.png 300w, http://www.windtopik.fr/wp-content/uploads/2013/01/vnc1.png 352w" sizes="(max-width: 352px) 100vw, 352px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf5" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs16">VNC Viewer</span></figcaption></figure><p style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"><span class="fs16">Acceptez la connexion non sécurisée, apez ensuite votre mot de passe. Et voilà vous avez maintenant accès à votre RPI avec une fenêtre VNC ! Enjoy <img draggable="false" class="emoji" alt="😉" src="https://s.w.org/images/core/emoji/72x72/1f609.png" style="box-sizing: border-box; max-width: 100%; vertical-align: -0.1em !important; height: 1em !important; display: inline !important; box-shadow: none !important; width: 1em !important; margin-right: 0.07em !important; margin-left: 0.07em !important; padding: 0px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-selected="false"></span></p><figure id="attachment_383" class="thumbnail wp-caption aligncenter cf1" style="box-sizing: border-box; margin: 0px auto 1.5em; padding: 4px; line-height: 1.42857; border: 1px solid rgb(204, 204, 204); border-radius: 4px; clear: both; max-width: 100%; width: 610px;"><span style="box-sizing: border-box; text-decoration: none; -webkit-transition: all 0.3s; transition: all 0.3s; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;" class="fs16 cf3"><a href="http://www.windtopik.fr/wp-content/uploads/2013/01/vnc2.png" data-rel="lightbox-4" title="" sl-processed="1" class="inline-block"><img class="wp-image-383 size-large" src="http://www.windtopik.fr/wp-content/uploads/2013/01/vnc2-1024x769.png" alt="vnc2" width="600" height="450" srcset="http://www.windtopik.fr/wp-content/uploads/2013/01/vnc2-300x225.png 300w, http://www.windtopik.fr/wp-content/uploads/2013/01/vnc2-1024x769.png 1024w, http://www.windtopik.fr/wp-content/uploads/2013/01/vnc2.png 1212w" sizes="(max-width: 600px) 100vw, 600px" style="box-sizing: border-box; border-width: 0px; vertical-align: middle; height: auto; max-width: 100%; display: block; margin-left: auto; margin-right: auto;" data-selected="false"></a></span><figcaption class="caption wp-caption-text cf5" style="box-sizing: border-box; text-align: center; padding: 9px; margin: 0.8075em 0px;"><span class="fs16">Connexion à distance avec VNC</span></figcaption></figure><div class="encart warning cf1" style="box-sizing: border-box; min-height: 2px; margin: 4px auto; padding: 8px 8px 8px 45px; border: 2px solid rgb(232, 226, 195); background-image: url(http://rendering/images/warning.png); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 5px 50%; background-repeat: no-repeat;"><span class="fs16">Lors d’un redémarrage du Raspberry PI il faut de taper : <span style="box-sizing: border-box; font-weight: 700;">vncserver</span> dans le terminal pour lancer le serveur VNC.</span></div><p style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"><span class="fs16">Pour activer automatiquement la commande au démarrage, tapez dans le terminal :</span></p><div style="box-sizing: border-box;" class="cf1"><div id="highlighter_354771" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="631" data-minrequestedwidth="631"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 595px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16 ff1"><code class="shell functions cf7" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">crontab</code> <code class="shell plain cf6" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">-e</code></span></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"><span class="fs16">Puis insérez la ligne suivante à la fin du fichier :</span></p><div style="box-sizing: border-box;" class="cf1"><div id="highlighter_140012" class="syntaxhighlighter &nbsp;shell" style="box-sizing: border-box; width: 648px; margin: 1em 0px !important; position: relative !important; overflow: auto !important;"><table border="0" cellpadding="0" cellspacing="0" style="border-spacing: 0px; max-width: 100%; width: 631px; box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-computedwidth="631" data-minrequestedwidth="631"><tbody style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tr style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><td class="gutter imVt" style="box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; color: rgb(175, 175, 175) !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="fs16">1</span></div></td><td class="code imVt" style="color: rgb(255, 255, 255); width: 595px; box-sizing: content-box !important; padding: 0px !important; border: 0px !important; border-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="container" style="box-sizing: content-box !important; padding: 0px !important; margin: 0px !important; width: auto !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="line number1 index0 alt2" style="box-sizing: content-box !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain fs16 cf6 ff1" style="white-space: nowrap; box-sizing: content-box !important; padding: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">@reboot vncserver</code></div></div></td></tr></tbody></table></div></div><p style="box-sizing: border-box; margin-bottom: 10px;" class="cf1"><span class="fs16">Et voila pour la connexion à distance ! <img draggable="false" class="emoji" alt="😉" src="https://s.w.org/images/core/emoji/72x72/1f609.png" style="box-sizing: border-box; max-width: 100%; vertical-align: -0.1em !important; height: 1em !important; display: inline !important; box-shadow: none !important; width: 1em !important; margin-right: 0.07em !important; margin-left: 0.07em !important; padding: 0px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;" data-selected="false"></span></p></div></div>]]></description>
			<pubDate>Tue, 08 Jan 2013 12:40:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?connexion-en-ssh-et-vnc-sur-le-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/5dgsg6r2</guid>
		</item>
		<item>
			<title><![CDATA[Comment Monitorer son Raspberry (Raspcontrol) ?]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_yaf5nmfs"><div class="level1 cf5 cb4"><p class="mb1"><span class="fs12"><img src="http://www.tropfacile.net/lib/exe/fetch.php/raspberry-pi/raspcontrol.png" alt="" class="media" data-selected="true"></span></p><hr class=""><p class="mb1"><span class="fs12"><img src="http://www.tropfacile.net/lib/exe/fetch.php/raspberry-pi/raspcontroll.png" alt="" class="media" data-selected="false"></span></p><hr class=""><p class="mb1"><span class="fs12">Pré-requis : Avoir un serveur web fonctionnel <span class="cf1"><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-installer-un-serveur-web-lamp" class="wikilink1" title="raspberry-pi:comment-installer-un-serveur-web-lamp">(LAMP)</a></span> / <span class="cf1"><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-installer-un-serveur-web-nginx" class="wikilink1" title="raspberry-pi:comment-installer-un-serveur-web-nginx">(Nginx)</a></span></span></p><hr class=""><p class="mb1"><span class="fs12">Connectez-vous en local sur votre raspberry ou par <span class="cf1"><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-se-connecter-en-ssh" class="wikilink1" title="raspberry-pi:comment-se-connecter-en-ssh">ssh</a></span> avec l'utilisateur <strong>pi</strong>. Vous pouvez aussi prendre n'importe quel utilisateur avec les droits<span class="cf1"><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-devenir-super-utilisateur" class="wikilink1" title="raspberry-pi:comment-devenir-super-utilisateur">sudo</a></span>.</span></p><p class="mb1"><span class="fs12">Installation de PHP5-cli:</span></p><pre class="mt1 mb1 code bash cf3 cb1"><span class="fs12 ff1"><b><span class="kw2 cf2">sudo</span></b> <b><span class="kw2 cf2">apt-get install</span></b> php5-cli</span></pre><p class="mb1"><span class="fs12">Vérification de l'installation de php :</span></p><pre class="mt1 mb1 code bash cf3 cb1"><span class="fs12 ff1">php <span class="re5">-v</span></span></pre><p class="mb1"><span class="fs12">Téléchargement de Raspcontrol :</span></p><pre class="mt1 mb1 code bash cf3 cb1"><span class="fs12 ff1"><b><span class="kw2 cf2">wget</span></b> https:<span class="sy0 cf4">//</span>github.com<span class="sy0 cf4">/</span>harmon25<span class="sy0 cf4">/</span>Raspcontrol<span class="sy0 cf4">/</span>zipball<span class="sy0 cf4">/</span>master</span></pre><p class="mb1"><span class="fs12">Décompression de l'archive :</span></p><pre class="mt1 mb1 code bash cf3 cb1"><span class="fs12 ff1"><b><span class="kw2 cf2">unzip</span></b> master</span></pre><p class="mb1"><span class="fs12">Changement du nom du dossier pour un nom plus simple:</span></p><pre class="mt1 mb1 code bash cf3 cb1"><span class="fs12 ff1"><b><span class="kw2 cf2">mv</span></b> harmon25-raspcontrol-00b5384<span class="sy0 cf4">/</span> Raspcontrol</span></pre><p class="mb1"></p><p class="mb1"></p><div class="imTAJustify notetip cb2"><span class="fs12">Pensez à changer la valeur <strong>00b5384 </strong>en fonction de la version téléchargé.</span></div><p class="mb1"></p><p class="mb1"></p><p class="mb1"><span class="fs12">Nous allons maintenant déplacer le dossier <strong>Raspcontrol</strong> dans le répertoire <strong>/var/www</strong> :</span></p><pre class="mt1 mb1 code bash cf3 cb1"><span class="fs12 ff1"><b><span class="kw2 cf2">sudo</span></b> <b><span class="kw2 cf2">mv</span></b> Raspcontrol <span class="sy0 cf4">/</span>var<span class="sy0 cf4">/</span>www<span class="sy0 cf4">/</span></span></pre><p class="mb1"><span class="fs12">Création du login et du mot de passe pour accèder à <strong>Raspcontrol</strong>:</span></p><pre class="mt1 mb1 code bash cf3 cb1"><span class="fs12 ff1"><b><span class="kw2 cf2">sudo</span></b> <b><span class="kw2 cf2">mkdir</span></b> <span class="sy0 cf4">/</span>etc<span class="sy0 cf4">/</span>raspcontrol</span></pre><pre class="mt1 mb1 code bash cf3 cb1"><span class="fs12 ff1"><b><span class="kw2 cf2">sudo</span></b> <b><span class="kw2 cf2">touch</span></b> <span class="sy0 cf4">/</span>etc<span class="sy0 cf4">/</span>raspcontrol<span class="sy0 cf4">/</span>database.aptmnt</span></pre><pre class="mt1 mb1 code bash cf3 cb1"><span class="fs12 ff1"><b><span class="kw2 cf2">sudo</span></b> <b><span class="kw2 cf2">nano</span></b> <span class="sy0 cf4">/</span>etc<span class="sy0 cf4">/</span>raspcontrol<span class="sy0 cf4">/</span>database.aptmnt</span></pre><p class="mb1"><span class="fs12">Copiez Collez le contenu suivant et sauvegardez :</span></p><pre class="mt1 mb1 code cf3 cb1"><span class="fs12 ff1">{
"user":"admin",
"password":"admin"
}</span></pre><p class="mb1"></p><p class="mb1"></p><div class="imTAJustify notewarning cb3"><span class="fs12">Veuillez changer le login et le mot de passe.</span></div><p class="mb1"></p><p class="mb1"></p><p class="mb1"><span class="fs12">On ajoute maintenant l'utilisateur <strong>www-data</strong> au groupe <strong>video</strong></span></p><pre class="mt1 mb1 code bash cf3 cb1"><span class="fs12 ff1"><b><span class="kw2 cf2">sudo</span></b> usermod <span class="re5">-a</span> <span class="re5">-G</span> video www-data</span></pre><hr class=""></div><h1 id="configurez-nginx-pour-supporter-raspcontrol" class="sectionedit1 cf5 cb4"><span class="fs12">Configurez Nginx pour supporter Raspcontrol</span></h1><div class="level1 cf5 cb4"><hr class=""><pre class="mt1 mb1 code bash cf3 cb1"><span class="fs12 ff1"><b><span class="kw2 cf2">sudo</span></b> <b><span class="kw2 cf2">nano</span></b> <span class="sy0 cf4">/</span>etc<span class="sy0 cf4">/</span>nginx<span class="sy0 cf4">/</span>sites-enabled<span class="sy0 cf4">/</span>default</span></pre><p class="mb1"><span class="fs12">Ajoutez après :</span></p><pre class="mt1 mb1 code cf3 cb1"><span class="fs12 ff1">location / {
 &nbsp;&nbsp;&nbsp;root &nbsp;&nbsp;/var/www;
 &nbsp;&nbsp;&nbsp;index &nbsp;index.php index.html index.htm;</span></pre><p class="mb1"><span class="fs12">ces 2 lignes</span></p><pre class="mt1 mb1 code bash cf3 cb1"><span class="fs12 ff1"> &nbsp;&nbsp;&nbsp;rewrite ^<span class="sy0 cf4">/</span>Raspcontrol<span class="sy0 cf4">/</span>details$ <span class="sy0 cf4">/</span>Raspcontrol<span class="sy0 cf4">/</span>index.php?<span class="re2 cf6">page</span>=details <b><span class="kw2 cf2">last</span></b>;
 &nbsp;&nbsp;&nbsp;rewrite ^<span class="sy0 cf4">/</span>Raspcontrol<span class="sy0 cf4">/</span><span class="kw3 cf7">logout</span>$ <span class="sy0 cf4">/</span>Raspcontrol<span class="sy0 cf4">/</span>login.php?<span class="kw3 cf7">logout</span> <b><span class="kw2 cf2">last</span></b>;</span></pre><p class="mb1"><span class="fs12">On relance Nginx :</span></p><pre class="mt1 mb1 code bash cf3 cb1"><span class="fs12 ff1"><b><span class="kw2 cf2">sudo</span></b> service nginx reload</span></pre><p class="mb1"><span class="fs12">Vous pouvez maintenant vous connecter à Raspcontrol : <span class="cf1"><a href="http://votreip/Raspcontrol" class="urlextern" target="_blank" title="http://votreip/Raspcontrol" rel="nofollow">http://votreip/Raspcontrol</a></span></span></p><p class="mb1"></p><div class="imTAJustify notewarning cb3"><span class="fs12">Attention au <strong>R</strong> Majuscule</span></div><p class="mb1"></p><p class="mb1"></p><hr class=""></div><h1 id="configurez-apache2-pour-supporter-raspcontrol" class="sectionedit2 cf5 cb4"><span class="fs12">Configurez Apache2 pour supporter Raspcontrol</span></h1><div class="level1 cf5 cb4"><hr class=""><p class="mb1"><span class="fs12">On active l'extention rewrite d'apache :</span></p><pre class="mt1 mb1 code bash cf3 cb1"><span class="fs12 ff1"><b><span class="kw2 cf2">sudo</span></b> a2enmod rewrite</span></pre><p class="mb1"><span class="fs12">On édite le fichier par défault d'apache :</span></p><pre class="mt1 mb1 code bash cf3 cb1"><span class="fs12 ff1"><b><span class="kw2 cf2">sudo</span></b> <b><span class="kw2 cf2">nano</span></b> <span class="sy0 cf4">/</span>etc<span class="sy0 cf4">/</span>apache2<span class="sy0 cf4">/</span>sites-enabled<span class="sy0 cf4">/</span>000-default</span></pre><p class="mb1"><span class="fs12">Pour la version <abbr title="Secure Sockets Layer" class="">SSL</abbr> :</span></p><pre class="mt1 mb1 code bash cf3 cb1"><span class="fs12 ff1"><b><span class="kw2 cf2">sudo</span></b> <b><span class="kw2 cf2">nano</span></b> <span class="sy0 cf4">/</span>etc<span class="sy0 cf4">/</span>apache2<span class="sy0 cf4">/</span>sites-enabled<span class="sy0 cf4">/</span>default-ssl</span></pre><p class="mb1"><span class="fs12">Cherchez la section :</span></p><pre class="mt1 mb1 code cf3 cb1"><span class="fs12 ff1">&lt;Directory /var/www/&gt;
[...]
&lt;/Directory&gt;</span></pre><p class="mb1"><span class="fs12">Et modifiez comme suit :</span></p><pre class="mt1 mb1 code cf3 cb1"><span class="fs12 ff1">Options Indexes FollowSymLinks MultiViews
 &nbsp;&nbsp;&nbsp;AllowOverride All
 &nbsp;&nbsp;&nbsp;Order allow,deny
 &nbsp;&nbsp;&nbsp;Allow from all</span></pre><p class="mb1"><span class="fs12">On relance apache2 :</span></p><pre class="mt1 mb1 code bash cf3 cb1"><span class="fs12 ff1"><b><span class="kw2 cf2">sudo</span></b> service apache2 reload</span></pre><p class="mb1"><span class="fs12">Vous pouvez maintenant vous connecter à Raspcontrol : <span class="cf1"><a href="http://votreip/Raspcontrol" class="urlextern" target="_blank" title="http://votreip/Raspcontrol" rel="nofollow">http://votreip/Raspcontrol</a></span></span></p><p class="mb1"></p><div class="imTAJustify notewarning cb3"><span class="fs12">Attention au <strong>R</strong> Majuscule</span></div></div></div>]]></description>
			<pubDate>Thu, 25 Oct 2012 09:53:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?comment-monitorer-son-raspberry--raspcontrol---</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/yaf5nmfs</guid>
		</item>
		<item>
			<title><![CDATA[Comment déporter son affichage avec VNC ?]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_vj8y388w"><h1 class="cf2"><span class="fs12 cf1"><a name="comment-deporter-son-affichage-avec-vnc" id="comment-deporter-son-affichage-avec-vnc" href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-deporter-sont-affichage-avec-vnc">Comment déporter son affichage avec VNC ?</a></span></h1><div class="level1 cf2"><hr class=""><p class="mb1"><span class="fs12">Connectez vous en local sur votre raspberry ou par <span class="cf1"><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-se-connecter-en-ssh" class="wikilink1" title="raspberry-pi:comment-se-connecter-en-ssh">ssh</a></span> avec l'utilisateur <strong>pi</strong>. Vous pouvez aussi prendre n'importe quel utilisateur avec les droits<span class="cf1"><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-devenir-super-utilisateur" class="wikilink1" title="raspberry-pi:comment-devenir-super-utilisateur">sudo</a></span>.</span></p><p class="mb1"><span class="fs12">Nous allons utiliser <strong>tightvncserver</strong>.</span></p><p class="mb1"><span class="fs12">Installation de tightvncserver :</span></p><pre class="mt1 mb1 code bash cf4"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">apt-get install</span></b> tightvncserver</span></pre><pre class="mt1 mb1 code bash cf4"><span class="fs12 ff1">Après cette opération, <span class="nu0 cf5">12</span>,<span class="nu0 cf5">4</span> Mo d<span class="st_h">'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer [O/n] ? o</span></span></pre><p class="mb1"><span class="fs12">Une fois installé, on l'exécute pour la première fois :</span></p><pre class="mt1 mb1 code bash cf4"><span class="fs12 ff1">tightvncserver</span></pre><pre class="mt1 mb1 code bash cf4"><span class="fs12 ff1">You will require a password to access your desktops.</span></pre><p class="mb1"><span class="fs12">On nous demande de rentrer un mot de passe pour accéder au bureau. On le remplis 2 fois et on valide :</span></p><pre class="mt1 mb1 code bash cf4"><span class="fs12 ff1">Password:
Verify: &nbsp;</span></pre><pre class="mt1 mb1 code bash cf4"><span class="fs12 ff1">Would you like to enter a view-only password <span class="br0 cf6">(</span>y<span class="sy0 cf6">/</span>n<span class="br0 cf6">)</span>?</span></pre><p class="mb1"><span class="fs12"><strong>n</strong> : Non nous ne voulons pas de mot de passe pour un accès en lecture seule.</span></p><pre class="mt1 mb1 code bash cf4"><span class="fs12 ff1">xauth: &nbsp;<b><span class="kw2 cf3">file</span></b> <span class="sy0 cf6">/</span>home<span class="sy0 cf6">/</span>pi<span class="sy0 cf6">/</span>.Xauthority does not exist
New <span class="st_h">'X'</span> desktop is tropfacile:<span class="nu0 cf5">1</span>
Creating default startup script <span class="sy0 cf6">/</span>home<span class="sy0 cf6">/</span>pi<span class="sy0 cf6">/</span>.vnc<span class="sy0 cf6">/</span>xstartup
Starting applications specified <span class="kw1 cf7">in</span> <span class="sy0 cf6">/</span>home<span class="sy0 cf6">/</span>pi<span class="sy0 cf6">/</span>.vnc<span class="sy0 cf6">/</span>xstartup
Log <b><span class="kw2 cf3">file</span></b> is <span class="sy0 cf6">/</span>home<span class="sy0 cf6">/</span>pi<span class="sy0 cf6">/</span>.vnc<span class="sy0 cf6">/</span>tropfacile:<span class="nu0 cf5">1</span>.log</span></pre><p class="mb1"><span class="fs12">Partie serveur c'est terminé, il nous faut maintenant le logiciel client :</span></p><p class="mb1"><span class="fs12 cf1"><a href="http://www.realvnc.com/download/viewer/" class="urlextern" target="_blank" title="http://www.realvnc.com/download/viewer/" rel="nofollow">http://www.realvnc.com/download/viewer/</a></span></p><p class="mb1"><span class="fs12">Choisissez la version correspondant à votre système d'exploitation et installez la.</span></p><p class="mb1"><span class="fs12">Dans la partie VNC Serveur y mettre votre adresse ip suivit de <strong>:1</strong> (écran 1)</span></p><p class="mb1"><span class="fs12"><img src="http://www.tropfacile.net/lib/exe/fetch.php/raspberry-pi/vnc1.png" alt="" class="media" data-selected="false"></span></p><p class="mb1"><span class="fs12">Acceptez la connexion non sécurisé</span></p><p class="mb1"><span class="fs12"><img src="http://www.tropfacile.net/lib/exe/fetch.php/raspberry-pi/vnc2.png" alt="" class="media" data-selected="false"></span></p><p class="mb1"><span class="fs12">Tapez votre mot de passe</span></p><p class="mb1"><span class="fs12"><img src="http://www.tropfacile.net/lib/exe/fetch.php/raspberry-pi/vnc3.png" alt="" class="media" data-selected="false"></span></p><p class="mb1"><span class="fs12">Vous avez maintenant accès à votre RaspBerry avec une interface graphique déporté :)</span></p><p class="mb1"><span class="fs12"><img src="http://www.tropfacile.net/lib/exe/fetch.php/raspberry-pi/vnc4.png" alt="" class="media" data-selected="false"></span></p><p class="mb1"><span class="fs12">Par la suite il suffit de taper : <strong>vncserver</strong> dans le terminal pour lancer le serveur VNC (utile lors de reboot)</span></p><p class="mb1"></p><p class="mb1"></p><div class="imTAJustify notetip"><span class="fs12">Si vous voulez changer la résolution de l'écran, tapez : <strong>vncserver :1 -geometry 1024×768 -depth 24</strong></span></div></div></div>]]></description>
			<pubDate>Mon, 27 Aug 2012 10:34:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?comment-deporter-son-affichage-avec-vnc--</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/vj8y388w</guid>
		</item>
		<item>
			<title><![CDATA[Comment créer son serveur cloud ?]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_htm8l8k7"><h1 class="cf2"><span class="fs16 cf1"><a name="comment-creer-son-serveur-cloud" id="comment-creer-son-serveur-cloud" href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-creer-sont-serveur-cloud">Comment créer son serveur cloud ?</a></span></h1><div><br></div><div class="level1 cf2">Avant tout : il faut rediriger le port 80 sur votre box internet pour pouvoir utiliser le service à distance.<div><br></div><div>Dans l'utilisation d'un réseau local (LAN) il n'est pas nécessaire de faire cette manipulation.</div><hr class=""><p class="mb1"><span class="fs16">Connectez vous en local sur votre raspberry ou par <span class="cf1"><span><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-se-connecter-en-ssh" class="wikilink1" title="raspberry-pi:comment-se-connecter-en-ssh">ssh</a></span></span> avec l'utilisateur <strong>pi</strong>. Vous pouvez aussi prendre n'importe quel utilisateur avec les droits<span class="cf1"><span><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-devenir-super-utilisateur" class="wikilink1" title="raspberry-pi:comment-devenir-super-utilisateur">sudo</a></span></span>.</span></p><p class="mb1"><span class="fs16">Nous allons installer <strong>ownCloud</strong> version <strong>5.0.5</strong> et utiliser notre carte SD pour le stockage de données.</span></p><p class="mb1"><span class="fs16">Pré-requis : <span class="cf1"><span><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-installer-un-serveur-web-lamp" class="wikilink1" title="raspberry-pi:comment-installer-un-serveur-web-lamp">Avoir un serveur web fonctionnel</a></span></span></span></p><p class="mb1"><span class="fs16">Téléchargement et installation des dépendances pour ownCloud :</span></p><pre class="mt1 mb1 code bash cf4"><span class="fs16 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">apt-get install</span></b> php5-json php5-gd php5-sqlite curl libcurl3 libcurl3-dev php5-curl php5-common php-xml-parser sqlite</span></pre><p class="mb1"><span class="fs16">Téléchargement d'ownCloud :</span></p><pre class="mt1 mb1 code bash cf4"><span class="fs16 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">wget</span></b> http:<span class="sy0 cf5">//</span>download.owncloud.org<span class="sy0 cf5">/</span>community<span class="sy0 cf5">/</span>owncloud-5.0.5.tar.bz2</span></pre><p class="mb1"><span class="fs16">Décompression de l'archive ownCloud :</span></p><pre class="mt1 mb1 code bash cf4"><span class="fs16 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">tar</span></b> -vxjf owncloud-5.0.5.tar.bz2</span></pre><p class="mb1"><span class="fs16">Installation d'ownCloud :</span></p><p class="mb1"></p><div class="imTAJustify notetip"><span class="fs16">A partir d'ici <strong>plus rien ne va s'afficher à l'écran aucun retour terminal</strong>, si vous avez bien suivis le tutoriel tout se passera correctement:)</span></div><p class="mb1"></p><p class="mb1"></p><pre class="mt1 mb1 code bash cf4"><span class="fs16 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">mv</span></b> owncloud <span class="sy0 cf5">/</span>var<span class="sy0 cf5">/</span>www</span></pre><pre class="mt1 mb1 code bash cf4"><span class="fs16 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">chown</span></b> -R www-data:www-data <span class="sy0 cf5">/</span>var<span class="sy0 cf5">/</span>www<span class="sy0 cf5">/</span>owncloud</span></pre><p class="mb1"><span class="fs16">ownCloud est maintenant correctement installé et est disponible sur l'adresse ip de votre Raspberry.</span></p><p class="mb1"><span class="fs16">Allez dans votre navigateur internet favoris et tapez dans la barre d'adresse l'ip du raspberry comme ceci:</span></p><p class="mb1"><span class="fs16"><strong><span class="cf1"><span><a href="http://192.168.1.21/owncloud" class="urlextern" target="_blank" title="http://192.168.1.21/owncloud" rel="nofollow">http://192.168.1.21/owncloud</a></span></span> dans mon cas</strong>.</span></p><p class="mb1"><strong class="fs16">(Facultatif) Changement du dossier de stockage des données :</strong></p><p class="mb1"><span class="fs16">Création d'un nouveau répertoire de stockage à la racine du dossier utilisateur:</span></p><pre class="mt1 mb1 code bash cf4"><span class="fs16 ff1"><b><span class="kw2 cf3">mkdir</span></b> ~<span class="sy0 cf5">/</span>data</span></pre><p class="mb1"><span class="fs16">Je donne les droits à owncloud d'utiliser le dossier data :</span></p><pre class="mt1 mb1 code bash cf4"><span class="fs16 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">chown</span></b> -R www-data:www-data <span class="sy0 cf5">/</span>home<span class="sy0 cf5">/</span>pi<span class="sy0 cf5">/</span>data</span></pre><p class="mb1"></p><p class="mb1"></p><div class="imTAJustify notewarning"><span class="fs16"><strong>/!\ Attention /!\</strong> Si vous souhaitez utiliser une clé USB ou un point de montage SMB, CIFS etc, vous ne pourrez plus naviguer dans se dossier, car seul l'utilisateur : <strong>www-data</strong> et le groupe <strong>www-data</strong> y on accès.</span></div><p class="mb1"></p><p class="mb1"></p><p class="mb1"><strong class="fs16">(Recommandé) Installation facile :</strong></p><p class="mb1"><span class="fs16">Choisissez votre Login ainsi que votre mot de passe.</span></p><p class="mb1"><span class="fs16">Cliquez sur <strong>Avancé</strong> si vous avez besoin de changer le répertoire de stockage des données.</span></p><p class="mb1"><span class="fs16">Puis cliquez sur <strong>Terminer l'installation</strong></span></p><p class="mb1"><strong class="fs16">(Experts) Installation avec MySql :</strong></p><p class="mb1"><span class="fs16">Pré-requis : <span class="cf1"><span><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-ajouter-un-utilisateur-phpmyadmin" class="wikilink1" title="raspberry-pi:comment-ajouter-un-utilisateur-phpmyadmin">Avoir un utilisateur MySql</a></span></span></span></p><p class="mb1"><span class="fs16">Choisissez votre Login ainsi que votre mot de passe.</span></p><p class="mb1"><span class="fs16">Cliquez sur <strong>Avancé</strong> changez ici le répertoire des données à votre convenance et cliquez en bas sur <strong>MySql</strong> et remplissez les informations demandé.</span></p><pre class="mt1 mb1 code cf4"><span class="fs16 ff1">Utilisateur pour la base de donnée : owncloud Mot de passe : Password Nom de la base de donnée : owncloud Serveur de la base de donnée : localhost</span></pre><p class="mb1"><span class="fs16">Puis cliquez sur <strong>Terminer l'installation</strong></span></p></div></div>]]></description>
			<pubDate>Sun, 12 Aug 2012 10:28:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?comment-creer-son-serveur-cloud--</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/htm8l8k7</guid>
		</item>
		<item>
			<title><![CDATA[Comment devenir super utilisateur?]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_3893uggc"><h1 class="cf2 cb1"><span class="fs12 cf1"><a name="comment-devenir-super-utilisateur" id="comment-devenir-super-utilisateur" href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-devenir-super-utilisateur">Comment devenir super utilisateur?</a></span></h1><div class="level1 cf2 cb1"><hr class=""><p class="mb1"></p><p class="mb1"></p><div class="imTAJustify noteclassic cb2"><span class="fs12">Un super utilisateur est un utilisateur qui possède tout les droits sur le système linux sans aucune restrictions. Sur Rasbian pour plus de commodités, nous utilisons la commande <strong>sudo</strong> qui nous permet de se faire passer pour un super utilisateur.</span></div><p class="mb1"></p><p class="mb1"></p></div><h2 id="mise-en-situation" class="sectionedit1 cf2 cb1"><span class="fs12">Mise en situation :</span></h2><div class="level2 cf2 cb1"><p class="mb1"><span class="fs12">L'utilisateur <strong>test</strong> à besoin d'installer un paquet (<strong>git</strong>), il tape dans un terminal :</span></p><pre class="mt1 mb1 code bash cf4 cb3"><span class="fs12 ff1"><b><span class="kw2 cf3">apt-get install</span></b> <b><span class="kw2 cf3">git</span></b></span></pre><p class="mb1"><span class="fs12">Permission non accordée :</span></p><pre class="mt1 mb1 code cf4 cb3"><span class="fs12 ff1">E: Impossible d'ouvrir le fichier verrou /var/lib/dpkg/lock - open (13: Permission non accordée)
E: Impossible de verrouiller le répertoire d'administration (/var/lib/dpkg/). Avez-vous les privilèges du superutilisateur ?</span></pre><p class="mb1"><span class="fs12">Il essaye avec la commande sudo :</span></p><pre class="mt1 mb1 code bash cf4 cb3"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> <b><span class="kw2 cf3">apt-get install</span></b> <b><span class="kw2 cf3">git</span></b></span></pre><pre class="mt1 mb1 code cf4 cb3"><span class="fs12 ff1">We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

 &nbsp;&nbsp;&nbsp;#1) Respect the privacy of others.
 &nbsp;&nbsp;&nbsp;#2) Think before you type.
 &nbsp;&nbsp;&nbsp;#3) With great power comes great responsibility.</span></pre><p class="mb1"><span class="fs12">Il tape sont mot de passe :</span></p><pre class="mt1 mb1 code bash cf4 cb3"><span class="fs12 ff1"><span class="br0 cf5">[</span><b><span class="kw2 cf3">sudo</span></b><span class="br0 cf5">]</span> password <span class="kw1 cf6">for</span> test: </span></pre><pre class="mt1 mb1 code bash cf4 cb3"><span class="fs12 ff1"><span class="kw3 cf7">test</span> is not <span class="kw1 cf6">in</span> the sudoers file. &nbsp;This incident will be reported.</span></pre><p class="mb1"><span class="fs12">Résultat : impossible d'installer un paquet avec l'utilisateur <strong>test</strong>.</span></p><hr class=""><p class="mb1"></p><p class="mb1"></p><div class="imTAJustify noteimportant cb4"><span class="fs12">Une fois qu'un utilisateur à les droits <strong>sudo</strong>, il peux <span class="u imUl">absolument tout faire</span> sur le Raspberry !!! Même vous enlever vos droits sudo. Veuillez faire attention à qui vous attribuez ce droit.</span></div><p class="mb1"></p><p class="mb1"></p></div><h2 id="nous-allons-ajouter-les-droits-sudo-a-l-utilisateur-test" class="sectionedit2 cf2 cb1"><span class="fs12">Nous allons ajouter les droits sudo à l'utilisateur test :</span></h2><div class="level2 cf2 cb1"><p class="mb1"><span class="fs12">Connectez vous en local sur votre raspberry ou par <span class="cf1"><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-se-connecter-en-ssh" class="wikilink1" title="raspberry-pi:comment-se-connecter-en-ssh">ssh</a></span> avec l'utilisateur <strong>pi</strong>. Vous pouvez aussi prendre n'importe quel utilisateur avec les droits<span class="curid"><span class="cf1"><a href="http://www.tropfacile.net/doku.php/raspberry-pi/comment-devenir-super-utilisateur" class="wikilink1" title="raspberry-pi:comment-devenir-super-utilisateur">sudo</a></span></span>.</span></p><pre class="mt1 mb1 code bash cf4 cb3"><span class="fs12 ff1"><b><span class="kw2 cf3">sudo</span></b> visudo</span></pre><p class="mb1"><span class="fs12">Allez à la fin du fichier, ajouter dessous la ligne pi:</span></p><pre class="mt1 mb1 code bash cf4 cb3"><span class="fs12 ff1"><span class="kw3 cf7">test</span> <span class="re2 cf8">ALL</span>=<span class="br0 cf5">(</span>ALL<span class="br0 cf5">)</span> NOPASSWD: ALL</span></pre><p class="mb1"><span class="fs12">Ce qui nous donne maintenant :</span></p><pre class="mt1 mb1 code bash cf4 cb3"><span class="fs12 ff1"><i><span class="co0 cf9">#includedir /etc/sudoers.d</span></i>
pi <span class="re2 cf8">ALL</span>=<span class="br0 cf5">(</span>ALL<span class="br0 cf5">)</span> NOPASSWD: ALL
<span class="kw3 cf7">test</span> <span class="re2 cf8">ALL</span>=<span class="br0 cf5">(</span>ALL<span class="br0 cf5">)</span> NOPASSWD: ALL</span></pre><p class="mb1"><span class="fs12">Enregistrez et quittez :</span></p><pre class="mt1 mb1 code cf4 cb3"><span class="fs12 ff1">Ctrl+O
Entrer
Ctrl+X</span></pre><p class="mb1"><span class="fs12">L'utilisateur <strong>test</strong> à maintenant les même droit que l'utilisateur <strong>pi</strong>.</span></p><p class="mb1"></p><p class="mb1"></p><div class="imTAJustify notetip cb5"><span class="fs12">Astuce : Obliger l'utilisateur test à taper sont mot de passe :</span></div><p class="mb1"></p><p class="mb1"></p><p class="mb1"><span class="fs12">Modifiez la ligne :</span></p><pre class="mt1 mb1 code bash cf4 cb3"><span class="fs12 ff1"><span class="kw3 cf7">test</span> <span class="re2 cf8">ALL</span>=<span class="br0 cf5">(</span>ALL<span class="br0 cf5">)</span> NOPASSWD: ALL</span></pre><p class="mb1"><span class="fs12">par</span></p><pre class="mt1 mb1 code bash cf4 cb3"><span class="fs12 ff1"><span class="kw3 cf7">test</span> <span class="re2 cf8">ALL</span>=<span class="br0 cf5">(</span>ALL<span class="br0 cf5">)</span> ALL</span></pre></div></div>]]></description>
			<pubDate>Thu, 26 Jul 2012 14:55:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?comment-devenir-super-utilisateur-</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/3893uggc</guid>
		</item>
		<item>
			<title><![CDATA[Un nouveau cœur domotique]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_2501gt0n"><header class="entry-header"><h1 class="entry-title"><span class="fs12">Un nouveau cœur domotique</span></h1></header><div class="entry-content"><p class="mb1"><span class="fs12">Aujourd’hui pas d’électronique, seulement de la bidouille logicielle pour “proprifier” un peu notre domotique.</span></p><p class="mb1"><span class="fs12">Pour faire court, j’ai travaillé sans relâche ces derniers jours (et novares aussi en parallèle sur Android) sur un nouveau système de gestion de notre domotique qui devrait plaire aux développeurs en tout genre ainsi qu’aux utilisateurs.</span></p><p class="mb1"><span id="more-2753" class="fs12"></span></p><p class="mb1"><span class="fs12">Pour rappel, jusqu’ici nous utilisions deux “programmes”:</span></p><ol class="mb2"><li class=""><span class="fs12">l’interface web HCC (développée à l’arrache par votre serviteur himself un soir d’apéro) l’interface vocale YURI dérivée du programme <span class=""><a href="http://encausse.wordpress.com/s-a-r-a-h/">SARAH</a></span> de JP Encausse.</span></li></ol><p class="mb1"><span class="fs12">Seulement voila mon installation était un peu dégueulasse, je suis donc reparti d’une base saine :YANA.</span></p><p class="mb1"><span class="fs12">YANA est un groupe de logiciels qui comprend :</span></p><p class="mb1"><span class="fs12">Yana Server:</span></p><p class="mb1"><span class="fs12"><a href="http://blog.idleman.fr/wp-content/uploads/2013/07/image1.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2013/07/image_thumb1.png" width="552" height="289" border="0" class="" data-selected="false"></a></span></p><p class="mb1"><span class="fs12">Cœur de l’application domotique qui comprend une interface web (une sorte de hcc 3.0)</span></p><p class="mb1"><span class="fs12">Yana for Windows:</span></p><p class="mb1"><span class="fs12"><a href="http://blog.idleman.fr/wp-content/uploads/2013/07/BNYlIALCAAEq122.jpg" class="inline-block"><img title="BNYlIALCAAEq122" alt="BNYlIALCAAEq122" src="http://blog.idleman.fr/wp-content/uploads/2013/07/BNYlIALCAAEq122_thumb.jpg" width="556" height="400" border="0" class="" data-selected="false"></a></span></p><p class="mb1"><span class="fs12">Remplaçante de YURI, que j’ai entièrement redéveloppé de manière à m’approprier un peu plus le code et pouvoir en faire ce que je souhaite</span></p><p class="mb1"><span class="fs12">Yana for Android: Similaire à YANA for Windows mais pour les androphones, en cours de développement par novares.</span></p><p class="mb1"><span class="fs12"> </span></p><p class="mb1"><span class="fs12"><b>Pourquoi avoir remplacé YURI?</b></span></p><p class="mb1"><span class="fs12">YURI, qui n’était autre que le logiciel <span class=""><a href="http://encausse.wordpress.com/s-a-r-a-h/">SARAH</a></span> de JP Encausse fonctionnait très bien, j’insiste sur le fait que c’est un excellent programme qui fonctionne parfaitement bien, cependant ne l’ayant pas développé je n’étais pas en mesure de répondre aux questions des utilisateurs sur certains bugs ou encore d’ajouter des petites fonctionnalités manquantes pour adapter le programme à notre domotique.</span></p><p class="mb1"><span class="fs12">Le fait de l’avoir redéveloppé m’a par ailleurs permis d’y ajouter quelques fonctionnalités :</span></p><ul class="mb2"><li class=""><span class="fs12">Une interface un peu plus graphique type “chat”</span></li><li class=""><span class="fs12">La configuration des commandes est simplifiée : on ne passe plus par des xml, tout est récupéré directement en json depuis yana-server (le json étant moins verbeux, plus léger et plus simple à parser via php que le xml)<br>Il est possible de jouer des sons</span></li><li class=""><span class="fs12">Certains sont disponibles en natif tel que les rires, pleurs, et autres expressions sonores de yana</span></li><li class=""><span class="fs12">Yana peut parler, jouer un son ou exécuter une commande système (ex : ouvrir un programme)</span></li><li class=""><span class="fs12">Yana peut effectuer plusieurs actions successivement (système de queue)</span></li><li class=""><span class="fs12">Yana est capable de parler lorsqu’un évènement se produit sans qu’il y ai de commande vocale au préalable (ex : signaler une intrusion)</span></li><li class=""><span class="fs12">Yana peut se lancer automatiquement avec windows</span></li><li class=""><span class="fs12">Yana fonctionne en mode visible ou invisible</span></li><li class=""><span class="fs12">Yana peut utiliser plusieurs ton de paroles (encore en réglage, pas très convaincant pour le moment)</span></li></ul><p class="mb1"><span class="fs12"> </span></p><p class="mb1"><span class="fs12"><b>Qu’est-ce qu’on gagne avec ce nouveau système ?</b><span class=""> </span></span></p><p class="mb1"><span class="fs12">Le gros avantage de cette nouvelle combinaison yana-server &nbsp;+ yana Windows, c’est que yana-server est un CMS auquel ont peut ajouter <span class="">toute sorte de plugins</span>, ceci permet de rajouter des commandes et des actions simplement en installant un plugin, les commandes seront alors répercutées sur le client yana qui les prendra en compte à son redémarrage.</span></p><p class="mb1"><span class="fs12"><span class="">Les développeurs sont bien entendu invités à proposer leurs plugins. Le second point important c’est l’ajout d’un écouteur </span>d’événements<span class=""> qui permet à yana de parler, jouer un son ou </span>exécuter<span class=""> une </span>commande<span class=""> toute seule sans qu’il n’y ait besoin de </span>l’interpeller<span class="">.</span></span></p><p class="mb1"><span class="fs12"><span class="">Ceci permet l’écoute </span>d’événements<span class=""> autres qu’un ordre vocal comme un </span>événement<span class=""> déclenché par l’heure ou la date (“</span>C’est l’anniversaire de votre mère<span class="">“) ou encore un </span>événement<span class=""> déclenché par une porte ouverte (“</span>Intrusion dans le salon, alerte<span class="">!”) etc… etc..</span></span></p><p class="mb1"><span class="fs12"><b><br></b></span></p><p class="mb1"><span class="fs12"><b>Comment télécharger tout ça <span class="">?</span></b></span></p><p class="mb1"><span class="fs12">Tout est sur github, je vous conseille de télécharger via git plutôt que via l’archive, ça vous permettra de mettre à jour plus simplement.</span></p><p class="mb1"><span class="fs12">Notez que vous devez obligatoirement installer yana server sur votre raspberry PI pour faire fonctionner les clients vocaux.</span></p><p class="mb1"><span class="fs12">Dépôts Github :</span></p><ul class="mb2"><li class=""><span class="fs12">Yana Server (Interface web + Coeur domotique) : <a href="http://github.com/ldleman/yana-server" target="_blank" class="imCssLink">https://github.com/ldleman/yana-server</a></span></li><li class=""><span class="fs12">Yana for Windows (Interface vocale pour windows) : <a href="http://github.com/ldleman/yana-windows" target="_blank" class="imCssLink">https://github.com/ldleman/yana-windows</a></span></li><li class=""><span class="fs12">Yana for android (Interface vocale pour android) : <a href="http://github.com/Etsuni/YANA" target="_blank" class="imCssLink">https://github.com/Etsuni/YANA</a> </span></li></ul><p class="mb1"><span class="fs12"><b>Comment installer et &nbsp;utiliser tout ça ?</b></span></p><p class="mb1"><span class="fs12">Pour chaque dépôt, suivez les instructions du fichier README.md associé</span></p><p class="mb1"><span class="fs12">Notez bien que tous les prochains tutos seront basés sur ce nouveau système, et que les anciens seront également convertis petit à petit quand j’aurais deux minutes (vivement la retraite).</span></p><p class="mb1"><span class="fs12">Bien que YURI (qui découle de SARAH) soit un excellent programme je ne maintiendrais plus aucune sorte de support sur celui ci (n’ayant pas la paternité et les connaissances de son code suffisantes pour cela).</span></p><p class="mb1"><span class="fs12">Pour ceux qui souhaiteraient continuer à l’utiliser, je vous invite à vous adresser directement à son auteur, JP Encausse.</span></p><p class="mb1"><br></p></div></div>]]></description>
			<pubDate>Mon, 02 Apr 2012 18:55:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?un-nouveau-c-ur-domotique</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/2501gt0n</guid>
		</item>
		<item>
			<title><![CDATA[Allumer et éteindre des diodes avec le rpi !]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_5l117q90"><header class="entry-header cf5"><h1 class="entry-title"><span class="fs12">Créer un tableau de bord connecté au net (ou comment augmenter le nombre de GPIO).</span></h1><h1 class="entry-title"><div class="entry-content"><p class="mb1 cf1"><span class="fs12">Pour passer le temps je vous propose tout de même un petit exercice de style :</span></p><p class="mb1 cf1"><span class="fs12">On vas allumer et éteindre des diodes avec le rpi !</span></p><p class="mb1 cf1"><span class="fs12">Nous allons construire un petit <strong class="">“tableau de bord” lumineux</strong> qui vas nous avertir de l’état de nos divers serveur, blog, site web, machines connectées au réseau (imprimantes, téléphone, fax etc..) en temps réel ! Chez moi ça donne ça :</span></p><p class="mb1 cf1"><img title="image" src="http://blog.idleman.fr/wp-content/uploads/2013/05/image_thumb.png" alt="image" width="508" height="400" class="aligncenter" data-selected="false"></p><p class="mb1 cf1"><span class="fs12">L’objectif est donc de relier plusieurs diodes au rpi et de créer un système de “ping” (pour que la génération facebook me comprenne : c’est comme un “poke” mais pour les machines :p) régulier qui vas aller interroger certaines ip et allumer les led:</span></p><ul class="mb2"><li class=""><span class="fs12">En rouge si l’ip ne répond pas</span></li><li class=""><span class="fs12">En vert si elle répond.</span></li></ul><p class="mb1 cf1"><span class="fs12">Vous l’aurez peut être remarqué, nous utilisons ici des LED qui ont la particularité de pouvoir afficher deux couleurs :</span><strong class="fs12"><span class="cf2"> vert </span></strong><span class="fs12">et</span><span class="fs12"> </span><strong class="fs12"><span class="cf3">rouge</span></strong><span class="fs12">.</span><br></p><p class="mb1 cf1"><span class="fs12">Ce petit composant est assez intéressant en plus d’être très simple à utiliser, 3 pattes :</span></p><p class="mb1 cf1"><img title="led" src="http://blog.idleman.fr/wp-content/uploads/2013/05/led_thumb.jpg" alt="led" width="133" height="244" border="0" class="" data-selected="false"></p><ul class="mb2"><li class=""><span class="fs12">La patte du milieu doit être relié a la masse comme pour une LED normale</span></li><li class=""><span class="fs12">La patte de droite (patte extérieure la plus courte) si elle est alimentée allumera la diode en rouge</span></li><li class=""><span class="fs12">La patte de gauche(patte extérieure la plus longue) si elle est alimentée allumera la diode en vert</span></li><li class=""><span class="fs12">Si les deux pattes (gauche et droite) sont alimentées, la diode sera à la fois rouge et vert et donnera une “lueur jaunâtre”</span></li></ul><p class="mb1 cf1"><span class="fs12">Ce composant est donc très intéressant et enfantin à utiliser, notez qu’il existe aussi des diodes dites RVB qui vous permettront<br>d’utiliser trois vrais couleurs : vert, rouge et bleu.</span></p><p class="mb1 cf1"><span class="fs12">Nous nous contentons ici des RV (rouge vert) parce que c’est un peu <span class="imUl">moins cher</span>, plus <span class="imUl">simple</span> à utiliser et que ça suffit aux &nbsp;besoins de l’exercice, nous reparlerons des RVB dans un prochain tuto de toute manière...</span></p><p class="mb1 cf1"><span class="fs12">Celles ci sont donc formidouble (doublement formidables) mais ont tout de même quelques inconvénients:</span></p><ul class="mb2"><li class=""><span class="fs12">Elles sont assez chères (1,03€ les 10, ok c’est pas la ruine mais pour des LED c’est cher)<br>Elle ont trois pattes chacune, donc beaucoup de choses à relier quand vous avez 8 LED comme ça à brancher<br>Si on compte le nombre de pattes à relier au RPI pour 8 led, ça nous fait<strong class=""> 2*8 = 16 GPIO</strong> de pris (plus la masse qu’ont relie à toutes les pattes centrales des diodes).</span></li></ul><p class="mb1 cf1"><span class="fs12">Pour le premier problème, il y a ebay, pour le second : l’huile de coude et pour le troisième : les shift registers !</span></p><p class="mb1 cf1"><strong class=""><em class="fs12">“Nié ! shift what?”</em></strong></p><p class="mb1 cf1"><span class="fs12">C’est le second élément nouveau dont je vous parlais (le premier étant la diode RV évidemment).</span></p><p class="mb1 cf1"><span class="fs12">Pour faire simple, un shift register est un composant électronique tout plein de papattes qui permet de multiplier vos sorties GPIO et ce, quasiment à l’infinis.</span></p><p class="mb1 cf1"><span class="fs12 cf4"><a href="http://blog.idleman.fr/wp-content/uploads/2013/05/74hc595n-dscn3898.jpg" class="inline-block"><img title="74hc595n-dscn3898" src="http://blog.idleman.fr/wp-content/uploads/2013/05/74hc595n-dscn3898_thumb.jpg" alt="74hc595n-dscn3898" width="240" height="180" class="" data-selected="false"></a></span></p><p class="mb1 cf1"><span class="fs12">Avec le shift register que nous allons utiliser par exemple, nous n’auront besoin que de trois sorties GPIO du rapsberry PI pour simuler les 16 GPIO dont nous allons avoir besoin avec les LED.</span></p><p class="mb1 cf1"><span class="fs12">Inutile donc de vous spécifier que dans le cadre de notre projet domotique qui pompe pas mal de GPIO, c’est un gros plus !</span></p><ul class="mb2"><li class=""><span class="fs12"><strong class="">Avantage de notre shift register :</strong><br>C’est pas cher<br>C’est pas gros<br>C’est assez simple d’utilisation<br>Ça peut s’additionner pour multiplier le nombre de sorties indéfiniment ou presque(je vous expliquerais)<br>Ça ne prends que 3 GPIO max</span></li><li class=""><span class="fs12"><strong class="">Les inconvénients :</strong><br>Ça prend tout de même 3 GPIO !!<br>Ça complique légèrement le code (mais c’est pas dramatique)<br>Ça ne fonctionne que pour les GPIO en sortie (donc pour les entrées il faudra prendre un autre type de shift register un peu plus complexe)</span></li></ul><p class="mb1 cf1"><span class="fs12">Assez déblatéré comme un chauve à lunette de la fac ! Il est temps de mettre les patounes dans l’cambouis !!</span></p></div></h1><h2 class=""><span class="fs12">Le matériel :</span></h2><h1 class="entry-title"><div class="entry-content"><ul class="mb2"><li class=""><span class="fs12">Notre fidèle raspberry PI<br>2 shift registers 74HC595 (je les ai <span class="cf4"><a href="http://www.ebay.fr/itm/20-x-74HC595-8-bit-Shift-Register-IC-DIP-16-TEXAS-/260843227719?_trksid=p3984.m1423.l2649&ssPageName=STRK:MEWAX:IT#ht_1566wt_1054" target="_blank" class="imCssLink">commandé ici pour 3,48 les 20</a></span>, vu l’utilité yen aura jamais trop)<br>8 LED RV.<br>Quelques fils, éventuellement une breadboard (planche à trou pour éviter les soudures) pour nous simplifier le travail, et un peu de bon sens</span></li></ul><p class="mb1 cf1"><span class="fs12 cf5">Le schéma de branchement :</span></p></div></h1><h1 class="entry-title"><div class="entry-content"><p class="mb1 cf1"><span class="fs12 cf4"><a href="http://blog.idleman.fr/wp-content/uploads/2013/05/03.png" class="inline-block"><img title="03" src="http://blog.idleman.fr/wp-content/uploads/2013/05/03_thumb.png" alt="03" width="514" height="490" class="" data-selected="false"></a></span></p><p class="mb1 cf1"><span class="fs12">L’explication sur le shift register se trouvent en fin de tuto (je ne veux pas vous embrouillez tout de suite :p, mais j’vous ai prévu un mega dessin z’allez voir ! )</span></p></div></h1><h2 class=""><span class="fs12">Code et Installation</span></h2><h1 class="entry-title"><div class="entry-content"><p class="mb1 cf1"><span class="fs12">Vous devez déjà avoir un serveur http (apache ou lighttpd peu importe) et PHP installé (si ce n’est pas le cas suivez <span class="cf4"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">le tuto</a></span><span class="cf4"><a href="http://blog.idleman.fr/?p=1506)">)</a></span><br>Vous devez déjà avoir installé la librairie wiring PI (si ce n’est pas le cas suivez <span class="cf4"><a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink">le tuto</a></span><span class="cf4"><a href="http://blog.idleman.fr/?p=1587)">)</a></span></span></p><ul class="mb2"><ul class=""><li class=""><span class="fs12">Récupérez <a href="http://www.raspberry-pi.ovh/files/ping.zip" target="_blank" class="imCssLink"><span class="cf4">le code PHP ici</span> </a>et placez le dans le répertoire de votre serveur http (<strong class="">/var/www</strong> par défaut) ce qui doit vous donner une arborescence comme : <strong class="">/var/www/ping/ping.php</strong></span></li><li class=""><span class="fs12">Ouvrez le fichier <strong class="">ping.php</strong> et ajoutez les IP que vous souhaitez surveiller dans le tableau $servers en début de code, vous pouvez spécifier une IP réseau (ex : 192.168.0.10), une IP web (ex : 55.75.32.203) ou une adresse (ex : <span class="cf4"><a href="http://google.fr/">http://google.fr</a></span>)</span></li><li class=""><span class="fs12">Ajoutez un CRON (tâche planifiée) qui vas exécuter cette page PHP toutes les minutes, pour cela tapez la commande :</span></li></ul></ul><i><blockquote class="mb2"><p class="fs12 cf1">sudo crontab -e</p></blockquote></i><p class="mb1 cf1"><span class="fs12">Et ajoutez la ligne :</span></p><i><blockquote class="mb2"><p class="fs12 cf1">*/1 * * * * php /var/www/ping/ping.php</p></blockquote></i><p class="mb1 cf1"><span class="fs12">Les diodes devraient se mettre à jour toutes les minutes en fonction des IP configurées, n’hésitez pas à lancer le script manuellement depuis votre navigateur (http://adresse.du.rpi/ping/ping.php) dans le cas ou ça ne fonctionne pas avec le cron :).</span></p></div></h1><h2 class=""><span class="fs12">L’explication</span></h2><h1 class="entry-title"><div class="entry-content"><p class="mb1 cf1"><span class="fs12">La tâche planifiée (le cron) qu’on à mis en place vas exécuter toutes les minutes le fichier php contenant notre code.</span></p><p class="mb1 cf1"><span class="fs12">Le fichier php vas, interroger chaque IP que nous avons renseignées pour savoir si elles “répondent”.</span></p><p class="mb1 cf1"><span class="fs12">On part alors du principe qu’une LED vas représenter la réponse d’un IP :</span></p><p class="mb1 cf1"><span class="fs12"><strong class="">Si l’ip répond</strong>: &nbsp;PHP vas mettre un port GPIO du shift register à 1 qui correspond à la couleur verte de la led liée.</span></p><p class="mb1 cf1"><span class="fs12"><strong class="">Si l’ip ne répond pas:</strong> &nbsp;PHP vas mettre un port GPIO du shift register à 1 qui correspond à la couleur rouge de la led liée.</span></p><p class="mb1 cf1"><strong class=""><em class="fs12">“Tout ça c’est bien beau mais on ne comprends toujours pas comment manipuler un shift register !!”</em></strong></p><p class="mb1 cf1"><span class="fs12">J’ai gardé le meilleur pour la fin !!</span></p><p class="mb1 cf1"><span class="fs12">Comme c’est un concept (pourtant simple) qui ne cadre pas avec mon cerveau étriqué, j’ai fait un petit dessin pour que mes semblables trépanés du bulbe et moi on se comprenne, mémorisez bien la petite histoire suivante :</span></p><p class="mb1 cf1"><img title="02" src="http://blog.idleman.fr/wp-content/uploads/2013/05/02_thumb.png" alt="02" width="537" height="435" border="0" class="" data-selected="false"></p><p class="mb1 cf1"><span class="fs12"> </span></p><p class="mb1 cf1"><span class="fs12">On notera qu’elle représente le fonctionnement exacte du shift register (du moin tel que je l’ai compris ^^), je m’explique :</span><br></p><p class="mb1 cf1"><span class="fs12">Le <strong class="">shift register</strong> (la table) a <strong class="">8 GPIO</strong> (8 Verres) qui peuvent être à <strong class="">0</strong> (vide) ou a <strong class="">1</strong> (plein).</span></p><p class="mb1 cf1"><span class="fs12">On a pas le droit de toucher aux verres sur la table, pour modifier l’état d’un verre, on ne peux qu’en rajouter un nouveau (le fameux todd) en lui définissant une valeur (vide ou plein).</span></p><p class="mb1 cf1"><span class="fs12">Sauf qu’en rajoutant Todd le verre, on pousse les autres et le dernier se fait éjecter de la table (die stupid glass ! die !!).</span></p><p class="mb1 cf1"><span class="fs12">Il vas nous falloir trois “bouton” pour effectuer cette action : un bouton pour remplir ou laisser vide le verre, un bouton pour ajouter le nouveau verre sur la table (et donc pousser les autres) et un dernier bouton pour “valider” la nouvelle configuration de la table <img src="http://blog.idleman.fr/wp-content/uploads/2013/05/wlEmoticon-smile.png" alt="Sourire" class="wlEmoticon wlEmoticon-smile" data-selected="false"></span></p><p class="mb1 cf1"><span class="fs12">3 bouton = 3 pattes du shift register branché au raspberry PI, il ne nous en faudra pas plus pour ouvrir/fermer les 8 GPIO du shift register de cette façon <img src="http://blog.idleman.fr/wp-content/uploads/2013/05/wlEmoticon-smile.png" alt="Sourire" class="wlEmoticon wlEmoticon-smile" data-selected="false">.</span></p><p class="mb1 cf1"><span class="fs12">Maintenant voyons un ptit schéma simplifié du composant :</span></p><p class="mb1 cf1"><span class="fs12 cf4"><a href="http://blog.idleman.fr/wp-content/uploads/2013/05/01.png" class="inline-block"><img title="01" src="http://blog.idleman.fr/wp-content/uploads/2013/05/01_thumb.png" alt="01" width="371" height="365" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf1"><span class="fs12">Les trois boutons dont nous parlions sont :</span></p><p class="mb1 cf1"><span class="fs12">“<strong class="">VALEUR</strong>” (en réalité nommé SER) qui vas remplir ou non le nouveau verre.<br>”<strong class="">SUIVANT</strong>” (nommé en réalité SRCLK) qui vas ajouter le nouveau verre sur la table et pousser les autres<br><strong class="">VALIDATEUR</strong> (en réalité RCLK) qui vas prendre en compte la nouvelle configuration <img src="http://blog.idleman.fr/wp-content/uploads/2013/05/wlEmoticon-smile.png" alt="Sourire" class="wlEmoticon wlEmoticon-smile" data-selected="false"></span></p><p class="mb1 cf1"><strong class=""><em class="fs12">“Et “CONNECTEUR” alors ? Il sert à quoi?”</em></strong></p><p class="mb1 cf1"><span class="fs12">Il vas nous permettre de brancher d’autres shift register au premier, ce qui donnera l’équivalent d’un gros shift register de 16 GPIO avec deux shift de 8 par exemple <img src="http://blog.idleman.fr/wp-content/uploads/2013/05/wlEmoticon-smile.png" alt="Sourire" class="wlEmoticon wlEmoticon-smile" data-selected="false">.</span></p><p class="mb1 cf1"><span class="fs12"><strong class="">CONNECTEUR</strong> devras être branché au <strong class="">VALEUR</strong> du shift register ajouté, il est possible de rajouter autant de shift les un sur les autre que vous le souhaitez, évidemment au bout d’un moment vous risquez d’avoir quelques problèmes de lenteur et d’alimentation si vous ne savez pas vous arrêter ^^ (<em class="">je vais tapisser mes murs avec des shift register et dominer le mmooonde niark niark niark!!!</em>).</span></p><p class="mb1 cf1"><em class=""><strong class="fs12">“Et les papattes dont tu ne nous à pas parlé ?”</strong></em></p><p class="mb1 cf1"><span class="fs12">Dans notre contexte,elles sont un peu useless, disons qu’elles ont une fonction utile, mais que prendre un précieux gpio de plus sur le rasp pour ça c’est pas forcement nécessaire,voila le schéma avec les vrai nom des pattes :</span></p><p class="mb1 cf1"><strong class=""><em class="fs12"><img title="74HC595-Shift-Register" src="http://blog.idleman.fr/wp-content/uploads/2013/05/74HC595-Shift-Register_thumb.png" alt="74HC595-Shift-Register" width="234" height="244" border="0" class="" data-selected="false"></em></strong></p><p class="mb1 cf1"><span class="fs12"> </span></p><p class="mb1 cf1"><span class="fs12">(ça calme tout de suite hein ? :D)</span></p><p class="mb1 cf1"><span class="fs12"><strong class="">SRCLR</strong> dont nous n’avons pas parlé, peut être passé en High puis low afin de remettre toute les pin du shift registrer à 0 (ce qui peut aussi être fait manuellement avec les 3 pin dont nous disposons déjà, d’ou le “un peu useless”)</span></p><p class="mb1 cf1"><span class="fs12"><strong class="">OE</strong> quand à lui permet d’activer la sortie lorsqu’il est sur la masse (GND) et la désactive lorsqu’il est en High, on le laisse donc toujours branché à la masse.</span></p><p class="mb1 cf1"><span class="fs12">C’est tout pour aujourd’hui ! <img src="http://blog.idleman.fr/wp-content/uploads/2013/05/wlEmoticon-smile.png" alt="Sourire" class="wlEmoticon wlEmoticon-smile" data-selected="false"> Vous l’aurez compris, le principal intérêt de ce tuto est d’abord la notion de shift register qui vas nous permettre de jouer avec plus de GPIO sans trop d’efforts <img src="http://blog.idleman.fr/wp-content/uploads/2013/05/wlEmoticon-smilewithtongueout.png" alt="Tire la langue" class="wlEmoticon wlEmoticon-smilewithtongueout" data-selected="false">.</span></p><p class="mb1 cf1"><span class="fs12">Notez qu’il existe plein de type de shift register, certains ont beaucoup plus de sorties, d’autres peuvent se comporter en entrée et en sortie (relativement pratique) etc etc..</span></p><p class="mb1 cf1"><span class="fs12">Je vous conseille de vous en trouver un qui soit simultanément en entrée et en sortie et qui puisse se “stacker” à d’autre de ses confrères comme celui que nous avons vu, puis de vous créer une ptite carte à brancher sur le raspberry PI pour multiplier définitivement ses entrées sorties par “x” <img src="http://blog.idleman.fr/wp-content/uploads/2013/05/wlEmoticon-smile.png" alt="Sourire" class="wlEmoticon wlEmoticon-smile" data-selected="false"></span></p></div></h1></header></div>]]></description>
			<pubDate>Fri, 30 Mar 2012 18:35:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?allumer-et-eteindre-des-diodes-avec-le-rpi--</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/5l117q90</guid>
		</item>
		<item>
			<title><![CDATA[Un mini écran pour 22€]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_8nbn6cwn"><header class="entry-header cf1"><h1 class="entry-title"><span class="fs12">Un mini écran pour 22€</span></h1></header><div class="entry-content cf1"><p class="mb1 cf2"><span class="fs12">En attendant la création de la sonde de température (qui ne saurait tarder, j’ai juste la flemme de rédiger mon pavé</span><span class="fs12"> </span><img alt="Tire la langue" src="http://blog.idleman.fr/wp-content/uploads/2013/03/wlEmoticon-smilewithtongueout.png" data-selected="false" class="wlEmoticon wlEmoticon-smilewithtongueout"><span class="fs12">), voila un ptit tuyau à vous mettre sous la dent pour ce début de week end !</span><br></p><p class="mb1 cf2"><span class="fs12">Il peux être utile d’avoir un mini écran LCD couleur branché au rpi histoire d’avoir constamment un visuel de la console, d’afficher un plan domotique ou si vous souhaitez tout simplement faire du rpi un mini ordinateur <img alt="Sourire" src="http://blog.idleman.fr/wp-content/uploads/2013/03/wlEmoticon-smile.png" class="wlEmoticon wlEmoticon-smile" data-selected="false">.</span></p><p class="mb1 cf2"><span class="fs12">Seulement voila, les mini écran pas cher, qui consomme peu et adaptable au raspberry PI, ça ne court pas les rues ! Une liseuse ? Trop cher ! Un écran classique ? Un peu encombrant et reste un peu cher ! Un cadre photo numérique ? Idéal mais peut être chiant à plugguer ! Lire dans les entrailles d’un poulet ? Sympa pour épater les amis mais il vous faut un poulet frais à chaque reboot…</span></p><p class="mb1 cf2"><span class="fs12">L’astuce ? Prendre un écran de caméra de recul pour les voitures (oui oui, l’écran que vous n’aurez jamais dans votre R5 de prolo mais je vous assure qu’il y a des voitures qui ont ce genre de gadgets).</span></p><p class="mb1 cf2"><span class="fs12 cf3"><a href="http://blog.idleman.fr/wp-content/uploads/2013/03/2013-03-01-20.44.10.jpg" class="inline-block"><img title="2013-03-01 20.44.10" alt="2013-03-01 20.44.10" src="http://blog.idleman.fr/wp-content/uploads/2013/03/2013-03-01-20.44.10_thumb.jpg" width="545" height="410" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf2"><span class="fs12">L’avantage de l’écran ? On peux en trouver à partir de 20€, ca consomme que quick, ça prends pas de place et comble du bonheur : il dispose d’une entrée vidéo RCA (ça tombe bien, on à une &nbsp;sortie vidéo RCA sur le raspberry PI !! Le ptit cube jaune sur la photo ci dessus)</span></p><p class="mb1 cf2"><span class="fs12 cf3"><a href="http://blog.idleman.fr/wp-content/uploads/2013/03/2013-03-01-20.43.29.jpg" class="inline-block"><img title="2013-03-01 20.43.29" alt="2013-03-01 20.43.29" src="http://blog.idleman.fr/wp-content/uploads/2013/03/2013-03-01-20.43.29_thumb.jpg" width="549" height="413" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf2"><span class="fs12">Évidemment il faudra de bons yeux, et un peu de jugeote pour couper et dénuder quelques fils mais vraiment des broutilles pour adapter ce genre d’écran au raspberry PI.</span></p><p class="mb1 cf2"><span class="fs12">Moi j’ai commandé <span class="cf3"><a href="http://www.amazon.fr/dp/B00AMXLF9A/ref=pe_205631_30430471_3p_dp_1">un écran comme celui ci</a></span></span></p><p class="mb1 cf2"><span class="fs12 cf3"><a href="http://blog.idleman.fr/wp-content/uploads/2013/03/image.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2013/03/image_thumb.png" width="514" height="257" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf2"><span class="fs12">mais il semble être en rupture de stock à l’heure ou je vous parle, je vous conseille donc de faire votre choix dans <span class="cf3"><a href="http://www.amazon.fr/s/ref=nb_sb_noss/280-3366177-8223605?__mk_fr_FR=%C3%85M%C3%85Z%C3%95%C3%91&url=search-alias%3Delectronics&field-keywords=LCD+Rear+view+Monitor+for+car+backup+camera" target="_blank" class="imCssLink">les multiples autres marques/formats qui existent</a></span>, en terme de branchement et de prix il se valent à peu près tous.</span></p><p class="mb1 cf2"><span class="fs12">Donc pour ce qui est de l’adaptation ça ne m’a pas pris 2 minutes de comprendre le fonctionnement tellement c’est simple et bien fait !!</span></p><p class="mb1 cf2"><span class="fs12">3 sorties sur l’écran :</span></p><p class="mb1 cf2"><span class="fs12"><strong class="">Une blanche :</strong> C’est une des entrées vidéo RCA de l’écran<br><strong class="">Une jaune :</strong> C’est une des entrées vidéo RCA de l’écran au même titre que l’entrée blanche<br><strong class="">Une rouge :</strong> C’est l’a qu’on alimente l’écran, normalement c’est branché directement à la camera de recul qui s’occupe d’alimenter le tout</span></p><p class="mb1 cf2"><span class="fs12">On notera les points suivants :</span></p><p class="mb1 cf2"><span class="fs12">Si l’écran possède deux entrées vidéos, l’une semble être à l’endroit et l’autre refléter l’image à l’envers, regardez bien la datasheet de votre écran pour savoir lequel prendre entre le blanc et le jaune <img alt="Sourire" src="http://blog.idleman.fr/wp-content/uploads/2013/03/wlEmoticon-smile.png" class="wlEmoticon wlEmoticon-smile" data-selected="false"></span></p><p class="mb1 cf2"><span class="fs12">Aucun des ports n’est réellement adapté au rpi, il nous faudra couper le port rouge pour le relier à du 12V, et placer un adaptateur RCA entre l’entrée jaune(ou blanche) de l’écran et la sortie RCA du rpi, moi j’ai récupéré un vieux câble RCA, et j’ai tout coupé pour faire mon adaptateur maison</span></p><p class="mb1 cf2"><span class="fs12">Bien que la datasheet vous conseillera du 12V continue pour alimenter l’écran (les batteries de voitures étant en 12v), l’écran n’a pas besoin d’autant, vous pourrez l’alimenter dans la plupart des cas avec beaucoup moins (dans mon cas une pile 9V à suffit)</span></p><p class="mb1 cf2"><strong class="fs12"><br></strong></p><p class="mb1 cf2"><strong class="fs12">Les branchements :</strong></p><p class="mb1 cf2"><span class="fs12">Coupez la partie rouge et dénudez le fil restant pour voir apparaitre deux fils à l’intérieur : &nbsp;un noir (masse) et un rouge (alimentation positive) Il vous faudra donc relier le rouge et le noir à une alim/batterie 12V (ou 9V voir moins en fonction de votre écran).</span></p><p class="mb1 cf2"><span class="fs12">l’entrée blanche (ou jaune de l’écran en fonction de comment vous voulez votre image <img alt="Rire" src="http://blog.idleman.fr/wp-content/uploads/2013/03/wlEmoticon-openmouthedsmile.png" class="wlEmoticon wlEmoticon-openmouthedsmile" data-selected="false">) doit être reliée à un adaptateur permettant de le brancher direct au rpi !</span></p><p class="mb1 cf2"><span class="fs12">Et c’est tout !! <img alt="Rire" src="http://blog.idleman.fr/wp-content/uploads/2013/03/wlEmoticon-openmouthedsmile.png" class="wlEmoticon wlEmoticon-openmouthedsmile" data-selected="false"> Notez bien que pour que votre écran s’allume il faut bien qu’il soit alimenté avec la batterie ET relié au port RCA d’un rapsberry allumé, sans quoi vous n’aurez aucune réaction de l’objet, ce qui peut être déstabilisant.</span></p><p class="mb1 cf2"><strong class="fs12"><br></strong></p><p class="mb1 cf2"><strong class="fs12">Un petit décalage isn’t it?</strong></p><p class="mb1 cf2"><span class="fs12">Vous noterez certainement que l’écran bouffe un peu la console par endroit, ceci est du à la très petite résolution de l’écran, cependant vous pouvez régler le problème en allant modifier le fichier /boot/config.txt de votre rpi (nb : il faut être logué en tant qu’administrateur ou faire un sudo pour modifier ce fichier).</span></p><p class="mb1 cf2"><span class="fs12">Remplacez alors la partie avec les “overscans” commentés, par un overscan générale à 40 :</span></p><p class="mb1 cf2"><span class="fs12 cf3"><a href="http://blog.idleman.fr/wp-content/uploads/2013/03/image1.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2013/03/image_thumb1.png" width="547" height="282" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf2"><span class="fs12">Puis redémarrez ! Ca devrait être mieux, cela dit 40 fonctionne bien avec mon écran mais si vous avez encore des soucis avec le votre, il vous faudra changer les valeurs jusqu’a ce que ça se cale correctement <img alt="Sourire" src="http://blog.idleman.fr/wp-content/uploads/2013/03/wlEmoticon-smile.png" class="wlEmoticon wlEmoticon-smile" data-selected="false">.</span></p><p class="mb1 cf2"><span class="fs12">Notez bien que selon les pro du linux, c’est vraiment une technique de goret albinos et ce n’est pas du tout conseillé de modifier ce fichier, mais je n’ai pas trouvé de meilleure solution, si quelqu’un à mieux sous la main qu’il se manifeste <img alt="Sourire" src="http://blog.idleman.fr/wp-content/uploads/2013/03/wlEmoticon-smile.png" class="wlEmoticon wlEmoticon-smile" data-selected="false"></span></p><p class="mb1 cf2"><strong class="fs12">Et merde, pas d’adaptateur !</strong></p><p class="mb1 cf2"><span class="fs12">Si vous n’avez pas d’adaptateur sous la main mais un câble rca compatible(branchable) avec votre rpi qui traine et que vous ne voulez pas lâcher 1 euros sur ebay, vous pouvez faire comme moi et couper la grosse partie avant les ports de manière a n’avoir plus que des fils</span></p><p class="mb1 cf2"><span class="fs12 cf3"><a href="http://blog.idleman.fr/wp-content/uploads/2013/03/2013-03-01-20.12.32.jpg" class="inline-block"><img title="2013-03-01 20.12.32" alt="2013-03-01 20.12.32" src="http://blog.idleman.fr/wp-content/uploads/2013/03/2013-03-01-20.12.32_thumb.jpg" width="494" height="656" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf2"><span class="fs12">Vous chopez ensuite votre vieux câble</span></p><p class="mb1 cf2"><span class="fs12 cf3"><a href="http://blog.idleman.fr/wp-content/uploads/2013/03/2013-03-01-19.50.40.jpg" class="inline-block"><img title="2013-03-01 19.50.40" alt="2013-03-01 19.50.40" src="http://blog.idleman.fr/wp-content/uploads/2013/03/2013-03-01-19.50.40_thumb.jpg" width="525" height="395" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf2"><span class="fs12">Vous reliez le fil de couleur rouge (ou jaune)du vieux câble, au fil de couleur jaune (ou blanche en fonction de l’image que vous souhaitez) de l’écran et la masse de l’écran (fil noir) à la masse de votre vieux câble (fil noir ou complètement dénudé en fonction de votre câble)</span></p><p class="mb1 cf2"><span class="fs12">Puis vous reliez la masse de l’écran (fil noir) et la borne positive de l’écran (fil rouge) à votre batterie/alimentation 12V/9V.</span></p><p class="mb1 cf2"><span class="fs12">Si il vous reste un fil(jaune ou blanc en fonction de celui que vous avez choisis) qui pendouille de l’écran dans le vide, c’est normal, vous pouvez le couper.</span></p><p class="mb1 cf2"><strong class="fs12"><br></strong></p><p class="mb1 cf2"><strong class="fs12">Pour gagner de la place :</strong></p><p class="mb1 cf2"><span class="fs12">Notez que si vous voulez en faire un appareil nomade ou revoir le design de l’ensemble, il peut être utile de réduire un peu la matière, vous pouvez facilement démonter l’écran (généralement quelques vices) histoire de le rendre le plus plat possible pour l’incorporer à une structure ou autre</span></p><p class="mb1 cf2"><span class="fs12 cf3"><a href="http://blog.idleman.fr/wp-content/uploads/2013/03/2013-03-01-19.30.15.jpg" class="inline-block"><img title="2013-03-01 19.30.15" alt="2013-03-01 19.30.15" src="http://blog.idleman.fr/wp-content/uploads/2013/03/2013-03-01-19.30.15_thumb.jpg" width="517" height="389" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf2"><span class="fs12">Et si vous êtes un goret sans foi ni loi comme moi vous pouvez aussi dessouder la sortie RCA du rpi pour y souder directement les fils de votre écran (j’entends déjà les fans de la framboise me hurler au vente “héréttttiiiquuueeeuuuh””).</span></p><p class="mb1 cf2"><span class="fs12">Voila les branchements à faire si comme moi vous avez dessoudé l’entrée RCA sans aucun remord (notez que c’est très chiant à dessouder, et encore plus à ressouder)</span></p><p class="mb1 cf2"><span class="fs12 cf3"><a href="http://blog.idleman.fr/wp-content/uploads/2013/03/2013-03-01-19.32.20.jpg" class="inline-block"><img title="2013-03-01 19.32.20" alt="2013-03-01 19.32.20" src="http://blog.idleman.fr/wp-content/uploads/2013/03/2013-03-01-19.32.20_thumb.jpg" width="522" height="392" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf2"><span class="fs12">L’essentiel étant que la masse soit bien sur le gros trou du milieu, l’autre peut être indistinctement d’un coté ou de l’autre.</span></p><p class="mb1 cf2"><strong class="fs12"><br></strong></p><p class="mb1 cf2"><strong class="fs12">Et sinon ?</strong></p><p class="mb1 cf2"><span class="fs12">Notez que vous pouvez facilement à partir de la en faire un mini pc portable par exemple en achetant un <span class="cf3"><a href="http://www.ebay.fr/itm/Multi-media-Keyboard-Fly-Mouse-touchpad-presenter-for-PC-Black-/350610040910?pt=FR_JG_Informatique_Peripheriques_Claviers&amp;hash=item51a1fca84e">mini clavier + touchpad usb</a></span> ou pourquoi pas même une tablette en y ajoutant une dalle résistive ? (bon ok la c’est peut être un challenge un peu plus gros <span class=""><img src="http://blog.idleman.fr/wp-content/themes/twentytwelve/smile/icon_biggrin.png" alt=":)" class="wp-smiley" data-selected="false"></span> )</span></p></div></div>]]></description>
			<pubDate>Sat, 24 Mar 2012 07:29:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?un-mini-ecran-pour-22-</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/8nbn6cwn</guid>
		</item>
		<item>
			<title><![CDATA[Mieux comprendre les pins avec Raspin’s]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_zmwop0z1"><header class="entry-header cf2"><h1 class="entry-title"><span class="fs12">Mieux comprendre les pins avec Raspin’s</span></h1><h1 class="entry-title"><span class="fs12 cf1">J’ai vu l’autre jour sur le site du raspberry PI, la raspberry Leaf, une petite idée ingénieuse qui consiste à créer un modèle de feuille à imprimer et découper, superposable au rasberry PI pour indiquer ses numéros de pin:</span></h1></header><div class="entry-content cf2"><p class="mb1 cf1"><span class="fs12"> </span></p><p class="mb1 cf1"><span class="fs12 cf3"><a href="http://blog.idleman.fr/wp-content/uploads/2013/02/image10.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2013/02/image_thumb8.png" width="412" height="244" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf1"><span class="fs12">J’ai trouvé l’idée vraiment sympa, du coup je me suis dit que je pouvais peut être l’améliorer, j’ai donc créé mon propre modèle : Raspin’s</span></p><p class="mb1 cf1"><span class="fs12 cf3"><a href="http://blog.idleman.fr/wp-content/uploads/2013/02/image11.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2013/02/image_thumb9.png" width="532" height="406" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf1"><strong class="fs12">Raspin’s inclus :</strong></p><ol class="mb2"><li class=""><span class="fs12">Les numéros/noms de pin (attention pas les BMC)<br>La correspondance Wiring pi de chaque pin<br>Une coloration par fonction<br>Une mini documentation sur les différents PINs</span></li></ol><p class="mb1 cf1"><span class="fs12"> </span></p><p class="mb1 cf1"><span class="fs12">Pour l’imprimer, je vous conseille fortement un papier un peu cartoné style papier photo :</span></p><p class="mb1 cf1"><span class="fs12 cf3"><a href="http://blog.idleman.fr/wp-content/uploads/2013/02/image12.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2013/02/image_thumb10.png" width="541" height="300" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf1"><span class="fs12">Voila l’image imprimable (cliquez pour agrandir, attation c’est de la maxi image vouée au print ^^):</span></p><p class="mb1 cf1"><span class="fs12"> </span></p><p class="mb1 cf1"><span class="fs12 cf3"><a href="http://www.raspberry-pi.ovh/files/raspin.jpg" target="_blank" class="imCssLink inline-block"><img title="raspin" alt="raspin" src="http://blog.idleman.fr/wp-content/uploads/2013/02/raspin_thumb.jpg" width="539" height="546" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf1"><span class="fs12">Pour ceux qui souhaiteraient le PSD de création de l’image afin de la modifier/améliorer, <a href="http://www.raspberry-pi.ovh/files/raspins.psd" target="_blank" class="imCssLink">c’est ici</a></span></p><p class="mb1 cf1"><span class="fs12">Vous l’avez peut être remarqué, j’ai laissé les emplacements des trous pour ceux qui voudraient percer trou par trou, perso j’ai pas eu la patience j’ai découpé le carré de pin au cutteur.</span></p></div></div>]]></description>
			<pubDate>Fri, 09 Mar 2012 19:12:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?mieux-comprendre-les-pins-avec-raspin-s</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/zmwop0z1</guid>
		</item>
		<item>
			<title><![CDATA[Détecter l’ouverture des portes et fenêtres]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_2792iw2a"><header class="entry-header cf2"><h1 class="entry-title"><span class="fs12">Détecter l’ouverture des portes et fenêtres</span></h1><h1 class="entry-title"><span class="fs12 cf1">Aujourd’hui nous allons voir comment détecter l’ouverture d’une porte, d’une fenêtre, ou de quoi que ce soit qui s’ouvre ou qui se ferme, avec le raspberry PI et un petit composant à environ 3€.</span></h1></header><div class="entry-content cf2"><p class="mb1 cf1"><span class="fs12">L’état de la porte (ouverte/fermée) sera visible depuis une interface web, ou depuis notre interface de reconnaissance/synthèse vocale YURI (implantée dans les précédents tutoriaux sur le raspberry PI)</span></p><h3 class=""><span class="fs12">Le principe :</span></h3><p class="mb1 cf1"><span class="fs12">Un mini aimant est fixé sur le bord de la partie mobile votre porte (que nous appellerons le battant), et un petit capteur sera fixé sur la partie fixe de la porte (que nous appellerons tenant), ce capteur est nommé “capteur à effet de hall”.</span></p><p class="mb1 cf1"><strong class="fs12">C’est quoi ce composant cheulou au nom barbare ?</strong></p><p class="mb1 cf1"><span class="fs12">Un capteur à effet de hall est simplement un composant qui vas renvoyer 1 ou 0 si il est, ou non, à proximité d’un champs magnétique (par exemple émis par un aimant)</span></p><p class="mb1 cf1"><span class="fs12">D’une certaine manière, c’est un bête interrupteur, à ceci près qu’il ne réagit pas à une pression mais à une “magnétisation” proche.</span></p><p class="mb1 cf1"><strong class="fs12">Mais alors, pas besoin d’un composant, pourquoi ne pas utiliser juste deux fils qui se touchent ?</strong></p><p class="mb1 cf1"><span class="fs12">Et bien surtout à cause du frottement, l’avantage du capteur a effet de hall est qu’il n’y a aucun contact “physique” puisque celui ci est magnétique donc :</span></p><ol class="mb2"><li class=""><span class="fs12">Pas de risque que le montage bloque la porte</span></li><li class=""><span class="fs12">Pas de risque que l’usure du frottement abime le circuit</span></li><li class=""><span class="fs12">Moins casse gueule et moche qu’un bête système de fils</span></li><li class=""><span class="fs12">Sur la partie mobile, pas besoin de fils, d’alimentation, ou du moindre circuit : un aimant est en moyenne actif 400 ans, ne nécessite aucune alimentation,ne coute rien, et peut être minuscule.</span></li></ol><p class="mb1 cf1"><span class="fs12">Vous l’aurez compris, ce capteur à effet de hall sera branché au raspberry PI et lui enverra du 0 (l’aimant est lointain donc la porte est ouverte) ou sur 1 (l’aimant est proche donc la porte est fermée), le rapsberry Pi mettra à jour sa base de données (ici un simple fichier texte) qui sera alors consulté par l’interface web et par YURI.</span></p><p class="mb1 cf1"><strong class="fs12">Ce que je ne vous dis pas</strong></p><p class="mb1 cf1"><span class="fs12">Oai je sais, c’est con puisqu’au final je vous le dis, mais respectez mon style littéraire bande de gaufres ! <img src="http://blog.idleman.fr/wp-content/themes/twentytwelve/smile/icon_lol.png" alt=":D" class="wp-smiley" data-selected="false"></span></p><p class="mb1 cf1"><span class="fs12">J’ai dis plus haut que le capteur renvoyait une valeur digitale (0 ou un 1) et fonctionnait un peu comme un interrupteur, je vous ai mentis <img src="http://blog.idleman.fr/wp-content/themes/twentytwelve/smile/icon_lol.png" alt=":D" class="wp-smiley" data-selected="false"></span></p><p class="mb1 cf1"><span class="fs12">En réalité le capteur seul est plus une “résistance” qui vas varier en fonction de la proximité du champs magnétique et renvoyer une valeur analogique (0.2,1.4 etc…), et c’est un problème pour nous qui avons besoin d’un 0 ou d’un 1.</span></p><p class="mb1 cf1"><span class="fs12">C’est la raison pour laquelle nous avons commandé un capteur avec un petit circuit associé, ce circuit comportes quelques autres composants qui vont traiter la valeur analogique et, a partir d’un certain seuil, définir qu’elle envoie un 0 ou un 1 (ex : si la résistance est entre 0 et 2,5 on envoie 0, sinon on envoie 1) .</span></p><p class="mb1 cf1"><span class="fs12">Et la ou cette petite carte est top, c’est que vous avez la possibilité de régler ce seuil !! En effet un ptit potentiomètre qui se présente sous la forme d’une vis (donc réglable avec un tournevis plat) permet de faire varier ce seuil, ainsi nous pourrons agir sur la sensibilité de notre détection de porte en fonction de la porte et de la puissance de l’aimant choisis.</span></p><p class="mb1 cf1"><span class="fs12">Je vous conseille bien évidemment de commander les aimants conseillés ci dessous qui sont minuscules et surpuissants, mais sur la théorie n’importe quel aimant avec un peu de portée fait l’affaire :).</span></p><h3 class=""><span class="fs12">Le matériel :</span></h3><ul class="mb2"><li class=""><span class="fs12">Votre fidèle raspberry PI <img src="http://blog.idleman.fr/wp-content/themes/twentytwelve/smile/icon_lol.png" alt=":D" class="wp-smiley" data-selected="false"></span></li><li class=""><span class="fs12">1 <span class="cf3"><a href="http://www.ebay.com/itm/Hall-switch-sensor-module-Motor-speed-test-For-Arduino-Magnetic-Detect-Car-lm393-/170934811829?ssPageName=ADME:L:OC:FR:3160" target="_blank" class="imCssLink">Capteur à effet de hall</a></span>~3€ (mais il y a moyens de trouver moins cher je pense) <strong class="">edit:</strong> le lien semble mort, vous pouvez <span class="cf3"><a href="http://www.dx.com/p/diy-hall-switch-hall-sensor-module-for-smart-car-blue-141648#.VsYWZPnhC00" target="_blank" class="imCssLink">prendre celui la,</a></span> qui est sensiblement identique ou encore ce modèle non ajustable à 1,7€ (fdpin) : <span class="cf3"><a href="http://www.dx.com/p/hall-magnetic-sensor-module-for-arduino-dc-5v-135033#.VsYW1_nhC00" target="_blank" class="imCssLink">http://dx.com/p/hall-magnetic-sensor-module-for-arduino-dc-5v-135033</a></span></span></li><li class=""><span class="fs12">1 <span class="cf3"><a href="http://www.ebay.com/itm/181056742141?ssPageName=STRK:MEWNX:IT&amp;_trksid=p3984.m1497.l2649">Aimant</a></span> Rare earth surpuissant ~1€ les 5</span></li></ul><h3 class=""><span class="fs12">Le montage :</span></h3><p class="mb1 cf1"><span class="fs12">Une grand mère unijambiste pourrait faire ce montage dans le noir mais je vais quand même vous le spécifier histoire que les lecteurs les moins sobres puissent nous suivre :</span></p><p class="mb1 cf1"><span class="fs12 cf3"><a href="http://blog.idleman.fr/wp-content/uploads/2013/01/ouverture.jpg" class="inline-block"><img title="ouverture" alt="ouverture" src="http://blog.idleman.fr/wp-content/uploads/2013/01/ouverture_thumb.jpg" width="565" height="513" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf1"><span class="fs12"><strong class="">nb :</strong> J’ai choisis de relier les données sur le pin physique 11 du raspberry, qui correspond au numéro “0” avec la librairie wiring PI.</span></p><h3 class=""><span class="fs12">Le code :</span></h3><p class="mb1 cf1"><span class="fs12">On vas avoir :</span></p><p class="mb1 cf1"><span class="fs12">Un programme en C qui vas vérifier toutes les x secondes l’état du pin “0” (qui sera donc à 0 ou 1 en fonction de si la porte est ouverte ou fermée) et envoyer l’état a une page php.</span></p><p class="mb1 cf1"><span class="fs12">Une page php qui vas enregistrer la valeur dans une base de données (ici un fichier texte)</span></p><p class="mb1 cf1"><span class="fs12">Enfin une page html basique qui vas faire un appel ajax au fichier texte de la base de donnée toutes les x secondes et afficher “porte fermée” ou “porte ouverte” en fonction du contenu du fichier texte.</span></p><p class="mb1 cf1"><span class="fs12">Notez que dans le fichier PHP nous avons aussi prévu quelques lignes pour yuri (yuri requête sur la page php, qui vas vérifier l’état du fichier et retourner à yuri la phrase a dire en conséquence “porte fermée” ou “porte ouverte”).</span></p><ol class="mb2"><li class=""><span class="fs12 cf3"><a href="http://www.raspberry-pi.ovh/files/capteurOuverture.zip" target="_blank" class="imCssLink">Téléchargez le programme ICI</a></span></li><li class=""><span class="fs12">Décompressez son contenu dans <strong class="">/var/www/capteurOuverture</strong></span></li><li class=""><span class="fs12">Réglez les permissions des fichiers (<strong class="">sudo chmod -R 777 /var/www/capteurOuverture</strong>ou moins bourrin avec un 775 ou un chown www-data)</span></li><li class=""><span class="fs12">Si vous voulez utiliser YURI, copiez le xml ouverture.xml du zip dans votre répertoire macros de yuri, et éditez le en remplaçant &nbsp;“<strong class="">votre.raspberry.pi</strong>” par l’adresse réseau de votre raspberry PI</span></li></ol><h3 class=""><span class="fs12">L’utilisation</span></h3><p class="mb1 cf1"><span class="fs12">Lancez le programme en C avec les paramètres :</span></p><ol class="mb2"><li class=""><span class="fs12 cf4">Adresse de la page php</span></li><li class=""><span class="fs12 cf5">Numéro wiring Pi du pin auquel vous avez relié le capteur</span></li></ol><p class="mb1 cf1"><span class="fs12">ex : ./capteurOuverture <strong class=""><span class="cf4">/var/www/capteurOuverture/capteurOuverture.php</span></strong> <strong class=""><span class="cf6">0</span></strong></span></p><p class="mb1 cf1"><span class="fs12">Lancez l’adresse <span class="cf3"><a href="http://votre.raspberry.pi/capteurOuverture">http://votre.raspberry.pi/capteurOuverture</a></span> (en remplaçant évidemment “votre.raspberry.pi” par l’adresse réseau de votre raspberry PI)</span></p><p class="mb1 cf1"><span class="fs12">Ouvrez/fermez votre porte et visualisez le résultat sur l’interface web</span></p><p class="mb1 cf1"><span class="fs12">Interrogez yuri en ouvrant/fermant votre porte</span></p></div></div>]]></description>
			<pubDate>Tue, 06 Mar 2012 18:25:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?detecter-l-ouverture-des-portes-et-fenetres</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/2792iw2a</guid>
		</item>
		<item>
			<title><![CDATA[Raspberry : Allumer des prises à distance]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_2sek768d"><header class="entry-header cf1"><h1 class="entry-title"><span class="fs12">Allumer des prises à distance</span></h1></header><div class="entry-content"><p class="mb1 cf3"><span class="fs12">Nous allons donc reproduire notre <span class="cf2"><a href="http://blog.idleman.fr/?p=1623">tuto &nbsp;“éteindre/allumer une lampe avec le raspberry PI”</a></span> mais cette fois ci, sans utiliser de fils.</span></p><h2 class="cf1"><strong class="fs12 cf3">Accueil des périphériques, par pièces</strong><br></h2><p class="mb1 cf3"><span class="fs12 cf2"><a href="http://blog.idleman.fr/wp-content/uploads/2012/12/image7.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2012/12/image_thumb7.png" width="389" height="254" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf3"><strong class="fs12">Espace de configuration sans utilisation de base de données</strong></p><p class="mb1 cf3"><span class="fs12 cf2"><a href="http://blog.idleman.fr/wp-content/uploads/2012/12/image8.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2012/12/image_thumb8.png" width="391" height="238" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf3"><strong class="fs12">Interface adaptables tablettes/smartphone</strong></p><p class="mb1 cf3"><span class="fs12 cf2"><a href="http://blog.idleman.fr/wp-content/uploads/2012/12/image9.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2012/12/image_thumb9.png" width="188" height="410" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf3"><span class="fs12"> </span></p><h2 class="cf1"><strong class="fs12">Points forts / Points faibles</strong></h2><h2 class="cf1"><span class="fs12"><strong class=""></strong>(de l’utilisation des ondes radio)</span></h2><p class="mb1 cf3"><span class="fs12">Ce montage est similaire au montage filaire que nous avons déjà vu, mais il a pour différences les points suivants.</span></p><p class="mb1 cf3"><strong class="fs12">FORCES :</strong></p><ul class="mb2 cf1"><li class=""><span class="fs12">Intégrable à votre appartement/maison sans avoir à démonter les murs ou à abîmer quoique ce soit</span></li><li class=""><span class="fs12">Ne prend qu’un seul PIN GPIO sur le rpi au lieu d’un par relais, il est donc possible de gérer une quantité infinie de périphérique (enfin 2^30 soit 1073741824 périphériques en fait :p) en n’utilisant qu’un seul pin</span></li><li class=""><span class="fs12">Le circuit de commande est dynamique, vous pouvez ajouter, déplacer, supprimer vos périphérique sans aucune modification à faire en terme d’électrique/électronique</span></li><li class=""><span class="fs12">Il est plus simple de permuter la commande classique (interrupteur simple) et la commande via le Raspberry PI afin d’utiliser simultanément les deux, ainsi si vôtre rpi grille, vous pourrez encore vous servir de votre système électrique de manière classique</span></li><li class=""><span class="fs12">Niveau esthétique, c’est plus discret qu’une 30 aine de fils qui se baladent <img src="http://blog.idleman.fr/wp-content/themes/twentytwelve/smile/icon_lol.png" alt=":D" class="wp-smiley" data-selected="false"></span></li><li class=""><span class="fs12">Le système est “portable” d’une habitation à une autre :), vous pouvez donc déménager facilement sans démonter les murs</span></li><li class=""><span class="fs12">Le système peut traverser la plupart des murs/obstacles/matières il vous est donc possible de gérer des périphériques dans des endroits peu accessibles</span></li></ul><p class="mb1 cf3"><strong class="fs12">FAIBLESSES :</strong></p><ul class="mb2 cf1"><li class=""><span class="fs12">La portée de l’émetteur que l’on a acheté est d’environ 30M (<strong class="">edit</strong>: si vous prenez celle d’ebay et une bonne alimentaiotn externe et que vous fixez un fil d’antenne, vous pouvez atteindre 200m de portée), peut être plus avec une bonne antenne, il vous faudra donc peut être plusieurs émetteur ou une bonne antenne ou encore un émetteur de meilleure qualité si vous avez une grande maison</span></li><li class=""><span class="fs12">Le système radio est au système filaire ce que le wifi est aux câbles Ethernet, donc moins sécurisé, bien que le signal soit sur 32 bits (auquel j’enlève les 2 bits d’état et de groupe) ce qui fait 1 073 741 824 combinaisons possibles par périphérique, dans le doute, faites mois plaisir : &nbsp;ne raccordez quand même pas des trucs qui craignent genre votre robinet à gaz <img src="http://blog.idleman.fr/wp-content/themes/twentytwelve/smile/icon_razz.png" alt=":p" class="wp-smiley" data-selected="false"></span></li><li class=""><span class="fs12">Avec ce montage, vous êtes sujet aux parasites radio, si il y en a beaucoup dans votre environnement, le signal peut être parfois mal capté (même si il est envoyé 5 fois et qu’on utilise le codage de Manchester ce qui réduit fortement le risque)</span></li></ul><h2 class="cf1"><strong class="fs12">Le matériel requis</strong></h2><p class="mb1 cf3"><span class="fs12">Si vous avez suivis le précédent tuto sur la radio, vous devriez déjà tout avoir :</span></p><ul class="mb2 cf1"><li class=""><span class="fs12">Un <span class="cf2"><a href="http://fr.farnell.com/raspberry-pi">raspberry PI modèle A ou B</a></span></span></li><li class=""><span class="fs12">Un set de<span class="cf2"><a href="http://www.conrad.fr/ce/fr/product/091426/Set-3-prises-avec-tlcommande-4-canaux-Chacon/?ref=detview1"> 3 prises chacon + télécommande</a></span> (~30€, vous pouvez acheter une prise seule mais ça coûte super cher (~20€ la prise), autant grouper)</span></li><li class=""><span class="fs12">Un émetteur RF 433Mhz </span></li></ul><p class="mb1 cf3"><span class="fs12">Ce qui nous fait un coût domotique entre 30€ et 65€ par la, en fonction du nombre de machines que vous voulez commander et des prix que vous trouvez sur le net.</span></p><p class="mb1 cf3"><span class="fs12">Notez que par la suite si vous souhaitez équiper d’autres pièces vous n’aurez pas à racheter de Raspberry PI ni d’émetteur (à moins d’habiter un palace auquel cas le prix ne vous posera pas problème) du coup vous paierez entre 15€ et 30€ pour équiper une pièce supplémentaire (en fonction du nombre de prises, des réductions, des frais de ports etc…).</span></p><h2 class="cf1"><strong class="fs12">Le montage</strong></h2><h2 class="cf1"><span class="fs12 cf3">Le montage </span><span class="fs12 cf3">rpi + émetteur 433 mhz a déjà été expliqué dans notre premier tuto sur RPI+radio, mais comme je suis un chic type et que j’adore faire des gribouillis, je répète le schéma ici :</span></h2><p class="mb1 cf3"><span class="fs12 cf2"><a href="http://blog.idleman.fr/wp-content/uploads/2012/12/image10.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2012/12/image_thumb10.png" width="499" height="495" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf3"><span class="fs12"><strong class="">nb</strong> : Une antenne de <strong class=""><span class="cf4">17.3 cm</span></strong> serait la taille optimale (merci à Ju pour la précision)</span></p><h2 class="cf1"><strong class="fs12">Le code</strong></h2><p class="mb1 cf3"><span class="fs12">Le code de l’interface web+programme C qui émet les signaux radio est <a href="http://www.raspberry-pi.ovh/files/hcc.zip" target="_blank" class="imCssLink">téléchargeable ici </a>:</span></p><ol class="mb2"><li class="cf1"><span class="fs12">Dé-zippez le code dans un répertoire var/www/hcc</span></li><li class=""><span class="fs12"><span class="cf1">Faites un </span><span id="crayon-56c5eef9246e9079097920" class="crayon-syntax crayon-syntax-inline &nbsp;crayon-theme-monokai crayon-theme-monokai-inline crayon-font-consolas"><span class="crayon-pre crayon-code"><span class="crayon-e">sudo </span><span class="crayon-r">chown</span><span class="crayon-h"> </span><span class="crayon-o">-</span><span class="crayon-i">R</span><span class="crayon-h"> </span><span class="crayon-v">www</span><span class="crayon-o">-</span><span class="crayon-v">data</span><span class="crayon-o">:</span><span class="crayon-v">www</span><span class="crayon-o">-</span><span class="crayon-v">data</span><span class="crayon-h"> </span><span class="crayon-o">/</span><span class="crayon-t">var</span><span class="crayon-o">/</span><span class="crayon-v">www</span><span class="crayon-o">/</span><span class="crayon-v">hcc</span></span></span></span><p class="mb1 cf3"><span class="fs12">sur tous le dossier hcc (changez /var/www/hcc si votre chemin est différent, important sinon rien ne fonctionnera)</span></p></li><li class=""><span class="fs12"><span class="cf1">Faites</span><br><span id="crayon-56c5eef9246f5606835574" class="crayon-syntax crayon-syntax-inline &nbsp;crayon-theme-monokai crayon-theme-monokai-inline crayon-font-consolas"><span class="crayon-pre crayon-code"><span class="crayon-e">sudo </span><span class="crayon-r">chown</span><span class="crayon-h"> </span><span class="crayon-v">root</span><span class="crayon-o">:</span><span class="crayon-v">www</span><span class="crayon-o">-</span><span class="crayon-v">data</span><span class="crayon-h"> </span><span class="crayon-o">/</span><span class="crayon-t">var</span><span class="crayon-o">/</span><span class="crayon-v">www</span><span class="crayon-o">/</span><span class="crayon-v">hcc</span><span class="crayon-o">/</span><span class="crayon-v">radioEmission</span></span></span><br><span class="cf1">puis un</span><br><span id="crayon-56c5eef9246fa390794731" class="crayon-syntax crayon-syntax-inline &nbsp;crayon-theme-monokai crayon-theme-monokai-inline crayon-font-consolas"><span class="crayon-pre crayon-code"><span class="crayon-e">sudo </span><span class="crayon-r">chmod</span><span class="crayon-h"> </span><span class="crayon-cn">4777</span><span class="crayon-h"> </span><span class="crayon-v">radioEmission</span></span></span><br><span class="cf1">sur l’exécutable nommé radioEmission (important sinon l’interface web ne fonctionnera pas)</span></span></li><li class="cf1"><span class="fs12">Le script est installé !!</span></li></ol><h2 class="cf1"><strong class="fs12">L’utilisation</strong></h2><p class="mb1 cf3"><span class="fs12">Vous pouvez envoyer un signal de deux façon différentes :</span></p><p class="mb1 cf3"><strong class="fs12">En ligne de commande linux :</strong></p><p class="mb1 cf3"><span class="fs12">/var/www/hcc/radioEmission <span class="cf5">0</span> <span class="cf6">12325261</span> <span class="cf8"><span class="cf7">1</span> on<br></span></span></p><p class="mb1 cf3"><span class="fs12"><span class="cf5">0</span> = le numéro WiringPi du PIN du Raspberry relié a la carte émetteur 433mhz (ici zéro, qui correspond au pin physique 11 du rpi)<br><span class="cf6">12325261</span><span class=""> = Un code de télécommande que nous attribuons arbitrairement au raspberry PI, ca permet aux prises de n’obéir qu’a ce code et donc qu’a votre raspberry.</span></span></p><p class="mb1 cf3"><span class="fs12"><span class="cf7">1</span> = code du récepteur (choisis arbitrairement, c’est ce qui permettra au récepteur de savoir si c’est à lui qu’on donne l’ordre ou a un autre)</span></p><p class="mb1 cf3"><span class="fs12"><span class="cf8">on</span> = état de la prise souhaité on ou off</span></p><p class="mb1 cf3"><span class="fs12">nb : Le ./ est obligatoire devant quand vous exécutez le programme depuis le répertoire courant, si vous ne le faite pas vous risquez de tomber sur un “commande not found”</span></p><p class="mb1 cf3"><span class="fs12"><strong class="">Depuis l’interface web :<br></strong>qui en réalité se contente d’exécuter la commande précédente (pourquoi faire compliqué) lorsque vous cliquez sur un item.</span></p><p class="mb1 cf3"><span class="fs12">Pour vous connecter, les logins et mot de passe par défaut sont :</span></p><p class="mb1 cf3"><span class="fs12"><strong class="">login &nbsp;:</strong> admin<br><strong class="">mdp :</strong> admin</span></p><p class="mb1 cf3"><span class="fs12">Ces identifiants peuvent être changé en éditant le fichier constant.php situé dans le répertoire hcc</span></p><p class="mb1 cf3"><span class="fs12">Notez bien que vous ne pourrez rien piloter tant que les prises n’auront pas fait l’apprentissage du signal que vous envoyez (expliqué un peu plus ci dessous).</span></p><h2 class="cf1"><strong class="fs12">La liaison émetteur/récepteur</strong></h2><p class="mb1 cf3"><span class="fs12">Les prises électriques Chacon ont un module d’apprentissage de signaux intégré, ce qui veux dire que lorsque vous les brancherez, elles “écouteront” pendant 5 secondes les signaux envoyés et reconnaîtrons ces signaux pas la suite.</span></p><p class="mb1 cf3"><span class="fs12">Il vous faut donc pour chaque prise, la brancher et émettre le signal avec le Raspberry PI (via l’interface web disponible sur <span class="cf2"><a href="http://wotre.raspberry.pi/hcc">http://wotre.raspberry.pi/hcc</a></span> ou par ligne de commande) avant 5 secondes pour qu’elle soit par la suite liée au signal.</span></p><p class="mb1 cf3"><span class="fs12">Vous reconnaîtrez des clic clac successifs vous avertissant que la télécommande a bien reçu votre signal et l’a mémorisé.</span></p><h2 class="cf1"><span class="fs12">En résumé</span></h2><p class="mb1 cf3"><span class="fs12">Il y a donc trois façons de piloter l’installation :</span></p><p class="mb1 cf3"><span class="fs12"><strong class="">pilotage classique : </strong>je passe par les interrupteurs Chacon (télécommande ou télécommande sous forme d’interrupteur) pour allumer/éteindre mes lampes</span></p><p class="mb1 cf3"><span class="fs12"><strong class="">pilotage par interface web :</strong> j’allume/éteint mes lampes via une interface web sur navigateur internet de tablettes/pc/smartphone</span></p><p class="mb1 cf3"><span class="fs12"><strong class="">pilotage par reconnaissance vocale :</strong>Lorsque je prononce une phrase définie, mon pc envoie directement une requête au Raspberry PI qui allume ou éteint les lampes</span></p><p class="mb1 cf3"><span class="fs12">Pour ce dernier, je me suis contenté de mélanger mon tuto sur la reconnaissance vocale (raspberry pi 09). Je vous invite à faire la même chose, le résultat est plutôt propre.</span></p><p class="mb1 cf3"><span class="fs12">Pour configurer yuri selon votre interface :</span></p><ol class="mb2 cf1"><li class=""><span class="fs12">Créez vos périphériques sur l’interface</span></li><li class=""><span class="fs12">Allez dans configuration, puis onglet divers</span></li><li class=""><span class="fs12">Cliquez sur télécharger le xml</span></li><li class=""><span class="fs12">Le XML est à placer dans le répertoire \macros\ de votre YURI</span></li></ol><p class="mb1 cf3"><span class="fs12">le mot clé de reconnaissance vocale, sera le nom que vous avez donné au périphérique</span></p><p class="mb1 cf3"><span class="fs12"> </span></p><p class="mb1 cf3"><span class="fs12">Si vous avez des problèmes de portées, de gros parasites, ou de mauvaise communication, pensez a faire ces deux choses :</span></p><ul class="mb2 cf1"><li class=""><span class="fs12">Prendre une alim externe pour les cartes radio et les l’alimenter au maximum de ce qu’elles sont capables de faire (cf la clause “voltage max” de fiche technique, souvent c’est entre 5 et 12V)</span></li><li class=""><span class="fs12">Souder un fil conducteur de 17.3 cm a l’émetteur et au récepteur pour servir d’antennes.</span></li></ul><p class="mb1 cf3"><span class="fs12">Avec ces deux points, vous pouvez passer de quelques centimètres à plusieurs centaines de mètres de portée, la différence est vraiment flagrante.</span></p></div></div>]]></description>
			<pubDate>Fri, 02 Mar 2012 18:15:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?raspberry---allumer-des-prises-a-distance</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/2sek768d</guid>
		</item>
		<item>
			<title><![CDATA[Relier à un écran et afficher du texte]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_60o59y19"><header class="entry-header cf1" style="margin: 0px 0px 1.71429rem; padding: 0px; border: 0px; vertical-align: baseline; line-height: 14px; widows: 1;"><h1 class="entry-title" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; clear: both; line-height: 1.2; font-weight: normal;"><span class="fs12">Relier à un écran et afficher du texte</span></h1></header><div class="entry-content cf1" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; line-height: 1.71429; widows: 1;"><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs12">Aujourd’hui nous allons apprendre à faire ça :<span id="more-1946" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"></span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs12 cf3"><a href="http://blog.idleman.fr/wp-content/uploads/2012/12/2012-12-10-18.10.05.jpg"><img title="2012-12-10 18.10.05" src="http://blog.idleman.fr/wp-content/uploads/2012/12/2012-12-10-18.10.05_thumb.jpg" alt="2012-12-10 18.10.05" width="362" height="482" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs12">Ce magnifique écran LCD, à l’origine utilisé sur les vieux téléphones nokia.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs12">Le but de ce tuto sera donc de brancher un petit écran LCD rétro éclairé (a 2,50€ sur ebay cela dit) et d’y afficher un texte choisis.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs12">Je suis partis du principe que je voulais, lorsque je branche mon raspberry au labo ou autre part, récupérer l’adresse ip qui lui est automatiquement attribué par le réseau sur lequel je me connecte, et l’afficher sur l’écran afin que je puisse me connecter au rpi en ssh sans avoir a demander a l’admin du réseau cette fameuse ip.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs12 cf3"><a href="http://blog.idleman.fr/wp-content/uploads/2012/12/image6.png"><img title="image" src="http://blog.idleman.fr/wp-content/uploads/2012/12/image_thumb6.png" alt="image" width="506" height="354" border="0" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline; background-image: none;" data-selected="false"></a></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs12">Ce sera donc notre fil rouge <img class="wlEmoticon wlEmoticon-smile" src="http://blog.idleman.fr/wp-content/uploads/2012/12/wlEmoticon-smile1.png" alt="Sourire" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px;" data-selected="false">, je vous rassure tout de suite, l’intro est longue, mais le tuto lui est très court, je m’en voudrait de vous tuer une seconde fois après le tuto sur la réception radio <img class="wlEmoticon wlEmoticon-openmouthedsmile" src="http://blog.idleman.fr/wp-content/uploads/2012/12/wlEmoticon-openmouthedsmile1.png" alt="Rire" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px;" data-selected="false">.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;" class="fs12">Le matériel:</strong></p><ol style="margin-right: 0px; margin-bottom: 1.71429rem; margin-left: 0px; border: 0px; vertical-align: baseline; list-style-position: outside; line-height: 1.71429;"><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs12">Un raspberry Pi</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs12">Un <span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="cf3"><a href="https://www.sparkfun.com/products/10168">écran LCD nokia 5110</a></span> à 10€ sur sparkfun, <span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="cf3"><a href="http://cgi.ebay.fr/84X48-Nokia-5110-LCD-Module-with-backlight-adapter-PCB-/200659764074?pt=LH_DefaultDomain_0&amp;hash=item2eb841036a">4,89 € sur ebay,</a></span> voir <span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="cf3"><a href="http://www.ebay.fr/itm/1PCS-84X48-84-48-Nokia-5110-LCD-Module-with-blue-backlight-adapter-PCB-/261034182941?pt=LH_DefaultDomain_0&amp;hash=item3cc6d9891d#ht_4875wt_1388">même à 2,50€</a></span> si vous cherchez encore sur ebay et peut être moins cher ailleurs</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs12">Quelques fils qui trainent, un peu d’étain, et un fer à souder.</span></li></ol><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;" class="fs12">Les branchements:</strong></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs12">Notez que l’écran possède deux rangée de 8 Trous à l’opposée l’une de l’autre, vous pouvez utiliser l’une ou l’autre des rangées ça ne fais aucune différence, nous utiliserons celle avec les inscriptions de chaque pin afin d’être sûr de ne pas faire d’erreurs.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs12 cf3"><a href="http://blog.idleman.fr/wp-content/uploads/2012/12/003.jpg"><img title="003" src="http://blog.idleman.fr/wp-content/uploads/2012/12/003_thumb.jpg" alt="003" width="356" height="356" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline;" data-selected="false"></a></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs12">Les 4 trous sur les coins sont uniquement la a titre de fixation, ils ne sont reliés à rien</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs12">Voila le branchement en image, fiez vous aux couleurs pour le fils qui sont un peu cachés :</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs12"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;" class="cf4"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">ATTENTION :</strong></span> sur mon écran l’alimentation principale est en 5V, cependant il semble que plusieurs sous modèle de la même référence n”acceptent que du 3v en entrée, aussi ne reliez comme ci dessous qu’après avoir regardé la fiche technique de votre écran.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs12">Si votre écran n’accepte que du 3V, reliez le fil rouge coté rpi au pin 1 et non au pin 2.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="fs12 cf3"><a href="http://blog.idleman.fr/wp-content/uploads/2012/12/RaspiModelB.jpg"><img title="RaspiModelB" src="http://blog.idleman.fr/wp-content/uploads/2012/12/RaspiModelB_thumb.jpg" alt="RaspiModelB" width="520" height="316" style="padding: 0px; border-width: 0px; vertical-align: baseline; max-width: 100%; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; display: inline;" data-selected="false"></a></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;" class="fs12">Le programme:</strong></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs12">Pour installer le programme , ouvrez la console SSH de votre rpi, et tapez les commandes suivantes :</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;" class="fs12">Téléchargement du programme:</strong></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs12">nb: la source est dans le zip pour ceux qui voudraient comprendre plus en détail le fonctionnement du script :).</span></p><div id="crayon-56c608c554710469828576" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; line-height: 15px !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf1" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf6" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt" data-settings="show" style="padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c608c554710469828576-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs12">1</span></div></div></td><td class="crayon-code imVt" style="width: 638px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c608c554710469828576-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs12 cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">sudo </span><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">wget </span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">http</span><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">:</span><i><span class="crayon-c" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">//idleman.fr/ressources/PHP/piScreen/lcd.zip</span></i></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;" class="fs12">Décompression</strong></p><div id="crayon-56c608c55471a320909116" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; line-height: 15px !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf1" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf6" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt" data-settings="show" style="padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c608c55471a320909116-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs12">1</span></div></div></td><td class="crayon-code imVt" style="width: 638px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c608c55471a320909116-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs12 cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">sudo </span><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">unzip </span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">lcd</span><span class="crayon-sy" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">.</span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">zip</span></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;" class="fs12">Déplacement</strong></p><div id="crayon-56c608c554720854981646" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; line-height: 15px !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf1" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf6" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt" data-settings="show" style="padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c608c554720854981646-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs12">1</span></div></div></td><td class="crayon-code imVt" style="width: 638px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c608c554720854981646-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs12 cf5"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">sudo </span><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">mv </span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">lcd</span><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">/</span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">etc</span><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">/</span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">lcd</span></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs12">Le programme est installé</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs12"> </span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs12 cf1"><b>Utilisation :</b></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs12">En ligne de commande</span></p><div id="crayon-56c608c554725000429701" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; line-height: 15px !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf1" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf6" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt" data-settings="show" style="padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c608c554725000429701-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs12">1</span></div></div></td><td class="crayon-code imVt" style="width: 638px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c608c554725000429701-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs12"><span class="cf7"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">/</span></span><span class="cf7"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">etc</span></span><span class="cf7"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">/</span></span><span class="cf7"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">lcd</span></span><span class="cf7"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">/</span></span><span class="cf7"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">screen</span></span><span class="cf7"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf7"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf7"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">p</span></span><span class="cf7"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf7"><span class="crayon-s" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">"Hello world"</span></span></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;" class="fs12">Options</strong></p><ul style="margin-right: 0px; margin-bottom: 1.71429rem; margin-left: 0px; border: 0px; vertical-align: baseline; list-style-position: outside; line-height: 1.71429;"><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs12"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">-h - </strong>commande d’aide</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs12"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">-i - </strong>affiche l’ip LAN de la machine courante à l’écran</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs12"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">-n - </strong>affiche le nom de la machine courante (hostname) à l’écran</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs12"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">-p - </strong>[text] affiche le texte spécifié à l’écran</span></li><li style="margin-left: 2.57143rem; border: 0px; vertical-align: baseline;"><span class="fs12"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">-p </strong>-[text] [0-10] affiche le texte spécifié à l’écran et définis le contraste de l’écran</span></li></ul><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;" class="fs12">Obtenir son IP sur l’écran lorsqu’on se connecte a un réseau</strong></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs12">Comme vous avez u le voir dans les options, la commande</span></p><div id="crayon-56c608c55472b766587350" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; line-height: 15px !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf1" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf6" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt" data-settings="show" style="padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c608c55472b766587350-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs12">1</span></div></div></td><td class="crayon-code imVt" style="width: 638px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c608c55472b766587350-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs12"><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">/</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">etc</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">/</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">lcd</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">/</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">screen</span></span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">i</span></span></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs12">Il nous suffit donc de lancer un CRON (une tâche planifiée) qui vas lancer cette commande toutes les x minutes (moi j’ai mis toutes les 1 minutes, mais bon c’est mieux d’augmenter un peu histoire de ne pas flooder non plus).</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs12">Ouvrez votre crontab</span></p><div id="crayon-56c608c554730636764561" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; line-height: 15px !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf1" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf6" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt" data-settings="show" style="padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c608c554730636764561-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs12">1</span></div></div></td><td class="crayon-code imVt" style="width: 638px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c608c554730636764561-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs12"><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">crontab</span></span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">e</span></span></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs12">Ajoutez la ligne</span></p><div id="crayon-56c608c554735797187774" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; line-height: 15px !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf1" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf6" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt" data-settings="show" style="padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c608c554735797187774-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs12">1</span></div></div></td><td class="crayon-code imVt" style="width: 638px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c608c554735797187774-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="fs12"><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">*</span></span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">*</span></span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">*</span></span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">*</span></span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">*</span></span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">/</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">etc</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">/</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">lcd</span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">/</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">screen</span></span><span class="cf5"><span class="crayon-h" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;"> </span></span><span class="cf5"><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span></span><span class="cf5"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">i</span></span></span></div></div></td></tr></tbody></table></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf2"><span class="fs12">Enregistrez, fermez et hop ! </span></p></div></div>]]></description>
			<pubDate>Wed, 29 Feb 2012 18:09:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?relier-a-un-ecran-et-afficher-du-texte</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/60o59y19</guid>
		</item>
		<item>
			<title><![CDATA[Allumer/éteindre une vraie lampe OU comment faire de la domotique low cost.]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_33122c87"><p class="mb1 cf1"><span class="fs12">Rhhha je vous ai trompé cher visiteurs, je n’avais plus de lampe sous la main alors j’ai pris…. un réveil !! Rire</span><br></p><p class="mb1 cf1"><span class="fs12">Mais peu importe, l’application est exactement la même, on se passera de lampe pour cet exercice.</span></p><p class="mb1 cf1"><span class="fs12">Nous allons voir aujourd’hui comment utiliser le raspberry PI et plus précisément les ports GPIO (broches) de la carte pour contrôler un élément électrique de votre habitation, cet élément peut être n’importe quoi : une lampe/lumière, un réveil, un frigo, une tv, bref tout ce qui vous passe par la tête.</span></p><p class="mb1 cf1"><br></p><p class="mb1 cf1"><span class="fs12">Prêt a tenter le coup ? C’est vraiment pas compliqué, il suffit de s’accrocher un tout petit peu...</span></p><p class="mb1 cf1"><span class="fs12">Voici les éléments requis pour cette expérience :</span></p><p class="mb1 cf1"><span class="fs12">–<strong class=""> Un ordinateur</strong>, branché sur votre réseau</span></p><p class="mb1 cf1"><span class="fs12 cf2"><a href="http://blog.idleman.fr/wp-content/uploads/2012/08/2012-08-30-23.15.36.jpg" class="inline-block"><img title="2012-08-30 23.15.36" alt="2012-08-30 23.15.36" src="http://blog.idleman.fr/wp-content/uploads/2012/08/2012-08-30-23.15.36_thumb.jpg" width="244" height="184" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf1"><span class="fs12">– <strong class="">Un raspberry PI</strong> </span></p><p class="mb1 cf1"><span class="fs12 cf2"><a href="http://blog.idleman.fr/wp-content/uploads/2012/08/2012-08-30-23.15.21.jpg" class="inline-block"><img title="2012-08-30 23.15.21" alt="2012-08-30 23.15.21" src="http://blog.idleman.fr/wp-content/uploads/2012/08/2012-08-30-23.15.21_thumb.jpg" width="244" height="184" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf1"><span class="fs12">– <strong class="">Une carte 8 relais</strong> 5V 10A (20,49€), à commander ici : <span class="cf2"><a href="http://hackspark.fr/fr/8-channel-5v-relay-module-5v-250vac-10a.html">http://hackspark.fr/fr/8-channel-5v-relay-module-5v-250vac-10a.html</a></span>.</span></p><p class="mb1 cf1"><span class="fs12"><strong class="">nb:</strong> Si la carte n’est plus disponible en stock, n’importe quelle carte relais de 5v avec une charge maximale assez haute (disons 10A) fera l’affaire. Une <span class="cf2"><a href="http://hackspark.fr/fr/2-channel-5v-relay-module.html">carte deux relais</a></span> (au lieu de <img src="http://blog.idleman.fr/wp-content/themes/twentytwelve/smile/icon_cool.gif" alt="8)" class="wp-smiley" data-selected="false"> est disponible pour moins cher sur le même site si vous voulez faire des tests sur 2 lampes uniquement, vous pouvez aussi acheter une relais 1 seul canal <span class="cf2"><a href="http://www.ebay.fr/itm/New-5V-10A-1-Channel-Relay-Module-Board-Shield-for-Arduino-PIC-STM32-MCU-Cheap-/390511068332?pt=LH_DefaultDomain_0&amp;hash=item5aec4604ac">pour 1.27€ ici</a></span>, histoire de tester sans vous ruiner :), le montage est le même. Bref n’hésitez pas ç regarder régulièrement sur ebay dans les achats immédiats catégorie monde entier, il y a souvent d’excellent prix et livraison gratuite.</span></p><p class="mb1 cf1"><span class="fs12"> </span></p><p class="mb1 cf1"><span class="fs12 cf2"><a href="http://blog.idleman.fr/wp-content/uploads/2012/08/2012-08-30-23.15.14.jpg" class="inline-block"><img title="2012-08-30 23.15.14" alt="2012-08-30 23.15.14" src="http://blog.idleman.fr/wp-content/uploads/2012/08/2012-08-30-23.15.14_thumb.jpg" width="244" height="184" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf1"><span class="fs12">– <strong class="">Un réveil</strong> (ou une lampe, ou ce que vous voulez) auquel vous ne tenez pas (ou vas couper du fil)</span></p><p class="mb1 cf1"><span class="fs12 cf2"><a href="http://blog.idleman.fr/wp-content/uploads/2012/08/2012-08-30-23.14.52.jpg" class="inline-block"><img title="2012-08-30 23.14.52" alt="2012-08-30 23.14.52" src="http://blog.idleman.fr/wp-content/uploads/2012/08/2012-08-30-23.14.52_thumb.jpg" width="244" height="184" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf1"><br></p><p class="mb1 cf1"><span class="fs12">Dans cet exercice nous ne contrôlerons qu’un seul appareil, mais notez bien qu’avec ces cartes vous pouvez en contrôler 8 simultanément, si vous avez suivis les précédents tutos sur les broches GPIO et que vous lisez attentivement celui ci, ça ne vous posera aucun problème de relier correctement les fils.</span></p><p align="left" class="mb1 cf1"><span class="fs12">Dans notre précédent tuto <a href="http://www.raspberry-pi.ovh/blog/index.php" target="_blank" class="imCssLink"><span class="cf2">Utiliser le GPIO et Interagir avec le monde réel</span> </a>nous avons allumé et éteint des diodes à l’aide d’une interface web, nous allons maintenant passer à la vitesse supérieure en remplaçant les LED par un réveil.</span></p><p align="left" class="mb1 cf1"><span class="fs12">Concrètement, le réveil est alimenté en 220V (branché a une prise de courant normale) et le raspberry peux fournir du … 5V maximum, il parait évident qu’il nous faut un “médiateur” entre les deux afin que le raspberry puisse contrôler le réveil.</span></p><p align="left" class="mb1 cf1"><span class="fs12">Ce médiateur s’appelle une “carte relais”, c’est tout simplement une carte qui vas servir d’interrupteur électronique pour le réveil, interrupteur commandé par le raspberry.</span></p><p align="left" class="mb1 cf1"><span class="fs12">Un petit schéma s’impose :</span></p><p align="left" class="mb1 cf1"><img class="image-0" src="http://www.raspberry-pi.ovh/images/shema.jpg"  title="" alt=""/><br></p><p class="mb1 cf1"><br></p><p class="mb1 cf1"><span class="fs12">Tout part du PC, on se connecte depuis le PC au site web qu’on a créé sur le raspberry PI (cf les tutos précédents) et on clique sur le bouton d’activation (crois rouge) du PIN 7 physique (qui correspond en fait au port GPIO 4 logique) de l’interface web.</span></p><p class="mb1 cf1"><br></p><p class="mb1 cf1"><span class="fs12 cf2"><a href="http://blog.idleman.fr/wp-content/uploads/2012/08/1.png" class="inline-block"><img title="1" alt="1" src="http://blog.idleman.fr/wp-content/uploads/2012/08/1_thumb.png" width="517" height="487" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf1"><br></p><p class="mb1 cf1"><span class="fs12">Ceci envoie un signal au raspberry qui met le port GPIO 4 à 1 (jusqu’a présent, il était a zéro).</span></p><p class="mb1 cf1"><span class="fs12">La carte relais est branchée de manière a ouvrir le circuit du réveil quand l’état du GPIO 4 est a zéro (donc le réveil est éteint) et a le fermer quand l’état est a 1 (donc le réveille s’allume).</span></p><p class="mb1 cf1"><br></p><p class="mb1 cf1"><span class="fs12 cf2"><a href="http://blog.idleman.fr/wp-content/uploads/2012/08/2012-08-30-23.15.141.jpg" class="inline-block"><img title="2012-08-30 23.15.14" alt="2012-08-30 23.15.14" src="http://blog.idleman.fr/wp-content/uploads/2012/08/2012-08-30-23.15.14_thumb1.jpg" width="528" height="397" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf1"><br></p><p class="mb1 cf1"><span class="fs12">La carte relais est donc un interrupteur commandé par le port GPIO4, mais comme cet interrupteur est électronique, il a besoin d’être alimenté, c’est pourquoi en plus du port GPIO4, deux fils (5v et masse) sont reliés a la carte pour alimenter celle ci en 5V.</span></p><p class="mb1 cf1"><span class="fs12">Pour être plus précis au niveau du raccordement, voila un autre schéma :</span></p><p class="mb1 cf1"><br></p><p class="mb1 cf1"><span class="fs12 cf2"><a href="http://blog.idleman.fr/wp-content/uploads/2012/08/image22.png" class="inline-block"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2012/08/image_thumb22.png" width="530" height="496" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf1"><span class="fs12">Notez bien que la carte relais supporte une puissance de 10A, soyez donc précautionneux en fonction de ce que vous y branchez, vous avez des risques de griller votre carte relais.</span></p><p class="mb1 cf1"><span class="fs12"><strong class="">Enfin très important :</strong> Si vous alimentez la carte relais avec votre rapsberry pi, en fonction de votre carte relais vous risquez a terme de griller les ports du rpi qui ne sont pas fait pour ça, aussi pour les tests ça passera mais pour une utilisation prolongée, utilisez une alimentation externe <img src="http://blog.idleman.fr/wp-content/themes/twentytwelve/smile/icon_biggrin.png" alt=":)" class="wp-smiley" data-selected="false"> (même montage sauf que vous reliez le + et l – de la carte a l’alim externe et le – de la carte relais au rpi (pour fermer le circuit de commande).</span></p></div>]]></description>
			<pubDate>Fri, 24 Feb 2012 16:25:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?allumer-eteindre-une-vraie-lampe-ou-comment-faire-de-la-domotique-low-cost-</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/33122c87</guid>
		</item>
		<item>
			<title><![CDATA[Installé le système d’exploitation Raspian sur notre Raspberry PI ]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_840qg4s3"><div class="entry-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; line-height: 1.71429; widows: 1;"><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf1"><span class="fs12">Maintenant que nous avons installé le système d’exploitation Raspian sur notre Raspberry PI (Raspian n’étant autre qu’une distribution linux spécialement conçue pour le Raspberry PI) et que nous nous sommes logué (sisi, rappelez vous des identifiants par défauts –&gt; login : <strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">pi</strong> , mot de passe <strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">rqspberry</strong>) nous allons pouvoir commencer les choses sérieuses !!</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf1"><span class="fs12">En premier pensez à changer votre mot de passe administrateur :</span></p><div class="wlWriterEditableSmartContent cf2" id="scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:bd333d49-8025-410c-863b-a61c856404e0" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; display: inline; float: none;"><div id="crayon-56c5ed20f0b62960157957" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate fs12" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf2" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf4" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt" data-settings="show" style="padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c5ed20f0b62960157957-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;">1</div></div></td><td class="crayon-code imVt" style="width: 638px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c5ed20f0b62960157957-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="cf3"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">sudo </span><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">passwd </span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">su</span></span></div></div></td></tr></tbody></table></div></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf1"><span class="fs12">Puis faire un ptit update de vos paquets :</span></p><div class="wlWriterEditableSmartContent cf2" id="scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:a261dfe9-72d2-42c5-b5ac-6c21c63f78af" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; display: inline; float: none;"><div id="crayon-56c5ed20f0b6d751484670" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate fs12" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf2" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 30px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf4" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt" data-settings="show" style="padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c5ed20f0b6d751484670-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;">1</div><div class="crayon-num crayon-striped-num cf5" data-line="crayon-56c5ed20f0b6d751484670-2" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">2</div></div></td><td class="crayon-code imVt" style="width: 638px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c5ed20f0b6d751484670-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="cf3"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">sudo </span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">apt</span><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">get </span><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">update</span></span></div><div class="crayon-line crayon-striped-line" id="crayon-56c5ed20f0b6d751484670-2" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><span class="cf3"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">sudo </span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">apt</span><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">get </span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">upgrade</span></span></div></div></td></tr></tbody></table></div></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf1"><span class="fs12">Une fois ceci terminé, nous allons installer d’une traite apache (un serveur HTTP permettant de publier du contenu Html sur le web), PHP (langage serveur permettant le traitement dynamique d’informations) et MySQL (une base de donnée).</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf1"><span class="fs12">Certains seraient tenté d’installer directement le paquet lamp-server qui englobe tous ces paquets, grossière erreur, le Raspberry ne l’entendrait pas de cette oreille, il vous faut donc installer les paquets séparément (mais en une seule ligne)</span></p><div class="wlWriterEditableSmartContent cf2" id="scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:b2aa07fb-e528-4b85-a091-04fd2bacc4bb" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; display: inline; float: none;"><div id="crayon-56c5ed20f0b74108306772" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate fs12" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf2" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf4" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt" data-settings="show" style="padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c5ed20f0b74108306772-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;">1</div></div></td><td class="crayon-code imVt" style="width: 638px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c5ed20f0b74108306772-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="cf3"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">sudo </span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">apt</span><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">get </span><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">install </span><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">apache2 </span><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">php5 </span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">mysql</span><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">server </span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">libapache2</span><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">mod</span><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">php5 </span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">php5</span><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">mysql</span></span></div></div></td></tr></tbody></table></div></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf1"><span class="fs12">Après quelques petites questions d’usage, votre serveur web est en place, pour le tester rien de plus simple, tapez la commande :</span></p><div class="wlWriterEditableSmartContent cf2" id="scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:27901aaa-7fcf-4bf2-be30-82bcbb12e5e4" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; display: inline; float: none;"><div id="crayon-56c5ed20f0b79393242050" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate fs12" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf2" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf4" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt" data-settings="show" style="padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c5ed20f0b79393242050-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;">1</div></div></td><td class="crayon-code imVt" style="width: 638px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c5ed20f0b79393242050-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="crayon-i cf3" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">ifconfig</span></div></div></td></tr></tbody></table></div></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf1"><span class="fs12">et repérez l’adresse IP réseau de votre Raspberry pi (très certainement une adresse commençant par 192.168.*.*)</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf1"><span class="fs12">Tapez cette adresse depuis un autre ordinateur banché sur le même réseaux local et TADDAA!! <strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">It works !</strong></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf1"><span class="fs12">nb : si vous n’avez pas d’autres pc sur le réseau, passez en mode graphique sur votre Raspberry PI.</span></p><div class="wlWriterEditableSmartContent cf2" id="scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:8ea60fbe-996e-40e4-bc10-c8418ad9e962" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; display: inline; float: none;"><div id="crayon-56c5ed20f0b7f338297393" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate fs12" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf2" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf4" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt" data-settings="show" style="padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c5ed20f0b7f338297393-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;">1</div></div></td><td class="crayon-code imVt" style="width: 638px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c5ed20f0b7f338297393-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="crayon-i cf3" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">startx</span></div></div></td></tr></tbody></table></div></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf1"><span class="fs12">Puis ouvrez le navigateur installé par défaut et tapez l’adresse suivante :</span></p><div class="wlWriterEditableSmartContent cf2" id="scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:e129f7c8-d311-4977-8aa6-ca194bf3459f" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; display: inline; float: none;"><div id="crayon-56c5ed20f0b84511020758" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate fs12" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf2" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf4" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt" data-settings="show" style="padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c5ed20f0b84511020758-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;">1</div></div></td><td class="crayon-code imVt" style="width: 638px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c5ed20f0b84511020758-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="cf3"><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">http</span><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">:</span><i><span class="crayon-c" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">//127.0.0.1</span></i></span></div></div></td></tr></tbody></table></div></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf1"><span class="fs12">Notez qu’a partir de maintenant, toutes les pages situées dans le dossier /var/www de votre Raspberry PI seront accessibles via l’adresse réseau tapée (uniquement depuis votre réseau) ou via l’adresse WAN (votre adresse extérieure) une fois que vous aurez débloqué le port 80 sur votre box/routeur pour l’adresse réseau du Raspberry.</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf1"><span class="fs12">Pour plus d’information sur apache, MySQL et PHP je vous invite a lire la doc d’ubuntu :<span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="cf6"><a title="http://doc.ubuntu-fr.org/lamp" href="http://doc.ubuntu-fr.org/lamp">http://doc.ubuntu-fr.org/lamp</a></span> nous ne traiterons pas plus en détail de cette partie étant donné qu’il ne s’agit pas de quelque chose de spécifique au Raspberry PI (libre a vous de m’envoyer vos questions par mail ou par commentaires pour ceux qui ne connaissent pas).</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf1"><span class="fs12">Je vous conseille également l’installation du célèbre paquet phpMyAdmin, script php permettant de gérer facilement votre base de données MySQL depuis l’adresse <span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; outline: none;" class="cf6"><a href="http://votre.ip/phpmyadmin">http://votre.ip/phpmyadmin</a></span> :</span></p><div class="wlWriterEditableSmartContent cf2" id="scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:5295a394-2624-467c-96f1-12bb3eeccec5" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; display: inline; float: none;"><div id="crayon-56c5ed20f0b8b613553795" class="crayon-syntax crayon-theme-monokai crayon-font-consolas crayon-os-pc print-yes notranslate fs12" data-settings=" minimize scroll-mouseover" style="margin: 12px 0px; padding: 0px; vertical-align: baseline; box-sizing: border-box; width: 658.688px; height: auto; border: 1px solid rgb(255, 174, 0) !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-plain-wrap" style="border: 0px; vertical-align: baseline; margin: 0px !important; padding: 0px !important; height: auto !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><textarea wrap="soft" class="crayon-plain print-no cf2" data-settings="dblclick" readonly="" style="border: 0px; border-radius: 0px; padding: 0px 5px; overflow: hidden; vertical-align: top; width: 656.688px; margin: 0px; height: 15px; position: absolute; opacity: 0; box-sizing: border-box; box-shadow: none; white-space: pre; word-wrap: normal; resize: none; tab-size: 4; z-index: 0; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></textarea></div><div class="crayon-main" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; width: 656.688px; overflow: hidden; position: relative; z-index: 1; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><table class="crayon-table cf4" style="margin-left: 0px; vertical-align: baseline; line-height: 2; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-spacing: 0px !important; width: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><tbody style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><tr class="crayon-row" style="margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><td class="crayon-nums &nbsp;imVt" data-settings="show" style="padding: 0px !important; border-right-color: rgb(85, 85, 85) !important; color: rgb(137, 137, 137) !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-nums-content" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; white-space: nowrap; line-height: 15px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-num" data-line="crayon-56c5ed20f0b8b613553795-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; text-align: center; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;">1</div></div></td><td class="crayon-code imVt" style="width: 638px; padding: 0px !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><div class="crayon-pre" style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre; overflow: visible; border: none !important; line-height: 15px !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><div class="crayon-line" id="crayon-56c5ed20f0b8b613553795-1" style="margin: 0px; padding: 0px 5px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 50%; background-repeat: initial;"><span class="cf3"><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">sudo </span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">apt</span><span class="crayon-o" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">-</span><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">get </span><span class="crayon-e" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">install </span><span class="crayon-i" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; font-weight: inherit !important;">phpmyadmin</span></span></div></div></td></tr></tbody></table></div></div></div><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf1"><span class="fs12">(Le login par défaut est <strong style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">root</strong> et le mot de passe est celui que vous avec renseigné lorsque vous avez installé MySQL)</span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf1"><span class="fs12"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; line-height: 16.7969px;" class="cf7">Note: L’installation de phpmyadmin ne crée pas le lien symbolique permettant d’accéder à phpmyadmin, il faut alors le créer manuellement :</span><br style="word-wrap: break-word; line-height: 16.7969px;" class="cf7"><span style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; line-height: 16.7969px;" class="cf7">sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin</span></span></p><p style="margin-bottom: 10px; border: 0px; vertical-align: baseline; line-height: 1.71429;" class="cf1"><br></p></div></div>]]></description>
			<pubDate>Tue, 21 Feb 2012 16:13:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?installe-le-systeme-d-exploitation-raspian-sur-notre-raspberry-pi-</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/840qg4s3</guid>
		</item>
		<item>
			<title><![CDATA[Brancher et installer le Raspberry PI]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_hff80r6u"><p class="mb1 cf1"><strong class="fs12">3 Os possibles à installer</strong></p><p class="mb1 cf1"><span class="fs12">Nous allons commencer par installer sur la carte SD &nbsp;(16 go pour moi, 8 go minimum conseillés) le système d’exploitation qui n’est autre qu’une distribution linux.</span></p><p class="mb1 cf1"><span class="fs12"><span class="imUl">En gros trois distributions possibles</span> : Debian squeeze, ARM Arch linux ou Raspian</span></p><p class="mb1 cf1"><span class="fs12">Visiblement Debian squeeze est le plus simple a prendre en main, malheureusement c’est également le moins optimisé pour le raspberry, donc beaucoup de pertes de perfs, on peux rayer celui la .</span></p><p class="mb1 cf1"><span class="fs12">Ca nous laisse deux Os auxquels je ne connais rien, donc a choisir, autant prendre celui qui a été “spécialement” conçu pour le raspberry j’ai nommé raspian.</span></p><p class="mb1 cf1"><span class="fs12">Je télécharge donc raspian “wheezy” ici : <span class="cf2"><a href="http://www.raspberrypi.org/downloads">http://www.raspberrypi.org/downloads</a></span></span></p><p class="mb1 cf1"><span class="fs12">Pour l’installer sur la carte SD, j’utilise le programme utilitaire <strong class="">Win32DiskImager</strong> disponible ici :<span class="cf2"><a href="http://www.softpedia.com/get/CD-DVD-Tools/Data-CD-DVD-Burning/Win32-Disk-Imager.shtml">http://www.softpedia.com/get/CD-DVD-Tools/Data-CD-DVD-Burning/Win32-Disk-Imager.shtml</a></span></span></p><p class="mb1 cf1"><span class="fs12">J’exécute Win32DiskImager qui me demande le chemin vers l’image de raspian (.img) ainsi que le lecteur sur lequel je veut l’installer (donc ma carte sd précédemment entrée dans le port SD de mon portable)</span></p><p class="mb1 cf1"><span class="fs12 cf2"><a href="http://blog.idleman.fr/wp-content/uploads/2012/07/image19.png"><img title="image" alt="image" src="http://blog.idleman.fr/wp-content/uploads/2012/07/image_thumb19.png" width="541" height="161" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf1"><span class="fs12">Un clic sur “write” puis sur “yes” (car un message bien flippant me disant que je pourrais perdre ou corrompre mes données de carte SD est apparus (je m’inquiète pas trop parce que quand même, il faut bien avouer que ladite carte est vierge)).</span></p><p class="mb1 cf1"><span class="fs12">Au bout de quelques secondes (qui vont vous sembler une éternité si &nbsp;vous êtes aussi fébriles que moi) l’os est déployé sur la carte.</span></p><p class="mb1 cf1"><strong class="fs12">1 carte SSD à plugger</strong></p><p class="mb1 cf1"><span class="fs12">J’enlève donc la carte SD de mon pc pour la brancher directement sur la prise prévue a cet effet située sous le raspberry.</span></p><p class="mb1 cf1"><span class="fs12 cf2"><a href="http://blog.idleman.fr/wp-content/uploads/2012/07/2012-07-27-20.53.09.jpg"><img title="2012-07-27 20.53.09" alt="2012-07-27 20.53.09" src="http://blog.idleman.fr/wp-content/uploads/2012/07/2012-07-27-20.53.09_thumb.jpg" width="240" height="319" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf1"><span class="fs12">Je peux maintenant passer au branchement de mes câbles pour alimenter la bête !!<strong class=""></strong></span></p><p class="mb1 cf1"><strong class="fs12">5 câbles à brancher</strong></p><p class="mb1 cf1"><span class="fs12">Dans le sens des aiguilles d’une montre (et en partant du câble le plus haut) nous devons brancher :</span></p><ul class="mb2 cf3"><li class=""><span class="fs12">Le câbles HDMI (dont l’autre bout sera relié a votre écran par du DVI ou de l’HDMI en fonction du câble et de l’écran que vous avez sous la main)</span></li><li class=""><span class="fs12">Le câble micro USB, qui vous servira a alimenter votre raspberry PI (l’autre bout sera donc relié a un port usb de pc ou encore a une prise USB comme celle dont vous disposez pour vos smartphones)</span></li><li class=""><span class="fs12">Le câble USB simple, qui sera relié a votre switch USB (vous permettant de multiplier vos ports USB, avec mon switch, je passe de deux a 7 ports, ça fait plaisir <img alt="Tire la langue" src="http://blog.idleman.fr/wp-content/uploads/2012/07/wlEmoticon-smilewithtongueout2.png" class="wlEmoticon wlEmoticon-smilewithtongueout" data-selected="false">)</span></li><li class=""><span class="fs12">Le câble Ethernet, qui sera relié a votre box ADSL et vous permettra par conséquent d’avoir le net <img alt="Sourire" src="http://blog.idleman.fr/wp-content/uploads/2012/07/wlEmoticon-smile2.png" class="wlEmoticon wlEmoticon-smile" data-selected="false"></span></li></ul><p class="mb1 cf1"><span class="fs12 cf2"><a href="http://blog.idleman.fr/wp-content/uploads/2012/07/2012-07-27-20.52.16.jpg"><img title="2012-07-27 20.52.16" alt="2012-07-27 20.52.16" src="http://blog.idleman.fr/wp-content/uploads/2012/07/2012-07-27-20.52.16_thumb.jpg" width="558" height="420" border="0" class="" data-selected="false"></a></span></p><p class="mb1 cf1"><span class="fs12">Une fois le bousin branché et alimenté, une inquiétante lumière rouge s’allume sur le raspberry puis une jaune, puis deux vertes, et la magie opère…</span></p><p class="mb1 cf1"><span class="fs12">…ou pas !!</span></p><p class="mb1 cf1"><span class="fs12">En effet chez moi aucun signal vidéo n’est émis.</span></p><p class="mb1 cf1"><span class="fs12">Après quelques recherches, cela viendrait de l’os qui se serait mal installé sur la carte, j’ai donc réinstallé raspian et ça fonctionne.</span></p><p class="mb1 cf1"><span class="fs12">…Et j’ai eu la chance d’obtenir une console de ce type sur mon écran :</span></p><p class="mb1 cf1"><span class="fs12"><img alt="Résumé des manipulations à faire sur la console de démarrage" src="http://www.benji1000.net/wp-content/gallery/raspberry-pi/raspberry-pi-console-notes.jpg" width="521" height="318" class="" data-selected="false"></span></p><p class="mb1 cf1"><span class="fs12">(source image : <span class="cf2"><a href="http://www.benji1000.net/">http://www.benji1000.net</a></span> )</span></p><p class="mb1 cf1"><strong class="fs12">1 identifiant en qwerty à taper</strong></p><p class="mb1 cf1"><span class="fs12">Login : <strong class="">pi</strong><br>Mot de passe : <strong class="">rqspberry</strong> (car votre clavier est en anglais a ce moment précis)</span></p><p class="mb1 cf1"><span class="fs12">ça y est, vous êtes logué sur votre magnifique serveur et pouvez m’envoyer quelques petites commentaires narquois pour me rendre jaloux ^^</span></p><p class="mb1 cf1"><span class="fs12"><strong class="">Nb:</strong> Sur les dernières versions, raspian nous mâche le travail en nous auto-loggant et en nous proposant plein de petites options avec un joli écran de configuration bleu de la mort.</span></p><p class="mb1 cf1"><span class="fs12">Je vous conseille d’aller directement mettre le clavier en azerty (clavier francais) via l’option du tableau <strong class="cf4">configure_keyboard Set keyboard layout.</strong></span></p><p class="mb1 cf1"><span class="fs12">Sélectionnez alors <strong class="cf4">Generic 105-key (intl) PC </strong>puis <strong class="">Other </strong>puis<span class=""> </span><strong class="">French </strong>puis <span class=""> </span><strong class="">French </strong>puis <span class=""> </span><strong class="">The default for the keyboard layout</strong>puis <strong class="">No compose key </strong>puis <strong class="">No</strong></span></p><p class="mb1 cf1"><span class="fs12">(oui je sais c’est vachement long pour un si ptit truc). Votre clavier est donc maintenant normalement en français, n’hésitez pas a rebooter si la modif n’a pas été prise en compte tout de suite.</span></p><p class="mb1 cf1"><span class="fs12">Notez que sur ce panneau bleu de configuration (accessible a tous moment depuis la ligne de commande “<b><span class="kw2 cf3">sudo</span></b><span class=""> raspi-config”) </span>vous avez de nombreuses configurations importantes à faire comme le réglage de la langue du systeme (option <span class="cf4"> </span><strong class="cf4">change_locale Set locale) </strong><span class="">le fuseau horaire </span><span class="">(option </span><span class="cf4"> </span><strong class="cf4">change_timezone Set timezone</strong><span class="">)</span><span class="cf4"> etc…</span></span></p><p class="mb1 cf1"><span class="fs12">Une config qui est importante également c’est le redimensionnement de la partition système, en effet le système prend par défaut la quasi totalité de votre carte SD (ne me demandez pas pourquoi) qu’il n’utilise pas, en redimensionnant cette partition &nbsp;vous regagnez la place injustement pillée par le système.</span></p><p class="mb1 cf1"><span class="fs12">Le panneau de config à aussi pensé à ça et vous propose une option <strong class="cf4">expand_rootfs Expand root partition to fill SD card, </strong>(mettez finish ok etc… ) &nbsp;votre système vas alors redémarrer avec bien plus de place à votre disposition.</span></p><p class="mb1 cf1"><span class="fs12">Pas très à l’aise avec la ligne de commande? Quittez l’ecran de config pour arriver sur la console, et tapez <em class=""><strong class="">startx</strong></em> &nbsp;(ou stqrtx si vous n’avez pas encore changé la config clavier) pour lancer l’interface graphique.</span></p><p class="mb1 cf1"><span class="fs12"><img alt="Raspberry Pi - Bureau sous LXDE" src="http://www.benji1000.net/wp-content/gallery/raspberry-pi/raspberry-pi-desktop.jpg" width="526" height="300" class="" data-selected="false"></span></p><p class="mb1 cf1"><span class="fs12">C’est quand même vachement plus sympa non ? Dans le prochain tuto, nous verrons comment installer les packages nécessaires pour transformer le raspberry en serveur web.</span></p></div>]]></description>
			<pubDate>Sun, 19 Feb 2012 17:28:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?brancher-et-installer-le-raspberry-pi</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/hff80r6u</guid>
		</item>
		<item>
			<title><![CDATA[Le raspberry pi c’est quoi ?]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_255mnz39"><h2 class="cf1"><span class="fs12">Le raspberry pi c’est quoi ?</span></h2><p class="mb1 cf2"><span class="fs12">Le raspberry Pi c’est, pour faire court, un pc de la taille d’une carte de crédit, pouvant supporter une distribution linux, pour le prix de …30 euros &nbsp;(+-10€).</span></p><p class="mb1 cf2"><span class="fs12 cf3"><a href="http://blog.idleman.fr/wp-content/uploads/2012/03/raspberry_proto.png"><img title="raspberry_proto" alt="" src="http://blog.idleman.fr/wp-content/uploads/2012/03/raspberry_proto-300x225.png" width="300" height="225" srcset="http://blog.idleman.fr/wp-content/uploads/2012/03/raspberry_proto-300x225.png 300w, http://blog.idleman.fr/wp-content/uploads/2012/03/raspberry_proto.png 500w" sizes="(max-width: 300px) 100vw, 300px" class="aligncenter size-medium wp-image-1027" data-selected="false"></a></span></p><p class="mb1 cf2"><span class="fs12">Le pi dispose de nombreux port/prises/capteurs , usb, ethernet, bluetooth …</span></p><p class="mb1 cf2"><span class="fs12 cf3"><a href="http://blog.idleman.fr/wp-content/uploads/2012/03/raspberry-pi-pc9-6-328218-13.jpg"><img title="raspberry-pi-pc,9-6-328218-13" alt="" src="http://blog.idleman.fr/wp-content/uploads/2012/03/raspberry-pi-pc9-6-328218-13-300x221.jpg" width="300" height="221" srcset="http://blog.idleman.fr/wp-content/uploads/2012/03/raspberry-pi-pc9-6-328218-13-300x221.jpg 300w, http://blog.idleman.fr/wp-content/uploads/2012/03/raspberry-pi-pc9-6-328218-13.jpg 440w" sizes="(max-width: 300px) 100vw, 300px" class="aligncenter size-medium wp-image-1026" data-selected="false"></a></span></p><p class="mb1 cf2"><span class="fs12">Vous l’aurez compris, les applications de ce genre de matos sont nombreuses (et peu coûteuses) d’ou l’objet de ma convoitise, et celle de quelques centaine de milliers de geeks.</span></p><p class="mb1 cf2"><span class="fs12">Imaginez les applications que vous pourriez faire d’un mini serveur dédié portable à 30€ !!</span></p><p class="mb1 cf2"><span class="fs12"><strong class="">Domotique</strong> : installer des serveur raspberry sur chaque machine Electroménager et contrôler chaque serveur depuis sont réseaux.</span></p><p class="mb1 cf2"><span class="fs12"><strong class="">Itinérance &nbsp;</strong>: Avoir dans son porte monnaie à chaque instant un serveur de fichiers accessible par wifi, et pourquoi pas via une solution logicielle échanger ces fichiers automatiquement avec tous les raspberry environnants.</span></p><p class="mb1 cf2"><span class="fs12"><strong class="">Piratage</strong> : The pirate bay pense même à fixer ce genre de matos sur des ballons stratosphériques pour mettre à l’abri ses torrents de la juridiction <img src="http://blog.idleman.fr/wp-content/themes/twentytwelve/smile/icon_lol.png" alt=":D" class="wp-smiley" data-selected="false"> (évidemment c’est une joke de l’admin, mais je trouve le concept presque viable si on ne tient pas compte de l’autonomie, des variations climatiques, des volatiles, de la couverture réseau…)</span></p><p class="mb1 cf2"><span class="fs12"><b>Un magnifique boîtier :</b></span></p><p class="mb1 cf2"><span class="fs12 cf3"><a href="http://blog.idleman.fr/wp-content/uploads/2012/03/boitier-raspberry-pi-21-640x359.jpg"><img title="boitier-raspberry-pi-21-640x359" alt="" src="http://blog.idleman.fr/wp-content/uploads/2012/03/boitier-raspberry-pi-21-640x359-300x168.jpg" width="300" height="168" srcset="http://blog.idleman.fr/wp-content/uploads/2012/03/boitier-raspberry-pi-21-640x359-300x168.jpg 300w, http://blog.idleman.fr/wp-content/uploads/2012/03/boitier-raspberry-pi-21-640x359.jpg 640w" sizes="(max-width: 300px) 100vw, 300px" class="mt1 mb2 size-medium wp-image-1024 alignleft" data-selected="false"></a></span></p><p class="mb1 cf2"><span class="fs12 cf3"><a href="http://blog.idleman.fr/wp-content/uploads/2012/03/boitier-raspberry-pi-11-640x480.jpg"><img title="boitier-raspberry-pi-11-640x480" alt="" src="http://blog.idleman.fr/wp-content/uploads/2012/03/boitier-raspberry-pi-11-640x480-300x225.jpg" width="300" height="225" class="" data-selected="false"></a></span></p><p class="mb1 cf2"><span class="fs12"> </span></p></div>]]></description>
			<pubDate>Sat, 18 Feb 2012 16:05:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?le-raspberry-pi-c-est-quoi--</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/255mnz39</guid>
		</item>
		<item>
			<title><![CDATA[PHP: dicter du texte sous n’importe quel OS]]></title>
			<author><![CDATA[]]></author>
			<category domain="http://www.raspberry-pi.ovh/blog/index.php?category=Tutoriels"><![CDATA[Tutoriels]]></category>
			<category>imblog</category>
			<description><![CDATA[<div id="imBlogPost_4j57zc59"><div><header><div><span class="fs12 cf1">PHP: dicter du texte sous n’importe quel OS</span></div><div><br></div></header></div><div><span class="fs12"><span class="cf1">Tant qu’on est dans nos projets de domotiques, autant en profiter pour alimenter aussi les snippets avec de la synthèse vocale</span><span class="cf1"> </span><span class="cf1">.</span></span></div><div><span class="fs12"><span class="cf1">Ce petit snippet vous permettra de faire du text-to-speech</span><span class="cf1"> </span><strong><span class="imUl cf1">très simplement</span></strong><span class="cf1">, que votre serveur php soit sous</span><strong><span class="cf1"> </span><span class="cf1">linux, windows, ou mac</span></strong><span class="cf1">.</span></span></div><div><span class="fs12 cf1">Pour rappel, le text-to-speech (TTS) permet de transformer une phrase écrite en phrase prononcée, votre ordinateur dictera le texte que vous lui fournissez</span></div><div><br></div><div><span class="fs12"><span class="cf1">Le code utilise la librairie</span><span class="cf1"> </span><strong><span class="cf1">open source</span></strong><span class="cf1"> </span><span class="cf1">espeak et une petite classe PHP de votre serviteur (un peu vite fait la classe, mais c’est pour l’exemple).</span></span></div><div><strong><br></strong></div><div><strong><span class="fs12 cf1">Installation:</span></strong></div><div><ol><li><span class="fs12"><span class="cf1">Téléchargez et installez la librairie Espeak sur :</span><span class="cf1"> </span><span class="cf1"><a href="http://espeak.sourceforge.net/download.html" target="_blank" class="imCssLink">http://espeak.sourceforge.net/download.html</a> ou <a href="http://www.raspberry-pi.ovh/files/setup_espeakedit-1.48.03.exe" class="imCssLink">Windows</a> - <a href="http://www.raspberry-pi.ovh/files/setup_espeak-1.48.04.exe" target="_blank" class="imCssLink">Windows en ligne de commande SAPI5 </a> - <a href="http://www.raspberry-pi.ovh/files/espeak-1.47.06-riscos.zip" target="_blank" class="imCssLink">RISC OS</a> - <a href="http://www.raspberry-pi.ovh/files/espeakedit-1.48.03.zip" class="imCssLink">Linux </a>- <a href="http://www.raspberry-pi.ovh/files/espeak-1.48.04-source.zip" target="_blank" class="imCssLink">Linux 32</a> - <a href="http://www.raspberry-pi.ovh/files/espeak-1.45.04-OSX.zip" class="imCssLink">Mac </a>- </span><span class="fs12"><span class="cf1">Additional dictionary data is available for languages for <span class="fs12"><a href="http://www.raspberry-pi.ovh/files/ru_dict-48.zip" target="_blank" onmouseover="x5engine.imTip.Show(this, { text: 'here is a source copy of the additional Russian data which can be used to compile a new ru_dict file. Download ru_listx.zip and extract the ru_listx file into eSpeak\'s dictsource directory, (which should also contain the ru_list and ru_rules) and do:&lt;br /&gt;  espeak --compile=ru', width: 300});" class="imCssLink">Russian</a>, <a href="http://www.raspberry-pi.ovh/files/zh_listx.zip" target="_blank" onmouseover="x5engine.imTip.Show(this, { text: 'Download this file and extract the zh_listx file into eSpeak\'s dictsource directory. From within the dictsource directory, do:&lt;br /&gt;  espeak --compile=zh', width: 300});" class="imCssLink">Mandarin</a>, <a href="http://www.raspberry-pi.ovh/files/zhy_list.zip" onmouseover="x5engine.imTip.Show(this, { text: 'Download this file and extract the zhy_list file into eSpeak\'s dictsource directory. From within the dictsource directory, do:&lt;br /&gt;  espeak --compile=zh-yue&lt;br /&gt;&lt;br /&gt;', width: 300});" class="imCssLink">Cantonese</a>.</span></span></span></span></li><li><span class="fs12"><span class="cf1"><a href="http://www.raspberry-pi.ovh/files/synth.zip" target="_blank" class="imCssLink">Téléchargez la classe PHP</a></span><span class="cf1"> </span><span class="cf1">et Configurez le chemin vers la librairie espeak dans la variable </span><strong><span class="cf1">CHEMIN_ESPEAK</span></strong><br><span class="cf1">Lancez la page PHP (n’oubliez pas d’enclencher le son de vos écouteurs).</span></span></li></ol></div><div><strong><br></strong></div><div><strong><span class="fs12 cf1">Utilisation: </span></strong></div><div><span class="fs12 cf1">Lancez tout simplement la page synth.php via un navigateur, cette page contient la classe d’utilisation ainsi qu’un court exemple de dialogue.</span></div><div><strong><br></strong></div><div><strong><span class="fs12 cf1">Personnalisation:</span></strong></div><div><span class="fs12 cf1">Toutes les voix doivent être initialisée comme ça :</span></div><div><blockquote></blockquote></div><div><span class="fs12 cf1">$nouvelleVoix = new Voix();</span></div><div></div><div><span class="fs12 cf1">Vous pouvez définir que c’est une voix masculine ou féminine comme ça :</span></div><div><blockquote></blockquote></div><div><span class="fs12 cf1">$nouvelleVoix -&gt;sexe = ‘Femme’;</span></div><div></div><div><span class="fs12 cf1">Pour un homme ou</span></div><div><blockquote></blockquote></div><div><span class="fs12 cf1">$nouvelleVoix -&gt;sexe = ‘Homme’;</span></div><div></div><div><span class="fs12 cf1">Pour une femme</span></div><div><span class="fs12 cf1">Vous pouvez également définir l’aigu de la voie comme ça</span></div><div><blockquote></blockquote></div><div><span class="fs12 cf1">$nouvelleVoix -&gt;aigu = 40;</span></div><div></div><div><span class="fs12 cf1">Ainsi que la vitesse de parole comme ça &nbsp;:</span></div><div><blockquote></blockquote></div><div><span class="fs12 cf1">$nouvelleVoix -&gt;vitesse = 150;</span></div><div></div><div><span class="fs12 cf1">Enfin, pour prononcer un texte avec la voix configurée :</span></div><div><blockquote></blockquote></div><div><span class="fs12 cf1">$nouvelleVoix -&gt;dis(‘Ceci est mon texte’);</span></div><div></div><div><span class="fs12 cf1">Vous pouvez également chuchoter un texte de la manière suivante :</span></div><div><blockquote></blockquote></div><div><span class="fs12 cf1">$nouvelleVoix -&gt;chuchote(‘Ceci est mon texte’);</span></div><div><br></div><div><br></div><div></div></div>]]></description>
			<pubDate>Sun, 08 Jan 2012 17:32:00 GMT</pubDate>
			<link>http://www.raspberry-pi.ovh/blog/?php--dicter-du-texte-sous-n-importe-quel-os</link>
			<guid isPermaLink="false">http://www.raspberry-pi.ovh/blog/rss/4j57zc59</guid>
		</item>
	</channel>
</rss>