<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Blog d&#039;un Administrateur Système freelance qui fait de l&#039;infogérance sous Linux Debian, Centos et Ubuntu</title>
	<atom:link href="http://www.kogitae.fr/feed" rel="self" type="application/rss+xml" />
	<link>http://www.kogitae.fr</link>
	<description>Mon métier, infogerer en simplicité et en stabilité votre linux</description>
	<lastBuildDate>Wed, 22 Feb 2012 17:35:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>connaitre architecture *hardware* 32 ou 64 bits</title>
		<link>http://www.kogitae.fr/connaitre-architecture-hardware-32-ou-64-bits.html</link>
		<comments>http://www.kogitae.fr/connaitre-architecture-hardware-32-ou-64-bits.html#comments</comments>
		<pubDate>Wed, 22 Feb 2012 17:35:52 +0000</pubDate>
		<dc:creator>PJ Michel</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[amd64]]></category>

		<guid isPermaLink="false">http://www.kogitae.fr/?p=482</guid>
		<description><![CDATA[Pour voir au niveau software, sous debian et dérivés : dpkg --print-architecture ou encore, niveau noyau : uname -m viaconnaitre architecture *hardware* 32 ou 64 bits.]]></description>
			<content:encoded><![CDATA[<p>Pour voir au niveau software, sous debian et dérivés :</p>
<p><code>dpkg --print-architecture</code></p>
<p>ou encore, niveau noyau :</p>
<p><code>uname -m</code></p>
<p>via<a href="http://www.sputnick-area.net/connaitre-architecture-32-ou-64-bits/">connaitre architecture *hardware* 32 ou 64 bits</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kogitae.fr/connaitre-architecture-hardware-32-ou-64-bits.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo : install the mail command under Debian &#124; ItHowTo.ro</title>
		<link>http://www.kogitae.fr/howto-install-the-mail-command-under-debian-ithowto-ro.html</link>
		<comments>http://www.kogitae.fr/howto-install-the-mail-command-under-debian-ithowto-ro.html#comments</comments>
		<pubDate>Fri, 17 Feb 2012 09:36:01 +0000</pubDate>
		<dc:creator>PJ Michel</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[aptitude]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[utils]]></category>

		<guid isPermaLink="false">http://www.kogitae.fr/?p=476</guid>
		<description><![CDATA[HowTo : install the mail command under Debian Nov19 2008 Leave a Comment Written by gkoo The mail command under Debian distros is a part of the mailutils package. Simply use : apt-get install mailutils and you’re done ! viaHowTo : install the mail command under Debian &#124; ItHowTo.ro.]]></description>
			<content:encoded><![CDATA[<p>HowTo : install the mail command under Debian</p>
<p>Nov19</p>
<p>2008 Leave a Comment Written by gkoo</p>
<p>The mail command under Debian distros is a part of the mailutils package.</p>
<p>Simply use :</p>
<p>apt-get install mailutils</p>
<p>and you’re done !</p>
<p>via<a href="http://www.ithowto.ro/2008/11/howto-install-the-mail-command-under-debian/">HowTo : install the mail command under Debian | ItHowTo.ro</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kogitae.fr/howto-install-the-mail-command-under-debian-ithowto-ro.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compressing PHP Output « Newest Industry</title>
		<link>http://www.kogitae.fr/compressing-php-output-newest-industry.html</link>
		<comments>http://www.kogitae.fr/compressing-php-output-newest-industry.html#comments</comments>
		<pubDate>Fri, 10 Feb 2012 10:31:49 +0000</pubDate>
		<dc:creator>PJ Michel</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Hebergement]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.kogitae.fr/?p=474</guid>
		<description><![CDATA[output_buffering = Off output_handler = zlib.output_compression = On viaCompressing PHP Output « Newest Industry.]]></description>
			<content:encoded><![CDATA[<p>output_buffering = Off</p>
<p>output_handler =</p>
<p>zlib.output_compression = On</p>
<p>via<a href="http://newestindustry.org/2006/10/03/compressing-php-output/">Compressing PHP Output « Newest Industry</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kogitae.fr/compressing-php-output-newest-industry.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tester un disque en ecriture avec DD</title>
		<link>http://www.kogitae.fr/tester-un-disque-en-ecriture-avec-dd.html</link>
		<comments>http://www.kogitae.fr/tester-un-disque-en-ecriture-avec-dd.html#comments</comments>
		<pubDate>Tue, 07 Feb 2012 17:15:28 +0000</pubDate>
		<dc:creator>PJ Michel</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[dd]]></category>
		<category><![CDATA[hardisk]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://www.kogitae.fr/?p=472</guid>
		<description><![CDATA[dd bs=1M count=2048 if=/dev/zero of=test conv=fdatasync]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.kogitae.fr/wp-admin/options-writing.php"><code>dd bs=1M count=2048 if=/dev/zero of=test conv=fdatasync</code></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kogitae.fr/tester-un-disque-en-ecriture-avec-dd.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Emulating a high latency network connection using Linux and TC</title>
		<link>http://www.kogitae.fr/emulating-a-high-latency-network-connection-using-linux-and-tc.html</link>
		<comments>http://www.kogitae.fr/emulating-a-high-latency-network-connection-using-linux-and-tc.html#comments</comments>
		<pubDate>Thu, 26 Jan 2012 17:32:59 +0000</pubDate>
		<dc:creator>PJ Michel</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[pense-bête]]></category>

		<guid isPermaLink="false">http://www.kogitae.fr/?p=467</guid>
		<description><![CDATA[Often it is necessary for testing purposes to recreate the networking conditions found in a high latency network, such as a satellite link. Firstly create a network bridge that can be placed inbetween the test network and its router. To increase network latency use the following command: tc qdisc add dev eth0 root netem delay [...]]]></description>
			<content:encoded><![CDATA[<p>Often it is necessary for testing purposes to recreate the networking conditions found in a high latency network, such as a satellite link.</p>
<p>Firstly create a network bridge that can be placed inbetween the test network and its router.</p>
<p>To increase network latency use the following command:</p>
<p>tc qdisc add dev eth0 root netem delay 2000ms</p>
<p>which will delay every IP packet going through the bridge by 2 seconds.</p>
<p>To reset this delay and remove the 2 seconds of latency:</p>
<p>tc qdisc del dev eth0 root</p>
<p>via<a href="http://tomsalmon.eu/2011/02/emulating-a-high-latency-network-connection-using-linux-and-tc/">Emulating a high latency network connection using Linux and TC</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kogitae.fr/emulating-a-high-latency-network-connection-using-linux-and-tc.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Emulating a network connection with packet drop</title>
		<link>http://www.kogitae.fr/emulating-a-network-connection-with-packet-drop.html</link>
		<comments>http://www.kogitae.fr/emulating-a-network-connection-with-packet-drop.html#comments</comments>
		<pubDate>Thu, 26 Jan 2012 17:31:56 +0000</pubDate>
		<dc:creator>PJ Michel</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[pense-bête]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[mangle]]></category>
		<category><![CDATA[packet]]></category>

		<guid isPermaLink="false">http://www.kogitae.fr/?p=465</guid>
		<description><![CDATA[IP packet drop can be easily emulated on any section of network using a Linux Bridge and a single iptables command: iptables -t mangle -A FORWARD -m statistic &#8211;mode random &#8211;probability 0.01 -j DROP (where probability is expressed as a value between 0 and 1) If the intention is to emulate packet drop to the [...]]]></description>
			<content:encoded><![CDATA[<p>IP packet drop can be easily emulated on any section of network using a Linux Bridge and a single iptables command:</p>
<p>iptables -t mangle -A FORWARD -m statistic &#8211;mode random &#8211;probability 0.01 -j DROP</p>
<p>(where probability is expressed as a value between 0 and 1)</p>
<p>If the intention is to emulate packet drop to the local Linux system not using a bridge, use the INPUT chain:</p>
<p>iptables -t mangle -A INPUT -m statistic &#8211;mode random &#8211;probability 0.01 -j DROP</p>
<p>To remove the random packet drop and restore the connection to normal operation either change -A to -D in the above commands, or flush the iptables with:</p>
<p>iptables -t mangle -F FORWARD or iptables -t mangle -F INPUT</p>
<p>via<a href="http://tomsalmon.eu/2011/02/emulating-a-network-connection-with-packet-drop/">Emulating a network connection with packet drop</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kogitae.fr/emulating-a-network-connection-with-packet-drop.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ShrimpWorks » Change your console resolution and colour depth</title>
		<link>http://www.kogitae.fr/shrimpworks-change-your-console-resolution-and-colour-depth.html</link>
		<comments>http://www.kogitae.fr/shrimpworks-change-your-console-resolution-and-colour-depth.html#comments</comments>
		<pubDate>Fri, 13 Jan 2012 09:16:26 +0000</pubDate>
		<dc:creator>PJ Michel</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[pense-bête]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[vga]]></category>

		<guid isPermaLink="false">http://www.kogitae.fr/?p=461</guid>
		<description><![CDATA[Pour la console système kernel : vga= Colors ( depth) 640&#215;480 800&#215;600 1024&#215;768 1280&#215;1024 1600&#215;1200 &#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;-+&#8212;&#8212;-+&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212; 256 ( 8 bit)&#124; 769 771 773 775 796 32,768 (15 bit)&#124; 784 787 790 793 797 65,536 (16 bit)&#124; 785 788 791 794 798 16.8M (24 bit)&#124; 786 789 792 795 799 viaShrimpWorks » Change your console resolution [...]]]></description>
			<content:encoded><![CDATA[<p>Pour la console système</p>
<p>kernel : vga=</p>
<p>Colors ( depth) 640&#215;480 800&#215;600 1024&#215;768 1280&#215;1024 1600&#215;1200 &#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;-+&#8212;&#8212;-+&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;</p>
<p>256 ( 8 bit)| 769 771 773 775 796</p>
<p>32,768 (15 bit)| 784 787 790 793 797</p>
<p>65,536 (16 bit)| 785 788 791 794 798</p>
<p>16.8M (24 bit)| 786 789 792 795 799</p>
<p>via<a href="http://shrimpworks.za.net/2005/01/31/change-your-console-resolution-and-colour-depth/">ShrimpWorks » Change your console resolution and colour depth</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kogitae.fr/shrimpworks-change-your-console-resolution-and-colour-depth.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Load Testing and Benchmarking With Siege</title>
		<link>http://www.kogitae.fr/load-testing-and-benchmarking-with-siege.html</link>
		<comments>http://www.kogitae.fr/load-testing-and-benchmarking-with-siege.html#comments</comments>
		<pubDate>Thu, 12 Jan 2012 15:59:44 +0000</pubDate>
		<dc:creator>PJ Michel</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[charge]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[siege]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://www.kogitae.fr/?p=458</guid>
		<description><![CDATA[Siege is a fantastic utility for helping with Linux server management by exposing problems before they go into production. It&#8217;s open source software (GPLv2 or later) and easy to get started with. Siege is packaged for Debian and Ubuntu, but it doesn&#8217;t look to be packaged for Fedora and openSUSE (at least in the default [...]]]></description>
			<content:encoded><![CDATA[<p>Siege is a fantastic utility for helping with Linux server management by exposing problems before they go into production. It&#8217;s open source software (GPLv2 or later) and easy to get started with.</p>
<p>Siege is packaged for Debian and Ubuntu, but it doesn&#8217;t look to be packaged for Fedora and openSUSE (at least in the default repos). Do remember, though, it&#8217;s &laquo;&nbsp;i&nbsp;&raquo; before &laquo;&nbsp;e&nbsp;&raquo; &#8212; I nearly missed the package for Ubuntu by searching for &laquo;&nbsp;seige,&nbsp;&raquo; which (obviously) doesn&#8217;t exist.</p>
<p>The source, of course, is available. Note that the link to the latest version from the homepage returns an &laquo;&nbsp;unable to connect&nbsp;&raquo; error (at least as of this writing). However, the pub directory is available over HTTP even if the FTP server seems to be down.</p>
<p>Once installed, Siege is very easy to use. You can use Siege to test over HTTP and HTTPS &#8212; it has no support for FTP or other protocols at the moment.</p>
<p>To start with, you probably want to generate a Siege configuration file. You can generate a template quickly using siege.config, which will drop a file called .siege.rc in your home directory. Here, you can set many of the options for Siege, like the output format (including a CSV output rather than the older Siege format), how many concurrent users to simulate, duration, and so on. If you have fairly standard testing parameters, you can store them in the config rather than using them on the command line or specifying them in a script. If you want to use an alternative configuration file, use export SIEGERC=/filename or siege -R siegerc.</p>
<p>One thing Siege is good for is grabbing the HTTP headers quickly. If you just want to see HTTP headers, run siege -g URL. Note that the URL must be the server name only if you just want to see what a server is running, or a full URL if you want to hit specific resources.</p>
<p>Now, let&#8217;s look at a sample test using siege. Say you want to simulate 50 users hitting the resource simultaneously, with a delay of up to 10 seconds between requests:</p>
<p>siege -d10 -c50 http://mysite.com/blog/blah.php</p>
<p>The -d option specifies the delay, while the -c option tells siege how many users it should simulate. Note that the -d option is a random interval between 0 and X seconds, with X being the number of seconds you specify &#8212; so if you say 10 seconds, it may be 0 seconds, it may be 4 seconds, and so on &#8212; it just won&#8217;t be longer than 10.</p>
<p>If you want to give a site a real workout, you probably want to specify more than one URL. You can do this with a list of URLs in ~/etc/urls.txt or specify a text file with URLs using the -f file option. If you want a simulation closer to real-world usage, you&#8217;ll want to use the -i option, which hits the URLs in the file randomly.</p>
<p>A fairly good template for testing might be:</p>
<p>siege -d10 -c50 -i -f mysite.txt</p>
<p>Be careful using Siege against production sites &#8212; especially dinky little VPSes with very little RAM. Not that I&#8217;d know from personal experience or anything. It should also go without saying that you should not use Siege against sites you&#8217;re not responsible. At best, doing so is impolite, but it could also be a violation of your ISP&#8217;s terms of service, and at worst it may be illegal.</p>
<p>via<a href="http://www.serverwatch.com/tutorials/article.php/3936526/Load-Testing-and-Benchmarking-With-Siege.htm">Load Testing and Benchmarking With Siege</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kogitae.fr/load-testing-and-benchmarking-with-siege.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Build cross-compiled kernel debian package &#8211; Sysmic.org</title>
		<link>http://www.kogitae.fr/build-cross-compiled-kernel-debian-package-sysmic-org.html</link>
		<comments>http://www.kogitae.fr/build-cross-compiled-kernel-debian-package-sysmic-org.html#comments</comments>
		<pubDate>Wed, 11 Jan 2012 13:40:04 +0000</pubDate>
		<dc:creator>PJ Michel</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[cross compiling]]></category>
		<category><![CDATA[kernel]]></category>

		<guid isPermaLink="false">http://www.kogitae.fr/?p=456</guid>
		<description><![CDATA[Build cross-compiled kernel debian package Par Jérôme Pouiller le vendredi, octobre 29 2010, 09:37 &#8211; Lien permanent As you may know, you have juste to add options ARCH and if necessary CROSS_COMPILE to command line: make ARCH=powerpc CROSS_COMPILE=ppc-linux-gnu- XXX_defconfig make ARCH=powerpc CROSS_COMPILE=ppc-linux-gnu- XImage My primary concern is to compile an x86 32bits kernel in 64bits [...]]]></description>
			<content:encoded><![CDATA[<p>Build cross-compiled kernel debian package</p>
<p>Par Jérôme Pouiller le vendredi, octobre 29 2010, 09:37 &#8211; Lien permanent</p>
<p>As you may know, you have juste to add options ARCH and if necessary CROSS_COMPILE to command line:</p>
<p>make ARCH=powerpc CROSS_COMPILE=ppc-linux-gnu- XXX_defconfig</p>
<p>make ARCH=powerpc CROSS_COMPILE=ppc-linux-gnu- XImage</p>
<p>My primary concern is to compile an x86 32bits kernel in 64bits environement. So my compilation line is:</p>
<p>make ARCH=i386 i386_defconfig</p>
<p>make ARCH=i386 bzImage</p>
<p>As you also may know, rule deb-pkg of kernel Makefile is able to create a debian package. You should use fakeroot to be able to create package with a non-root user:</p>
<p>fakeroot make deb-pkg</p>
<p>Nevertheless, it will always create a package for current architecture. So this line will create a package for powerpc:</p>
<p>fakeroot make ARCH=powerpc CROSS_COMPILE=ppc-linux-gnu- deb-pkg</p>
<p>To correct this behavior, you can use DEB_HOST_ARCH variable:</p>
<p>fakeroot make DEB_HOST_ARCH=powerpc ARCH=powerpc CROSS_COMPILE=ppc-linux-gnu- deb-pkg</p>
<p>To summary, to quickly create an x86 32bits kernel debian package in 64bits environement. I do:</p>
<p>mkdir build</p>
<p>make ARCH=i386 O=build i386_defconfig</p>
<p>fakeroot make -j4 DEB_HOST_ARCH=i386 ARCH=i386 O=build deb-pkg</p>
<p>via<a href="http://www.sysmic.org/dotclear/index.php?post/2010/10/29/Build-cross-compiled-kernel-debian-package">Build cross-compiled kernel debian package &#8211; Sysmic.org</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kogitae.fr/build-cross-compiled-kernel-debian-package-sysmic-org.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Run PHP with a light weight webserver &#124; box.matto.nl</title>
		<link>http://www.kogitae.fr/run-php-with-a-light-weight-webserver-box-matto-nl.html</link>
		<comments>http://www.kogitae.fr/run-php-with-a-light-weight-webserver-box-matto-nl.html#comments</comments>
		<pubDate>Tue, 10 Jan 2012 11:31:18 +0000</pubDate>
		<dc:creator>PJ Michel</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Hebergement]]></category>
		<category><![CDATA[Lighttpd]]></category>
		<category><![CDATA[cheerokee]]></category>
		<category><![CDATA[llighttpd]]></category>

		<guid isPermaLink="false">http://www.kogitae.fr/?p=454</guid>
		<description><![CDATA[Multiple light-weight httpd server In search for a lightweight solution to run some php pages on my Debian diskless shellserver it appears there are several lightweight httpd daemons in Debian that can do php. I created some virtual machines on KVM to do some testing. Here follows a short howto to get the different httpd [...]]]></description>
			<content:encoded><![CDATA[<p>Multiple light-weight httpd server</p>
<p>In search for a lightweight solution to run some php pages on my Debian diskless shellserver it appears there are several lightweight httpd daemons in Debian that can do php.</p>
<p>I created some virtual machines on KVM to do some testing. Here follows a short howto to get the different httpd servers running <img src='http://www.kogitae.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Howto install lightweigt httpd daemons with PHP support</p>
<p>Debian comes with several httpd daemons. On this page we look at the following httpd servers:</p>
<p>Lighthttpd</p>
<p>Cherokee</p>
<p>Nginx</p>
<p>Nginx requires the most work.</p>
<p>Lighthttpd with PHP</p>
<p>apt-get install mysql-server mysql-client</p>
<p>apt-get install lighttpd</p>
<p>comment this line out in /etc/lighttpd/lighttpd.conf include_shell &laquo;&nbsp;/usr/share/lighttpd/use-ipv6.pl&nbsp;&raquo;</p>
<p>check that lighthttpd is running.</p>
<p>Point your browser to http://&lt;ip-number&gt;</p>
<p>screenshot of lighttpd</p>
<p>Screenshot of lighttpd just after installing</p>
<p>apt-get install php5-cgi</p>
<p>ln -s /etc/lighttpd/conf-available/10-fastcgi.conf /etc/lighttpd/conf-enabled/</p>
<p>/etc/init.d/lighttpd restart</p>
<p>PHP ready to use</p>
<p>Your server should be ready to use PHP now. To test it, create a file info.php in /var/www. The contents of the file should be something like this:</p>
<p>&lt;?</p>
<p>phpinfo();</p>
<p>?&gt;</p>
<p>screenshot of lighttpd running php info</p>
<p>Screenshot of lighttpd running phpinfo</p>
<p>Cherokee with PHP</p>
<p>apt-get install mysql-server mysql-client</p>
<p>apt-get install cherokee</p>
<p>apt-get install php5-cgi</p>
<p>test that cherokee runs, point your browser to http://&lt;ip-number&gt;</p>
<p>screenshot of cherokee</p>
<p>Screenshot of cherokee just after installing</p>
<p>Run cherokee-admin -b</p>
<p>The -b option makes it possible to reach cherokee-admin from other machines than localhost.</p>
<p>screenshot of cherokee admin</p>
<p>Screenshot of cherokee admin</p>
<p>Click on Virtual servers</p>
<p>Click on &laquo;&nbsp;default&nbsp;&raquo;</p>
<p>Click on &laquo;&nbsp;Wizzards&nbsp;&raquo;</p>
<p>Click on &laquo;&nbsp;Languages&nbsp;&raquo;</p>
<p>Click on &laquo;&nbsp;Run Wizzard&nbsp;&raquo; next to the PHP logo</p>
<p>(See screenshot below)</p>
<p>screenshot of cherokee admin ready to invoke php wizzard</p>
<p>Screenshot of cherokee admin ready to invoke the PHP-wizzard</p>
<p>PHP ready to use</p>
<p>Your server should be ready to use PHP now. To test it, create a file info.php in /var/www. The contents of the file should be something like this:</p>
<p>&lt;?</p>
<p>phpinfo();</p>
<p>?&gt;</p>
<p>screenshot of cherokee running php info</p>
<p>Screenshot of cherokee running phpinfo</p>
<p>via<a href="http://box.matto.nl/lightweightphpserver.html">Run PHP with a light weight webserver | box.matto.nl</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kogitae.fr/run-php-with-a-light-weight-webserver-box-matto-nl.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  www.kogitae.fr/feed ) in 1.46900 seconds, on Feb 23rd, 2012 at 4:53 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 23rd, 2012 at 5:53 am UTC -->
