Index: /trunk/public-mirror/DoNotFeedTroll.svg
===================================================================
--- /trunk/public-mirror/DoNotFeedTroll.svg	(revision 252)
+++ /trunk/public-mirror/DoNotFeedTroll.svg	(revision 252)
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://web.resource.org/cc/"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="150"
+   height="148"
+   id="svg2"
+   sodipodi:version="0.32"
+   inkscape:version="0.44.1"
+   version="1.0"
+   sodipodi:docbase="C:\Documents and Settings\Brittany Boyer\My Documents\Pictures\Work\Wikimedia\Clean up\Convert to SVG"
+   sodipodi:docname="DoNotFeedTroll.svg">
+  <defs
+     id="defs4" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="4"
+     inkscape:cx="107.21313"
+     inkscape:cy="55.407817"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     inkscape:window-width="1280"
+     inkscape:window-height="964"
+     inkscape:window-x="-4"
+     inkscape:window-y="-4" />
+  <metadata
+     id="metadata7">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1">
+    <path
+       sodipodi:type="arc"
+       style="opacity:1;fill:white;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       id="path1872"
+       sodipodi:cx="75.125"
+       sodipodi:cy="74.875"
+       sodipodi:rx="65.125"
+       sodipodi:ry="65.125"
+       d="M 140.25 74.875 A 65.125 65.125 0 1 1  10,74.875 A 65.125 65.125 0 1 1  140.25 74.875 z"
+       transform="matrix(1.005805,0,0,0.953447,-0.66164,3.35009)" />
+    <path
+       style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="M 59.40625,40.40625 C 59.338787,40.410614 59.285746,40.431043 59.21875,40.4375 C 57.603502,40.593168 56.123599,41.386072 55.125,43.15625 C 52.765715,48.059061 47.674156,43.720743 45.3125,41.15625 C 45.224122,41.227698 45.130279,41.32903 45.0625,41.40625 C 44.983555,41.499577 44.895187,41.617892 44.84375,41.71875 C 44.823232,41.761021 44.797288,41.831529 44.78125,41.875 C 44.767605,41.914334 44.733756,41.983204 44.71875,42.03125 C 44.71668,42.038741 44.720254,42.055741 44.71875,42.0625 C 44.316014,44.0455 47.891579,47.063881 48.90625,48.75 C 48.874158,49.842963 48.897085,50.964769 48.9375,52.0625 L 70.25,64.375 C 70.174746,63.849029 70.066482,63.355551 69.90625,62.90625 C 70.413979,56.778823 76.648772,61.325205 79.3125,63.3125 C 80.29527,63.254798 80.960642,63.009063 81.34375,62.65625 C 81.418186,62.584755 81.509455,62.486535 81.5625,62.40625 C 81.57269,62.390028 81.584392,62.360296 81.59375,62.34375 C 81.613976,62.305726 81.640016,62.258357 81.65625,62.21875 C 82.428637,60.223154 78.304836,56.315442 75.90625,56.3125 C 74.894547,56.321639 74.250187,56.134991 73.90625,55.84375 C 73.877376,55.817942 73.837339,55.777702 73.8125,55.75 C 73.801375,55.739233 73.760882,55.698382 73.75,55.6875 C 73.713319,55.635809 73.681708,55.557068 73.65625,55.5 C 73.643434,55.469029 73.608981,55.415438 73.59375,55.375 C 73.591669,55.368776 73.595224,55.349235 73.59375,55.34375 C 73.576525,55.272739 73.567329,55.170943 73.5625,55.09375 C 73.487581,53.359742 76.292858,50.154732 75.09375,48.0625 C 72.522459,45.398349 68.895567,43.903545 65.65625,42.15625 C 63.816453,41.142557 61.497597,40.270953 59.40625,40.40625 z M 91.25,58.125 C 91.055744,58.149661 90.846216,58.220196 90.6875,58.3125 C 90.641683,58.34086 90.572331,58.403015 90.53125,58.4375 C 90.242889,58.694712 90.164358,60.886318 90.275888,61.486517 C 87.801132,61.883383 86.539038,67.12953 84.9375,68.65625 C 84.014676,69.535963 83.73756,70.905878 82.78125,71.59375 L 87.28125,74.21875 C 88.431943,72.369804 89.616413,72.010245 91.78125,72 C 92.216999,73.607301 92.167882,75.283456 92.09375,76.96875 L 93.96875,78.0625 C 93.343144,74.956812 94.334261,74.071826 93.984073,72.032932 C 97.940353,70.868994 97.482488,62.285897 93.21875,60.875 C 93.612415,60.140693 93.526293,59.501841 93.21875,59.03125 C 92.818299,58.441805 92.043848,58.093362 91.375,58.125 C 91.328256,58.127211 91.295707,58.119197 91.25,58.125 z M 48.46875,68.125 C 48.096746,69.580688 47.385629,70.854349 45.96875,71.75 C 42.498424,74.104564 40.173604,77.762673 36.59375,79.96875 C 31.261625,83.363489 38.164644,88.738202 39.65625,92.46875 C 40.52408,94.099906 40.392377,95.093778 39.78125,95.78125 C 38.44253,97.242705 34.851687,97.390409 33.9375,99.78125 C 29.986067,100.23123 27.287968,104.72371 23.3125,103.53125 C 23.442985,103.74293 23.551676,103.97973 23.6875,104.1875 C 23.69333,104.19261 23.714307,104.21341 23.71875,104.21875 C 23.723207,104.22408 23.74413,104.24491 23.75,104.25 C 26.78937,106.34071 31.028957,107.83486 33.8125,104.875 C 36.505783,103.24842 39.406831,99.143103 42.71875,100.65625 C 40.993407,103.01099 42.841603,106.90212 39.8125,108.625 C 36.580747,108.40945 34.173811,113.45412 36.03125,115.15625 C 36.038696,115.16285 36.054921,115.18101 36.0625,115.1875 C 36.475793,115.52724 37.107783,115.73061 37.9375,115.6875 C 39.752983,117.68358 42.314642,116.78406 44.28125,118.28125 C 46.542327,123.1454 52.364788,120.98158 56.53125,121.125 C 58.070385,120.93618 61.470939,118.22737 60.8125,116.40625 C 60.786833,116.33941 60.755892,116.25175 60.71875,116.1875 C 60.704268,116.16354 60.672414,116.11731 60.65625,116.09375 C 60.65137,116.08692 60.630709,116.07004 60.625,116.0625 C 60.586942,116.01433 60.536406,115.94545 60.5,115.90625 C 60.485734,115.89142 60.452568,115.85837 60.4375,115.84375 C 60.329198,115.74216 60.180879,115.62141 60.03125,115.53125 C 57.386752,113.83066 55.441112,118.0641 53.4375,118.09375 C 53.411062,118.09358 53.370316,118.09545 53.34375,118.09375 C 53.290536,118.0893 53.209927,118.0734 53.15625,118.0625 C 53.102501,118.05049 53.022902,118.01886 52.96875,118 C 52.9055,117.97663 52.81371,117.93951 52.75,117.90625 C 52.613352,117.83185 52.450614,117.71783 52.3125,117.59375 C 52.109831,117.40663 51.891066,117.15254 51.6875,116.84375 C 48.465139,116.01214 45.741983,110.99812 49.90625,109.4375 C 53.966144,111.26699 53.334584,108.1078 55.90625,106.46875 C 59.368475,105.47073 63.331193,103.54943 61.4375,99.25 C 61.143565,93.922292 69.110863,97.09768 66.90625,101.375 C 68.999736,102.86804 67.344667,104.28971 66.59375,106.0625 C 64.54782,109.67771 69.681801,109.85603 69.5625,112.65625 C 67.785924,114.99407 65.705446,120.78853 70.28125,121.40625 C 72.722083,117.91706 76.623533,119.87202 80.1875,119.28125 C 83.93322,119.66704 87.944288,119.9019 89.84375,116.03125 C 92.451984,114.90752 91.869889,110.99317 90.46875,109.75 C 90.37946,109.67342 90.26004,109.59073 90.15625,109.53125 C 90.118724,109.51069 90.066752,109.48417 90.03125,109.46875 C 89.879049,109.4068 89.692703,109.36982 89.53125,109.375 C 89.484613,109.3778 89.422433,109.39737 89.375,109.40625 C 89.260824,109.43057 89.117073,109.46903 89,109.53125 C 88.560431,109.77702 88.094142,110.31579 87.6875,111.21875 C 87.001288,111.19466 86.510652,111.36228 86.15625,111.625 C 84.949058,112.55358 85.292449,114.8326 84.53125,115.75 C 84.49875,115.78728 84.442897,115.84269 84.40625,115.875 C 84.398745,115.88125 84.382683,115.90021 84.375,115.90625 C 84.369554,115.91184 84.349227,115.93195 84.34375,115.9375 C 84.332928,115.94289 84.292197,115.9635 84.28125,115.96875 C 84.265092,115.97692 84.229528,115.99441 84.21875,116 C 84.135514,116.04064 84.01443,116.09972 83.90625,116.125 C 83.889655,116.1284 83.860101,116.12271 83.84375,116.125 C 83.817921,116.12808 83.777281,116.12346 83.75,116.125 C 83.490912,116.13457 83.155991,116.08568 82.78125,115.96875 C 79.571191,117.12536 74.661927,112.32713 77.3125,109.53125 C 79.797867,106.28196 78.71079,101.78738 78.84375,98 C 79.929265,93.468156 75.381117,93.133444 72.78125,91.15625 C 71.415359,88.376442 70.449602,84.519723 71.625,81.5 L 48.46875,68.125 z M 47.0625,79.59375 C 47.262988,79.574909 47.46401,79.636554 47.71875,79.6875 C 48.200891,79.783928 48.831935,79.797535 49.15625,79.96875 C 49.162272,79.972148 49.181699,79.996494 49.1875,80 C 49.193074,80.003617 49.213408,80.027519 49.21875,80.03125 C 49.234059,80.042796 49.268194,80.049848 49.28125,80.0625 C 49.28534,80.066846 49.308678,80.089272 49.3125,80.09375 C 49.316048,80.098362 49.309232,80.12025 49.3125,80.125 C 49.338604,80.168506 49.604659,80.508546 49.71875,80.71875 C 49.726689,80.734149 49.743978,80.767672 49.75,80.78125 C 49.752471,80.787514 49.74811,80.806809 49.75,80.8125 C 49.858595,81.246882 49.84375,81.763157 49.84375,82.25 C 49.84375,82.718215 49.80838,83.360234 49.6875,83.84375 C 49.576771,84.286667 49.505075,84.868235 49.21875,85.25 C 48.854655,85.73546 48.705863,86.119529 48.4375,86.65625 C 48.213895,87.103458 47.906248,87.88902 47.90625,88.4375 C 47.90625,88.845579 47.914647,89.435161 47.8125,89.84375 C 47.668726,90.418848 47.706677,91.110781 47.5625,91.6875 C 47.426707,92.230674 47.384092,92.904545 47.03125,93.375 C 46.862688,93.59975 46.584602,93.858678 46.28125,93.96875 C 46.23762,93.983499 46.170237,93.991672 46.125,94 C 46.102261,94.003581 46.054327,94.029499 46.03125,94.03125 C 46.008067,94.032364 45.960976,94.032129 45.9375,94.03125 C 45.913934,94.029679 45.867563,94.003727 45.84375,94 C 45.827825,93.997018 45.797267,94.004004 45.78125,94 C 45.281329,93.87502 44.825669,93.757142 44.46875,93.28125 C 44.066932,92.745493 43.998708,92.307336 43.84375,91.6875 C 43.721898,91.200094 43.783648,90.603348 43.65625,90.09375 C 43.531403,89.594361 43.440177,89.104466 43.3125,88.59375 C 43.161691,87.990513 42.803645,87.303644 42.34375,86.84375 C 42.11553,86.615531 41.630041,86.087795 41.4375,85.65625 C 41.422985,85.621974 41.416886,85.564311 41.40625,85.53125 C 41.399062,85.506724 41.379676,85.461114 41.375,85.4375 C 41.37121,85.414223 41.375984,85.365914 41.375,85.34375 C 41.375,84.974503 41.390761,84.553763 41.53125,84.21875 C 41.541988,84.194458 41.550329,84.148581 41.5625,84.125 C 41.575168,84.101671 41.61078,84.053777 41.625,84.03125 C 41.649595,83.994177 41.689433,83.940776 41.71875,83.90625 C 41.730874,83.892659 41.768311,83.856888 41.78125,83.84375 C 41.794606,83.830846 41.82954,83.79367 41.84375,83.78125 C 41.858397,83.76908 41.890709,83.761656 41.90625,83.75 C 42.344148,83.421577 43.039586,83.147912 43.40625,82.78125 C 43.858101,82.329399 44.324596,81.963041 44.71875,81.4375 C 45.206183,80.787589 45.852036,80.491712 46.40625,79.9375 C 46.626385,79.717365 46.83528,79.615103 47.0625,79.59375 z M 95,94.96875 C 94.952784,96.300345 94.859029,97.6313 94.8125,98.9375 C 95.099469,103.09493 94.260974,107.24899 94.65625,111.375 C 94.843874,113.30642 94.45118,117.42675 95.71875,118.96875 C 96.307036,119.66027 97.265843,119.83611 98.78125,119 C 98.574895,115.53409 97.674312,111.71707 97.625,108 C 97.633722,104.05444 97.022488,100.15428 97.15625,96.21875 L 95,94.96875 z "
+       id="path2339"
+       sodipodi:nodetypes="csccssssscccccsssscsssssssccccsscscccccccssccccccccssscccsscccsssssscssssssccccccccccssssssccssssssssscccccccsssssssssssssssssssssssssssssssssssssssssssccccccccc" />
+    <path
+       style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="M 107.9375,31.4375 C 106.6061,29.811394 104.36698,31.012731 105.125,33.25 C 105.82499,35.315972 102.69798,36.582063 100.75,36.875 C 97.922386,37.300215 94.861606,36.647021 92.235034,38.187577 C 89.757313,39.640828 87.05149,41.125556 85.82738,43.913559 C 84.96883,45.86897 85.088549,47.756249 83.080808,48.751646 C 81.332847,49.61825 78.093431,48.670562 77.336749,50.042696 C 76.255704,52.003016 79.308087,53.340381 80.643641,54.42978 C 82.216077,55.712401 84.20336,56.211207 86.138941,56.394598 C 88.892621,56.655502 91.653174,56.916691 94.42456,57.102051 C 96.704192,57.254521 98.911673,56.762357 101.14997,56.510565 C 103.38142,56.259544 105.82794,55.836691 107.5,54.125 C 109.15021,52.43567 111.63122,52.557855 113.65906,51.776732 C 115.42931,51.094829 114.60994,46.46179 116.77094,48.142048 C 118.19174,49.246774 119.98647,53.496059 121.88437,50.980049 C 123.26285,49.152628 124.20939,46.996667 125.5625,45.125 C 126.6038,43.684643 127.5903,42.16925 127.69727,40.286313 C 127.83627,37.839551 125.74129,35.545341 123.29869,35.866585 C 120.88266,36.184333 119.25336,38.143063 117.85781,39.950402 C 116.24098,42.044323 114.23059,44.046727 111.7044,45.0037 C 109.63614,45.787197 107.65597,44.270245 106.48597,42.708537 C 105.15238,40.928459 106.28258,38.669414 107.0901,36.841282 C 107.78534,35.267332 111.58977,33.871384 110,32.375 C 109.45968,31.866417 108.40586,32.009533 107.9375,31.4375 z "
+       id="path3218"
+       sodipodi:nodetypes="csssssssssssssssssssssss" />
+    <path
+       style="opacity:1;color:#000000;fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.65709369;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
+       d="M 74.0625 4.8125 C 34.293491 5.2915263 2.15625 36.11171 2.15625 74 C 2.15625 112.18662 34.797969 143.18751 75 143.1875 C 115.20203 143.1875 147.84376 112.18662 147.84375 74 C 147.84375 35.813378 115.20202 4.8124998 75 4.8125 C 74.685922 4.8125 74.375642 4.8087281 74.0625 4.8125 z M 73 16.6875 C 73.148008 16.68291 73.289223 16.691072 73.4375 16.6875 C 73.954814 16.675037 74.479543 16.6875 75 16.6875 C 108.30925 16.687499 135.34375 42.360607 135.34375 74 C 135.34375 82.798616 133.26608 91.141161 129.53125 98.59375 L 26.9375 39.375 C 37.584764 26.062489 54.203023 17.270488 73 16.6875 z M 19.53125 51.40625 L 121.625 110.34375 C 110.55508 123.13541 93.780208 131.3125 75 131.3125 C 41.690748 131.31249 14.65625 105.63939 14.65625 74 C 14.65625 65.977215 16.3933 58.341006 19.53125 51.40625 z "
+       id="path2242" />
+  </g>
+</svg>
Index: /trunk/public-mirror/Makefile
===================================================================
--- /trunk/public-mirror/Makefile	(revision 251)
+++ /trunk/public-mirror/Makefile	(revision 252)
@@ -12,4 +12,6 @@
 
 IMAGES= \
