[英]Wkhtmltopdf version for Cloud 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 在評論中幫助我解決這個問題。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.