Task X: Installing and Running Archiva
Archiva is a free Repository Manager created by the Apache Group. It is available in two forms: a standalone application or as a WAR that can deployed to Tomcat. Once you have Archiva up and running either using it is essentially the same regardless of which form you are using. To simplify the examples and save space we will use the standalone release.
You can download archiva from http://archiva.apache.org/
. Be sure to get the standalone version. For these example we are using version 1.3.4.
prompt> unzip apache-archiva-1.3.4-bin.zip
prompt> mv apache-archiva-1.3.4 /Users/brian/Applications/
Archive: apache-archiva-1.3.4-bin.zip
creating: apache-archiva-1.3.4/
...
By default Archiva will listen on port 8080. If you want to change the port number Jetty is listening on, edit conf/jety.xml
and change the following line before starting it up.
<Set name="port"><SystemProperty name="jetty.port" default="8080"/></Set>
To start Archiva:
prompt> cd /Users/brian/Applications/apache-archiva-1.3.4
prompt> ./bin/archiva console
Running Apache Archiva...
You should now be able to access Archiva via http://localhost:8080/archiva
. Supply a full name, email address and password for the admin
user and you should be all set.