Install wkhtmltopdf On CentOS 6.5

1.下载wkhtmltopdf

http://wkhtmltopdf.org/downloads.html

2.Install

sudo yum localinstall -y wkhtmltox-0.12.2.1_linux-centos6-amd64.rpm

[conversant@ss3 temp]$ which wkhtmltopdf
/usr/local/bin/wkhtmltopdf

3.test

wkhtmltopdf http://www.baidu.com baidu.pdf

posted @ 2015-12-21 16:41  lily-tiantian  阅读(685)  评论(0编辑  收藏  举报