Yesod 系统要求是什么?
我目前正在寻找一个 VPS 来部署 Yesod 网站,我想知道运行 Yesod 的系统要求是什么?我将使用带有 Warp 的 Nginx 作为系统配置。
I'm currently looking for a VPS to deploy a Yesod site on, I was wondering what the system requirements are for running Yesod? I will be using Nginx with Warp as the system configuration.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这里没有硬性规定,但我可以轻松地运行大约 5 个由 Yesod 驱动的站点,其中包含 Nginx 和 PostgreSQL 以及一个微型 EC2 实例(微型是实例大小,而不是随机形容词)。
There are no hard-and-fast rules here, but I comfortably run about 5 Yesod-powered sites with Nginx and PostgreSQL and a micro EC2 instance (micro being the instance size, not a random adjective).
我有一个 VPS,但在使用 glibc 版本时遇到了麻烦,主要是因为很多托管公司相当保守,不提供常见 Linux 发行版的最新和最好的版本。 GHC 无法与旧版本的 glibc 一起使用,尽管我还没有在任何地方找到关于多旧才算太旧的确切定义。
因此,一个系统要求是:最新的 Linux,没有旧版本的 glibc。
I had a VPS and I had trouble with the glibc version, mainly because a lot of hosting companies are quite conservative and don't offer the latest and greatest versions of the common Linux distributions. GHC won't work with older versions of glibc, although I haven't found anywhere an exact definition of how old is too old.
So one system requirement is: a recent Linux that doesn't have an ancient version of glibc.
我目前在 VDS 上的 Debian Lenny 上运行一款 yesod 应用程序,具有 500MHz CPU 和 196Mb RAM。我不在 VDS 上编译应用程序,而是上传编译后的二进制文件。它只需要最近的 libgmp,但我将一个 (libgmp*.so) 从桌面放到与应用程序相同的目录中并运行
LD_LIBRARY_PATH=。 ./my-yesod-app
I currently run one yesod app on Debian Lenny on VDS, with 500MHz CPU and 196Mb RAM. I do not compile app on the VDS, instead I upload compiled binary. It only needs recent libgmp, but I put one (libgmp*.so) from my desktop to the same directory as application and run
LD_LIBRARY_PATH=. ./my-yesod-app