m
V2EX  ›  问与答

有没有可能在64m甚至32m的vps上增加locales zh_CN.UTF-8?

  •  
  •   m · Jan 10, 2013 · 3547 views
    This topic created in 5063 days ago, the information mentioned may be changed or developed.
    在debian/ubuntu下增加新locales,如果是UTF-8,在64m vps下状态:

    # locale-gen
    Generating locales (this might take a while)...
    en_US.UTF-8...memory exhausted
    done
    Generation complete.

    明显UTF-8是一个16位编码字符集,vps的内存并不足够用于generating

    有没有其他方案可以在小内存vps上增加UTF-8 locales?还是说这是根本无解的?
    3 replies  •  2016-03-13 17:16:02 +08:00
    insub
    insub
    Jan 10, 2013
    1
    要小心,上回在aliyun上加了这个,重启后起不来了,aliyun的技术支持都进不去了,最终只得回滚。
    m
    m
    OP
    Jan 10, 2013
    2
    @insub 这到没事,可以随时reinstall os,现在是在想有没可能加得上
    Remember
    Remember
    Mar 13, 2016
    3
    @m 最后成功了么
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2014 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 06:20 · PVG 14:20 · LAX 22:20 · JFK 01:20
    ♥ Do have faith in what you're doing.