首页 > Web开发 > 详细

linux 安装phantomjs

时间:2018-05-02 14:20:54      阅读:211      评论:0      收藏:0      [点我收藏+]

一、在centos7下安装PhantomJS

1.下载地址:http://phantomjs.org/download.html

2.文件名:phantomjs-2.1.1-linux-x86_64.tar.bz2

3. yum install -y bzip2

 

4.bzip2 -d phantomjs-2.1.1-linux-x86_64.tar.bz2

5.tar xvf phantomjs-2.1.1-linux-x86_64.tar

 

# 安装依赖软件
6.yum -y install wget fontconfig

 

#重命名

7.mv /root/phantomjs-2.1.1-linux-x86_64 /root/phantomjs

 

#建立软链接

8.ln -s /root/phantomjs/bin/phantomjs /usr/bin

 

#安装成功

linux 安装phantomjs

原文:https://www.cnblogs.com/zenan/p/8979814.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!