Permalink
Browse files

Added phpmyadmin to installation

  • Loading branch information...
Andrew Baio
Andrew Baio committed Feb 7, 2012
1 parent 1180e67 commit d066778c5c596e451988c03f46218754cf6b2b5e
Showing with 5 additions and 0 deletions.
  1. +5 −0 base.php
View
@@ -147,6 +147,11 @@ function getUserdata($password = '') {
GRANT ALL PRIVILEGES ON thinkup.* TO thinkup@'localhost';
EOF
+# install and configure phpmyadmin
+sudo DEBIAN_FRONTEND=noninteractive apt-get install -q -y phpmyadmin
+sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
+sudo /etc/init.d/apache2 reload
+
# add apparmor exception for ThinkUp backup
sudo sed -i '
/\/var\/run\/mysqld\/mysqld.sock w,/ a\

0 comments on commit d066778

Please sign in to comment.