Archiva In Linux(1)

Archiva In Linux(1)

1. install the apache archiva on linux
>wget http://mirror.bjtu.edu.cn/apache//archiva/binaries/apache-archiva-1.3.5-bin.tar.gz

unpack the file
>tar zxvf apache-archiva-1.3.5-bin.tar.gz

we can run the software with console
>cd ../tools/apache-archiva-1.3.5
>./bin/archiva console

visit the page of URL
http://localhost:8080/archiva

create an administrator in the page.

The repository URLs are
http://localhost:8080/archiva/browse
http://localhost:8080/archiva/repository/internal/
a repository for containing released artifacts. This is connected by proxy to the central repository, so requests here will automatically
retrieve the remote artifacts.

http://localhost:8080/archiva/repository/snapshots/
a repository for storing deployed snapshots. This is not proxied to any remote repositories by default.

If you request the artifact, once this artifact is downloaded, Archiva automactically indexes it, you can search that artifact now.

2. Searching
Before artifacts can be searched in Archiva, they need to be indexed first. Artifacts are indexed during these instances:
when a repository is scanned
when an artifact is deployed or uploaded in the repository
when an artifact is proxied or downloaeded from a remote repository

3. The Command of the Server
bin/archiva { console | start | stop | restart | status | dump }
>bin/archiva


references:
http://archiva.apache.org/
http://archiva.apache.org/download.html
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值