# Start/Stop Nexus repository on Linux

In 
Published 2022-12-03

This tutorial explains to you start/stop Nexus repository on Linux.

We consider that NEXUS_HOME=/u01/nexus/nexus-3.45.1-01 .

Here are the commands used for managing Nexus:

  • start Nexus (a new process is created)
cd $NEXUS_HOME/bin
./nexus start
  • stop Nexus
cd $NEXUS_HOME/bin
./nexus stop
  • get Nexus status
cd $NEXUS_HOME/bin
./nexus status
  • restart Nexus
cd $NEXUS_HOME/bin
./nexus restart
  • start Nexus (will not run in background)
cd $NEXUS_HOME/bin
./nexus run