Install Nexus

The following instructions are for installing Nexus Open Source version 2.9.0 or later as a stand-alone server and integrating it with TeamForge 17.4.

Nexus comes bundled with a Jetty instance that listens to all configured IP addresses on a host (0.0.0.0) and runs on port 8081 by default.

Installing Nexus is straightforward. Unzip the Nexus bundle in a directory and start Nexus.
Note: Though Nexus can be installed in Mac OS, CollabNet did not test Nexus integration in Mac OS.
  1. Log on to the Nexus server.
  2. Download the Nexus 2.9.0 or later zip file and unzip the content to a directory of your choice. See Installing Nexus. You can find two directories, a directory that contains Nexus installation files and folders (hereinafter referred to as <nexus-install-directory>) and a Nexus work directory (hereinafter referred to as <nexus-work-directory>).
    Important:
    • <sonatype-work> is the default Nexus work directory. As a notation, <nexus-work-directory> is used in place of <sonatype-work> in this document.
    • Make sure you have full access permissions on all Nexus folders.
  3. Open the command prompt and start Nexus.

    Linux:

    • cd <nexus-install-directory>
    • Add the following token in the <nexus-install-directory>/conf/nexus.properties file
    • nexus.ui.keepAlive=false
    • ./bin/nexus start

    Windows:

    • cd <nexus-install-directory>
    • Add the following token in the <nexus-install-directory>\conf\nexus.properties file
    • nexus.ui.keepAlive=false
    • \bin\nexus start
    Verify if Nexus is running by accessing the URL: <nexus host name>:port/nexus/index.html.
    Tip: Default port is 8081. In case you have multiple Nexus instances, modify the application-port token in /<nexus-install-directory>/conf/nexus.properties file.
  4. Stop Nexus.

    Linux:

    • ./bin/nexus stop

    Windows:

    • \bin\nexus stop