maven之nexus2.6私服安装

官方网站
http://www.sonatype.org/nexus/

初始密码admin/admin123

编辑配置文件
/nexus-webapp-1.9.2.4/WEB-INF/plexus.properties

性能优化参考nexus1.9的详细教程
http://phl.iteye.com/blog/1982673


【1.9安装方法】
#注意,JDK6即可
#修改内容,只修改nexus-work即可,其他配置都在war下面,其中basedir是webapp/WEB-INF的目录
#nexus-work=${user.home}/sonatype-work/nexus
nexus-work=/application/search/tmp/piaohailin/nexus
security-xml-file=${nexus-work}/conf/security.xml
application-conf=${nexus-work}/conf

runtime=${basedir}/runtime
apps=${runtime}/apps
webapp=${runtime}/apps/nexus/webapp
nexus-app=${runtime}/apps/nexus
runtime-tmp=${runtime}/tmp

【2.6安装方法】
#注意,必须使用JDK7,jdk解压(不理会后缀名) tar -zxvf jdk-7u25-linux-x64.gz
#修改内容,只修改nexus-work即可,其他配置都在war下面,其中bundleBasedir是webapp/WEB-INF的目录
nexus-work=/root/data/nexus/sonatype-work/nexus
security-xml-file=${nexus-work}/conf/security.xml
application-conf=${nexus-work}/conf
runtime=${bundleBasedir}
nexus-app=${runtime}
pr.encryptor.publicKeyPath=/apr/public-key.txt

猜你喜欢

转载自phl.iteye.com/blog/1982675