centos8 the maven PW structures (nexus-3.13)

1, the installation Maven
wget http://mirrors.hust.edu.cn/apache/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz
the tar--zxvf Apache Maven bin.tar.gz--3.5.4
Music Videos Apache-3.5.4-Maven / usr / local
Vim / etc / Profile
added to the end of the file:
MAVEN_HOME = / usr / local / Apache Maven-3.5.4-
Export MAVEN_HOME
Source / etc / Profile
mvn -v
centos8 the maven PW structures (nexus-3.13)
centos8 the maven PW structures (nexus-3.13)

Re-enter: mvn -v
centos8 the maven PW structures (nexus-3.13)

2, mounting Nexus
wget --no-Check-Certificate https://sonatype-download.global.ssl.fastly.net/repository/repositoryManager/3/nexus-3.13.0-01-unix.tar.gz or https: //www.zhinengx.cn/store/thumbs/2018/0726/nexus-3.13.0-01-unix.tar.gz
network to download a bit slow. You can also be downloaded uploaded to the centos.
-zxvf Nexus-3.13.0-01-tar unix.tar.gz
mv Nexus-3.13.0-01 / usr / local
cd /usr/local/nexus-3.13.0-01/bin
./nexus Start
browser: http://192.168.41.128:8081 access
centos8 the maven PW structures (nexus-3.13)

User password: admin admin123
centos8 the maven PW structures (nexus-3.13)

centos8 the maven PW structures (nexus-3.13)

3, other settings
sudo -s /usr/local/nexus-3.13.0-01/bin/nexus /etc/init.d/nexus LN
# View nexus service status, start the service, stop the service and other
service nexus status / start / STOP
# is set to boot from the startup / shutdown, etc.
chkconfig nexus on / off

Guess you like

Origin blog.51cto.com/332532/2459589