Install Third Party Software used by PCR-360
Install WKHTML to PDF
NOTE: Some installs use a non standard path, so the INI may need to be update to this path
CODE#Install Fonts yum -y install -y xorg-x11-fonts-75dpi yum -y install -y xorg-x11-fonts-Type1 #Install wkhtmltopdf yum -y install wget tar #RHEL8 wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox-0.12.6-1.centos8.x86_64.rpm sudo rpm -Uvh wkhtmltox-0.12.6-1.centos8.x86_64.rpm ln -s /usr/local/bin/wkhtmltopdf /usr/bin/wkhtmltopdf #RHEL9 wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox-0.12.6.1-2.almalinux9.x86_64.rpm sudo dnf localinstall -y wkhtmltox-0.12.6.1-2.almalinux9.x86_64.rpm ln -s /usr/local/bin/wkhtmltopdf /usr/bin/wkhtmltopdf #All versions: Test wkhtmltopdf wkhtmltopdf http://www.google.com.ph google.pdfUpdate the PCR-360 Configuration to specify the path to the converter.
//this is the default path - only change thisifit is differentconstants.PDF_CONVERTER_PATH ="/usr/bin/wkhtmltopdf"Install Poppler Utilities
CODEyum -y install poppler-utilsInstall ASpell
CODEyum -y install aspellInstall Sendmail and MailX Utility
CODEyum -y install sendmail mailx systemctl enable sendmail systemctl start sendmail