首页 > 解决方案 > 如何将 nginx 从 bitbucket 存储库安装到目标主机?

问题描述

如何从远程bitbucket存储库获取安装程序,然后在目标主机上进行安装?

在本地网络(没有互联网连接)上,我有:

它们都可以通过 SSH 相互连接。

标签: nginxansiblebitbucket

解决方案


您可以使用 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

目标服务器

位桶->回购


推荐阅读