You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
720 B

  1. #!/bin/bash
  2. set -eux
  3. apt-get -y install apache2 libapache2-mod-php5 libtidy-0.99-0 build-essential
  4. apt-get -y install php5-dev php5-ldap php5-xsl php-pear php-mcrypt
  5. apt-get -y install libapache2-mod-python libmysqlclient-dev python-dev
  6. apt-get -y install php5-mysql
  7. apt-get -y install docutils ## for rst2html
  8. apt-get install squirrelmail
  9. apt-get install phpmyadmin
  10. ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin
  11. ln -sf /usr/share/phpmyadmin /var/www/s-lmc.kalysto.org/phpmyadmin
  12. pecl install tidy
  13. echo "extension=tidy.so"
  14. pecl install xdebug
  15. echo "extension=xdebug.so" >> /etc/php5/apache2/
  16. #rdfapi-php ?
  17. a2enmod dav_fs ssl userdir rewrite suexec
  18. /etc/init.d/apache2 restart