Skip to content

Commit

Permalink
Added phpmyadmin to installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Baio committed Feb 7, 2012
1 parent 1180e67 commit d066778
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions base.php
Expand Up @@ -147,6 +147,11 @@ function getUserdata($password = '') {
GRANT ALL PRIVILEGES ON thinkup.* TO thinkup@'localhost'; GRANT ALL PRIVILEGES ON thinkup.* TO thinkup@'localhost';
EOF 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 # add apparmor exception for ThinkUp backup
sudo sed -i ' sudo sed -i '
/\/var\/run\/mysqld\/mysqld.sock w,/ a\ /\/var\/run\/mysqld\/mysqld.sock w,/ a\
Expand Down

0 comments on commit d066778

Please sign in to comment.