centos(odoo)安装wkhtmltopdf
1. 打开网站查看自己需要下载的版本
https://wkhtmltopdf.org/downloads.html
2.安装依赖
yum install fontconfig libX11 libXext libXrender libjpeg libpng xorg-x11-fonts-75dpi xorg-x11-fonts-Type1
yum install openssl
3.下载安装包
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox-0.12.5-1.centos7.x86_64.rpm
4.安装
rpm -ivh wkhtmltox-0.12.5-1.centos7.x86_64.rpm
5.安装中文字体
yum install wqy-microhei-fonts wqy-zenhei-fonts