Linux系统 安装maven私有库教程详解
官网下载地址: http://pan.baidu.com/s/1dFJv5wl
本地下载地址:https://download.csdn.net/download/qq_36961226/13067106
在/usr/etc 目录下创建 mkdir nexus 文件夹
[[email protected] nexus]# tar -zxvf nexus-2.14.8-01-bundle.tar.gz
nexus-2.14.2-01(nexus服务,启动也是这个)
进入到 nexus-2.14.8-01/conf/ 目录下 编辑 nexus.properties 文件
[[email protected] nexus]# cd nexus-2.14.8-01/conf/
[[email protected] conf]# vim nexus.properties
application-port=8081(启动后访问的端口号,可以自行修改)
application-host=0.0.0.0(访问限制,0.0.0.0表示任何地址都可以访问)
进入到 nexus-2.14.8-01/bin 目录下 编辑 nexus 文件
[[email protected] bin]# vim nexus
nexus-2.14.8-01/bin/nexus start
访问地址:http://192.168.226.130:8081/nexus 注意ip地址是linux系统ip地址