If you want to make it step by step:
Remove software you don't need and that are installed by default by debootstrap. This is not really needed but it's better with it:
apt-get --purge remove exim4 exim4-base exim4-config exim4-daemon-light nfs-common portmap pidentd pcmcia-cs pppoe pppoeconf ppp pppconfig lpr dhcp-client
update-rc.d -f exim remove
update-rc.d -f exim4 remove
update-inetd --remove daytime
update-inetd --remove telnet
update-inetd --remove time
update-inetd --remove finger
update-inetd --remove talk
update-inetd --remove ntalk
update-inetd --remove ftp
update-inetd --remove discard
/etc/init.d/inetd reload
Select the software you need (you can choose other daemons instead, like dovecot or proftpd for example, but the following apt-get install is the fastest way to have something working). Note that currently gawk is missing in the dependencies, but it doesn't that mutch if it's not there. It's just better if you add it so RRDTool graphing will work perfectly and your network interfaces will be detected by the installer.
apt-get install postfix postfix-mysql postfix-tls sasl2-bin libsasl2 libsasl2-modules libapache-mod-php4 mlmmj pure-ftpd-mysql awstats courier-authmysql courier-imap courier-pop courier-maildrop php4 php4-cgi php4-cli apache squirrelmail phpmyadmin gawk php4-gd
Note that if you want apache2, you need to ask for libapache2-mod-log-sql-mysql too, and that DTC has correct dependencies for MySQL 4.1 only since dtc 0.21 (wich is currently the CVS version).
You then need to ask for extension=mysql.so and extension=gd.so in your php.ini. After some mail exchange with the debian maintainer, it's a KNOWN BUG and there is nothing we can do about it. Hopefully, the following commands will make it a small issue:
dpkg-reconfigure php4-mysql
dpkg-reconfigure php4-gd
Then just installer the panel:
apt-get install dtc
If using apache2, you will have the following error message:
(98)Address already in use: make_sock: could not bind to address [::]:80
You just need to remove the directives in /etc/apache2/ports.conf and apache2ctl start
Here are the answers to debconf in case you are lost:
Locales:
- add all the languages you wish to be supported by the webmail
- set en_US as default if possible
Courier-base:
- Create directories for web-based administration -> yes
Postfix:
- Internet Site
- Mail name -> mx.your-domain.com (example: mx.foobar.com)
- my destination -> hit enter (mx.foobar.com must be there)
phpmyadmin:
- Select apache only
For others, either it doesn't mater, or the default option is just ok.
If you want more explanations, you can go on the forums install faq here.
Editing this page means accepting its license.