Hello!
For those who wants to give it a try, here is the best way to have a (fast) setup of the DTC control panel.
First, add the debian repository (select the closest to you):
Tampa (florida) repository:
Code:
echo "deb ftp://ftp.gplhost.com/debian stable main" >>/etc/apt/sources.list
Singapore repository:
Code:
echo "deb ftp://ftp.gplhost.sg/debian stable main" >>/etc/apt/sources.list
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:
Code:
apt-get remove exim4 exim4-base exim4-config exim4-daemon-light nfs-common portmap pidentd pcmcia-cs pppoe pppoeconf ppp pppconfig
update-rc.d -f exim 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.
Code:
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
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:
Code:
dpkg-reconfigure php4-mysql
dpkg-reconfigure php4-gd
Then just installer the panel:
Code:
apt-get install dtc
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.
That's all folks! I just hope this will help to make our panel a bit more popular here, and maybe bring more contributors.
Thomas