~gandelman-a/pyjuju/mysql

« back to all changes in this revision

Viewing changes to formulas/mediawiki/hooks/install

  • Committer: Francis J. Lacoste
  • Date: 2011-05-27 15:21:22 UTC
  • Revision ID: francis.lacoste@canonical.com-20110527152122-l8akt2g34hwz1zpj
Split out from principia-tools.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash
2
 
 
3
 
DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends -y -q install mediawiki php5-cli postfix python-mysqldb
4
 
 
5
 
# a bit hacky -- makes sure its there even if memcached is never related
6
 
touch /etc/mediawiki/memcached_settings.php
7
 
chmod 0644 /etc/mediawiki/memcached_settings.php
8
 
touch /etc/mediawiki/dbservers.php
9
 
chmod 0644 /etc/mediawiki/dbservers.php