Nexus Repository installation on OEL

We have task to install Nexus repository server on Oracle Enterprise Linux 2.6. 

Intro on Nexus

Nexus is repository server which supports external repositories and internal release repositories, which can be interact with Maven build tool that runs on top of Jenkins and at the underneath the actual source code repository that is subversion (SVN).

Nexus Server Requirements

Bundle installation

Nexus comes with war file installation and other option as bundle installation. Open source bundle installation can be done on Linux platform as shown below:

$ cp nexus-2.6.3-01-bundle.tar.gz /usr/local $ cd /usr/local $ sudo tar xvzf nexus-2.6.3-01-bundle.tar.gz $ ln -s nexus-2.6.3-01 nexus 

Running the Nexus We have two options console and start both will starts the nexus server

cd /usr/local/nexus ./bin/nexus console **************************************** WARNING - NOT RECOMMENDED TO RUN AS ROOT ****************************************

To resolve above WARNING included following line in the ~/.bash_profile