Cloud Linux 的 Wkhtmltopdf 版本

标签 wkhtmltopdf wkhtmltopdf-binary

我的服务器中有 CloudLinux 版本 7.6,之前我曾经有 wkhtmltopdf linux 通用版本 0.12.4。我正在尝试将 wkhtmltopdf 升级到版本 0.12.5,我注意到它们不再有通用的 Linux 版本。

  1. 如何在使用 CloudLinux 的服务器中安装最新版本的 wkhtmltopdf?

  2. 我可以安全地安装和使用 CentOS 7 的 0.12.5 版本吗?还是我唯一的选择是继续在 CloudLinux 上使用 0.12.4 通用 Linux 版本?

最佳答案

我已经在我的 CloudLinux Release 7 中安装了 Wkhtmltopdf 的 CentOS 7 构建版本,并且运行良好。我已经在我的生产服务器中使用它一周了,没有遇到任何问题。由于 CentOS 和 CloudLinux 与 RHEL 兼容,因此它运行良好。

我像这样安装了二进制文件:

$ wget https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox-0.12.5-1.centos7.x86_64.rpm
$ rpm -Uvh  wkhtmltox-0.12.5-1.centos7.x86_64.rpm
$ which wkhtmltopdf
/usr/local/bin/wkhtmltopdf

感谢评论中的@Rup 帮助了我。

关于Cloud Linux 的 Wkhtmltopdf 版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54839645/

相关文章:

shell - 对 xorg 的 apt-get 安装提示回答 '29'

python-3.x - Ubuntu 中的 Azure Pipeline 部署到 Debian 中的 Azure 应用服务

html - 使用 wkhtmltopdf Node 模块转换为 pdf 时,表行被剪切

java - 如何在 Java 中使用 wkhtmltopdf 或 wkhtmltoImage 将 HTML 字符串转换为 PDF?

php - 防止Wkhtmltopdf输出Status

ruby-on-rails - 邪恶_pdf : UTF-8 encoding issue on production

ruby-on-rails - 邪恶的 PDF 标题没有显示

qt - 使用wkhtmltopdf时如何处理ContentNotFoundError?

render - wkhtmltopdf 和 MathJax : equations are rendered too small