zoukankan      html  css  js  c++  java
  • phantomjs 的安装部署

    下载地址http://phantomjs.org/download.html
    wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
    tar -xf phantomjs-2.1.1-linux-x86_64.tar.bz2  -C /data/package/
    sudo ln -s /xxx/phantomjs-2.1.1/bin/phantomjs /usr/bin

    运行phantomjs报错

    ./bin/phantomjs: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory

    解决方案

    sudo yum install fontconfig freetype libfreetype.so.6

  • 相关阅读:
    c语言7-4
    c语言 7-4
    dfs
    dfs
    二进制搜索
    BFS
    搜索多层图
    八皇后
    线段树-周长并
    线段树
  • 原文地址:https://www.cnblogs.com/smail-bao/p/7911553.html
Copyright © 2011-2022 走看看