[root@ztosin-maven bin]# nexus start
WARNING: ************************************************************
WARNING: Detected execution as "root" user. This is NOT recommended!
WARNING: ************************************************************
Starting nexus
我设置了nexus.rc文件也没用: run_as_user=root
自己解决了,
然后su nexus 执行:
nexus start
就成功了