linux下搭建nexus提示then set the environment variable RUN_AS_USER=root
2016-11-28 14:01
381 查看
我们进入第一个文件夹的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
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
相关文章推荐
- 开启nexus出现If you insist running as root, then set the environment variable RUN_AS_USER=root
- If you insist running as root, then set the environment variable RUN_AS_USER=root...
- If you insist running as root, then set the environment variable RUN_AS_USER=root
- 运维入门---If you insist running as root, then set the environment variable RUN_AS_USER=root...
- If you insist running as root, then set the environment variable RUN_AS_USER=root before running thi
- Chrome 在linux下面提示不能 run as root的解决方法
- Linux安装Python-MySQL 遇到(set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
- linux服务执行composer命令 报错解决方案Composer install Do not run Composer as root/super user!
- Linux下启动tomcat 6.x 提示The BASEDIR environment variable is not defined correctly
- 打开sts出现如下提示 the environment variable home is not set
- nexus启动无法访问 添加RUN_AS_USER=root也不行
- Linux下安装oracle数据库提示DISPLAY not set. Please set the DISPLAY and try again.解决方法
- How do I set the DISPLAY variable on Linux
- #1449 - The user specified as a definer ('root'@'%') does not exist
- Got error: 1449: The user specified as a definer ('root'@'%') does not exist when using LOCK TAB
- 修改linux密码的时候提示user not known to the underlying authentication module解决办法
- linux下启动tomcat报错:The BASEDIR environment variable is not defined correctly解决方法
- Linux 平台 Oracle 安装 报错 Check if the DISPLAY variable is set 解决方法
- 启动Dsedit报错:“Fail to initialize LIBTCL.DLL Please make sure the SYBASE environment variable is set co
- Linux 平台 Oracle 安装 报错 Check if the DISPLAY variable is set 解决方法