1.下载:nexus-latest-bundle.tar.gz
2.解压启动:
tar -zxvf nexus-latest-bundle.tar.gz --> (nexus-2.6.3-01;sonatype-work)
cd nexus-2.6.3-01/bin/jsw/linux-x86-64/
vi nexus
RUN_AS_USER=root
./nexus start
3.配置nexus
3.1登陆
http://192.168.67.164:8081/nexus/index.html
用户名/密码:admin/admin123
3.2修改远程同步索引
- Repositories-->Apache Snapshots
- Repositories-->Central
- Repositories-->Codehaus Snapshots
- 将以上三个仓库【Configuration】-->【Download Remote Indexes】改为true
3.3同步索引
【Public Repositories】右键,Update index;Repair index;