In order to install and confiure the archiva application, you should follow thes steps:
not yet released so use the sources or use the sources or use the patched war http://people.apache.org/~aheritier/archiva/
create a diretory, unzip the war inside
create a new mysql database and user
create a context.xml in conf
use the admin webapp to configure the database
enter archiva and create the repositories and proxies.