


Log in as admin, locate predefined repositories. #now register the new script update-rc.d nexus defaultsĬongratulation! Now your Nexus installation is available on The default user and password areĪdmin and admin123 :) Basic configuration of the maven clients # #Set RUN_AS user to nexus sed -i "s/#RUN_AS_USER=/RUN_AS_USER=nexus/" /etc/init.d/nexus "/NEXUS_HOME="/usr/lib/nexus-oss/nexus "/g" /etc/init.d/nexus #replace default location sed -i "s/NEXUS_HOME=". # copy init.d sctipt to proper place cp /usr/lib/nexus-oss/nexus/bin/nexus /etc/init.d/nexus Let’s agree the repository should be in a directory: Last but not least I have to provide some configuration for example a “run as” Linux user for Nexus.

I don’t like the idea to create “big” artifact repository (or nexus’s working directory) in the same default place.Īlso, I want to register the init.d script to be able to control the nexus server and start it automatically. Now basics are done, but not start Nexus now please. # Creating a new symlink to avoid the version in the path. #Extract nexus-2.1.2 only directory from archive. In my case v2.1.2 wget #Create nexis basedir and change to it mkdir /usr/lib/nexus-oss #Then download a fresh version of the nexus. # Start by creating a new user and group, you will be prompted to add additional info. One pre requisite is an installed Java 5 (JRE) or higher. The Following describes the installation of nexus on Debian Linux (Wheezy release).
