centos7 安装nexus3
一.安装前先安装好java JDK 和maven
nexus 下载 链接: https://pan.baidu.com/s/1qQBNj2soc8Un4AoRejvEyw 密码: sb12
1.下载好后 放在/usr/local/nexus/
2.解压
[root@izuf6iiosi88o2ca66ogg3z local]# cd nexus/
[root@izuf6iiosi88o2ca66ogg3z nexus]# tar -zxvf nexus-3.13.0-01-unix.tar.gz
会出现 nexus-3.13.0-01 和 sonatype-work 这两个文件夹
[root@izuf6iiosi88o2ca66ogg3z nexus]# ls
nexus-3.13.0-01 nexus-3.13.0-01-unix.tar.gz sonatype-work
3.运行
[root@izuf6iiosi88o2ca66ogg3z bin]# ls
contrib nexus nexus.rc nexus.vmoptions
[root@izuf6iiosi88o2ca66ogg3z bin]# ./nexus run
[root@test01 bin]# ./nexus
Usage: ./nexus { console | start | stop | restart | status | dump }
启动nexus:
#./nexus start
关闭nexus:
#./nexus stop
4.在页面上访问
http://ip:8081
hello world!!!