nginx - 如何将 nginx 从 bitbucket 存储库安装到目标主机?
问题描述
如何从远程bitbucket
存储库获取安装程序,然后在目标主机上进行安装?
在本地网络(没有互联网连接)上,我有:
Ansible
在Rhel 7
虚拟机上bitbucket
在Windows Server 2016
虚拟机上- 目标主机在另一个
Rhel 7 vm
它们都可以通过 SSH 相互连接。
解决方案
您可以使用 git 模块将安装程序从 git 下载到控制器机器。流程如下:
controller machine:
git: copy the installer using ssh protocol
once the installer is on your local you can copy from controller to target
copy: from controller machine to target server
install: nginx
目标服务器
位桶->回购
推荐阅读
- azure - 我能否从 Azure 容器注册表中清除所有存储库,而无需逐个输入所有存储库
- azure - 对 aks 集群的 SSH 访问
- reactjs - 在开玩笑断言测试之前如何等待事件发生?
- postgresql - Postgres 睡眠时间被添加到总查询运行时而不是输出中
- c# - Wpf在图像和mvvm控件之间绘制对角线
- postgresql - 为什么在包装的 PLPGSQL 函数中查询比本身慢得多?
- json - 使用 i18next-conv 时无法将 .po 文件转换为 .json 文件
- javascript - 如果打开新选项卡,JSZIP 执行将停止
- json - Flutter 需要帮助解析 ListView 中的数据
- python - 无法解释的速度性能下降。方法实例化相关?