<?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>L&#039;admin sous Linux - Blog Libre &#187; debian</title> <atom:link href="http://blog.admin-linux.org/tag/debian/feed" rel="self" type="application/rss+xml" /><link>http://blog.admin-linux.org</link> <description>Vous trouverez des howtos, des news, des astuces sur les logiciels libres. Les sujets traités y sont la messagerie (postfix, cyrus...), les systèmes (ubuntu, debian, gentoo...), la supervision (nagios, zabbix, centreon...), les base des données (mysql, postgresql), le web (apache et autres...) et tout le reste</description> <lastBuildDate>Thu, 01 Jul 2010 21:58:59 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Howto install Xen 3.3.2 Debian Lenny 5.0</title><link>http://blog.admin-linux.org/virtualisation/howto-install-xen-3-3-2-debian-lenny-5-0</link> <comments>http://blog.admin-linux.org/virtualisation/howto-install-xen-3-3-2-debian-lenny-5-0#comments</comments> <pubDate>Thu, 20 May 2010 13:17:45 +0000</pubDate> <dc:creator>Romaric Defaux</dc:creator> <category><![CDATA[Virtualisation]]></category> <category><![CDATA[debian]]></category> <category><![CDATA[Planet-Libre]]></category> <category><![CDATA[xen]]></category><guid
isPermaLink="false">http://blog.admin-linux.org/?p=1996</guid> <description><![CDATA[
Note en passant : Salut à tous, j&#8217;ai pas posté depuis longtemps sur ce site parce que j&#8217;étais parti pendant un an en voyage. Me revoilà  (tadaaa !), premier article le jour de mon anniversaire   Enjoy !
J&#8217;ai décidé d&#8217;écrire ce howto parce que j&#8217;ai rencontré des problèmes  à l&#8217;installation de Xen [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://blog.admin-linux.org/wp-content/uploads/2010/05/debian_xen_virtualisation.png"><img
class="aligncenter size-full wp-image-1997" title="debian_xen_virtualisation" src="http://blog.admin-linux.org/wp-content/uploads/2010/05/debian_xen_virtualisation.png" alt="debian xen virtualisation Howto install Xen 3.3.2 Debian Lenny 5.0" width="480" height="225" /></a></p><p>Note en passant : Salut à tous, j&#8217;ai pas posté depuis longtemps sur ce site parce que j&#8217;étais parti pendant un an en voyage. Me revoilà  (tadaaa !), premier article le jour de mon anniversaire <img
src='http://blog.admin-linux.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' title="Howto install Xen 3.3.2 Debian Lenny 5.0" /> Enjoy !</p><p>J&#8217;ai décidé d&#8217;écrire ce howto parce que j&#8217;ai rencontré des problèmes  à l&#8217;installation de <a
title="Xen" href="http://blog.admin-linux.org/tag/xen" target="_blank">Xen</a> 3.3.2 avec les modules du noyau compilé  &laquo;&nbsp;manuellement&nbsp;&raquo; sur une <a
title="debian" href="http://blog.admin-linux.org/tag/debian" target="_blank">debian</a> 5.0 , et il y a deux-trois petites astuces à connaitre aussi,  et aussi que j&#8217;en ai pas trouvé en français (j&#8217;avoue que j&#8217;ai pas été  plus loin que le 2 premières pages de résultat google&#8230;).<br
/> Et pourquoi se casser la tête à compiler un xen me direz-vous ? Et bien  tout simplement à cause d&#8217;un ou deux bugs gênant pour moi <img
src='http://blog.admin-linux.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="Howto install Xen 3.3.2 Debian Lenny 5.0" /> Vous les  découvrirez en lisant ce HOWTO.</p><p>Sur une installation fraiche de  debian lenny :</p><p>Installation du xen normal :</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libc6-xen  libxenstore3.0 linux-headers-<span style="color: #000000;">2.6</span>-xen-<span style="color: #000000;">686</span> linux-headers-2.6.26-<span style="color: #000000;">2</span>-common-xen  linux-headers-2.6.26-<span style="color: #000000;">2</span>-xen-<span style="color: #000000;">686</span> linux-image-<span style="color: #000000;">2.6</span>-xen-<span style="color: #000000;">686</span>  linux-image-2.6.26-<span style="color: #000000;">2</span>-xen-<span style="color: #000000;">686</span> linux-modules-<span style="color: #000000;">2.6</span>-xen-<span style="color: #000000;">686</span>   linux-modules-2.6.26-<span style="color: #000000;">2</span>-xen-<span style="color: #000000;">686</span> xen-hypervisor-<span style="color: #000000;">3.2</span>-<span style="color: #000000;">1</span>-i386 xen-shell  xen-tools  xen-utils-<span style="color: #000000;">3.2</span>-<span style="color: #000000;">1</span> xen-utils-common xenstore-utils</pre></div></div><div
id=":tg">Ici, il faut configurer le réseau, donc mettre dans la config  les lignes suivantes (config minimum sans les commentaires ) :</div><div><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vim</span>  <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>xend-config.sxp</pre></div></div></div><div><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#40;</span>xend-relocation-server <span style="color: #c20cb9; font-weight: bold;">yes</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#40;</span>xend-relocation-hosts-allow  <span style="color: #ff0000;">'^localhost$ ^localhost\\.localdomain$'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#40;</span>network-script <span style="color: #ff0000;">'network-bridge bridge=xenbr0 netdev=eth0'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#40;</span>vif-script  vif-bridge<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#40;</span>dom0-min-mem <span style="color: #000000;">196</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#40;</span>enable-dom0-ballooning <span style="color: #c20cb9; font-weight: bold;">yes</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#40;</span>dom0-cpus  <span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#40;</span>vncpasswd <span style="color: #ff0000;">''</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div><p>Ici il est très important de  laisser dom0-cpus à 1, sinon le dom0 plantera au bout d&#8217;un certains  temps. Mais cependant, de mettre le dom0 à 1 empêche le reboot des  machines virtuelles. On est obligé de les tuer, ce qui n&#8217;est pas très  propre. Un autre problème, c&#8217;est quand des utilisateurs sont admin de  leur machine virtuelle, et qu&#8217;ils veulent faire un reboot, ça nous  oblige à intervenir.</p><p>On configure l&#8217;interface réseau (à adapter selon le réseau) :</p></div><div><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vim</span>  <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>network<span style="color: #000000; font-weight: bold;">/</span>interfaces</pre></div></div></div><div><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;">auto eth0
iface eth0 inet  static
address 192.168.0.15
netmask    255.255.255.0
network    192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.63
dns-nameservers 192.168.0.2 192.168.0.3
&nbsp;
auto xenbr0
iface  xenbr0 inet static
address 192.168.0.15
netmask  255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.63
dns-nameservers 192.168.0.2 192.168.0.3
bridge_ports eth0
bridge_maxwait <span style="color: #000000;">0</span>
bridge_hello <span style="color: #000000;">0</span>
bridge_fr <span style="color: #000000;">0</span></pre></div></div><p>Ici on peut faire un reboot pour déjà valider que le dom0  fonctionne bien.</p><p>Puis on install la dernière version de xen en  compilant :</p><p>On installe les paquets essentiels à la compilation :</p></div><div><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span>  <span style="color: #c20cb9; font-weight: bold;">install</span> bcc bin86 <span style="color: #c20cb9; font-weight: bold;">gawk</span> bridge-utils iproute libcurl3  libcurl4-openssl-dev <span style="color: #c20cb9; font-weight: bold;">bzip2</span> module-init-tools transfig tgif texinfo  pciutils-dev mercurial build-essential <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">gcc</span> libc6-dev zlib1g-dev  python python-dev python-twisted libncurses5-dev <span style="color: #c20cb9; font-weight: bold;">patch</span> libvncserver-dev  libsdl-dev libjpeg62-dev</pre></div></div><p>On télécharge, on compile et on installe la source :</p></div><div><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">wget</span>  <span style="color: #000000; font-weight: bold;">&lt;</span>a <span style="color: #007800;">href</span>=<span style="color: #ff0000;">&quot;http://bits.xensource.com/oss-xen/release/3.3.2/xen-3.3.2.tar.gz&quot;</span> <span style="color: #007800;">target</span>=<span style="color: #ff0000;">&quot;_blank&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span>http:<span style="color: #000000; font-weight: bold;">//</span>bits.xensource.com<span style="color: #000000; font-weight: bold;">/</span>oss-xen<span style="color: #000000; font-weight: bold;">/</span>release<span style="color: #000000; font-weight: bold;">/</span>3.3.2<span style="color: #000000; font-weight: bold;">/</span>xen-3.3.2.tar.gz<span style="color: #000000; font-weight: bold;">&lt;/</span>a<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xvzf</span> xen-3.3.2.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> xen-3.3.2
<span style="color: #c20cb9; font-weight: bold;">make</span> world <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #c20cb9; font-weight: bold;">make</span>  dist
<span style="color: #7a0874; font-weight: bold;">&#40;</span>answer the few questions <span style="color: #000000; font-weight: bold;">then</span> take a coffee, or a rest :<span style="color: #7a0874; font-weight: bold;">&#41;</span>...<span style="color: #7a0874; font-weight: bold;">&#41;</span>
.<span style="color: #000000; font-weight: bold;">/</span>install.sh</pre></div></div><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;">update-rc.d xend defaults <span style="color: #000000;">20</span> <span style="color: #000000;">21</span>
update-rc.d xendomains defaults <span style="color: #000000;">21</span>  <span style="color: #000000;">20</span></pre></div></div><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;">depmod 2.6.18.8-xen
update-initramfs <span style="color: #660033;">-c</span> <span style="color: #660033;">-k</span> 2.6.18.8-xen
update-grub</pre></div></div><p>On  reconfigure xen :</p></div><div><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vim</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>xend-config.sxp</pre></div></div><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#40;</span>network-script <span style="color: #ff0000;">'network-bridge bridge=xenbr0 netdev=eth0'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#40;</span>vif-script  vif-bridge<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#40;</span>dom0-cpus <span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div><p>Ca y est on peut mettre  dom0-cpu à 0, cool !</p><p>Et là l&#8217;astuce, c&#8217;est de modifier  menu.lst de GRUB pour utiliser les modules de la version officielle  (installée avant la version compilée) avec le nouveau noyau xen :</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;">title        Xen 3.3.2 <span style="color: #000000; font-weight: bold;">/</span> Debian GNU<span style="color: #000000; font-weight: bold;">/</span>Linux, kernel 2.6.18.8-xen
root         <span style="color: #7a0874; font-weight: bold;">&#40;</span>hd0,<span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
kernel        <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>xen-3.3.2.gz
module           <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>vmlinuz-2.6.26-<span style="color: #000000;">2</span>-xen-<span style="color: #000000;">686</span> <span style="color: #007800;">root</span>=<span style="color: #007800;">UUID</span>=fe72ca30-05cf-4baf-9e0f-41749cf4011a  ro <span style="color: #007800;">console</span>=tty0
module          <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>initrd.img-2.6.26-<span style="color: #000000;">2</span>-xen-<span style="color: #000000;">686</span>
au lieu de
<span style="color: #666666; font-style: italic;">#module         /boot/vmlinuz-2.6.18.8-xen root=UUID=fe72ca30-05cf-4baf-9e0f-41749cf4011a  ro console=tty0</span>
<span style="color: #666666; font-style: italic;">#module        /boot/initrd.img-2.6.18.8-xen</span></pre></div></div><p>Reboot and enjoy !</p><p>Cheers</p><p>Inspirations  et sources :<br
/> - <a
href="http://www.xen-support.com/?p=211" target="_blank">http://www.xen-support.com/?p=211</a></p></div> ]]></content:encoded> <wfw:commentRss>http://blog.admin-linux.org/virtualisation/howto-install-xen-3-3-2-debian-lenny-5-0/feed</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>MoinMoinWiki : Howto pour debian</title><link>http://blog.admin-linux.org/collaboratif/moinmoinwiki-howto-pour-debian</link> <comments>http://blog.admin-linux.org/collaboratif/moinmoinwiki-howto-pour-debian#comments</comments> <pubDate>Mon, 01 Jun 2009 19:29:00 +0000</pubDate> <dc:creator>Julien Konczak</dc:creator> <category><![CDATA[Collaboratif]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[debian]]></category> <category><![CDATA[Planet-Libre]]></category> <category><![CDATA[python]]></category><guid
isPermaLink="false">http://blog.admin-linux.org/non-classe/moinmoinwiki-howto-pour-debian</guid> <description><![CDATA[Bonjour,
Je prends la plume (et oui ça arrive aussi&#8230;) pour attirer l&#8217;attention sur un soft que je viens de découvrir et qui me plait beaucoup (en dehors du fait qu&#8217;il est écrit en python&#8230;) : MoinMoinwiki
A la recherche d&#8217;un wiki autre que mediawiki, je me suis d&#8217;abord penché sur les softs écrits en python. C&#8217;est [...]]]></description> <content:encoded><![CDATA[<p
style="text-align: justify;"><img
class="alignright size-full wp-image-1065" title="Moinmoin Wiki" src="http://blog.admin-linux.org/wp-content/uploads/2009/06/120px-Moinmoin.jpg" alt="Moinmoin Wiki" width="120" height="120" /><span
style="font-size:100%;"><span
style="font-family:arial;">Bonjour,</span></span></p><p
style="text-align: justify;"><span
style="font-family:arial;">Je prends la plume (et oui ça arrive aussi&#8230;) pour attirer l&#8217;attention sur un soft que je viens de découvrir et qui me plait beaucoup (en dehors du fait qu&#8217;il est écrit en python&#8230;) : </span><a
style="font-family: arial;" href="http://moinmo.in/" target="_blank">MoinMoinwiki</a></p><p
style="text-align: justify;"><span
style="font-family:arial;">A la recherche d&#8217;un wiki autre que mediawiki, je me suis d&#8217;abord penché sur les softs écrits en python. C&#8217;est ainsi que je l&#8217;ai découvert.</span></p><p
style="text-align: justify;"><span
style="font-family:arial;">Après deux jours d&#8217;utilisation, il s&#8217;avère simple de prise en main et d&#8217;utilisation. Il recèle pas mal de fonctionnalité que je n&#8217;ai pas encore testées. Je vous en reparlerai un peu plus tard.</span></p><p
style="text-align: justify;"><span
style="font-family:arial;">Comme l&#8217;installation n&#8217;est pas triviale, je vous ai fait un petit howto (certains vont croire que c&#8217;est noël &#8230;).</span></p><p
style="text-align: justify;"><span
style="font-family:arial;">Petite précision, pour les puristes, MoinMoin n&#8217;a pas beaucoup été testé sur python2.6. Il est conseillé de l&#8217;installer avec python2.5</span></p><p
style="text-align: justify;"><span
style="font-weight: bold;font-family:arial;font-size:100%;">HOWTO DEBIAN :</span></p><p
style="text-align: justify;"><span
style="font-family:arial;">apt-get install python2.5 python2.5-dev</span><br
/> <span
style="font-family:arial;">wget http://static.moinmo.in/files/moin-1.8.3.tar.gz</span><br
/> <span
style="font-family:arial;">tar zxf moin-1.8.3.tar.gz</span><br
/> <span
style="font-family:arial;">cd moin-1.8.3</span><br
/> <span
style="font-family:arial;">python setup.py install &#8211;record=install.log</span></p><p
style="text-align: justify;"><span
style="font-style: italic;font-family:arial;font-size:100%;">pour vérifier : </span><span
style="font-size:100%;"><br
/> <span
style="font-family:arial;">#python2.5</span><br
/> <span
style="font-family:arial;">&gt;&gt;&gt; import MoinMoin</span><br
/> <span
style="font-family:arial;">&gt;&gt;&gt;</span></span></p><p
style="text-align: justify;"><span
style="font-family:arial;">Si aucune erreur, c&#8217;est bon.</span><br
/> <span
style="font-weight: bold;font-family:arial;font-size:100%;"><br
/> Création d&#8217;un wiki</span></p><p
style="text-align: justify;"><span
style="font-family:arial;">Il vous faut récupérer le fichier createinstance.sh ici :</span></p><p
style="text-align: justify;"><a
style="font-family: arial;" href="http://master18.moinmo.in/HelpOnInstalling/WikiInstanceCreation?action=AttachFile&amp;do=get&amp;target=createinstance.sh">http://master18.moinmo.in/HelpOnInstalling/WikiInstanceCreation?action=AttachFile&amp;do=get&amp;target=createinstance.sh</a></p><p
style="text-align: justify;"><span
style="font-family:arial;">chmod 755 createinstance.sh</span></p><p
style="text-align: justify;"><span
style="font-family:arial;">./createinstance.sh /path/tomywiki</span></p><p
style="text-align: justify;"><span
style="font-family:arial;">cd /path/tomywiki</span></p><p
style="text-align: justify;"><span
style="font-family:arial;">mkdir cgi-bin</span></p><p
style="text-align: justify;"><span
style="font-family:arial;">cp /usr/share/moin/server/moin.cgi cgi-bin/.</span></p><p
style="text-align: justify;"><span
style="font-family:arial;">Pour mon cas, www-data est le user d&#8217;apache. A modifier selon besoin.</span></p><p
style="text-align: justify;"><span
style="font-family:arial;">chown -R www-data:www-data cgi-bin</span><br
/> <span
style="font-family:arial;">chmod -R ug+rx cgi-bin</span><br
/> <span
style="font-family:arial;">chmod -R o-rwx cgi-bin</span></p><p
style="text-align: justify;"><span
style="font-family:arial;">cp -r /usr/share/moin/htdocs htdocs</span><br
/> <span
style="font-family:arial;">chown -R www-data:www-data htdocs </span></p><p
style="text-align: justify;"><span
style="font-weight: bold;font-family:arial;font-size:100%;">Modifier le wikiconfig.py :</span></p><p
style="text-align: justify;"><span
style="font-family:arial;">Compléter le fichier wikiconfig.py ainsi :</span></p><p
style="text-align: justify;"><span
style="font-family:arial;">vi /path/tomywiki/wikiconfig.py</span></p><p
style="text-align: justify;"><span
style="font-family:arial;">data_dir = &#8216;/path/tomywiki/data/&#8217;</span><br
/> <span
style="font-family:arial;">data_underlay_dir = &#8216;/path/tomywiki/underlay/&#8217;</span><br
/> <span
style="font-family:arial;">url_prefix_static = &#8216;/moin_static183&#8242; </span><br
/> <span
style="font-style: italic;font-family:arial;font-size:100%;">(à décommenter)</span></p><p
style="text-align: justify;"><span
style="font-weight: bold;font-family:arial;font-size:100%;">Modifier le moin.cgi :</span></p><p
style="text-align: justify;"><span
style="font-family:arial;">vi /path/tomywiki/cgi-bin/moin.cgi</span><br
/> <span
style="font-family:arial;">Ajouter les deux lignes suivantes :</span></p><p
style="text-align: justify;"><span
style="font-family:arial;">sys.path.insert(0, &#8216;/usr/lib/python2.5/site-packages&#8217;)</span><br
/> <span
style="font-family:arial;">sys.path.insert(0, &#8216;/opt/mywiki&#8217;)</span></p><p
style="text-align: justify;"><span
style="font-weight: bold;font-family:arial;font-size:100%;">Configuration Apache :</span></p><p
style="text-align: justify;"><span
style="font-family:arial;">A placer dans le vhost :</span></p><p
style="text-align: justify;"><span
style="font-family:arial;">Alias /moin_static183/ &laquo;&nbsp;/opt/mywiki/htdocs/&nbsp;&raquo;</span><br
/> <span
style="font-family:arial;">ScriptAlias /mywiki &laquo;&nbsp;/opt/mywiki/cgi-bin/moin.cgi&nbsp;&raquo;</span></p><p><span
style="font-family:arial;">Si besoin, n&#8217;hésitez pas.</span><span
style="font-family:arial;"><br
/> </span></p> ]]></content:encoded> <wfw:commentRss>http://blog.admin-linux.org/collaboratif/moinmoinwiki-howto-pour-debian/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Debian Lenny 5.0 est sortie le 14 février</title><link>http://blog.admin-linux.org/news/debian-lenny-50-est-sortie-le-14-fevrier</link> <comments>http://blog.admin-linux.org/news/debian-lenny-50-est-sortie-le-14-fevrier#comments</comments> <pubDate>Tue, 24 Feb 2009 17:56:00 +0000</pubDate> <dc:creator>Pierre-Yves Dubreucq</dc:creator> <category><![CDATA[Distribution]]></category> <category><![CDATA[News]]></category> <category><![CDATA[debian]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[Planet-Libre]]></category><guid
isPermaLink="false">http://blog.admin-linux.org/non-classe/debian-lenny-50-est-sortie-le-14-fevrier/</guid> <description><![CDATA[Mieux vaut tard que jamais, j&#8217;ai découvert par hasard, vacances oblige, ce matin que Debian 5.0 était sorti
Beau cadeau de St Valentin
Voici une liste des nouveautés :
- Noyau Linux 2.6.26
- GCC 4.3.2
- X.Org 7.3
- GNOME 2.22.2 et KDE 3.5.10
- OpenOffice.org 2.4.1. (et non pas encore la version 3.0)
- Apache 2.2.9
- Samba 3.2.5
- Xen [...]]]></description> <content:encoded><![CDATA[<p
style="text-align: justify;"><img
class="alignright size-full wp-image-265" title="Debian" src="http://blog.admin-linux.org/wp-content/uploads/2009/02/debian.jpg" alt="Debian" width="143" height="106" />Mieux vaut tard que jamais, j&#8217;ai découvert par hasard, vacances oblige, ce matin que Debian 5.0 était sorti <img
src='http://blog.admin-linux.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' title="Debian Lenny 5.0 est sortie le 14 février" /><br
/> Beau cadeau de St Valentin <img
src='http://blog.admin-linux.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' title="Debian Lenny 5.0 est sortie le 14 février" /><br
/> Voici une liste des nouveautés :<br
/> - Noyau Linux 2.6.26<br
/> - GCC 4.3.2<br
/> - X.Org 7.3<br
/> - GNOME 2.22.2 et KDE 3.5.10<br
/> - OpenOffice.org 2.4.1. (et non pas encore la version 3.0)<br
/> - Apache 2.2.9<br
/> - Samba 3.2.5<br
/> - Xen 3.2.1<br
/> Il est à noter qu&#8217;il y a eu une grosse amélioration niveau sécurité, avec notamment la limitation des programmes à lancer avec les privilèges administrateurs, plus faible nombre de ports ouverts&#8230;<br
/> Le processus d&#8217;amélioration a été considérablement amélioré, la distribution inclut plus de 7700 nouveaux paquets, pour un total de plus de 23200 paquets.<br
/> La prochaine version sera &laquo;&nbsp;Squeeze&nbsp;&raquo;</p><p
style="text-align: justify;">Les liens utiles :<br
/> <a
href="http://www.fr.debian.org/releases/stable/i386/release-notes/ch-whats-new.fr.html" target="_blank">Liste des nouveautés</a><br
/> <a
href="http://www.fr.debian.org/" target="_blank">Debian France</a></p> ]]></content:encoded> <wfw:commentRss>http://blog.admin-linux.org/news/debian-lenny-50-est-sortie-le-14-fevrier/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>HOWTO XEN : création d&#8217;un DomU (debian etch)</title><link>http://blog.admin-linux.org/howto/howto-xen-creation-dun-domu-debian-etch</link> <comments>http://blog.admin-linux.org/howto/howto-xen-creation-dun-domu-debian-etch#comments</comments> <pubDate>Mon, 24 Nov 2008 16:57:00 +0000</pubDate> <dc:creator>Romaric Defaux</dc:creator> <category><![CDATA[Howto]]></category> <category><![CDATA[Virtualisation]]></category> <category><![CDATA[debian]]></category> <category><![CDATA[domu]]></category> <category><![CDATA[Planet-Libre]]></category> <category><![CDATA[xen]]></category><guid
isPermaLink="false">http://blog.admin-linux.org/non-classe/howto-xen-creation-dun-domu-debian-etch/</guid> <description><![CDATA[Cet article résume rapidement la liste des commandes et les points importants pour créer un DomU Debian etch.
Vous devez avoir un Dom0 fonctionnel proposant xen-tools avant de pouvoir créer votre DomU.
Création du DomU à l&#8217;aide de xen-tools.
#Configurer xen-tools (pour la création des images) :
vi /etc/xen-tools/xen-tools.conf
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
dir = /xen
debootstrap = 1
size   = 4Gb  [...]]]></description> <content:encoded><![CDATA[<p>Cet article résume rapidement la liste des commandes et les points importants pour créer un DomU Debian etch.</p><p>Vous devez avoir un Dom0 fonctionnel proposant xen-tools avant de pouvoir créer votre DomU.</p><p>Création du DomU à l&#8217;aide de xen-tools.</p><p>#Configurer xen-tools (pour la création des images) :<br
/> <span
style="font-style: italic;">vi /etc/xen-tools/xen-tools.conf </span><br
/> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br
/> dir = /xen<br
/> debootstrap = 1<br
/> size   = 4Gb      # Disk image size.<br
/> memory = 128Mb    # Memory size<br
/> swap   = 128Mb    # Swap size<br
/> fs     = ext3     # use the EXT3 filesystem for the disk image.<br
/> dist   = sarge    # Default distribution to install.<br
/> image  = sparse   # Specify sparse vs. full disk images.<br
/> gateway   = 192.168.X.X<br
/> netmask   = 255.255.255.0<br
/> kernel = /boot/vmlinuz-2.6.18-6-xen-vserver-686<br
/> initrd = /boot/initrd.img-2.6.18-6-xen-vserver-686<br
/> mirror = http://ftp.us.debian.org/debian/<br
/> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p><p>#Créer le répertoire qui acceuillera les images :<br
/> <span
style="font-style: italic;">mkdir /xen</span></p><p>#Créer une image :<br
/> <span
style="font-style: italic;">xen-create-image &#8211;ip=192.168.X.X &#8211;hostname=test.example.com</span></p><p>#La lancer :<br
/> <span
style="font-style: italic;">xm create test.example.com.cfg </span></p><p>#Vérifier qu&#8217;elle est bien lancée :<br
/> <span
style="font-style: italic;">xm list </span></p><p>#Pour y accéder en console :<br
/> <span
style="font-style: italic;">xm console test.example.com</span></p> ]]></content:encoded> <wfw:commentRss>http://blog.admin-linux.org/howto/howto-xen-creation-dun-domu-debian-etch/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>HOWTO XEN : installation du Dom0 (debian etch)</title><link>http://blog.admin-linux.org/howto/howto-xen-installation-du-dom0-debian-etch</link> <comments>http://blog.admin-linux.org/howto/howto-xen-installation-du-dom0-debian-etch#comments</comments> <pubDate>Mon, 24 Nov 2008 16:40:00 +0000</pubDate> <dc:creator>Romaric Defaux</dc:creator> <category><![CDATA[Howto]]></category> <category><![CDATA[Virtualisation]]></category> <category><![CDATA[debian]]></category> <category><![CDATA[domu]]></category> <category><![CDATA[Planet-Libre]]></category> <category><![CDATA[xen]]></category><guid
isPermaLink="false">http://blog.admin-linux.org/non-classe/howto-xen-installation-du-dom0-debian-etch/</guid> <description><![CDATA[Cet article résume rapidement la liste des commandes et les points importants pour installer le Dom0 de Xen sur une base debian etch.
Installer debian etch. Une fois votre debian fonctionnelle :
#mise à jour
apt-get update
apt-get upgrade
#installation de xen (ou paquets équivalents)
apt-get install linux-image-2.6-xen-vserver-686 xen-hypervisor-3.0.3-1-i386-pae xen-tools xen-linux-system-2.6.18-4-xen-vserver-686 linux-headers-2.6-xen-vserver-686 libc6-xen  bridge-utils
#Si votre processeur supporte la virtualisation installer [...]]]></description> <content:encoded><![CDATA[<p
style="text-align: justify;">Cet article résume rapidement la liste des commandes et les points importants pour installer le Dom0 de Xen sur une base debian etch.</p><p
style="text-align: justify;">Installer debian etch. Une fois votre debian fonctionnelle :</p><p
style="text-align: justify;">#mise à jour<br
/> <span
style="font-style: italic;">apt-get update</span><br
/> <span
style="font-style: italic;">apt-get upgrade</span></p><p
style="text-align: justify;">#installation de xen (ou paquets équivalents)<br
/> <span
style="font-style: italic;">apt-get install linux-image-2.6-xen-vserver-686 xen-hypervisor-3.0.3-1-i386-pae xen-tools xen-linux-system-2.6.18-4-xen-vserver-686 linux-headers-2.6-xen-vserver-686 libc6-xen  bridge-utils</span></p><p
style="text-align: justify;">#Si votre processeur supporte la virtualisation installer :<br
/> <span
style="font-style: italic;">apt-get install xen-ioemu-3.0.3-1</span><br
/> #Pour le savoir :<br
/> <span
style="font-style: italic;">egrep &#8216;^flags.*(vmx|svm)&#8217; /proc/cpuinfo</span><br
/> #Si ca écrit quelque chose c&#8217;est bon <img
src='http://blog.admin-linux.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="HOWTO XEN : installation du Dom0 (debian etch)" /></p><p
style="text-align: justify;">#Configurer le nombre de machines virtuelles max (ici 64)<br
/> <span
style="font-style: italic;">vi /etc/modules</span><br
/> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br
/> loop max_loop=64<br
/> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p><p
style="text-align: justify;">#Configurer le démon xen :<br
/> <span
style="font-style: italic;">vi /etc/xen/xend-config.sxp</span><br
/> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br
/> (xend-unix-server yes)<br
/> (network-script &#8216;network-bridge netdev=eth0&#8242;)<br
/> (vif-script vif-bridge)<br
/> (dom0-min-mem 196)<br
/> (dom0-cpus 0)<br
/> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p><p
style="text-align: justify;">#Configurer l&#8217;interface réseau (sinon après le redémarrage de xend le serveur ne sera plus accessible du réseau, à adapter selon votre config) :<br
/> <span
style="font-style: italic;">vi /etc/network/interfaces </span><br
/> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br
/> auto lo<br
/> iface lo inet loopback</p><p
style="text-align: justify;">auto xenbr0<br
/> iface xenbr0 inet static<br
/> address 192.168.X.X<br
/> netmask 255.255.255.0<br
/> network 192.168.X.X<br
/> broadcast 192.168.2.255<br
/> gateway 192.168.X.X<br
/> dns-nameservers 192.168.X.X 192.168.X.X<br
/> bridge_ports eth0<br
/> bridge_maxwait 0<br
/> bridge_hello 0<br
/> bridge_fr 0<br
/> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p><p
style="text-align: justify;">#Redmérarrer (normalement c&#8217;est bon <img
src='http://blog.admin-linux.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="HOWTO XEN : installation du Dom0 (debian etch)" /> )<br
/> <span
style="font-style: italic;">reboot </span></p><p
style="text-align: justify;">#Vérifier après le redémarrage la conf réseau<br
/> <span
style="font-style: italic;">ifconfig </span><br
/> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br
/> eth0      Lien encap:Ethernet  HWaddr 00:1D:09:0E:97:00<br
/> adr inet6: fe80::X:X:X Scope:Lien<br
/> UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br
/> RX packets:40814 errors:0 dropped:0 overruns:0 frame:0<br
/> TX packets:12108 errors:0 dropped:0 overruns:0 carrier:0<br
/> collisions:0 lg file transmission:1000<br
/> RX bytes:20801921 (19.8 MiB)  TX bytes:1744483 (1.6 MiB)<br
/> Interruption:16 Mémoire:f4000000-f4011100</p><p
style="text-align: justify;">lo        Lien encap:Boucle locale<br
/> inet adr:127.0.0.1  Masque:255.0.0.0<br
/> adr inet6: ::1/128 Scope:Hôte<br
/> UP LOOPBACK RUNNING  MTU:16436  Metric:1<br
/> RX packets:11 errors:0 dropped:0 overruns:0 frame:0<br
/> TX packets:11 errors:0 dropped:0 overruns:0 carrier:0<br
/> collisions:0 lg file transmission:0<br
/> RX bytes:842 (842.0 b)  TX bytes:842 (842.0 b)</p><p
style="text-align: justify;">xenbr0    Lien encap:Ethernet  HWaddr 00:1D:09:0E:97:00<br
/> inet adr:192.168.X.X  Bcast:192.168.X.255  Masque:255.255.255.0<br
/> adr inet6: fe80::21d:X:X:X Scope:Lien<br
/> UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br
/> RX packets:32653 errors:0 dropped:0 overruns:0 frame:0<br
/> TX packets:8308 errors:0 dropped:0 overruns:0 carrier:0<br
/> collisions:0 lg file transmission:0<br
/> RX bytes:10685638 (10.1 MiB)  TX bytes:1403637 (1.3 MiB)<br
/> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p><p
style="text-align: justify;">C&#8217;est tout <img
src='http://blog.admin-linux.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="HOWTO XEN : installation du Dom0 (debian etch)" /></p> ]]></content:encoded> <wfw:commentRss>http://blog.admin-linux.org/howto/howto-xen-installation-du-dom0-debian-etch/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
<!-- Served from: blog.admin-linux.org @ 2010-07-30 05:34:35 by W3 Total Cache -->