If you insist running as root, then set the environment variable RUN_AS_USER=root before running this script.
如果你当前用户是root,那么在你运行之前需要配置环境属性为 RUN_AS_USER=root
你可以直接运行RUN_AS_USER=root
或者也可以在/etc/profile
或者vi nexus文件前几行设置一下
本文介绍如何正确配置环境变量RUN_AS_USER=root来确保脚本能够以root用户身份运行。具体步骤包括直接设置环境变量或在系统配置文件中进行设定。
If you insist running as root, then set the environment variable RUN_AS_USER=root before running this script.
如果你当前用户是root,那么在你运行之前需要配置环境属性为 RUN_AS_USER=root
你可以直接运行RUN_AS_USER=root
或者也可以在/etc/profile
或者vi nexus文件前几行设置一下
1万+
1万+

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