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文件前几行设置一下
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文件前几行设置一下