How do I install Nexus Professional?

The following instructions are for installing Nexus Professional as a stand-alone server. Nexus Professional is bundled with a Jetty instance which listens to all configured IP addresses on a host (0.0.0.0) and runs on port 8081 by default.

Installing Nexus is straightforward, unpack the Nexus web application archive in a directory. If you are installing Nexus on a local workstation to give it a test run, you can install it in your home directory or wherever you like; Nexus doesn’t have any hard coded directories, it will run from any directory. If you downloaded the ZIP

$ unzip nexus-professional-webapp-1.9.2-bundle.zip

And, if you download the GZip’d TAR archive, run:

$ tar xvzf nexus-professional-webapp-1.9.2-bundle.tgz

If you are installing Nexus on a server, you might want to use a directory other than your home directory. On a Unix machine, this book assumes that Nexus is installed in /usr/local/nexus-professional-webapp-1.9.2 with a symbolic link /usr/local/nexus to the nexus directory. Using a symbolic link nexus to a directory which holds a specific version of Nexus is a common practice that makes it easier to upgrade to a newer version of Nexus.

$ sudo cp nexus-professional-webapp-1.9.2-bundle.tgz /usr/local
$ cd /usr/local
$ sudo tar xvzf nexus-professional-webapp-1.9.2-bundle.tgz
$ ln -s nexus-professional-webapp-1.9.2 nexus

Although it isn’t required for Nexus to run, you may want to set an environment variable NEXUS_HOME in your environment which points to the installation directory of Nexus. This chapter will refer to this location as$NEXUS_HOME. The Nexus installation directory nexus-professional-webapp-1.9.2 has a sibling directory named sonatype-work. This directory contains all of the repository and configuration data for Nexus and is stored outside of the Nexus installation directory to make it easier to upgrade to a newer version of Nexus.

Have more questions? Submit a request

3 Comments

  • 0
    Avatar
    Nicolas Fortin

    How do I install Nexus Professional as a service running with a specific user. The tutorial is available with Nexus OSS but not with Nexus Pro.

  • 0
    Avatar
    Nicolas Fortin

    Ok, sorry, I used the trial version, which use another /bin/nexus shell code. I should use Customer Version. Please remove my comments.

  • 0
    Avatar
    Peter Lynch

    We are closing this article for comments.

    If you have a support license, please contact us by submitting a support ticket.

    If you do not have a support license, please use our Nexus Users List or our other free support resources.

Article is closed for comments.
Powered by Zendesk