maven仓库快速安装

  sre
cd /data
wget https://sonatype-download.global.ssl.fastly.net/repository/repositoryManager/3/nexus-3.16.2-01-unix.tar.gz
tar zxvf nexus-3.16.2-01-unix.tar.gz
/data/nexus-3.16.2-01
echo '
export MAVEN_HOME=/data/nexus-3.16.2-01
export PATH=PATH:MAVEN_HOME/bin' >> /etc/profile
source /etc/profile
cd /data/nexus-3.16.2-01
nexus start

8081端口登录进去(默认账号:admin,默认密码:admin123)

LEAVE A COMMENT

Captcha Code