我的服务器中有 CloudLinux 版本 7.6,以前我曾经有 wkhtmltopdf linux 通用版本 0.12.4。我正在尝试将 wkhtmltopdf 升级到 0.12.5 版,我注意到它们不再具有通用的 linux 版本。
如何在使用 CloudLinux 的服务器中安装最新版本的 wkhtmltopdf?
我可以安全地安装和使用 CentOS 7 的 0.12.5 版本,还是我唯一的选择是继续在 CloudLinux 上使用 0.12.4 通用 linux 版本?
我的服务器中有 CloudLinux 版本 7.6,以前我曾经有 wkhtmltopdf linux 通用版本 0.12.4。我正在尝试将 wkhtmltopdf 升级到 0.12.5 版,我注意到它们不再具有通用的 linux 版本。
如何在使用 CloudLinux 的服务器中安装最新版本的 wkhtmltopdf?
我可以安全地安装和使用 CentOS 7 的 0.12.5 版本,还是我唯一的选择是继续在 CloudLinux 上使用 0.12.4 通用 linux 版本?
我已经在我的 CloudLinux Release 7 中安装了 CentOS 7 构建版本的 Wkhtmltopdf 并且它工作正常。我已经在我的生产服务器中使用它一个星期了,没有遇到任何问题。由于 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 在评论中帮助我解决这个问题。