#!/bin/bash # Install ImageMagick apt-get update apt-get install -y imagemagick # Update ImageMagick policy cat < /etc/ImageMagick-6/policy.xml EOL