nexus离线部署
前置依赖:需要安装JDK
1)下载 nexus-3.13.0-01-unix.tar.gz 离线包
2) 解压
tar -zxvf nexus-3.13.0-01-unix.tar.gz
3) 建立软连接
ln -s nexus-2.14.3-02 nexus
4) 设置环境变量
export NEXUS_HOME=/usr/local/nexus/nexus-3.13.0-01
export RUN_AS_USER=root
5) 刷新环境变量
source /etc/profile
6) 启动
cd /usr/local/nexus
./bin/nexus start
7) 访问测试
http://1.1.1.1:8081/nexus
默认用户名为admin,密码admin123