diff --git a/lamp-trusty64-fpm/bootstrap.sh b/lamp-trusty64-fpm/bootstrap.sh index 06e31aa..7d5c2a9 100644 --- a/lamp-trusty64-fpm/bootstrap.sh +++ b/lamp-trusty64-fpm/bootstrap.sh @@ -18,6 +18,7 @@ fi # --- Installation Wkhtmltopdf if [ ! -f /usr/local/bin/wkhtmltopdf ] then + sudo apt-get install libxrender1 libfontconfig1 wget -q http://download.gna.org/wkhtmltopdf/0.12/0.12.3/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz tar xJf wkhtmltox-0.12.3_linux-generic-amd64.tar.xz cp -R wkhtmltox/* /usr/local/ @@ -138,7 +139,7 @@ fi # --- Configuration Apache if [ ! -f /etc/apache2/conf-available/httpd.conf ] -then +thenlibxrender1 sudo echo "ServerName 127.0.0.1" > /etc/apache2/conf-available/httpd.conf sudo a2enconf httpd fi