
This is a friendly command line tool for uploading a directory of artifacts to Nexus 3.x repositoryĮcho "export MVN-UPLOAD=/opt/maven-artifacts-uploader" > ~/.bashrcĮcho "PATH=$PATH:$MVN-UPLOAD/bin:$HOME/bin" > ~/.bashrcĢ) upload all the artifacts in specific directory ErrorLog and CustomLog directives configuration ServerAdmin /nexus ProxyPassReverse /nexus ErrorLog /var/log/nexus/error.logĬustomLog /var/log/nexus/access.log commonĩ. # vim /opt/sonatype-work/nexus3/etc/nexus.properties Tail -f /opt/sonatype-work/nexus3/log/nexus.logĬat /opt/sonatype-work/nexus3/admin.password

#ln -s /opt/nexus/bin/nexus /etc/init.d/nexusįirewall-cmd -permanent -zone=public -add-port=22/tcpįirewall-cmd -permanent -zone=public -add-port=8081/tcp Djava.io.tmpdir=./sonatype-work/nexus3/tmp XX:LogFile=./sonatype-work/nexus3/log/jvm.log Useradd -c "nexus3 oss" -u 1002 -g nexus -s /bin/bash -r -p password nexus

Ln -s /opt/nexus/bin/nexus /etc/init.d/nexus etc/alternatives/javac -> /usr/lib/jvm/java-1.8.0/bin/javacĮcho "export JAVA_HOME=/usr/lib/jvm/java-1.8.0" > ~/.bashrcĮcho "PATH=$PATH:$JAVA_HOME/bin:$HOME/bin" > ~/.bashrc usr/bin/javac -> /etc/alternatives/javac Maximum 4GB (host physical RAM * 2/3) - JVM max heap no limitįormats like Docker and Maven can use very large amounts of storage (500Gb easily).
