Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../.././server/data/WWW/manual.neu/building.html
Real path: /www/server/data/WWW/manual.neu/building.html
Zurück
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <link href="/css/apsite.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> <meta name="author" content="Documentation Group" /><meta name="email" content="docs@httpd.apache.org" /> <title> Flood </title> </head> <body> <div id="page-header"> <p class="menu"> </p> <p class="apache"> </p> <a href="/"> <img alt="" width="800" height="72" src="/images/httpd_logo_wide_new.png" /> </a> </div> <!-- LEFT SIDE NAVIGATION --> <div id="apmenu"> <h1 id="essentials">Essentials</h1> <ul> <li><a href="/test/flood/building.html">Building</a></li> <li><a href="/test/flood/faq.html">FAQ</a></li> </ul> <h1 id="download">Download!</h1> <ul> <li><a href="http://www.apache.org/dyn/closer.cgi/httpd/flood/">From a Mirror</a></li> <li><a href="http://www.apache.org/dist/httpd/">From Here</a></li> </ul> <h1 id="documentation">Documentation</h1> <ul> <li><a href="http://svn.apache.org/repos/asf/httpd/flood/trunk/DESIGN">Design</a></li> <li><a href="http://svn.apache.org/repos/asf/httpd/flood/trunk/CONFIG">Configuration</a></li> </ul> </div> <!-- RIGHT SIDE INFORMATION --> <div id="apcontents"> <h1 id="Overview">Overview</h1> <p>This document explains how to compile and run flood.</p> <p>Flood is built around <a href="http://apr.apache.org/">Apache Portable Runtime</a> - specifically apr and apr-util.</p> <p>Flood has been primarily developed on Linux and Solaris. FreeBSD is also known to work. Since flood is built around APR, any APR-supported platform should work without too much hassle. We expect Win32 would work with some additional magic provided someone has the time and inclination to do so. APR has completed most of the dirty work, but none of the current flood developers use Win32.</p> <h1 id="Checkout">Checking out flood</h1> <p>The current copy of flood is available via Subversion. Flood also depends on the apr and apr-util packages available from the same Subversion repository.</p> <p><strong><font color="red">Note:</font></strong> Flood will automatically detect and configure APR and APR-util if they are in the appropriate subdirectories. If you have an already installed copy of APR and APR-util (such as the ones that come with httpd-2.0 or Subversion), you may specify --with-apr and --with-apr-util at configure-time.</p> <div class="codehilite"><pre><span class="c">% svn co http://svn.apache.org/repos/asf/httpd/flood/trunk flood</span> <span class="c">% cd flood</span> <span class="c">% svn co http://svn.apache.org/repos/asf/apr/apr/trunk apr</span> <span class="c">% svn co http://svn.apache.org/repos/asf/apr/apr-util/trunk apr-util</span> </pre></div> <h1 id="Configuring">Configuring flood and its dependencies</h1> <p>Now that you have all of the required modules checked out, you now need to generate the configure scripts and execute them for your platform.</p> <h3 id="flood-and-ssl-support">Flood and SSL support</h3> <p><strong><font color="red">Note:</font></strong> SSL support is <strong>not</strong> enabled by default in flood. If you wish to enable SSL support, you must specify <code>--enable-ssl</code> when configuring flood.</p> <p>If you attempt to run flood against a https URL without SSL support compiled-in, you will receive an error similar to the following:</p> <div class="codehilite"><pre><span class="c">%./flood examples/round-robin-ssl.xml</span> <span class="n">open</span> <span class="n">request</span> <span class="n">failed</span> <span class="p">(</span><span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">www</span><span class="p">.</span><span class="n">modssl</span><span class="p">.</span><span class="n">org</span><span class="o">/</span><span class="n">example</span><span class="o">/</span><span class="n">test</span><span class="p">.</span><span class="n">phtml</span><span class="p">).</span> <span class="n">Error</span> <span class="n">running</span> <span class="n">farmer</span> <span class="s">'Joe'</span><span class="p">:</span> <span class="n">This</span> <span class="k">function</span> <span class="n">has</span> <span class="n">not</span> <span class="n">been</span> <span class="n">implemented</span> <span class="n">on</span> <span class="n">this</span> <span class="n">platform</span> </pre></div> <p>The <code>--enable-ssl</code> option enables detection of the OpenSSL libraries. If flood can not automatically detect OpenSSL, you will need to specify <code>--with-openssl</code> to point at the appropriate installed version of OpenSSL. The <code>--with-capath</code> option points at a directory that contains the Certificate Authorities ( <strong>CA</strong> s) for OpenSSL. The default capath is in <code>$openssl_prefix/certs</code>.</p> <h3 id="running-configure-from-the-flood-directory">Running configure from the flood directory</h3> <div class="codehilite"><pre><span class="c">%./buildconf</span> <span class="c">%./configure --disable-shared</span> </pre></div> <h1 id="Compiling">Compiling flood and its dependencies</h1> <p>In this example, APR and apr-util will automatically be built with flood. So, you only need to issue a make in the flood directory.</p> <div class="codehilite"><pre><span class="c">% make all</span> </pre></div> <h1 id="Running">Running flood</h1> <p>By default, flood is a static executable, so the executable is relocatable. There are some example flood profiles in the examples/ directory from CVS.</p> <div class="codehilite"><pre><span class="c">%./flood examples/round-robin.xml > foo.out</span> </pre></div> <h1 id="Analysis">Analyzing flood output</h1> <p>The foo.out file generated above is in a simple easy-to-parse format. There are some included shell and awk scripts in the examples directory that provide some easy mechanisms to extract info from the flood output files.</p> <div class="codehilite"><pre><span class="c">%./examples/analyze-relative foo.out</span> </pre></div> <h1 id="Questions">Questions</h1> <p>This should provide a quick and easy way to jumpstart your flood installation. If you have any questions, please email the dev@httpd.apache.org mailing list.</p> <!-- FOOTER --> <div id="footer"> <p>Copyright © 2012 The Apache Software Foundation.<br /> Apache HTTP Server, Apache, and the Apache feather logo are trademarks of The Apache Software Foundation.</p> </div> </div> </body> </html>