Install WkHtmlToPdf

Install WkHtmlToPdf from pre-compiled binary

$ tar -xvf wkhtmltox-0.12.1-c22928d_linux-centos5-amd64.tar.xz
$ mv wkhtmltox-0.12.1-c22928d wkhtmltox
$ sudo mv wkhtmltox /etc/
$ sudo ln -s /etc/wkhtmltox/bin/wkhtmltopdf /usr/bin/wkhtmltopdf

Below is a test to see if a pdf file is generated.

$ wkhtmltopdf yourdrpdf.pdf 

Below is a linux command to allow SELinux to allow apache script to spawn processes for wkthml to work in conjunction with snappyPDF.

$ setsebool -P httpd_execmem 1