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.
- Log on to the Nexus server.
-
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>
).<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.
- 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 and start Nexus: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 and start Nexus:nexus.ui.keepAlive=false \bin\nexus start
- Linux:
- 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. - Stop Nexus.
- Linux:
./bin/nexus stop
- Windows:
\bin\nexus stop
- Linux: