<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://planet.lefebvrepe.com/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Planet - LefebvrePe.com ツ Pierre-Emmanuel Lefebvre - Tag - CentOS</title>
  <link>http://planet.lefebvrepe.com/</link>
  <atom:link href="http://planet.lefebvrepe.com/feed/tag/CentOS/rss2" rel="self" type="application/rss+xml"/>
  <description></description>
  <language>fr</language>
  <pubDate>Sun, 03 Aug 2008 23:22:19 +0200</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>CentOS: Installer Lighttpd et Php</title>
    <link>http://planet.lefebvrepe.com/post/2008/06/23/CentOS%3A-Installer-Lighttpd-et-Php</link>
    <guid isPermaLink="false">urn:md5:fd54f68b14ce1130030718a800a208aa</guid>
    <pubDate>Mon, 23 Jun 2008 14:33:00 +0200</pubDate>
    <dc:creator>pm2036</dc:creator>
        <category>CentOS</category><category>lighttpd</category><category>linux</category><category>php</category>    
    <description>    &lt;p&gt;&lt;img src=&quot;http://blog.lefebvrepe.com/public/illustrations/.lighttpd_t.jpg&quot; alt=&quot;lighttpd.gif&quot; style=&quot;float:left; margin: 0 1em 1em 0;&quot; title=&quot;lighttpd.gif, juin 2008&quot; /&gt;
Pour installer &lt;a href=&quot;http://www.lighttpd.net/&quot;&gt;Lighttpd&lt;/a&gt; et &lt;a href=&quot;http://fr.php.net&quot;&gt;PHP&lt;/a&gt;, sur une CentOS, rien de très compliqué:&lt;/p&gt;


&lt;p&gt;On lance en root:&lt;br /&gt;
&lt;code&gt;yum install lighttpd lighttpd-fastcgi php&lt;/code&gt;&lt;/p&gt;


&lt;p&gt;Puis on édites le fichier &lt;em&gt;/etc/lighttpd/lighttpd.conf&lt;/em&gt;&lt;br /&gt;
On décommente la ligne contenant &lt;em&gt;mod_fastcgi&lt;/em&gt;&lt;br /&gt;
Puis on s'assure que le code suivant est bien décommenté:&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;fastcgi.server  = ( &amp;quot;.php&amp;quot; =&amp;gt;&lt;/p&gt;

&lt;pre&gt;   ( &amp;quot;localhost&amp;quot; =&amp;gt;
       (
           &amp;quot;socket&amp;quot; =&amp;gt; &amp;quot;/var/run/lighttpd/php-fastcgi.socket&amp;quot;,
           &amp;quot;bin-path&amp;quot; =&amp;gt; &amp;quot;/usr/bin/php-cgi&amp;quot;
       )
   )&lt;/pre&gt;

&lt;p&gt;)&lt;/p&gt;


&lt;p&gt;On continue en créant l'emplacement du socket:&lt;br /&gt;
&lt;code&gt;mkdir /var/run/lighttpd&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;touch /var/run/lighttpd/php-fastcgi.socket&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;chown -R lighttpd:lighttpd /var/run/lighttpd/&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Et on termine en éditant &amp;quot;/etc/php.ini&amp;quot; et en ajoutant:&lt;br /&gt;
&lt;code&gt;cgi.fix_pathinfo = 1&lt;/code&gt;&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>CentOS: Installer &amp; configurer NTP pour synchroniser l'heure système</title>
    <link>http://planet.lefebvrepe.com/post/2008/05/12/CentOS%3A-Installer-configurer-NTP-pour-synchroniser-lheure-systeme</link>
    <guid isPermaLink="false">urn:md5:42773bf86809fc1192d8fe232cb8d3ab</guid>
    <pubDate>Mon, 12 May 2008 17:07:00 +0200</pubDate>
    <dc:creator>pm2036</dc:creator>
        <category>CentOS</category><category>linux</category>    
    <description>    &lt;h3&gt;Procédure:&lt;br /&gt;&lt;/h3&gt;

&lt;p&gt;Commençons par l'installer:&lt;br /&gt;&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;[root@localhost ~]# yum install ntp&lt;/code&gt;&lt;br /&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Puis on active le service (pour qu'il se lance à chaque démarrage):&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;[root@localhost ~]# chkconfig ntp on&lt;/code&gt;&lt;br /&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;On lance manuellement une mise à jour de l'heure:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;[root@localhost ~]# ntpdate fr.pool.ntp.org&lt;/code&gt;&lt;br /&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Et finalement, on lance le daemon, pour qu'il s'exécute en continu&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;[root@localhost ~]# service ntp start&lt;/code&gt;&lt;br /&gt;&lt;/p&gt;&lt;/blockquote&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>CentOS: Installer &amp; configurer NTP pour synchroniser l'heure système</title>
    <link>http://planet.lefebvrepe.com/post/2008/05/12/CentOS%3A-Installer-configurer-NTP-pour-synchroniser-l-heure-systeme</link>
    <guid isPermaLink="false">urn:md5:b0c350de43c41de2c59e2195463b052d</guid>
    <pubDate>Mon, 12 May 2008 17:07:00 +0200</pubDate>
    <dc:creator>pm2036</dc:creator>
        <category>CentOS</category><category>linux</category>    
    <description>    &lt;p&gt;Procédure:

Commençons par l'installer:

[root@localhost ~]# yum install ntp

Puis on active le service (pour qu'il se lance à chaque démarrage):

[root@localhost ~]# chkconfig ntp on

On lance manuellement une mise à jour de l'heure:

[root@localhost ~]# ntpdate fr.pool.ntp.org

Et finalement, on lance le daemon, pour qu'il s'exécute en continu... &lt;em&gt;&lt;a href=&quot;http://blog.lefebvrepe.com/post/2008/05/12/CentOS%3A-Installer-configurer-ntp&quot;&gt;Lire</description>
    
    
    
      </item>
    
</channel>
</rss>