This page contains the instructions for updating Nexus from version 1.5.0.2 to 1.7.1.
- Review the notes from Sonatype about updating to Nexus 1.6 and 1.7. (http://nexus.sonatype.org/upgrading-nexus.html)
- Download Nexus 1.7.1 from Sonatype (http://www.sonatype.com/products/downloads)
- Extract the zip or tar.gz file on the server in the appropriate directory (/services/nexus).
- Stop nexus and httpd
- service httpd stop
- service nexus stop
- Copy the http url realm authentication plugin to the new version of nexus
- cd /services/nexus
- cp nexus-professional-webapp-1.5.0.2/runtime/apps/nexus/lib/security-url-realm-1.1.7.jar nexus-professional-webapp-1.7.1/runtime/apps/nexus/lib/
- Update the configruation of the nexus branding plugin (displays the jboss.org logo)
- cd /services/nexus
- rm -rf sonatype-work/nexus/plugin-repository/nexus-branding-plugin-1.4.1/
cp -r nexus-professional-webapp-1.7.1/runtime/apps/nexus/optional-plugins/nexus-branding-plugin-1.4.2 nexus-professional-webapp-1.7.1/runtime/apps/nexus/plugin-repository/
- cp nexus-professional-webapp-1.5.0.2/jbossorg_logo.png sonatype-work/nexus/conf/
- Remove the symlink to the old nexus install directory
- cd /services/nexus
- rm current
- Remove the wrapper.conf file in the custom-app-configs directory (these settings have changed and the default values are now ok)
- Add the attached plexus.properties file to the custom-app-configs directory (this will replace the existing file).
- Link the nexus-professional-webapp-1.7.1/conf/plexus.properties file to this file
- cd /services/nexus/nexus-professional-webapp-1.7.1/conf/
- mv plexus.properties plexus.properties.default
- ln -s ../../custom-app-configs/plexus.properties plexus.properties
Create a symlink to the nexus startup script in /etc/init.d
- cd /etc/init.d
- rm nexus
- ln -s /services/nexus/nexus-professional-webapp-1.7.1/bin/jsw/linux-x86-64/nexus nexus
- Restart nexus
- service restart nexus
- service restart httpd
- Check that the web interface is up and available
.
Comments