You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pa...@apache.org on 2013/07/25 14:52:53 UTC

svn commit: r1506942 - /directory/site/trunk/content/apacheds/advanced-ug/5.2-start-stop.mdtext

Author: pamarcelot
Date: Thu Jul 25 12:52:53 2013
New Revision: 1506942

URL: http://svn.apache.org/r1506942
Log:
Added documentation for Starting and Stopping ApacheDS.

Modified:
    directory/site/trunk/content/apacheds/advanced-ug/5.2-start-stop.mdtext

Modified: directory/site/trunk/content/apacheds/advanced-ug/5.2-start-stop.mdtext
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/apacheds/advanced-ug/5.2-start-stop.mdtext?rev=1506942&r1=1506941&r2=1506942&view=diff
==============================================================================
--- directory/site/trunk/content/apacheds/advanced-ug/5.2-start-stop.mdtext (original)
+++ directory/site/trunk/content/apacheds/advanced-ug/5.2-start-stop.mdtext Thu Jul 25 12:52:53 2013
@@ -24,4 +24,70 @@ Notice: Licensed to the Apache Software 
 
 # 5.2 - Starting and Stopping the server
 
-// To be completed
+[TOC]
+
+## 5.2.1 Archive Distribution (zip/tar.gz)
+
+### Starting ApacheDS
+
+#### On Linux/Unix Systems
+
+In a terminal, first move to the ApacheDS directory of the unarchived distribution and then run the _**apacheds.sh**_ script in the _**bin**_ directory:
+
+    $ cd <path-to-apacheds-directory>
+    $ sh bin/apache.sh
+
+#### On Windows
+
+Double-click the _**apacheds.bat**_ command in the _**bin**_ directory or in a terminal, first move to the _**bin**_ directory of the unarchived distribution and then run the _**apacheds.bat**_ command:
+
+    $ cd <path-to-apacheds-directory>\bin
+    $ apacheds.bat
+
+### Stopping ApacheDS
+
+ApacheDS can be stopped by hitting _**CTL+C**_ in the terminal the server was launched with. If the _**apacheds.bat**_ command was double-clicked, closing the terminal window will also stop ApacheDS. 
+
+## 5.2.1 Windows Installer (.exe)
+
+ApacheDS is registered as a service on Windows. Start and Stop operations can be achieved in the _**Services**_ utility which is accessible via _**Start**_ > _**Contol Panel**_ > _**Administration Tools**_ > _**Services**_.
+
+ApacheDS also provides an easier access to the _**Services**_ utility via _**Start**_ > _**All Programs**_ > _**ApacheDS**_ > _**Manage ApacheDS**_. 
+
+### Starting ApacheDS
+
+The ApacheDS service can be started right-clicking on the _**ApacheDS - Default**_ service and selecting _**Start**_ in the context menu.
+
+### Stopping ApacheDS
+
+The ApacheDS service can be started right-clicking on the _**ApacheDS - Default**_ service and selecting _**Stop**_ in the context menu.
+
+## 5.2.2 Linux Binary (.bin), Debian (.deb) & Fedora (.rpm) Installers
+
+### Starting ApacheDS
+
+In a terminal, run the following command:
+
+    $ sudo /etc/init.d/apacheds-${version}-default start
+
+### Stopping ApacheDS
+
+In a terminal, run the following command:
+
+    $ sudo /etc/init.d/apacheds-${version}-default stop
+
+**NOTE:** 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.
+
+## 5.2.1 Mac OS X Installer (.pkg)
+
+### Starting ApacheDS
+
+In a terminal, run the following command:
+
+    $ sudo launchctl start org.apache.directory.server
+
+### Stopping ApacheDS
+
+In a terminal, run the following command:
+
+    $ sudo launchctl stop org.apache.directory.server