Skip to content

Instantly share code, notes, and snippets.

Created March 23, 2017 08:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/1f9cd74027a3f84642aa82d6e7fcbb8b to your computer and use it in GitHub Desktop.
Save anonymous/1f9cd74027a3f84642aa82d6e7fcbb8b to your computer and use it in GitHub Desktop.
Install CollectiveAccess
apt-get -q -y -o Dpkg::Options::=--force-confold install apache2
apt-get -q -y -o Dpkg::Options::=--force-confold install php5 libapache2-mod-php5 php5-cli
apt-get -q -y -o Dpkg::Options::=--force-confold install php5-curl php5-mysqlnd php5-json php5-gd php5-imap php5-mcrypt
apt-get -q -y -o Dpkg::Options::=--force-confold install htop screen vim apachetop vnstat git
apt-get -q -y -o Dpkg::Options::=--force-confold install ffmpeg graphicsmagick python-pdfminer
apt-get -q -y -o Dpkg::Options::=--force-confold install ghostscript dcraw xpdf mediainfo exiftool phantomjs
apt-get -q -y -o Dpkg::Options::=--force-confold install php5-dev php-pear libgraphicsmagick1-dev libreoffice abiword
pecl install gmagick-1.1.7RC3
cat << EOF > /etc/php5/mods-available/gmagick.ini
extension=gmagick.so
EOF
ln -s /etc/php5/mods-available/gmagick.ini /etc/php5/apache2/conf.d/20-gmagick.ini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment