centos安装nexus,配置私服

1.在/usr/nexus文件下下载nexus;

wget https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-3.9.0-01-unix.tar.gz

2.解压:

tar -zxvf  nexus-3.9.0-01-unix.tar.gz

3.启动:./nexus start

修改/etc/profile文件:vim /etc/profile

最后一行添加;RUN_AS_USER=root

执行:source /etc/profile

4.关闭:./nexus stop

5.登录(需要确认8081端口开放):

http://112.74.44.49:8081

账号:admin

密码:admin123

猜你喜欢

转载自blog.csdn.net/u011662320/article/details/87911709