summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Moc <jakub@gentoo.org>2007-09-09 00:19:18 +0000
committerJakub Moc <jakub@gentoo.org>2007-09-09 00:19:18 +0000
commit97dc82172c169c2cfa2ebf71c7b98962083a17a3 (patch)
tree1d9cf9d10faf1e586ddc8f2c9ef0703e44c02165 /net-dns/vegadns/files/postinstall-en.txt
parentwww-apps/postfixadmin: Move to net-mail category (diff)
downloadwebapps-experimental-97dc82172c169c2cfa2ebf71c7b98962083a17a3.tar.gz
webapps-experimental-97dc82172c169c2cfa2ebf71c7b98962083a17a3.tar.bz2
webapps-experimental-97dc82172c169c2cfa2ebf71c7b98962083a17a3.zip
Move to net-dns category
svn path=/experimental/; revision=470
Diffstat (limited to 'net-dns/vegadns/files/postinstall-en.txt')
-rw-r--r--net-dns/vegadns/files/postinstall-en.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/net-dns/vegadns/files/postinstall-en.txt b/net-dns/vegadns/files/postinstall-en.txt
new file mode 100644
index 0000000..1d67982
--- /dev/null
+++ b/net-dns/vegadns/files/postinstall-en.txt
@@ -0,0 +1,39 @@
+0. PHP CONFIGURATION
+
+Make sure that both register_globals and safe_mode are turned OFF,
+at least for the VirtualHost(s) you will be using this at.
+
+1. SETUP
+
+- Setup SQL db with following permissions
+ SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER
+
+- Change ${MY_INSTALLDIR}/src/config.php
+ as necessary to reflect your SQLdb and tinyDNS service.
+
+- Log into VegaDNS for the first time to create the tables, and update the
+ default login information by pointing your web browser to:
+
+ http://${VHOST_HOSTNAME}/${VHOST_APPDIR}
+
+ Next, you should edit "default_records" so that new domains have the proper
+ SOA record, and that they have name servers, etc. Once this is done, you
+ can add or import a domain, then setup the data dumps in the next step.
+
+- To install the update-data.sh script (currently located in the
+ /usr/share/doc/${PF}), you will need to first edit the
+ VEGADNS variable to point to the correct url. You may also need to update
+ the TINYDNSDIR variable if you used something other than /etc/tinydns.
+
+ Try exectuting the update-data.sh shell script. Once you confirm that
+ this is working correctly, move update-data.sh to /usr/sbin/ and then
+ add it to cron to run every 10 minutes or so, whatever is appropriate.
+ You'll an entry to your crontab like so:
+
+ # Update tinydns with VegaDNS data
+ */10 * * * * /usr/sbin/update-data.sh
+
+NOTE: If intend to run update_data.sh from an IP other than 127.0.0.1, then
+you will need to add that IP to $trusted_hosts in config.php
+
+Also See: /usr/share/doc/${PF}/INSTALL