nexus 部署

基本环境 

jdk8
maven3.X

curl -X -O https://sonatype-download.global.ssl.fastly.net/repository/repositoryManager/3/nexus-3.12.0-01-unix.tar.gz

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

mv nexus-3.9.0-01 /opt/env/nexus

#修改端口
vi nexus-default.properties


#添加一个用户
useradd -r nexus
#切换用户
su nexus

cd /opt/env/nexus/bin

./nexus start
 
启动较慢 

su root

lsof -i:9000

#java    7401 root  843u  IPv4 106307      0t0  TCP pek1-vm-02:cslistener->10.1.5.154:54703 (ESTABLISHED)
#java    7401 root  851u  IPv4  91614      0t0  TCP *:cslistener (LISTEN)

如果有以上两个进程成功


欢迎到我的网站寻找更多的知识

你可能感兴趣的:(nexus 部署)