Automatische Installation von ApacheDS unter Windows

1311
030

Ich habe ApacheDS für Windows heruntergeladen und möchte es im unbeaufsichtigten Verzeichnis in einem bevorzugten Verzeichnis installieren. Die Parameter /Sund D=werden akzeptiert, der Dienst wird jedoch nicht ordnungsgemäß installiert. Wie kann ich ApacheDS unter Windows unbeaufsichtigt installieren?

0

2 Antworten auf die Frage

0
030

Die folgende Antwort wurde in ein Chocolatey-Paket umgewandelt, in der Chocolatey Gallery veröffentlicht und kann mit installiert werdencinst apacheds

Ich habe ApacheDS unbeaufsichtigt installiert, indem ich die ApacheDS-Zip heruntergeladen und entpackt und den lib/apacheds-service-<version>.jarDienst als Dienst mit NSSM installiert habe ( siehe Frage und Antwort bei StackOverflow zu Erstellungs-Jar als Dienst unter Windows ).

0
Anthony Hayward

Sie können die bereitgestellte wrapper.exe in Apache DS verwenden, um den Dienst zu installieren

Z.B

C:\Program Files (x86)\ApacheDS\bin>wrapper -i ..\conf\wrapper.conf set.INSTANCE_DIRECTORY=..\instances\default set.INSTANCE=default wrapper | ApacheDS - default installed. 

Alle Optionen stehen zur Verfügung, wenn Sie keine Parameter ausführen.

C:\Program Files (x86)\ApacheDS\bin\wrapper.exe Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org  Usage: wrapper <command> <configuration file> [configuration properties] [...] wrapper <configuration file> [configuration properties] [...] (<command> implicitly '-c') wrapper <command> (<configuration file> implicitly 'wrapper.conf') wrapper (<command> implicitly '-c' and <configuration file> 'wrapper.conf')  where <command> can be one of: -c --console run as a Console application -t --start starT an NT service -a --pause pAuse a started NT service -e --resume rEsume a paused NT service -p --stop stoP a running NT service -i --install Install as an NT service -r --remove Remove as an NT service -q --query Query the current status of the service -qs --querysilent Silently Query the current status of the service -v --version print the wrapper's version information. -? --help print this help message  <configuration file> is the wrapper.conf to use. Name must be absolute or relat ive to the location of wrapper  [configuration properties] are configuration name-value pairs which override val ues in wrapper.conf. For example: wrapper.debug=true