解决linux下使用root用户启动nexus报错Detected execution as "root" user. This is NOT recommended!的问题

在linux部署nexus使用root启动会报错Detected execution as “root” user. This is NOT recommended!

处理这个问题很容易,找到nexus-3.16.1-02/bin下nexus文件,vi编辑,将run_as_root=true改为run_as_root=true,再次启动就可以了。vi环境下可以使用/run_as_root搜索
解决linux下使用root用户启动nexus报错Detected execution as "root" user. This is NOT recommended!的问题