From: Brett Porter Date: Fri, 28 Mar 2008 15:11:08 +0000 (+0000) Subject: [MRM-688] update the guide for Windows X-Git-Tag: archiva-r676265~247 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=92aee21344bc29af583dc4c67ce0aa94da4c8319;p=archiva.git [MRM-688] update the guide for Windows git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@642253 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-docs/src/site/apt/adminguide/standalone.apt b/archiva-docs/src/site/apt/adminguide/standalone.apt index 2676b190d..c506b01f8 100644 --- a/archiva-docs/src/site/apt/adminguide/standalone.apt +++ b/archiva-docs/src/site/apt/adminguide/standalone.apt @@ -13,12 +13,32 @@ Installing Standalone Distribution of Apache Archiva Archiva can be run by executing: - * <<>>, or <<>> for windows (select the one for your environment). The argument can be <<>> to run + * <<>>, or <<>> for windows (select the one for your environment). The argument can be <<>> to run interactively, or <<>> to run in the background (in this case, run the script with <<>> to later stop the server). The logs are available in the <<>> directory where Archiva is installed. [] +* Installing as a Service on Windows + + On Windows, to use the <<>> and <<>> commands you must first install it as a service. This is done by running: + +---- +.\bin\archiva install +---- + + You can then use the <<>> and <<>> commands as well as the traditional Windows service management console to manage the Archiva + service. + + This procedure installs the service to run as the local system user. You must ensure that it has access to read the installation, and to write + to the logs and data directories. + + You can later remove the service with: + +---- +.\bin\archiva remove +---- + * Separating the base from the installation The standalone instance of Archiva uses the Plexus application server, which is capable of separating it's configuration from installation, diff --git a/archiva-docs/src/site/apt/quick-start.apt b/archiva-docs/src/site/apt/quick-start.apt index 53f4fe160..3ac0c76eb 100644 --- a/archiva-docs/src/site/apt/quick-start.apt +++ b/archiva-docs/src/site/apt/quick-start.apt @@ -34,7 +34,8 @@ Installing Archiva To get started right away, you can run the following after unpacking: ---- -./bin/archiva console +./bin/archiva console (Linux, Mac, Solaris) +.\bin\archiva console (Windows) ---- You will need to choose a different start command based on your platform. The <<>> argument