Linux下搭建maven私服nexus3.x

http://blog.csdn.net/sinat_34017357/article/details/51776641

http://blog.csdn.net/hymer2011/article/details/6300661

1、进入启动目录,启动
cd nexus-2.6.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
http://blog.csdn.net/cuker919/article/details/12052565

猜你喜欢

转载自rd-030.iteye.com/blog/2369491