V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
gissimo
V2EX  ›  问与答

BandwagonHost 搭建 Strongswan: aptitude install libgmp10 时提示 FATAL Failed to fork

  •  
  •   gissimo · 2014-11-08 16:38:18 +08:00 · 7301 次点击
    这是一个创建于 3456 天前的主题,其中的信息可能已经有所发展或是发生改变。
    虽然bandwagon是openvz,不能搭建L2tp over ipsec。但是可以搭建strongswan ipsec。有人在此搭建成功http://forums.xvmlabs.com/threads/can-i-use-strongswan-cisco-ipsec-vpn-in-xvmlabs.150/#post-642

    我按照在DigitalOcean搭建的方法,准备在bandwagon也搭建一个。

    但是在aptitude install libgmp10时提示FATAL Failed to fork?应该不至于是内存不足吧?

    ps:我的DO是512M的,bandwagon买了个128的。难道因为这个?
    12 条回复    2014-11-17 21:47:15 +08:00
    aeshfawre
        1
    aeshfawre  
       2014-11-08 16:55:44 +08:00
    你apt-get update 了没?
    764664
        2
    764664  
       2014-11-08 16:58:34 +08:00
    目测就是内存不足
    128M 真不多
    gissimo
        3
    gissimo  
    OP
       2014-11-08 17:00:40 +08:00
    @aeshfawre 当然啊,不然都不能apt-get install build-essential
    gissimo
        4
    gissimo  
    OP
       2014-11-08 17:04:02 +08:00
    @764664 一个一个装也不行?有啥办法么?
    jasontse
        5
    jasontse  
       2014-11-08 17:08:46 +08:00 via iPad
    128M 就不要 Build 了吧
    764664
        6
    764664  
       2014-11-08 17:10:24 +08:00
    可以试试用Debian 7
    我在那里也有个 VPS,试了一下Debian 7模板是已经安装了这个包的
    vision92
        7
    vision92  
       2014-11-08 17:24:19 +08:00
    内存不足
    apt-get -d install libgmp10
    cd /var/cache/apt/archives
    dpkg install libgmp10
    gissimo
        8
    gissimo  
    OP
       2014-11-08 19:05:58 +08:00
    @vision92
    @764664

    请教下,我换centos,参考http://darren.github.io/l2tp/ipsec/2014/07/03/strongswan-setup/
    yumdownloader --source strongswan 这句时报错。是不是需要先安装什么啊?


    rpm -ivh http://mirror.es.its.nyu.edu/epel/6/i386/epel-release-6-8.noarch.rpm
    rpm install yum-utils
    yumdownloader --source strongswan
    rpm -ivh strongswan-5.1.3-1.el6.src.rpm
    mortal
        9
    mortal  
       2014-11-08 19:36:13 +08:00
    就是内存不足啦
    gissimo
        10
    gissimo  
    OP
       2014-11-08 20:17:21 +08:00
    @aeshfawre
    @mortal
    @vision92
    @764664
    @jasontse

    Debian 下这四句在 CentOS 应该怎么写啊,实在是linux小白,想把StrongSwan IKEV2搭建在CentOS下。

    求翻译

    apt-get update
    apt-get install build-essential
    apt-get build-dep strongswan
    apt-get install libgmp3-dev openssl libssl-dev
    GPU
        11
    GPU  
       2014-11-08 20:21:47 +08:00
    编译安装
    thidnh
        12
    thidnh  
       2014-11-17 21:47:15 +08:00
    @vision92 运行到dpkg install libgmp10时出现dpkg: error: need an action option

    请教怎么解决
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   991 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 20:36 · PVG 04:36 · LAX 13:36 · JFK 16:36
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.