![]() ![]() # 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).
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |