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.

37 lines
831 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
  5. ## Couldn't find this one:
  6. #php-mcrypt
  7. apt-get -y install libapache2-mod-python libmysqlclient-dev python-dev
  8. apt-get -y install php5-mysql
  9. apt-get -y install python-docutils ## for rst2html
  10. #apt-get install squirrelmail
  11. apt-get install phpmyadmin
  12. ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin
  13. #ln -sf /usr/share/phpmyadmin /var/www/s-lmc.kalysto.org/phpmyadmin
  14. pecl install tidy
  15. echo "extension=tidy.so" > /etc/php5/apache2/conf.d/tidy.ini
  16. pecl install xdebug
  17. echo "extension=xdebug.so" >> /etc/php5/apache2/conf.d/xdebug.ini
  18. #rdfapi-php ?
  19. #a2enmod dav_fs ssl userdir rewrite suexec
  20. a2enmod ssl rewrite
  21. /etc/init.d/apache2 restart