下载地址是http://www.sonatype.com/download-oss-sonatype
下载bundle.tar.gz版
启动nexus服务
cd /usr/local/nexus/bin
./nexus start 启动服务
nexus默认端口为8081 可以在/usr/local/nexus/conf 下的nexus.properties中修改端口
http://127.0.0.1:8081/nexus
默认管理员帐号密码为admin/admin123
登录进去后,点击左边的Repositories,在右边,点击type下proxy项,在Configuration下将Download Remote Indexes属性设置为True,然后在proxy行右键选择repair index
修改用户Maven配置文件,%userprofile%.m2\setting.xml
为pom.xml添加Maven私服配置