+	DoNotFeedTroll.png \
+	disk-array.png
 
 EXAMPLES = \
@@ -44,4 +46,7 @@
 	cat $< | sed 's/notes/handout/' > $@
 
+DoNotFeedTroll.png: DoNotFeedTroll.svg
+	convert $< $@
+
 clean:
 	rm -f $(EPS)
Index: /trunk/public-mirror/main.tex
===================================================================
--- /trunk/public-mirror/main.tex	(revision 251)
+++ /trunk/public-mirror/main.tex	(revision 252)
@@ -6,4 +6,5 @@
 \usepackage{moreverb}
 \usepackage{graphicx}
+\usepackage{eurosym}
 
 \mode<presentation>
@@ -23,9 +24,18 @@
 \date{\today}
 
+%%\setcounter{tocdepth}{2}
 \AtBeginSection[]
 {
-\begin{frame}<beamer>
-    \frametitle{Plan}
-    \tableofcontents[currentsection]
+\begin{frame}
+    \frametitle{Plan - \secname}
+    \tableofcontents[currentsection,hideallsubsections]
+\end{frame}
+}
+
+\AtBeginSubsection[]
+{
+\begin{frame}
+    \frametitle{Plan - \secname}
+    \tableofcontents[currentsection,sectionstyle=show/hide,hideothersubsections,subsectionstyle=show/shaded/hide]
 \end{frame}
 }
