AIX 部署:installp 还是 rpm?
我正在 AIX 上部署大量 perl/shell/sql 代码。 这些可能是(而且是)不同的应用程序,有自己的开发团队、源代码控制存储库等。
我懒并且希望使部署/回滚更容易 - 我正在挖掘 rpm 包装及其所有 +/- 优点。
AIX 本机系统的打包是 installp(带有 bff 文件)。 我的 rpm 方向是否正确? oss4aix.org 使用rpm FWIW。 任何意见/最佳实践表示赞赏。
谢谢
I am deploying a large set of perl/shell/sql code on AIX. these could be (and are) different applications with their own dev teams, source control repos, etc.
I am lazy and want to make deployments/roll-backs easier - and I am digging towards rpm packaging with all it's +/- benefits.
AIX native system of packaging is installp (with bff files).
am I on a right track with rpm? oss4aix.org uses rpm FWIW.
any input/best practices is appreciated.
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
“installp”有点像黑魔法。 很长一段时间以来,如果不花费大量金钱就不可能获得构建软件,因此 IBM(和 Bull)之外很少有人关心它。
另一方面,“rpm”多年来一直免费提供。 对于脚本类型的内容,AIX 不应该有特殊的考虑,因此适用于 Linux 的大量经验、知识和示例代码将对您有用。
我认为 IBM 不会很快放弃 AIX,但是,他们正在积极地将标准 Linux 工具移植到 AIX,并将一些 AIX 工具移植到 Linux,以便环境正在融合。 我认为 installp 被 rpm“贬值”只是时间问题。
"installp" is a bit of a black art. For a long time it was impossible to get the build software without spending non trivial amounts of money so very few people outside IBM (and Bull) bothered with it.
"rpm" on the other hand has been freely available for years. For scripty type stuff there should be no special considerations for AIX so the large body of experience, knowledge and example code available for Linux will be useful to you.
I dont think IBM is dropping AIX anytime soon, but, they are actively porting the standard linux tools to AIX and some of the AIX tools to Linux so the environments are converging. I think its only a matter of time before installp become "depreciated" in favour of rpm.
我从来不需要开发安装包。 我的印象是 IBM 将很快收购一个主要的 Linux 发行版并停止其所有专有业务。 我认为从长远来看,转向 rpm 已经走在了前面。
I never had to develop instalp packages. I am under the impression that IBM is going to buy a major Linux distribution and stop all their proprietary business sometime soon. I think for the long term moving to rpm is getting ahead of the curve.
我找到了一份在 AIX 上构建 rpm 5.0 和 yum 的文档。
http://www.tekwire.net/joomla/building/rpm/ rpm_AIX_5.2.htm
I found one document to build rpm 5.0 and yum on AIX.
http://www.tekwire.net/joomla/building/rpm/rpm_AIX_5.2.htm
Aix 4、5、6 使用 RPM v3.0 - 1998 年左右,iirc RedHat 6.2。 如今,rpm 中已包含无数已解决的错误和新功能。 因此,请使用它,但不要以为您可以用它做其他人在现代 Linux rpm 发行版中所做的事情。
或者,作为自己构建 rpm 5 的一个很好的替代方案 - aix 上还有哪个? - 尝试
openpkg http://www.openpkg.org/
Aix 4,5,6 use the RPM v3.0 - 1998 circa, iirc RedHat 6.2. A zillion of resolved bugs and new functionality are in rpm nowdays. So use it but don't aspect that you can do with it what other do in a moderm linux rpm distro.
Or, as a good alternative to build yourself rpm 5 - which other on aix ? - try
openpkg http://www.openpkg.org/
看看我们编写的 polypkg 工具; 它是一个 shell 脚本,可以为您完成制作软件包的艰苦工作。
Have a look at the polypkg tool we wrote; it's a shell script that does the hard work of making packages for you.