美文网首页
linux下搭建nexus提示then set the envi

linux下搭建nexus提示then set the envi

作者: 刘子帆 | 来源:发表于2017-11-28 16:29 被阅读0次

我们进入第一个文件夹的bin目录来启动nexus 。

1、进入启动目录,启动

cd nexus-2.8.0-05/bin/

./nexus start

2、这时候提示:

****************************************

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

然后执行,就不会再提示了

./nexus start

3、也可以在系统里面永久配置

vi /etc/profile  加入export RUN_AS_USER=root

相关文章

网友评论

      本文标题:linux下搭建nexus提示then set the envi

      本文链接:https://www.haomeiwen.com/subject/dmdebxtx.html