@@ -36,24 +46,697 @@
 
 \begin{frame}{Plan}
-\tableofcontents
+\tableofcontents[hideallsubsections]
 \end{frame}
 
 \section{GÃ©nÃ©ralitÃ©}
 
+\begin{frame}
+\frametitle{DÃ©finition}
+\vfill
+\begin{block}{Service de fichier}
+Un serveur accessible pour distribuer des fichiers de maniÃšre anonyme et
+gratuite
+\begin{itemize}
+\item distributions Linux/BSD/\ldots
+\item logiciels
+\item documentations (RFC, \ldots)
+\end{itemize}
+\end{block}
+\vfill
+\pause
+\begin{block}{Pourquoi ?}
+\begin{itemize}
+\item accÃ©lÃ©rer les installations
+\item diffuser (aussi) vos propres fichiers
+\end{itemize}
+\end{block}
+\vfill
+\end{frame}
+
+\begin{frame}
+\frametitle{Les risques ?}
+\begin{block}{Ce que vous risquez}
+\begin{itemize}
+\item votre serveur va devenir important
+\pause
+\item il peut tomber en panne
+\pause
+\item sous la pression des utilisateurs, vous essayer de le rÃ©parer toute la
+nuit
+\pause
+\begin{itemize}
+\item votre femme vous quitte
+\item vous Ãªtes virÃ© car le service n'est pas assurÃ©
+\end{itemize}
+\pause
+\item vous finissez cÃ©libataire, ruinÃ© et honteux !
+\end{itemize}
+\end{block}
+\pause
+\vfill
+\begin{alertblock}{}
+Avez-vous mÃ©ritÃ© celÃ  ?
+\end{alertblock}
+\end{frame}
+
 \section{Definition du besoin}
 
