-
//下载 wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz tar xvfJ wkhtmltox-0.12.3_linux-generic-amd64.tar.xz cd wkhtmltox/bin sudo mv ./wkhtmltopdf /usr/bin/wkhtmltopdf sudo chmod +x /usr/bin/wkhtmltopdf //测试 wkhtmltopdf http://www.baidu.com ./test.pdf //下载扩展 wkhtmltopdf http://www.baidu.com ./test.pdf //支持中文 将windows/fonts/sisun.ttc 文件上传至服务器 /usr/share/fonts 目录下
centOS 7 安装 wkhtmltopdf 完美教程
最新推荐文章于 2024-07-23 16:42:27 发布