Linux 机器上的远程软件更新
我们开发基于 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
发行版在设置和依赖关系方面确实存在很大差异,我实际上建议您创建发行版特定的软件包并与其更新工具集成 - 最终它通常会为您节省很多麻烦。
借助虚拟化的便利性,为各种发行版创建 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
puppet 怎么样?
How about puppet?
查看 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)
我晚了八年,但请检查 Ansible。
另外,您还可以查看此指南。
I'm eight years late, but check Ansible.
Also, you can check this guide.