1.下载nexus
wget https://sonatype-download.global.ssl.fastly.net/nexus/oss/nexus-2.11.2-03-bundle.tar.gz
2.解压,会出现两个目录,nexus-2.11.2-03是服务 sonatype-work是私有库目录
mkdir nexus tar -zxvf nexus-2.11.2-03-bundle.tar.gz -C ./nexus
3.修改配置,在nexus-2.11.2-03/bin目录下修改nexus文件
NEXUS_HOME=“安装目录” RUN_AS_USER=xxx
原文地址:https://www.cnblogs.com/tonglin0325/p/9030706.html
时间: 2024-10-05 21:44:14