有人在 Solaris 10x86 上安装了 Rails 3
我想要一种在未连接到互联网的 Solaris 10 x86 服务器上安装 Rails 3 的简单方法。我可以下载文件并刻录到 DVD 或记忆棒并以这种方式安装。有些软件包是最好的,因为并不真正期待从源代码编译。
有没有人做过这个或看过任何有关如何做到这一点的指南?我看过一篇旧帖子(2009),但这并没有真正帮助我。
问候 安迪
I would like an easy way of installing Rails 3 on Solaris 10 x86 server that is not attached to the internet. I can download files and burn to DVD or mem stick and install that way. Some Packages would be best as not really looking forward to compiling from source.
Has anyone done this or seen any guides releating on how to do this ? I have seen an old post (2009) but that doesn't really help me.
Regards
Andy
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
假设您需要安装运行 Ruby 和 RoR 3.0 的所有要求。
最简单的方法是从 Sun 免费软件 获取所有内容。
依赖项
您需要首先为 RoR 安装这些依赖项。
Ruby 软件包的某些部分可能需要依赖于以下软件包,其中一些软件包默认情况下应该已经安装在 Solaris 10 上(例如 zlib、libiconv 和 libintl),但我已经有一段时间没有接触过基本的 Solaris 机器了,所以您可能需要下载所有内容以确保:
expat - http://www.sunfreeware.com/programlistintel10.html#expat
libgcc_so.so.1 必须位于 /usr/local/lib 中,因此您需要安装以下任一版本:
安装软件包
Sun Freeware 的软件包可以在 Solaris 10 中使用
pkgadd
工具安装:http://www.sunfreeware.com/download.html示例:
安装 RoR 3
这就是让 Ruby 运行的一切。现在你必须下载 RoR 源并构建它
可能会更容易(?)
你也许能够简化这个过程通过尝试使用来自 Bolthole 的 pkg-get 脚本获取依赖项: http://www.bolthole .com/solaris/pkg-get.html
该脚本允许您运行仅下载模式来获取软件包。如果您使用仅下载模式,我认为它不需要您在Solaris计算机上运行它,但否则您可能可以稍微修改一下它只是为了下载而不关心已安装的软件包等。
Assuming you need to install all the requirements for running Ruby and RoR 3.0.
It's easiest to get everything from Sun Freeware
Dependencies
You'll need to install these dependencies for RoR first.
Portions of the Ruby package might need to depend on the following packages, some of which should already be installed by default on Solaris 10 (like zlib, libiconv, and libintl), but I haven't touched a base Solaris machine in a while so you might need to download everything to be sure:
expat - http://www.sunfreeware.com/programlistintel10.html#expat
libgcc_so.so.1 has to be in /usr/local/lib, so you need to install either of:
Installing the packages
The packages from Sun Freeware can be installed with the
pkgadd
tool in Solaris 10: http://www.sunfreeware.com/download.htmlExample:
Install RoR 3
That's just everything to get Ruby running. Now you have to download RoR source and build it
Might be easier (?)
You might be able to ease this process of dependency getting by attempting to use the pkg-get script from bolthole: http://www.bolthole.com/solaris/pkg-get.html
The script allows you to run a Download-only mode to get packages. I don't think it requires you to run it on a solaris machine if you use download-only mode, but otherwise you might be able to hack it up a little just to download and not care about installed packages and such.