Skip to content
This repository has been archived by the owner on Jun 26, 2018. It is now read-only.

Update Nexus

sgratzl edited this page Nov 4, 2014 · 2 revisions
  1. Download latest version at http://download.sonatype.com/nexus/oss/nexus-latest-bundle.zip
  2. Follow http://mrexception.blogspot.co.at/2012/04/p2-support-for-nexus-oss.html to install the p2 plugins. short links: nexus-p2-repository-plugin nexus-p2-bridge-plugin nexus-capabilities-plugin

download the bundle.zip for the matching version

  1. stop nexus
sudo /etc/init.d/nexus stop
  1. prepare installation: copy the expanded plugin bundles to nexus/WEB-INF/plugin-repository
  2. copy to desired place and adapt the installation.
ln -l .../tmp ../nexus-data
cp <old>/conf/nexus.properties <new>/conf/nexus.properties
  1. ensure that the rights are correct i.e. use the tgz and extract it manually or add +x for /bin/nexus /bin/jsw/linux-86_64/wrapper
  2. change owner to nexus
sudo chown -R nexus:nexus <new>
  1. update nexus service link to the current version
  2. start nexus again
sudo /etc/init.d/nexus start
Clone this wiki locally