简体   繁体   English

Yesod系统要求是什么?

[英]What are the Yesod system requirements?

I'm currently looking for a VPS to deploy a Yesod site on, I was wondering what the system requirements are for running Yesod? 我正在寻找一个VPS来部署Yesod网站,我想知道运行Yesod的系统要求是什么? I will be using Nginx with Warp as the system configuration. 我将使用Nginx和Warp作为系统配置。

这里没有严格的规则,但我很舒服地使用Nginx和PostgreSQL以及微EC2实例运行大约5个Yesod驱动的站点(微观是实例大小,而不是随机形容词)。

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. 我有一个VPS,我遇到了glibc版本的问题,主要是因为很多托管公司都非常保守,并没有提供最新和最好的常见Linux发行版本。 GHC won't work with older versions of glibc, although I haven't found anywhere an exact definition of how old is too old. GHC不适用于较旧版本的glibc,尽管我还没有找到任何地方确切定义过旧的版本。

So one system requirement is: a recent Linux that doesn't have an ancient version of glibc. 因此,一个系统要求是:最近的Linux没有古老版本的glibc。

I currently run one yesod app on Debian Lenny on VDS, with 500MHz CPU and 196Mb RAM. 我目前在VDS上的Debian Lenny上运行了一个yesod应用程序,具有500MHz CPU和196Mb RAM。 I do not compile app on the VDS, instead I upload compiled binary. 我不在VDS上编译应用程序,而是上传已编译的二进制文件。 It only needs recent libgmp, but I put one (libgmp*.so) from my desktop to the same directory as application and run 它只需要最近的libgmp,但我把一个(libgmp * .so)从我的桌面放到与应用程序相同的目录并运行

LD_LIBRARY_PATH=. LD_LIBRARY_PATH =。 ./my-yesod-app ./my-yesod-app

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM