aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/poweradmin/poweradmin.post-install
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-10-27 17:27:39 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2014-10-27 17:28:00 +0100
commita941a7da4c213a038bd20a3e7a24fadbeb517d47 (patch)
treec89198e67384d611c307874c7c9de4f8c39ba939 /unmaintained/poweradmin/poweradmin.post-install
parentfbb5ea41156ebe8bb8d652b4e5d9f7b20bd9422d (diff)
downloadaports-a941a7da4c213a038bd20a3e7a24fadbeb517d47.tar.bz2
aports-a941a7da4c213a038bd20a3e7a24fadbeb517d47.tar.xz
testing/powerdns: unmaintained
Diffstat (limited to 'unmaintained/poweradmin/poweradmin.post-install')
-rw-r--r--unmaintained/poweradmin/poweradmin.post-install30
1 files changed, 30 insertions, 0 deletions
diff --git a/unmaintained/poweradmin/poweradmin.post-install b/unmaintained/poweradmin/poweradmin.post-install
new file mode 100644
index 0000000000..b317e03851
--- /dev/null
+++ b/unmaintained/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