Install phppgadmin on the VM.
authorJason Stephenson <jason@sigio.com>
Wed, 5 Dec 2018 16:17:49 +0000 (11:17 -0500)
committerJason Stephenson <jason@sigio.com>
Wed, 5 Dec 2018 16:17:49 +0000 (11:17 -0500)
Add some lines to the RUNASROOT part of buildeg.sh to install
phppgadmin and configure it to all connections from anywhere.

Signed-off-by: Jason Stephenson <jason@sigio.com>
scripts/postbuild.sh

index 42a2fcf..223cfab 100755 (executable)
@@ -152,6 +152,10 @@ fi
 a2dissite 000-default
 a2ensite evergreen
 
+# Install phppgadmin
+apt -y install phppgadmin
+sed -e 's/local\\\$/all granted/' -i /etc/apache2/conf-available/phppgadmin.conf
+
 echo /opensrf/lib > /etc/ld.so.conf.d/opensrf.conf
 ldconfig