aboutsummaryrefslogtreecommitdiffstats
path: root/testing/poweradmin/poweradmin.post-install
diff options
context:
space:
mode:
authorMatt Smith <mcs@darkregion.net>2011-04-11 06:30:08 -0500
committerMatt Smith <mcs@darkregion.net>2011-04-11 07:44:12 -0500
commit60f9f71401ccb4a3e24fb66079a29078480e00e8 (patch)
tree4ebc673da9e0a20b8d0e7b2921e1f0ef9bfe5bba /testing/poweradmin/poweradmin.post-install
parentbf661e49d5d19eae50242031ef85b752fe541132 (diff)
downloadaports-60f9f71401ccb4a3e24fb66079a29078480e00e8.tar.gz
aports-60f9f71401ccb4a3e24fb66079a29078480e00e8.tar.bz2
aports-60f9f71401ccb4a3e24fb66079a29078480e00e8.tar.xz
testing/poweradmin: new aport
A Web-based PHP tool for administering PowerDNS http://www.poweradmin.org/
Diffstat (limited to 'testing/poweradmin/poweradmin.post-install')
-rw-r--r--testing/poweradmin/poweradmin.post-install30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/poweradmin/poweradmin.post-install b/testing/poweradmin/poweradmin.post-install
new file mode 100644
index 0000000000..b317e03851
--- /dev/null
+++ b/testing/poweradmin/poweradmin.post-install
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+echo "*" >&2
+echo "* Poweradmin has been installed to:" >&2
+echo "* /usr/share/webapps/poweradmin" >&2
+echo "* An empty Poweradmin config file has been installed to:" >&2
+echo "* /etc/poweradmin/config.inc.php" >&2
+echo "* If you use apache2:" >&2
+echo "* 1) Change the ownership of the config directory:" >&2
+echo "* chown -R apache:apache /etc/poweradmin" >&2
+echo "* 2) See if you need to modify the apache2 config:" >&2
+echo "* /etc/apache2/conf.d/poweradmin.conf" >&2
+echo "* 3) Restart apache2 when done." >&2
+echo "*" >&2
+echo "* Installation Steps:" >&2
+echo "* 1) Install the database packages you need for Poweradmin:" >&2
+echo "* For MySQL: apk add mysql php-mysql php-pear-mdb2-driver-mysql" >&2
+echo "* For PgSQL: apk add postgresql php-pgsql php-pear-mdb2-driver-pgsql" >&2
+echo "* 2) Point your browser to the install directory, e.g." >&2
+echo "* http://server_ip/poweradmin/install" >&2
+echo "* and follow the instructions on the screen." >&2
+echo "* 3) Remove the 'install' directory from the Poweradmin directory:" >&2
+echo "* rm /usr/share/webapps/poweradmin/install -rf" >&2
+echo "* 4) Point your browser to Poweradmin, e.g." >&2
+echo "* http://server_ip/poweradmin/" >&2
+echo "* and login using the username 'admin' and the password you provided" >&2
+echo "* during the installation process of Step 1 (above)." >&2
+echo "*" >&2
+
+exit 0