+\begin{frame}
+\frametitle{Rappels !}
+\begin{alertblock}{UnitÃ©s de mesure}
+\begin{itemize}
+\item 1~octet fait 8~bits,\\
+donc 100~mbits fait 13~107~200~octets (12,5~Mo),\\
+donc 1~gbits fait 134~217~728~octets (128~Mo)
+\pause
+\item 1~kilo fait 1024,\\
+donc 1~Go fait 1~073~741~824~octets,\\
+donc 1~To fait 1~099~511~627~780~octets
+\pause
+\item un disque de 1~To Ã§a fait $10^{12}$ octets,\\
+donc ce disque fait 931,32~Go
+\end{itemize}
+\end{alertblock}
+\end{frame}
+
+\begin{frame}
+\frametitle{PortÃ©e du service}
+\begin{block}{Serveur privÃ©}
+\begin{itemize}
+\item rÃ©servÃ© Ã  des personnes / rÃ©seaux identifiÃ©s
+\item charge prÃ©visible
+\end{itemize}
+Ne posent gÃ©nÃ©ralement pas de problÃšmes particulier.
+\end{block}
+\vfill
+\onslide<2->{
+\begin{block}{Serveur public}
+\begin{itemize}
+\item visiteurs inconnus
+\begin{itemize}
+\item de part leurs identitÃ©s
+\item de part leur nombre
+\end{itemize}
+\item risque de surcharge
+\item risque d'attaque (DoS, piratage)
+\end{itemize}
+\end{block}
+}
+\end{frame}
+
+\begin{frame}
+\frametitle{Contenus diffusÃ©s}
+\begin{block}{Quel contenus}
+\begin{itemize}
+\item SystÃšme d'exploitation
+    \begin{itemize}
+    \item mise Ã  jour
+    \item systÃšme complets, image cd/dvd
+    \end{itemize}
+\item Source de logiciels
+\item Fichiers vidÃ©os/son (lÃ©gaux !!!)
+\end{itemize}
+\end{block}
+\pause
+
+\begin{block}{Vers qui ?}
+\begin{itemize}
+\item Utilisateurs/Sys admin.
+\item Developeurs/contributeurs
+\item d'autres miroirs
+\end{itemize}
+\end{block}
+\end{frame}
+
+\begin{frame}
+\frametitle{Exemple de taille}
+\begin{exampleblock}{Distribution (en Go)}
+\centering
+\begin{tabular}{|l|r@{.}l|l|r@{.}l|}
+\multicolumn{3}{|c|}{totalitÃ©}&\multicolumn{3}{|c|}{une version}\\
+\hline
+Mandriva&1258&90&2010.0&110&18\\
+\hline
+Fedora&620&89&12&89&95\\
+\hline
+Ubuntu&318&50&-&\multicolumn{2}{|c|}{-}\\
+\hline
+\end{tabular}
+
+%%TODO exemple pour des softs
+
+\end{exampleblock}
+\end{frame}
+
+\begin{frame}
+\frametitle{Questions:}
+\begin{alertblock}{La vie, l'univers et le reste}
+\begin{itemize}
+\item quelle capacitÃ© ?
+\item quelle bande passante ?
+\item quelle fiabilitÃ© du service ?
+\end{itemize}
+\pause
+\begin{itemize}
+\item le temps que vous pouvez y accorder
+\item le coÃ»t en \euro{}
+\end{itemize}
+\end{alertblock}
+\end{frame}
+
 \section{Le MatÃ©riel}
 
-\section{Les services}
+\subsection{infrastucture nÃ©cessaire}
+
+\begin{frame}
+\frametitle{HÃ©bergement}
+\begin{block}{Les classiques}
+\begin{itemize}
+\item rÃ©seau Ã©lectrique ondulÃ©
+\item salle climatisÃ©e
+\item une solution d'accÃšs distant est un plus (ipmi, kvm ip)
+\end{itemize}
+\end{block}
+\pause
+\vfill
+
+\begin{block}{connection du site Ã  internet}
+\begin{itemize}
+\item en download
+\begin{itemize}
+\item 20~mbits peuvent suffire
+\item pour des mise Ã  jours correcte: 100~mbits
+\end{itemize}
+\item en upload (serveur publique)
+\begin{itemize}
+\item 100~mbits minimum, gigabit recommandÃ©
+\end{itemize}
+\end{itemize}
+\end{block}
+\end{frame}
+
+\subsection{La machine}
+
+\begin{frame}
+\frametitle{Configuration}
+\begin{block}{Puissance}
+\begin{itemize}
+\item 2 ou 4 CPU, peu importe la puissance
+\pause
+\item RAM: 4~Go minimum (faire du cache)
+\pause
+\item disque (pour l'OS):
+\begin{itemize}
+\item 20~Go (systÃšme + swap)
+\item 30~Go pour les logs
+\end{itemize}
+\end{itemize}
+\end{block}
+\pause
+\vfill
+
+\begin{block}{SÃ©curitÃ©}
+\begin{itemize}
+\item alimentations redondantes
+\item garantie/maintenance constructeur (3 voir 5 ans)
+\pause
+\item un systÃšme de sauvegarde du systÃšme
+\end{itemize}
+\end{block}
+\end{frame}
+
+\subsection{Stockage}
+
+\begin{frame}
+\frametitle{Besoins:}
+
+\begin{block}{Performance}
+\begin{itemize}
+\item peu d'Ã©criture, beaucoup de lecture
+\item peu de trÃšs gros dÃ©bit
+\item beaucoup d'accÃšs concurrents
+\end{itemize}
+\end{block}
+\pause
+\vfill
+
+\begin{block}{Taille: prÃ©voir large}
+\begin{itemize}
+\item espace utile $\approx$ 80\% espace brut
+\item les distributions grossissent\\
+    (Mdv 2007.0: 29G, Mdv 2010.0: 48G)
+\item rÃ©pondre aux futurs besoins
+\end{itemize}
+\end{block}
+\end{frame}
+
+\begin{frame}
+\frametitle{Solution de stockage}
+\begin{block}{Disques internes}
+\begin{itemize}
+\item disques SATA ou SAS
+\item \textbf{Raid} hard ou soft
+\end{itemize}
+\end{block}
+\pause
+\vfill
+
+\begin{block}{Solution externes / Baies autonomes}
+\begin{tabular}{|c|c|l|}
+\hline
+Conn.&type disque&commentaire\\
+\hline
+\hline
+SCSI&IDE&vieilles baies\\
+\hline
+SCSI&SATA&bon compromis qualitÃ©/prix\\
+\hline
+SAS&SAS&trÃšs couteux\\
+\hline
+F.C.&SATA&performant, voir le prix de la carte\\
+\hline
+F.C.&SAS&le top mais cher !\\
+\hline
+\end{tabular}
+\end{block}
+\end{frame}
+
+\begin{frame}
+\frametitle{Exemple de baies}
+\begin{exampleblock}{Baies de distrib-coffee}
+\begin{center}
+\includegraphics[width=75mm]{disk-array}
+\begin{itemize}
+\item haut: 8~x~250Go, Raid 5
+\item bas: 16~x~1To, Raid 6
+\end{itemize} 
+\end{center}
+\end{exampleblock}
+\end{frame}
+
+\begin{frame}
+\frametitle{Faire intervenir le RAID}
+\begin{block}{RAID hard ou soft ?}
+Pourquoi pas du soft:
+\begin{itemize}
+\item peu couteux sur les CPUs actuels
+\item indÃ©pendant du matÃ©riel
+\pause
+\item un RAID full hard reste plus souple et performant
+\item \textbf{fuyez les RAID semi hard}
+\end{itemize}
+\end{block}
+\pause
+\vfill
+
+\begin{block}{Quel RAID ?}
+\begin{tabular}{ccl}
+\only<3>{
+RAID 0&Stripping&Vous plaisantez ?\\
+}
+\only<4>{
+RAID 1&Mirroring&Cher\\
+RAID 0+1&Mirror + Stripe&Excellent mais cher\\
+RAID 5&ParitÃ©&Bon compromis\\
+RAID 6&2 paritÃ©s&Bon compromis, plus lourd\\
+}
+\end{tabular}
+\end{block}
+\end{frame}
+
+\subsection{RÃ©sumÃ©}
+
+\begin{frame}
+\frametitle{Prix}
+\begin{block}{Tarifs:}
+\centering
+\begin{tabular}{|l|c|}
+\hline
+Machine&500 - 2500 \euro{}\\
+\hline
+Stockage&300 - 20000 \euro{}\\
+\hline
+\end{tabular}
+\end{block}
+\pause
+\vfill
+
+\begin{exampleblock}{Distrib-coffee}
+\centering
+\begin{tabular}{|l|c|}
+\hline
+bi-quad 2ghz, 32Go RAM&1500 \euro\\
+\hline
+Stockage:&\\
+Baie 8x500Go SCSI&~ 3000 \euro\\
+Baie 16x1To SCSI&~ 5000 \euro\\
+\hline
+\end{tabular}
+\end{exampleblock}
+\pause
+\vfill
+\begin{alertblock}{}
+Nos prix sont exprimÃ©s hors taxes
+\end{alertblock}
+\end{frame}
+
+\section{CotÃ© Soft}
 
 \subsection{L'OS}
 
-\subsection{http}
-
-\subsection{ftp}
-
-\subsection{rsync}
+\begin{frame}
+\frametitle{Quel Os ?}
+\begin{columns}
+\begin{column}{3cm}
+\only<2->{
+\includegraphics[width=25mm]{DoNotFeedTroll}
+
+Do not feed the troll.
+}
+\end{column}
+\begin{column}{8cm}
+\begin{block}{Unix}
+PrÃ©fÃ©rez un systÃšme 64bits.
+\pause
+\begin{itemize}
+\item Linux
+\item BSD
+\item autres\ldots
+\end{itemize}
+\end{block}
+\pause
+\begin{block}{Windows ?}
+Les retours d'expÃ©rience m'intÃ©resse !
+\end{block}
+\pause
+\begin{exampleblock}{Distrib-coffee}
+Linux Mandriva 2010.0 x86\_64
+\end{exampleblock}
+\end{column}
+\end{columns}
+\end{frame}
+
+\begin{frame}
+\frametitle{Partitionnement 1/2}
+\begin{block}{Pour le systÃšme}
+PrÃ©voir:
+\begin{itemize}
+\item swap (4Go max)
+\item /var sÃ©parÃ© (pensez aux logs !)
+\end{itemize}
+\end{block}
+\pause
+\vfill
+
+\begin{block}{Stockage}
+Utilisation de LVM (linux):
+\begin{itemize}
+\item facilite la gestion de gros volumes
+\item extension sur plusieurs disques
+\end{itemize}
+\end{block}
+\end{frame}
+
+\begin{frame}[fragile]
+\frametitle{Partitionnement 2/2}
+\begin{block}{Conseils}
+\begin{itemize}
+\item un seul systÃšme de fichier (Ã©vite les dÃ©placements coÃ»teux entre disques)
+\item ne pas exposer la racine mais un sous rÃ©pertoire
+\pause
+\begin{verbatim}
+/dev/vg/lv        /mnt/stockage auto
+/mnt/stockage/pub /var/ftp/pub  bind
+\end{verbatim}
+\pause
+\item systÃšme supportant un grand nombre de fichiers
+\pause
+\item retaillable (Ã  chaud)
+\pause
+\item \textbf{journalisÃ©}
+\pause
+\item fiable et maintenu
+\pause
+\end{itemize}
+Donc ext3, ext4, xfs (linux).
+\end{block}
+\end{frame}
+
+\subsection{Services}
+
+\subsubsection{http}
+
+\begin{frame}
+\frametitle{Le web}
+\begin{block}{Contraintes}
+\begin{itemize}
+\item protocol mal adaptÃ© Ã  du tÃ©lÃ©chargement pur
+\item beaucoup de connections, de plus en plus utilisÃ©
+\item des connections longue (temps de tÃ©lÃ©chargement)
+\end{itemize}
+\end{block}
+\pause
+\vfill
+\begin{block}{Apache ?}
+\begin{itemize}
+\item connu et classigue
+\item souple, nombreux support (via modules)
+\item configuration parfois peu aisÃ©e
+\item besoin de restart qui arrÃšte toutes les connections en court
+\item gourmand en RAM
+\end{itemize}
+\end{block}
+\end{frame}
+
+\begin{frame}[fragile]
+\frametitle{TÃ©lÃ©chargement intelligent ?}
+\begin{block}{ProblÃšme des mass downloader}
+\begin{itemize}
+\item plusieurs connections (jusque 30 par tÃ©lÃ©chargement) simultanÃ©es et
+rÃ©pÃ©titives
+\item des accÃšs (ouverture de fichiers) rÃ©pÃ©titifs et concurrents
+\end{itemize}
+\end{block}
+\pause
+\vfill
+\begin{block}{Solution:}
+Pour apache: mod-bw, renvoit une erreur \verb+503+ en cas de connections multiples
+\begin{itemize}
+\item permet de limiter seulement une arborescence
+\item ne detecte pas bien la fin des connections \verb+:\+
+\item Ã©fficace
+\end{itemize}
+\end{block}
+\end{frame}
+
+\subsubsection{ftp}
+
+\begin{frame}[fragile]
+\frametitle{File Transfert Protocol}
+\begin{block}{Les problÃšmes:}
+\begin{itemize}
+\item \verb+ls+ rÃ©cursif: Ã  interdire
+\item penser Ã  autoriser le \verb+ftp passif+
+\end{itemize}
+\end{block}
+\pause
+\vfill
+\begin{block}{Quel serveur ?}
+\begin{itemize}
+\item proftpd
+\pause
+\item vsftpd
+\pause
+\item \ldots
+\end{itemize}
+\end{block}
+\end{frame}
+
+\subsubsection{Rsync}
+
+\begin{frame}[fragile]
+\frametitle{Rsync (serveur)}
+\begin{block}{Utilisation}
+\begin{itemize}
+\item avant tout synchronisation d'arborescence
+\item du tÃ©lÃ©chargement de fichier (certaines distributions)
+\end{itemize}
+\pause
+\begin{itemize}
+\item reprise de tÃ©lÃ©chargement long (y compris gros fichiers)
+\item gourmand en accÃšs disque (cotÃ© serveur et client)
+\end{itemize}
+\end{block}
+\vfill
+\pause
+\begin{block}{Limiter rsync}
+\begin{itemize}
+\item dÃ©sactiver la compression (\verb+-z+): trÃšs souvent inutiles (fichiers comprÃ©ssÃ©s)
+\pause
+\item dÃ©sactiver le recalcul checksum (\verb+-c+): force cotÃ© serveur la
+relecture des fichiers
+\end{itemize}
+\end{block}
+\end{frame}
+
+\subsubsection{Autres}
+
+\begin{frame}[fragile]
+\frametitle{Soyez inventif}
+\begin{block}{Des exemples}
+\begin{itemize}
+\item p2p (\verb+bittorent+): trÃšs lourd sur les firewall et parfois interdit
+\pause
+\item smb/cifs (\verb+samba+): trÃšs utile, mais reste en {\bf interne}
+\pause
+\item appletalk (\verb+netatalk+): de moins en moins utile, en {\bf interne} seulement
+\pause
+\item nfs: trÃšs utile sur les UNIX, en {\bf interne} et seulement en {\bf lecture
+seule}
+\end{itemize}
+\end{block}
+\end{frame}
+
+\subsection{QOS}
+
+\begin{frame}
+\frametitle{QOS: pourquoi ?}
+\begin{block}{Selon Philippe}
+\emph{De la qualitÃ© qui se rÃ©sume Ã  rÃ©duire la bande passante}
+\end{block}
+\vfill
+\pause
+\begin{block}{Raisons:}
+\begin{itemize}
+\item Ã©viter la surcharge de le connection du site
+\item favoriser les rÃ©seau amis (ou l'entreprise)
+\item favoriser certaines mÃ©thodes de tÃ©lÃ©chargement
+\item rendre Ã©quitable les tÃ©lÃ©chargements
+\end{itemize}
+\end{block}
+\end{frame}
+
+\begin{frame}[fragile]
+\frametitle{QOS, mise en pratique (linux)}
+\begin{block}{MÃ©thodes:}
+\begin{itemize}
+\item \verb+tc+: filtres et qos
+\item \verb+netfilter+ pour les filtres, \verb+tc+ pour la qos
+\end{itemize}
+Les filtres tc sont subtilement puissants, on prÃ©fÃšre utiliser \verb+netfilter+
+(\verb+iptables+).
+\end{block}
+\vfill
+\pause
+\begin{block}{Quelles QOS ?}
+\begin{itemize}
+\item contrÃŽle de la bande passante: \verb+htb+
+\item rÃ©gulation:
+\begin{itemize}
+\item \verb+pfifo+ pour les trÃšs gros dÃ©bits
+\item \verb+cfq+ pour Ã©galiser les flux (\verb+ftp+, \verb+http+)
+\end{itemize}
+\end{itemize}
+\end{block}
+\end{frame}
+
+\begin{frame}[fragile]
+\frametitle{QOS, exemples}
+\begin{exampleblock}{iptables}
+{\small
+\begin{verbatim}
+iptables -t mangle -A OUTPUT -p tcp -m tcp \
+  --sport 80 -j MARK --set-mark 122
+\end{verbatim}
+}
+\end{exampleblock}
+
+\begin{exampleblock}{tc}
+{\scriptsize
+\begin{verbatim}
+tc qdisc add dev eth0 root handle 1: htb r2q 1500
+tc class add dev eth0 parent 1:1 classid 1:122 htb \
+  rate 26mbit ceil 60mbit prio 1 burst 50mbit cburst 100kb
+
+tc qdisc add dev eth0 parent 1:122  handle 122: sfq perturb 5
+
+# Ã©galise par sources/destination et non par connection:
+tc filter add dev eth0 protocol ip parent 122: handle 1221 \
+  flow hash keys src,dst divisor 1024
+\end{verbatim}
+}
+\end{exampleblock}
+\end{frame}
+
+\subsection{VisibilitÃ©}
+
+\begin{frame}
+\frametitle{Ce que les gens verront}
+\begin{block}{Page Web principale:}
+\begin{itemize}
+\item un contact (un mail)
+\item qui hÃ©berge le serveur (votre sociÃ©tÃ©)
+\item comment acceder aux mirroirs
+\item informations lÃ©gales
+\item les recommandations d'usage
+\end{itemize}
+\end{block}
+\begin{block}{Sur chaque service}
+\begin{itemize}
+\item rsync: motd
+\item ftp: welcome
+\end{itemize}
+\end{block}
+\end{frame}
 
 \section{Les miroirs}
 
+\begin{frame}[fragile]
+\frametitle{Mise en place}
+\begin{block}{Les distributions}
+\begin{itemize}
+\item difficultÃ© Ã  trouver les informations
+\item politiques diffÃ©rentes (outils, options des outils)
+\item multitudes de contact (un par distribution)
+\item communication inapropriÃ©e et/ou surnumÃ©raire
+\end{itemize}
+\end{block}
+\begin{block}{Les (quelques) progrÃšs}
+\begin{itemize}
+\item \href{http://mirrorbrain.org/}{Mirror Brain}
+\end{itemize}
+\end{block}
+\end{frame}
+
+\begin{frame}[fragile]
+\frametitle{Mes conseils}
+\begin{block}{rsync !}
+\begin{itemize}
+\item support des liens hard
+\item retprise de tÃ©lÃ©chargement partiel
+\end{itemize}
+\end{block}
+\begin{block}{rsync: les bonnes options}
+\begin{itemize}
+\item \verb+-a+ rÃ©cursisif, permission
+\item \verb+-H+ prÃ©serve les \emph{liens hard}
+\pause
+\item \verb+--temp-dir+ rÃ©pertoire temporaire
+\pause
+\item \verb+--partial --partial-dir+ garder les fichiers temporaire mais
+ailleurs
+
+\end{itemize}
+\end{block}
+\end{frame}
+
+\section{Fin}
+
+\begin{frame}[fragile]
+\frametitle{Merci}
+\begin{exampleblock}{Url}
+\href{http://distrib-coffee.ipsl.jussieu.fr}{http://distrib-coffee.ipsl.jussieu.fr}
+\end{exampleblock}
+\end{frame}
+
 \end{document}
