summaryrefslogtreecommitdiff
path: root/htdocs/docs
diff options
context:
space:
mode:
authorivan <ivan>2000-02-03 05:17:39 +0000
committerivan <ivan>2000-02-03 05:17:39 +0000
commit5bd5f206a77cf975515d955119d4dff7764a2d8c (patch)
tree1e344342389a47fe1b96e214ac757dfb5417f041 /htdocs/docs
parent3bfec7cf75a1a4eb4da1cdf8c64003bd6babcd81 (diff)
beginning of DNS and Apache support
Diffstat (limited to 'htdocs/docs')
-rw-r--r--htdocs/docs/config.html13
-rw-r--r--htdocs/docs/install.html2
-rw-r--r--htdocs/docs/schema.html14
-rw-r--r--htdocs/docs/upgrade5.html22
4 files changed, 50 insertions, 1 deletions
diff --git a/htdocs/docs/config.html b/htdocs/docs/config.html
index cad10ce65..6f7a2b561 100644
--- a/htdocs/docs/config.html
+++ b/htdocs/docs/config.html
@@ -22,6 +22,11 @@ All further configuration files and directories are located in
`/usr/local/etc/freeside/conf.DBI:Pg:dbname=freeside'
<ul>
<li>address - Your company name and address, four lines.
+ <li>apacheroot - The directory containing Apache virtual hosts
+ <li>apachemachine - A machine with the apacheroot directory and user home directories. The existance of this file enables setup of virtual host directories, and, in conjunction with the `home' configuration file, symlinks into user home directories.
+ <li>apachemachines - Your Apache machines, one per line. This enables export of `/etc/apache/vhosts.conf', which can be included in your Apache configuration via the <a href="http://www.apache.org/docs/mod/core.html#include">Include</a> directive.
+ <li>bindprimary - Your BIND primary nameserver. This enables export of /var/named/named.conf and zone files into /var/named
+ <li>bindsecondaries - Your BIND secondary nameservers, one per line. This enables export of /var/named/named.conf
<li>bsdshellmachines - Your BSD flavored shell (and mail) machines, one per line. This enables export of `/etc/passwd' and `/etc/master.passwd'.
<li>cybercash2 - <a href="http://www.cybercash.com/cybercash/services/cashreg214.html">CyberCash v2</a> support, four lines: paymentserverhost, paymentserverport, paymentserversecret, and transaction type (`mauthonly' or `mauthcapture'). CCLib.pm is required.
<li>cybercash3.2 - <a href="http://www.cybercash.com/cybercash/services/technology.html">CyberCash v3.2</a> support. Two lines: the full path and name of your merchant_conf file, and the transaction type (`mauthonly' or `mauthcapture'). CCMckLib3_2.pm, CCMckDirectLib3_2.pm and CCMckErrno3_2 are required.
@@ -34,6 +39,8 @@ All further configuration files and directories are located in
<li>home - For new users, prefixed to usrename to create a directory name. Should have a leading but not a trailing slash.
<li>invoice_from - Return address on email invoices.
<li>lpr - Print command for paper invoices, for example `lpr -h'.
+ <li>mxmachines - MX entries for new domains, weight and machine, one per line, with trailing `.'
+ <li>nsmachines - NS nameservers for new domains, one per line, with trailing `.'
<li>nismachines - Your NIS master (not slave master) machines, one per line. This enables export of `/etc/global/passwd' and `/etc/global/shadow'.
<li>passwordmin - Minimum password length (default 6);
<li>qmailmachines - Your qmail machines, one per line. This enables export of `/var/qmail/control/virtualdomains', `/var/qmail/control/recipientmap', and `/var/qmail/control/rcpthosts'. The existance of this file (even if empty) also turns on user `.qmail-extension' file maintenance in conjunction with `shellmachine'.
@@ -55,6 +62,12 @@ All further configuration files and directories are located in
<li>shells - Legal shells (think /etc/shells). You probably want to `cut -d: -f7 /etc/passwd | sort | uniq' initially so that importing doesn't fail with `Illegal shell' errors, then remove any special entries afterwords. A blank line specifies that an empty shell is permitted.
<li>showpasswords - The existance of this file will allow unencrypted user passwords to be displayed.
<li>smtpmachine - SMTP relay for Freeside's outgoing mail.
+ <li>soadefaultttl - SOA default TTL for new domains.
+ <li>soaemail - SOA email for new domains, in BIND form (`.' instead of `@'), with trailing `.'
+ <li>soaexpire - SOA expire for new domains
+ <li>soamachine - SOA machine for new domains, with trailing `.'
+ <li>soarefresh - SOA refresh for new domains
+ <li>soaretry - SOA retry for new domains
<li>usernamemin - Minimum username length (default 2);
<li>usernamemax - Maximum username length (default is the size of the SQL column, probably specified when fs-setup was run)
</ul>
diff --git a/htdocs/docs/install.html b/htdocs/docs/install.html
index 574ab91e4..bb621e9a1 100644
--- a/htdocs/docs/install.html
+++ b/htdocs/docs/install.html
@@ -12,7 +12,7 @@ Before installing, you need:
<li>Perl modules (<a href="http://www.perl.com/CPAN/doc/manual/html/lib/CPAN.html">CPAN</a> will query, download and build perl modules automatically)
<ul>
<li><a href="http://www.perl.com/CPAN/modules/by-module/Array/">Array-PrintCols</a>
- <li><a href="http://www.perl.com/CPAN/modules/by-module/Term/">Term-Query</a>
+ <li><a href="http://www.perl.com/CPAN/modules/by-module/Term/">Term-Query</a> (make test broken; install manually)
<li><a href="http://www.perl.com/CPAN/modules/by-module/MIME/">MIME-Base64</a>
<li><a href="http://www.perl.com/CPAN/modules/by-module/Data">Data-Dumper</a>
<li><a href="http://www.perl.com/CPAN/modules/by-module/MD5">Digest-MD5</a>
diff --git a/htdocs/docs/schema.html b/htdocs/docs/schema.html
index 3eea6f69d..1ab0e7f62 100644
--- a/htdocs/docs/schema.html
+++ b/htdocs/docs/schema.html
@@ -218,6 +218,20 @@
<li>svcnum - <a href="#cust_svc">primary key</a>
<li>domain
</ul>
+ <li><a name="domain_record">domain_record</a> - Domain zone detail
+ <ul>
+ <li>recnum - primary key
+ <li>svcnum - <a href="#svc_domain">Domain</a> (by svcnum)
+ <li>reczone - zone for this line
+ <li>recaf - address family, usually <b>IN</b>
+ <li>rectype - type for this record (<b>A</b>, <b>MX</b>, etc.)
+ <li>recdata - data for this record
+ </ul>
+ <li><a name="svc_www">svc_www</a>
+ <li>svcnum - <a href="#cust-svc">primary key</a>
+ <li>recnum - <a href="#domain_record">host</a>
+ <li>usersvc - <a href="#svc_acct">account</a>
+ </ul>
<li><a name="type_pkgs">type_pkgs</a>
<ul>
<li>typenum - <a href="#agent_type">agent type</a>
diff --git a/htdocs/docs/upgrade5.html b/htdocs/docs/upgrade5.html
index fc4bf2c39..2be3c6e1b 100644
--- a/htdocs/docs/upgrade5.html
+++ b/htdocs/docs/upgrade5.html
@@ -19,6 +19,28 @@ CREATE TABLE prepay_credit (
PRIMARY KEY (prepaynum),
INDEX (identifier)
);
+CREATE TABLE domain_record (
+ recnum int NOT NULL,
+ svcnum int NOT NULL,
+ reczone varchar(80) NOT NULL,
+ recaf char(2) NOT NULL,
+ rectype char(5) NOT NULL,
+ recdata varchar(80) NOT NULL,
+ PRIMARY KEY (recnum)
+);
+CREATE TABLE svc_www (
+ svcnum int NOT NULL,
+ recnum int NOT NULL,
+ usersvc int NOT NULL,
+ PRIMARY KEY (svcnum)
+);
+ALTER TABLE part_svc ADD svc_www__svcnum varchar(80) NULL;
+ALTER TABLE part_svc ADD svc_www__svcnum_flag char(1) NULL;
+ALTER TABLE part_svc ADD svc_www__recnum varchar(80) NULL;
+ALTER TABLE part_svc ADD svc_www__recnum_flag char(1) NULL;
+ALTER TABLE part_svc ADD svc_www__usersvc varchar(80) NULL;
+ALTER TABLE part_svc ADD svc_www__uesrsvc_flag char(1) NULL;
+
</pre>
<li>Copy or symlink htdocs to the new copy.
<li>Remove the symlink or directory <i>(your_site_perl_directory)</i>/FS.