nexus-2.9.2-01-bundle.zip
http://www.sonatype.org/nexus/
redhat服务器:/opt下面
出现2个目录:
/opt/nexus-2.9.2-01
/opt/snatype-work
修改文件:
/opt/nexus-2.9.2-01/conf/nexus.properties
...
application-port=80
...
/opt/nexus-2.9.2-01/bin/nexus
export RUN_AS_USER=root
/opt/nexus-2.9.2-01/bin/nexus start
http://yourhostname/nexus
如果nexus被置于反向代理nginx后面,需要增加下面的配置:
左边点击:Administration/Server
右面页面找到:Base URL,设置成:
http://your-domain/nexus/
复选:
Force Base URL
OK. Enjoy it!
下一篇 tar参数