nexus 配置
1、下载
http://www.sonatype.org/nexus/go/ 例如:nexus-2.11.4-01-bundle.tar.gz
2、解压
tar -xzvf nexus-2.11.4-01-bundle.tar.gz
3、设置系统服务
/etc/inid.d/
4、修改jetty的端口
../nexus-2.11.4-01/conf/nexus.properties
application-port=自己希望的端口
5、启动
../nexus-2.11.4-01/bin/nexus start
6、访问
http://hostname:端口/nexus
7、设置maven,setting.xml
<mirrors> <mirror> <id>nexus-public</id> <mirrorOf>*</mirrorOf> <name>nexus-public</name> <url>http://hostname:9999/nexus/content/groups/public/</url> </mirror> </mirrors>