启动Nexus报错:Detected execution as "root" user.
作者:互联网
问题描述
[nexus@instance-uv82em6w bin]$ ./nexus start
WARNING: ************************************************************
WARNING: Detected execution as "root" user. This is NOT recommended!
WARNING: ************************************************************
Starting nexus
我设置了nexus.rc文件也没用:
run_as_user=root
问题解决
1、添加nexus用户
useradd nexus
chown -R nexus:nexus /usr/local/nexus
重置nexus.rc文件
run_as_user=nexus
再次启动
标签:Nexus,nexus,Detected,WARNING,报错,user,rc,root 来源: https://blog.csdn.net/Point9/article/details/104826210