{{% toc %}}
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
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
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.
ApacheDS is registered as a service on Windows. Start and Stop operations can be achieved in the Services utility which is accessible via Start > Control Panel > Administration Tools > Services.
ApacheDS also provides an easier access to the Services utility via Start > All Programs > ApacheDS > Manage ApacheDS.
The ApacheDS service can be started right-clicking on the ApacheDS - Default service and selecting Start in the context menu.
The ApacheDS service can be started right-clicking on the ApacheDS - Default service and selecting Stop in the context menu.
In a terminal, run the following command:
$ sudo /etc/init.d/apacheds-${version}-default start
In a terminal, run the following command:
$ sudo /etc/init.d/apacheds-${version}-default stop
NOTE: The 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.
In a terminal, run the following command:
$ sudo launchctl start org.apache.directory.server
In a terminal, run the following command:
$ sudo launchctl stop org.apache.directory.server