window下执行phantomjs,很简单,解压phantomjs压缩文件后就可以运行了
centos下运行phantomjs程序报错
phantomjs: error while loading shared libraries: libfontconfig.so
安装相关rpm类库再执行即可
yum install libXext libXrender fontconfig
[root@yyj bin]#phantomjs -v
2.1.1
window下执行phantomjs,很简单,解压phantomjs压缩文件后就可以运行了
centos下运行phantomjs程序报错
phantomjs: error while loading shared libraries: libfontconfig.so
安装相关rpm类库再执行即可
yum install libXext libXrender fontconfig
[root@yyj bin]#phantomjs -v
2.1.1
转载于:https://my.oschina.net/u/615101/blog/1479630