码迷,mamicode.com
首页 > Web开发 > 详细

linux 安装phantomjs

时间:2018-05-02 16:17:12      阅读:252      评论:0      收藏:0      [点我收藏+]

标签:usr   ln -s   inux   bsp   html   ref   软链接   下载地址   bin   

一、在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

标签:usr   ln -s   inux   bsp   html   ref   软链接   下载地址   bin   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!