[url]http://blog.youkuaiyun.com/sinat_34017357/article/details/51776641[/url]
[url]http://blog.youkuaiyun.com/hymer2011/article/details/6300661[/url]
1、进入启动目录,启动
cd nexus-2.6.0-05/bin/
[color=red][b]./nexus start[/b][/color]
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
[url]http://blog.youkuaiyun.com/cuker919/article/details/12052565[/url]
[url]http://blog.youkuaiyun.com/hymer2011/article/details/6300661[/url]
1、进入启动目录,启动
cd nexus-2.6.0-05/bin/
[color=red][b]./nexus start[/b][/color]
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
[url]http://blog.youkuaiyun.com/cuker919/article/details/12052565[/url]
本文介绍如何正确配置并启动Nexus 2.6.0-05版本,避免使用root账户启动时出现警告信息的方法,包括临时及永久设置RUN_AS_USER环境变量。
1442

被折叠的 条评论
为什么被折叠?



