Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

内网环境如何离线安装插件 #396

Closed
huansinho opened this issue Nov 29, 2024 · 4 comments
Closed

内网环境如何离线安装插件 #396

huansinho opened this issue Nov 29, 2024 · 4 comments

Comments

@huansinho
Copy link

请问在公司内网服务器无法连接互联网的情况下如何安装插件?

错误信息:
加载远端仓库元数据异常: maxRetry:1,url:http://mirror.qlangtech.com/4.0.0/update-site/default.json?id=default&version=%3F

@baisui1981
Copy link
Member

先在有网络环境的机器节点上 安装上所需要的插件 ,然后将所有tis-uber文件夹打一个包送到 内网环境中去就可以使用了

@huansinho
Copy link
Author

huansinho commented Nov 30, 2024

容器内的这个目录需要同步复制吗?

/opt/data/libs/plugins/

@huansinho
Copy link
Author

docker挂载 /opt/data/libs/plugins/ 出来,然后把tpi都复制进去就好了。

@baisui1981
Copy link
Member

docker挂载 /opt/data/libs/plugins/ 出来,然后把tpi都复制进去就好了。

简单粗暴一点 ,可以把 /opt/data 作为同步的目标目录

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants