This page describes how to install dtc-toaster on Debian Lenny.
After you install Debian base system and have added DTC repository to your sources.list file follow these instructions. (Sorry, they are lacking at the moment. I WILL come back and make this a much more detailed tutorial.)
apt-get install -y postfix postfix-mysql postfix-tls
Answers to questions:
OK
Internet Site
mx.example.com
The first user you created when you installed Debian. NOT root
mx.example.com, localhost.example.com, localhost.localdoamin, localhost
No
After that you can now run
apt-get install -y dtc-toaster
Answers to questions:
New password for the MySQL "root" user: Your root password for mysql. Make this different to your root login password for security.
Repeat password for the MySQL "root" user: Repeat the above password
Support MySQL connections from hosts running Debian "sarge" or older? No
Directory to put the output in: /var/www/webalizer (default)
Title of the reports webalizer will generate: Usage statistics for (default)
Webserver's rotated log filename: /var/log/apache/access.log.1 (default)
Enable DNSCache Option? No
Should Mailgraph start on boot? Yes
Logfile used by mailgraph: /var/log/mail.log (default)
Count incoming mail as outgoing mail? Yes
Trust new certificates from certificate authorities? Yes
OK
daemon
Select the repository closest to you
HTTP proxy information (leave blank for none): (blank)
Should clamd be notified after updates? Yes
Create directories for web-based administration? Yes
OK
Remove mlmmj lists on purge? No
Run pure-ftpd from inetd or as a standalone server: standalone
Do you want pure-ftpwho to be installed setuid root? No
Enable virtual chroots ? Yes
Backup file name for /etc/sasldb2: /var/backups/sasldb2.bak (default)
Use dtc:dtcgrp for the sbox binary? Yes
Automatically configure MySQL user? Yes
Use Cyrus mail system? No
Domain name: example.com
Use "NATed" vhosts? Yes
Primary IP address: 10.2.3.4
Main domain admin name: dtc (default). You should change this to the first domain admin for you first domain.
Main domain admin password: Your password for the user above. Be careful here as you only enter this once.
Web server to reconfigure automatically: apache2
NATed LAN IP address: 10.2.3.4
There are some configuration answers that are missing because DTC didn't ask for them. Run:
dpkg-reconfigure dtc-postfix-courier
Answers:
Automatically configure MySQL user? Yes
Mail Transfer Agent (MTA) type: postfix
Use Cyrus mail system? No
Domain name: example.com
DTC root panel subdomain: dtc (default). This can be changed to whatever you like.
Use "NATed" vhosts? Yes
NATed LAN IP address: 10.2.3.4
Primary IP address: 123.123.123.123
Path for hosted domains: /var/www/sites (default)
Path for the chroot environment template: /var/lib/dtc/chroot_template (default)
Main domain admin name: as above
Main domain admin password: as above
Generate an SSL certificate for DTC? Yes
DTC certificate passphrase: Enter a password here to protect you certificate
Country code for the DTC SSL certificate: FR (default)
City name for the DTC SSL certificate: Paris (default)
Organization name for the DTC SSL certificate: GPLHost (default)
Organizational unit for the DTC SSL certificate: no-unit (default)
Email address for the DTC SSL certificate: example@example.com (default)
DTC SSL certificate challenge password: blank (default)
Skip mknod calls when building the chroot template? No (default)
DNSBL (DNS BlackList) list: zen.spamhaus.org (default)
OK
Local address extension character: +
Subdomain name for the MX server: mx
Network devices to monitor: eth0 (default)
Allow to report anonymous statistics to GPLHost? No (default)
The last step now would be to run
apache2ctl start
After that, your Debian Lenny DTC server should be configured.
Editing this page means accepting its license.