深圳网站建设现,晋城客运东站网站开发,网站所有页面,网站收录一、安装和启动 官网下载nexus-2.12安装包#xff0c;地址#xff1a;https://sonatype-download.global.ssl.fastly.net/nexus/oss/nexus-2.12.0-01-bundle.tar.gz 此版本需要预先安装jdk1.7 解压后#xff0c;用命令【./bin/nexus start】来启动 nexus有如下一些控制命令地址https://sonatype-download.global.ssl.fastly.net/nexus/oss/nexus-2.12.0-01-bundle.tar.gz 此版本需要预先安装jdk1.7 解压后用命令【./bin/nexus start】来启动 nexus有如下一些控制命令 console | start | stop | restart | status | dump 二、其他配置 1.指定运行的JDK版本 如果服务器上安装了其他的JDK版本而且不方便更换则可以在配置文件【nexus-2.12.0-01/bin/jsw/conf/wrapper.conf】中指定相应的jdk版本来运行nexus方法如下 wrapper.java.command/home/test/jdk1.7.0_79/bin/java 2.配置中央仓库 Central 仓库是用来代理maven中央仓库中发布版本构件的仓库。在此需要打开远程下载开关点击【Central】-【configuration】在设置【Download Remote IndexesTrue】 远程仓库地址http://repo1.maven.org/maven2/ 3.自动更新nexus中央仓库的索引 在nexus界面登陆了之后选择【Administration】-【Scheduled Tasks】点击【Add】按钮输入如下参数则nexus会每天18:35定时更新索引。 转载于:https://www.cnblogs.com/yucy/p/7509564.html