V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
xsziran
V2EX  ›  PHP

debian 7 安装 hhvm 失败 Google 无果,大神我需要你!

  •  
  •   xsziran · 2014-07-07 23:23:37 +08:00 · 5928 次点击
    这是一个创建于 3801 天前的主题,其中的信息可能已经有所发展或是发生改变。
    看别人搞hhvm好像很牛逼的样子,经不住诱惑把网站备份了直接重装系统。
    一开始就受挫,对linux不了解,google了一下午无果,结果崩溃了,彻底被打败!
    debian 7 安装出错,哪位大神帮忙看看,THS
    root@xxx:~# sudo apt-get install lighttpd mysql-server hhvm
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    The following packages have unmet dependencies:
    hhvm : Depends: libboost-filesystem1.49.0 but it is not installable
    Depends: libboost-program-options1.49.0 but it is not installable
    Depends: libboost-system1.49.0 but it is not installable
    Depends: libboost-regex1.49.0 but it is not installable
    Depends: libicu48 but it is not installable
    Depends: libmemcached10 but it is not installable
    Depends: libmysqlclient18 but it is not installable
    Depends: libp11-kit0 but it is not installable
    Depends: libssl1.0.0 but it is not installable
    Depends: libtinfo5 but it is not installable
    Depends: libjemalloc1 (>= 3.0.0) but it is not installable
    Depends: libcurl3 (>= 7.26.0) but it is not going to be installed
    Depends: libboost-thread1.49.0 but it is not installable
    Depends: libmagickwand5 but it is not installable
    Depends: libevent-2.0-5 but it is not installable
    E: Broken packages
    9 条回复    2014-07-11 02:05:01 +08:00
    xLzgkddTywk9ALsX
        1
    xLzgkddTywk9ALsX  
       2014-07-08 01:57:09 +08:00 via iPhone   ❤️ 1
    我是centos编译。 debian的话好像有个脚本叫easyhhvm,不过我没有用过
    thenewland
        2
    thenewland  
       2014-07-08 07:55:47 +08:00 via Android   ❤️ 1
    你需要单独添加hhvm的更新源,百度搜索关键词,debian hhvm,有教程
    msg7086
        3
    msg7086  
       2014-07-08 17:03:37 +08:00   ❤️ 1
    1. apt装软件出错的话最好一个一个装
    2. 可以试试 hhvm-nightly http://hhvm.com/blog/3203/nightly-packages
    kmvan
        4
    kmvan  
       2014-07-08 17:14:14 +08:00 via Android   ❤️ 1
    居然看到百度
    xsziran
        5
    xsziran  
    OP
       2014-07-10 00:41:23 +08:00
    @thenewland 有添加的 估计源和系统都有问题
    wget http://dl.hhvm.com/conf/hhvm.gpg.key
    sudo apt-key add hhvm.gpg.key
    echo "deb http://dl.hhvm.com/debian wheezy main">> /etc/apt/sources.list
    sudo apt-get update
    xsziran
        6
    xsziran  
    OP
       2014-07-10 00:43:24 +08:00
    @buobuk ubuntu centos debian 都试过了,都出错了,估计vps服务商的系统有问题。
    xsziran
        7
    xsziran  
    OP
       2014-07-10 00:46:33 +08:00
    @msg7086 一个一个试试了,只有hhvm出错, hhvm-nightly没试过,现在搞成了Nginx前端Apache后端
    内存256m,装上wordpress内存总共用了200m,有点悲剧。
    msg7086
        8
    msg7086  
       2014-07-10 05:57:46 +08:00   ❤️ 1
    你真是用的64位系统么
    xsziran
        9
    xsziran  
    OP
       2014-07-11 02:05:01 +08:00
    @msg7086 iso结尾是x86-64 是么?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   4578 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 04:05 · PVG 12:05 · LAX 20:05 · JFK 23:05
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.