安装
以Deepin 15.11 64bit desktop为例
- 先安装好1.8或以上版本的JRE或JDK
- 到官方下载Nexus Repository Manager OSS Edition,比如:
nexus-3.17.0-01-unix.tar.gz - 解压,得到
nexus-3.17.0-01和sonatype-work - 启动
$ nexus-3.17.0-01/bin/nexus start - 初始密码在
sonatype-work/nexus3/admin.password
1 | |
配置
配置文件nexus-3.17.0-01/etc/nexus-default.properties
权限
deploy到私服需要的权限:nx-repository-view-<recipe>-<repository>-*
比如:
nx-repository-view-maven2-maven-releases-*
nx-repository-view-maven2-maven-snapshots-*