From d19e50fef159197bccef6c0c154a33dc57983c29 Mon Sep 17 00:00:00 2001 From: Wendy Smoak Date: Fri, 26 Mar 2010 20:51:40 +0000 Subject: [PATCH] Improve instructions for separating the installation and configuration. Other minor edits. git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@928055 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/site/apt/adminguide/standalone.apt | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/archiva-docs/src/site/apt/adminguide/standalone.apt b/archiva-docs/src/site/apt/adminguide/standalone.apt index 5e1d8ed70..0c87b3091 100644 --- a/archiva-docs/src/site/apt/adminguide/standalone.apt +++ b/archiva-docs/src/site/apt/adminguide/standalone.apt @@ -41,22 +41,24 @@ Installing Standalone Distribution of Apache Archiva * 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, - in much the same way Tomcat does for example. + The standalone installation of Archiva is capable of separating its configuration from installation + in much the same way Tomcat does. This is achieved by the following steps: - [[1]] Creating the base location. For example, you might install Archiva in <<>> and the data in <<>>. Create the directories <<>>, <<>> and <<>>. + [[1]] Create the base location. For example, you might install Archiva in <<>> and the data in <<>>. Create the directories <<>>, <<>> and <<>>. - [[2]] Copy the configuration files from the Archiva installation (eg <<>> to the new location (eg. <<>>). If you've previously run Archiva, you may need to edit <<>> to change the location of the repositories + [[2]] Move the configuration files from the Archiva installation (e.g. <<>> to the new location (e.g. <<>>). If you've previously run Archiva, you may need to edit <<>> to change the location of the repositories. - [[3]] Set the environment variable <<>> to the data location (eg. <<>>). In bash, be sure to export the variable. + [[3]] (Optionally, leave a README file in the old conf location as a reminder of where you moved the config files.) - [[4]] Start Archiva standalone as described above from the installation location + [[4]] Set the environment variable <<>> to the new location (e.g. <<>>). In bash, be sure to export the variable. + + [[5]] Start Archiva standalone as described above from the installation location * Configuring Archiva - Archiva's configuration is loaded from the following files, in order of most precedent: + Archiva's configuration is loaded from the following files, in order of precedence: * <<<~/.m2/archiva.xml>>> @@ -64,7 +66,7 @@ Installing Standalone Distribution of Apache Archiva * <<>> in the Archiva installation - When Archiva saves it's configuration, all configuration is stored to a single file. The file chosen is by the following rules: + When Archiva saves its configuration, all configuration is stored in a single file. The file chosen is by the following rules: * If <<<~/.m2/archiva.xml>>> exists, it is saved there -- 2.39.5