Linux安装nexus maven 仓库

下载安装包

详情请参考https://blog.csdn.net/weixin_42585386/article/details/122108563

上传到服务器,解压缩

tar -xzvf nexus-3.31.1-01-unix.tar.gz

启动服务

cd nexus-3.31.1-01/bin/
./nexus -start

登录私服

浏览器输入:http://192.168.80.101:8081/
Linux安装nexus maven 仓库_第1张图片

密码默认在安装目录的sonatype-work/nexus3/admin.password

cat /app/sonatype-work/nexus3/admin.password

输入密码之后就需要重新修改密码了

其他命令

stop 是停止服务;
restart 是重启服务;
status 是查看服务状态

特别感谢
https://blog.csdn.net/weixin_42585386/article/details/122108563

你可能感兴趣的:(linux,maven,运维)