Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. Install WKHTML to PDF

    Code Block
    #Install prerequisites
    dnfyum -y install -y xorg-x11-fonts-75dpi
    dnfyum -y install -y xorg-x11-fonts-Type1
    
    #Install wkhtmltopdf
    dnfyum -y install wget tar
    wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
    tar -xvf ./wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
    cd wkhtmltox/
    cp ./bin/wkhtmltopdf /usr/bin/wkhtmltopdf
    THIRD_WKTOHTMLPDF_PATH="/usr/bin/wkhtmltopdf"
    cd ../


  2. Install Poppler Utilities

    Code Block
    dnfyum -y install poppler-utils


  3. Install ASpell

    Code Block
    dnfyum -y install aspell


  4. Install Sendmail and MailX Utility

    Code Block
    dnfyum -y install sendmail mailx
    systemctl enable sendmail
    systemctl start sendmail