You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by bu...@apache.org on 2013/07/25 14:53:00 UTC
svn commit: r871149 - in /websites/staging/directory/trunk/content: ./
apacheds/advanced-ug/5.2-start-stop.html
Author: buildbot
Date: Thu Jul 25 12:53:00 2013
New Revision: 871149
Log:
Staging update by buildbot for directory
Modified:
websites/staging/directory/trunk/content/ (props changed)
websites/staging/directory/trunk/content/apacheds/advanced-ug/5.2-start-stop.html
Propchange: websites/staging/directory/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Jul 25 12:53:00 2013
@@ -1 +1 @@
-1506784
+1506942
Modified: websites/staging/directory/trunk/content/apacheds/advanced-ug/5.2-start-stop.html
==============================================================================
--- websites/staging/directory/trunk/content/apacheds/advanced-ug/5.2-start-stop.html (original)
+++ websites/staging/directory/trunk/content/apacheds/advanced-ug/5.2-start-stop.html Thu Jul 25 12:53:00 2013
@@ -138,7 +138,87 @@
<h1 id="52-starting-and-stopping-the-server">5.2 - Starting and Stopping the server</h1>
-<p>// To be completed</p>
+<div class="toc">
+<ul>
+<li><a href="#52-starting-and-stopping-the-server">5.2 - Starting and Stopping the server</a><ul>
+<li><a href="#521-archive-distribution-ziptargz">5.2.1 Archive Distribution (zip/tar.gz)</a><ul>
+<li><a href="#starting-apacheds">Starting ApacheDS</a><ul>
+<li><a href="#on-linuxunix-systems">On Linux/Unix Systems</a></li>
+<li><a href="#on-windows">On Windows</a></li>
+</ul>
+</li>
+<li><a href="#stopping-apacheds">Stopping ApacheDS</a></li>
+</ul>
+</li>
+<li><a href="#521-windows-installer-exe">5.2.1 Windows Installer (.exe)</a><ul>
+<li><a href="#starting-apacheds_1">Starting ApacheDS</a></li>
+<li><a href="#stopping-apacheds_1">Stopping ApacheDS</a></li>
+</ul>
+</li>
+<li><a href="#522-linux-binary-bin-debian-deb-fedora-rpm-installers">5.2.2 Linux Binary (.bin), Debian (.deb) & Fedora (.rpm) Installers</a><ul>
+<li><a href="#starting-apacheds_2">Starting ApacheDS</a></li>
+<li><a href="#stopping-apacheds_2">Stopping ApacheDS</a></li>
+</ul>
+</li>
+<li><a href="#521-mac-os-x-installer-pkg">5.2.1 Mac OS X Installer (.pkg)</a><ul>
+<li><a href="#starting-apacheds_3">Starting ApacheDS</a></li>
+<li><a href="#stopping-apacheds_3">Stopping ApacheDS</a></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<h2 id="521-archive-distribution-ziptargz">5.2.1 Archive Distribution (zip/tar.gz)</h2>
+<h3 id="starting-apacheds">Starting ApacheDS</h3>
+<h4 id="on-linuxunix-systems">On Linux/Unix Systems</h4>
+<p>In a terminal, first move to the ApacheDS directory of the unarchived distribution and then run the <em><strong>apacheds.sh</strong></em> script in the <em><strong>bin</strong></em> directory:</p>
+<div class="codehilite"><pre>$ <span class="n">cd</span> <span class="o"><</span><span class="n">path</span><span class="o">-</span><span class="n">to</span><span class="o">-</span><span class="n">apacheds</span><span class="o">-</span><span class="n">directory</span><span class="o">></span>
+$ <span class="n">sh</span> <span class="n">bin</span><span class="o">/</span><span class="n">apache</span><span class="p">.</span><span class="n">sh</span>
+</pre></div>
+
+
+<h4 id="on-windows">On Windows</h4>
+<p>Double-click the <em><strong>apacheds.bat</strong></em> command in the <em><strong>bin</strong></em> directory or in a terminal, first move to the <em><strong>bin</strong></em> directory of the unarchived distribution and then run the <em><strong>apacheds.bat</strong></em> command:</p>
+<div class="codehilite"><pre>$ <span class="n">cd</span> <span class="o"><</span><span class="n">path</span><span class="o">-</span><span class="n">to</span><span class="o">-</span><span class="n">apacheds</span><span class="o">-</span><span class="n">directory</span><span class="o">>\</span><span class="n">bin</span>
+$ <span class="n">apacheds</span><span class="p">.</span><span class="n">bat</span>
+</pre></div>
+
+
+<h3 id="stopping-apacheds">Stopping ApacheDS</h3>
+<p>ApacheDS can be stopped by hitting <em><strong>CTL+C</strong></em> in the terminal the server was launched with. If the <em><strong>apacheds.bat</strong></em> command was double-clicked, closing the terminal window will also stop ApacheDS. </p>
+<h2 id="521-windows-installer-exe">5.2.1 Windows Installer (.exe)</h2>
+<p>ApacheDS is registered as a service on Windows. Start and Stop operations can be achieved in the <em><strong>Services</strong></em> utility which is accessible via <em><strong>Start</strong></em> > <em><strong>Contol Panel</strong></em> > <em><strong>Administration Tools</strong></em> > <em><strong>Services</strong></em>.</p>
+<p>ApacheDS also provides an easier access to the <em><strong>Services</strong></em> utility via <em><strong>Start</strong></em> > <em><strong>All Programs</strong></em> > <em><strong>ApacheDS</strong></em> > <em><strong>Manage ApacheDS</strong></em>. </p>
+<h3 id="starting-apacheds_1">Starting ApacheDS</h3>
+<p>The ApacheDS service can be started right-clicking on the <em><strong>ApacheDS - Default</strong></em> service and selecting <em><strong>Start</strong></em> in the context menu.</p>
+<h3 id="stopping-apacheds_1">Stopping ApacheDS</h3>
+<p>The ApacheDS service can be started right-clicking on the <em><strong>ApacheDS - Default</strong></em> service and selecting <em><strong>Stop</strong></em> in the context menu.</p>
+<h2 id="522-linux-binary-bin-debian-deb-fedora-rpm-installers">5.2.2 Linux Binary (.bin), Debian (.deb) & Fedora (.rpm) Installers</h2>
+<h3 id="starting-apacheds_2">Starting ApacheDS</h3>
+<p>In a terminal, run the following command:</p>
+<div class="codehilite"><pre>$ sudo /etc/init.d/apacheds-<span class="cp">${</span><span class="n">version</span><span class="cp">}</span>-default start
+</pre></div>
+
+
+<h3 id="stopping-apacheds_2">Stopping ApacheDS</h3>
+<p>In a terminal, run the following command:</p>
+<div class="codehilite"><pre>$ sudo /etc/init.d/apacheds-<span class="cp">${</span><span class="n">version</span><span class="cp">}</span>-default stop
+</pre></div>
+
+
+<p><strong>NOTE:</strong> ApacheDS Linux Binary installer lets the user decide the location of the launch script. The commands above refer to the default location and need to be adapted to whatever path was chosen during the installation.</p>
+<h2 id="521-mac-os-x-installer-pkg">5.2.1 Mac OS X Installer (.pkg)</h2>
+<h3 id="starting-apacheds_3">Starting ApacheDS</h3>
+<p>In a terminal, run the following command:</p>
+<div class="codehilite"><pre>$ <span class="n">sudo</span> <span class="n">launchctl</span> <span class="n">start</span> <span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">directory</span><span class="p">.</span><span class="n">server</span>
+</pre></div>
+
+
+<h3 id="stopping-apacheds_3">Stopping ApacheDS</h3>
+<p>In a terminal, run the following command:</p>
+<div class="codehilite"><pre>$ <span class="n">sudo</span> <span class="n">launchctl</span> <span class="n">stop</span> <span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">directory</span><span class="p">.</span><span class="n">server</span>
+</pre></div>
<div class="nav">