centOS phantomJS

一.安装:

  1. sudo yum install gcc gcc-c++ make git openssl-devel freetype-devel fontconfig-devel 
  2. git clone git://github.com/ariya/phantomjs.git 
  3. cd phantomjs 
  4. git checkout 1.9 
  5. ./build.sh  

      通过查看版本测试是否正常安装

     phantomjs --version

二:简单入门

http://www.woiweb.net/phantomjs-quick-use-tutorials.html

 

 

原文地址:https://www.cnblogs.com/LH2014/p/4071977.html