Apache - Archiva - Installation

To download the last stable Archiva release, let's go on the official website: http://archiva.apache.org/

For this Archiva installation tutorial, we will install the Archiva 1.3.5 Standalone version.

Do not hesitate to test the MD5 checksum.

Installation of Archiva on Windows

OK, extract the files into a directory, I chose this one:
C:\soft\artefact-manager\apache-archiva-1.3.5.

Now open this file:
C:\soft\artefact-manager\apache-archiva-1.3.5\conf\jetty.xml.
And go until the line 66.

You will have something like that:

<Set name="port"><SystemProperty name="jetty.port" default="8080"/></Set>

Just change the 8080 by 8082.
You are probably wondering why?
This is because the default port, in our case 8080, is often already taken by another device or software.
So to be sure it works, we change this for 8082.

Now, open the cmd tool (WinKEY + R then type cmd and OK).
Go until this directory: C:\soft\artefact-manager\apache-archiva-1.3.5\bin and write this:

$ .\archiva.bat console

Some lines appear, like that:

wrapper  | --> Wrapper Started as Console
wrapper  | Launching a JVM...
jvm 1    | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1    |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.

It will start the Jetty server.

Now open your favorite browser and write this in the address bar: http://localhost:8081/archiva/

If you see the Archiva account details, it seems you have just installed Archiva on your system.
So, congratulations! laugh

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.