Home arrow Downloads arrow Linux Scripts arrow DTC Debian etch 4.0 setup
DTC Debian etch 4.0 setup PDF Print E-mail
Written by DjTremors   
Friday, 04 May 2007

Here is a howto to get DTC working on the latest Debian 4.0 Etch system.

 

First remove exim4 and install postfix

apt-get install --purge postfix


Make sure your server is configured with a FQDN ie dtc.domainhosting.com

Check Domain

hostname -d

# Check Hostname

hostname -s

# Check FQDN

hostname -f

 

Add GPLHost repository to your /etc/apt/sources.list file

deb ftp://ftp.gplhost.com/debian/ etch main

apt-get update

 

Change the verbose questioning of debian to medium otherwise it'll be on low which asks nothing.

dpkg-reconfigure debconf

 

Now install apache with mysql modules and php, etc.

apt-get install libapache2-mod-log-sql libapache2-mod-log-sql-mysql php-crypt-cbc sbox-dtc

 

Now install bind for DNS and DTC and postfix last.

apt-get install bind9

apt-get install dtc-toaster

apt-get install dtc-postfix-courier


Run the post installation script which does all the magic *cough*cough*

/usr/share/dtc/admin/install/install

 

Now the install script is a little buggy atm, so fix up permissions so dtc doesn't come back with Server Error 500 on the screen as well as make bind work properly by making bind part of the dtcgrp group.

chown dtc /var/lib/dtc/etc/vhost_check_dir

chown dtc /var/lib/dtc/etc/vhost_check_ssl_cert

chmod 770 /var/www/sites

chmod 770 /var/lib/dtc/etc/ssl/

chmod 770 /var/lib/dtc/etc/*.rrd

adduser bind dtcgrp

 

If you want the Package Installers, you need cvs and run the following commands.

apt-get install cvs # in case you didn't install it with the OS.

cd /usr/share/dtc/shared/

cvs -d :pserver: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it :/var/lib/cvs login

cvs -d :pserver: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it :/var/lib/cvs checkout dtc-package-installer

mv dtc-package-installer package-installer

 

Now, one gotcha which is a little too hard to go into fine detail here is that if you use NAT for your webserver, I noticed that DTC accepts your "YES" to using NAT but doesn't apply it in the install and puts your EXTERNAL IP in apaches conf.

What I had to do is edit /var/lib/dtc/etc/vhosts.conf and search replace the external IP with the internal and restart apache.

Then go to the Configuration page and turn NAT on and put the Internal IP (shows 192.168.0.2 which is not what you put on the installer).

It's a bug which myself and the developers will eventually get to it.Â

 

Good luck.

 

 

Last Updated ( Tuesday, 26 June 2007 )
 
< Prev   Next >

Buy great gadgets at

GetDigital