If you insist running as root, then set the environment variable RUN_AS_USER=root
来源:互联网 发布:广州万维软件 编辑:程序博客网 时间:2024/06/07 15:31
If you insist running as root, then set theenvironment variable RUN_AS_USER=root before running this script.
在配置Nexus的时输入命令 ./nexus start后出现“ If you insist running as root, then set thee nvironment variable RUN_AS_USER=root before running this script. ”的警告信息。大概的意思是:如果你想使用root用户,那么在运行开始脚本之前应该设置环境变量”RUN_AS_USER=root"。
解决方法
关于这个问题共有两种解决方法,一种是临时解决,一种是永久的解决。
1、临时方法
输入:export RUN_AS_USER=root 后在执行 ./nexus start 运行结果如下图:
2、永久方法
在系统用配置即可,输入:vi /etc/profile向其中加入exportRUN_AS_USER=root,修改后保存退出,如下图
修改完之后,先关闭nexus,再启动,如下图
简简单单的几步就OK啦
阅读全文
0 0
- 运维小知识---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
- 开启nexus出现If you insist running as root, then set the environment variable RUN_AS_USER=root
- linux下搭建nexus提示then set the environment variable RUN_AS_USER=root
- 编译错误you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this
- Running Celery as root
- Set DISPLAY environment variable, then re-run.
- if you have installed spm, it maybe you haven't set a NODE_PATH environment variable
- nexus启动无法访问 添加RUN_AS_USER=root也不行
- Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-stand
- Running Wireshark as a non root user
- nd the $PHP_AUTOCONF environment variable. Then, rerun this script.
- If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
- 93 The ORACLE_SID environment variable is set to +ASM. ASMLIB is not used in the configuration. You
- Building and running MySQL as a local (non-root) user
- TKB00064 Running Teamprise as Root User Causes Problems
- Please try running this command again as root/Administrator.
- Visual Studio 2017的opencv3.3环境的配置
- unity获取制定日期是星期几
- 虚拟机添加新硬盘
- jsp input框的显示和隐藏
- Could not run curl-config
- If you insist running as root, then set the environment variable RUN_AS_USER=root
- vim的编辑模式、命令模式与vim实践操作
- 冒泡排序(上漂与下沉)
- Postman使用官方文档翻译--13授权Authorization关于验证登录
- JAVA Script的奇怪bug
- tensorflow学习
- 第一次写csdn博客
- 互联网协议入门
- Java基础:深入剖析Java中的装箱和拆箱