CentOS – Nexus

Hozzuk létre a nexus felhasználót, majd töltsük le a Nexus egy friss példányát:

# adduser -g users -m nexus
[root@javaforum plugins]# su - nexus
[nexus@javaforum ~]$ wget http://www.sonatype.org/downloads/nexus-2.0.6-bundle.tar.gz
$ tar xzvf nexus-2.0.6-bundle.tar.gz
$ rm nexus-2.0.6-bundle.tar.gz

Ha frissítünk vagy költöztetünk, akkor mentsük el a sonatype-work könyvtárat:

$ tar czvf sonatype-work.tgz sonatype-work/
$ time tar xzvf /tmp/sonatype-work.tgz

Majd indítsuk el az új Nexus verziót:

$ ~/nexus-2.0.6/bin/nexus start
$ tail -f sonatype-work/nexus/logs/nexus.log
2012-06-28 21:03:23 INFO  [7-main-thread-1] - org.sonatype.nexus.DefaultNexus - Started Nexus (version 2.0.6 OSS)

Leave a Comment

Scroll to Top