Yesod 系统要求是什么?

发布于 2024-12-11 02:00:44 字数 83 浏览 4 评论 0原文

我目前正在寻找一个 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 技术交流群。

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

发布评论

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

评论(3

月野兔 2024-12-18 02:00:44

这里没有硬性规定,但我可以轻松地运行大约 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).

记忆で 2024-12-18 02:00:44

我有一个 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.

掐死时间 2024-12-18 02:00:44

我目前在 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

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