[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
This commit is contained in:
Brett Porter 2008-03-28 15:11:08 +00:00
parent a7f5cbd245
commit 92aee21344
2 changed files with 23 additions and 2 deletions

View File

@ -13,12 +13,32 @@ Installing Standalone Distribution of Apache Archiva
Archiva can be run by executing: Archiva can be run by executing:
* <<<bin/archiva>>>, or <<<bin/archiva.bat>>> for windows (select the one for your environment). The argument can be <<<console>>> to run * <<<bin/archiva>>>, or <<<bin\archiva.bat>>> for windows (select the one for your environment). The argument can be <<<console>>> to run
interactively, or <<<start>>> to run in the background (in this case, run the script with <<<stop>>> to later stop the server). The logs interactively, or <<<start>>> to run in the background (in this case, run the script with <<<stop>>> to later stop the server). The logs
are available in the <<<logs>>> directory where Archiva is installed. are available in the <<<logs>>> directory where Archiva is installed.
[] []
* Installing as a Service on Windows
On Windows, to use the <<<start>>> and <<<stop>>> commands you must first install it as a service. This is done by running:
----
.\bin\archiva install
----
You can then use the <<<start>>> and <<<stop>>> 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 * 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, The standalone instance of Archiva uses the Plexus application server, which is capable of separating it's configuration from installation,

View File

@ -34,7 +34,8 @@ Installing Archiva
To get started right away, you can run the following after unpacking: 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 <<<console>>> argument You will need to choose a different start command based on your platform. The <<<console>>> argument