#!/bin/bash set -eux apt-get -y install apache2 libapache2-mod-php5 libtidy-0.99-0 build-essential apt-get -y install php5-dev php5-ldap php5-xsl php-pear php-mcrypt apt-get -y install libapache2-mod-python libmysqlclient-dev python-dev apt-get -y install php5-mysql apt-get -y install docutils ## for rst2html apt-get install squirrelmail apt-get install phpmyadmin ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin ln -sf /usr/share/phpmyadmin /var/www/s-lmc.kalysto.org/phpmyadmin pecl install tidy echo "extension=tidy.so" pecl install xdebug echo "extension=xdebug.so" >> /etc/php5/apache2/ #rdfapi-php ? a2enmod dav_fs ssl userdir rewrite suexec /etc/init.d/apache2 restart