Linux 机器上的远程软件更新

发布于 2024-08-15 13:00:25 字数 165 浏览 2 评论 0原文

我们开发基于 Linux 的网络应用程序,该应用程序将在多个服务器上运行。我们需要开发一些用于远程应用程序更新的解决方案。 我现在能想到的就是使用 rpm/deb 软件包,但我们不希望将其锁定到某些发行版特定的解决方案。除了通过某些 Bash 脚本通过 SSH 复制文件之外,您还会推荐什么?

谢谢。

We develop Linux-based networking application which will run on multiple servers. We need to develop some solution for remote application update.
All I can think of now is using rpm/deb packages but we prefer not to lock this to some distro-specific solution. Besides copying files via SSH by some Bash script what would you recommend?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

平定天下 2024-08-22 13:00:25

发行版在设置和依赖关系方面确实存在很大差异,我实际上建议您创建发行版特定的软件包并与其更新工具集成 - 最终它通常会为您节省很多麻烦。

借助虚拟化的便利性,为各种发行版创建 vmware/virtualbox 映像来为每个发行版创建/测试打包变得相当容易

Distros does vary so much in setup and dependencies, I would actually recommend you create distro specific packages and integrate with its update tool - in the end it normally saves you a ton of trouble.

With the ease of virtualization, it's rather easy to spin up a vmware/virtualbox image foor the various distros to create/test packaging for each of them

谈场末日恋爱 2024-08-22 13:00:25

puppet 怎么样?

How about puppet?

表情可笑 2024-08-22 13:00:25

查看 Blueprit 和 Blueprint I/O。 Blueprint 是一种检测服务器上所有包、文件修改和源安装的工具。它将它们打包成一种可重用的格式,称为蓝图,可以应用于另一台服务器。 Blueprint I/O 是一种用于向另一台服务器推送和从另一台服务器拉取的工具。两者都是开源的。希望这有帮助。

https://github.com/devstruct/blueprint (Blueprint @ Github)

https://github.com/devstruct/blueprint-io (Blueprint I/O @ Github)

Check out Blueprit and Blueprint I/O. Blueprint is a tool that detects all of the packages, files modifications and source installs on a server. It packages them up in a reusable format called a blueprint that can be applied to another server. Blueprint I/O is a tools for pushing to and pulling from another server. Both are open-source. Hope this helps.

https://github.com/devstructure/blueprint (Blueprint @ Github)

https://github.com/devstructure/blueprint-io (Blueprint I/O @ Github)

狼性发作 2024-08-22 13:00:25

我晚了八年,但请检查 Ansible

Ansible 是一个极其简单的 IT 自动化平台,可让您
应用程序和系统更易于部署。避免编写脚本或
自定义代码来部署和更新您的应用程序——自动化
接近纯英语的语言,使用 SSH,无需代理
安装在远程系统上。

另外,您还可以查看此指南

I'm eight years late, but check Ansible.

Ansible is a radically simple IT automation platform that makes your
applications and systems easier to deploy. Avoid writing scripts or
custom code to deploy and update your applications— automate in a
language that approaches plain English, using SSH, with no agents to
install on remote systems.

Also, you can check this guide.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文