Created
October 19, 2019 14:14
-
-
Save vishalzanzrukia/495ec5cbe9bca33ebf097808520d5c14 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. | |
yum install -y libpng | |
yum install -y libjpeg | |
yum install -y openssl | |
yum install -y icu | |
yum install -y libX11 | |
yum install -y libXext | |
yum install -y libXrender | |
yum install -y xorg-x11-fonts-Type1 | |
yum install -y xorg-x11-fonts-75dpi | |
2. | |
mkdir /opt/wkhtmltopdf | |
cd /opt/wkhtmltopdf | |
3. | |
curl -L -o wkhtmltopdf.tar.xz https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz | |
4. tar -xf wkhtmltopdf.tar.xz | |
5. mv wkhtmltox/bin/wkhtmltopdf /usr/local/bin/wkhtmltopdf | |
6. chmod +x /usr/local/bin/wkhtmltopdf | |
7. Testing | |
wkhtmltopdf -V | |
wkhtmltopdf http://www.google.com.ph google.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment