配置环境变量
vim /etc/profile
NEXUS_HOME=/usr/local/nexus/nexus-3.13.0-01 //这边对应nexus解压出来的文件路径
export NEXUS_HOME
source /etc/profile
1. 如何启动nexus
/使用service nexus start/stop命令来尝试启动关闭nexus,使用service nexus status查看nexus状态。
或者直接 nexus start/stop/status
访问路径:ip默认是安装所在机器的IP
http://172.17.*.*:8081/nexus http://172.17.*.*:8081
2. 项目中如何配置使用
maven的setting文件添加server
<server> <id>releases</id