您的位置:首页 > 其它

开启nexus出现If you insist running as root, then set the environment variable RUN_AS_USER=root

2017-07-16 12:11 447 查看
解决方法

1、临时

在执行./nexus start 之前先

运行

export RUN_AS_USER=root

2、永久

修改配置文件

vi /etc/profile

添加

export RUN_AS_USER=root
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