Version to upgrade: nexus-3.37.0-01
Stop nexus:
Code: Select all
/etc/init.d/nexus stopCode: Select all
wget https://download.sonatype.com/nexus/3/latest-unix.tar.gz
Code: Select all
tar xzvf latest-unix.tar.gzCode: Select all
sudo rm /etc/init.d/nexus
sudo ln -s /home/user/nexus-3.37.0-01/bin/nexus /etc/init.d/nexusIf we run new version, it will not be started.
Code: Select all
Keystore was tampered with, or password was incorrectCode: Select all
sudo nano /home/user/sonatype-work/nexus3/etc/nexus.propertiesCode: Select all
# Jetty section
application-port=8081
#application-port-ssl=8443
# application-host=0.0.0.0
nexus-args=${jetty.etc}/jetty.xml,${jetty.etc}/jetty-http.xml,${jetty.etc}/jetty-requestlog.xml
#,${jetty.etc}/jetty-https.xml
ssl.etc=${karaf.data}/etc/ssl
# nexus-context-path=/
# Nexus section
# nexus-edition=nexus-pro-edition
# nexus-features=\
# nexus-pro-feature
# nexus.hazelcast.discovery.isEnabled=true
Code: Select all
/home/user/nexus-3.37.0-01/bin/nexus runNote, downgrade will not be possible.
Restart system to run Nexus as a service automatically.