Nexus 私服启动异常

问题1

****************************************
WARNING – NOT RECOMMENDED TO RUN AS ROOT
****************************************
If you insist running as root, then set the environment variable RUN_AS_USER=root before running this script.


解决方案:

大概意思就是要在环境配置export RUN_AS_USER=root,临时配置

在命令行下输入:

export RUN_AS_USER=root


或者在vi /etc/profile 加入: export RUN_AS_USER=root

问题2
wrapper  | Unable to start JVM: No such file or directory

解决方案:把wrapper.conf里面的wrapper.java.command=%JAVA_HOME%/bin/java改成绝对路径

你可能感兴趣的:(Nexus 私服启动异常)