The Perfect Setup - Debian Etch (Debian 4.0) - Page 7

Want to support HowtoForge? Become a subscriber!
Submitted by falko (Contact Author) (Forums) on Mon, 2007-04-09 16:46. ::

15 Webalizer

To install webalizer, just run

apt-get install webalizer


16 Synchronize the System Clock

It is a good idea to synchronize the system clock with an NTP (network time protocol) server over the internet. Simply run

apt-get install ntp ntpdate

and your system time will always be in sync.


17 Install Some Perl Modules Needed By SpamAssassin (Comes With ISPConfig)


apt-get install libhtml-parser-perl libdb-file-lock-perl libnet-dns-perl


18 ISPConfig

The configuration of the server is now finished, and if you wish you can now install ISPConfig on it. Please check out the ISPConfig installation manual:


18.1 A Note On SuExec

If you want to run CGI scripts under suExec, you should specify /var/www as the home directory for websites created by ISPConfig as Debian's suExec is compiled with /var/www as Doc_Root. Run

/usr/lib/apache2/suexec -V

and the output should look like this:

server1:/etc/postfix/ssl# /usr/lib/apache2/suexec -V
 -D AP_DOC_ROOT="/var/www"
 -D AP_GID_MIN=100
 -D AP_HTTPD_USER="www-data"
 -D AP_LOG_EXEC="/var/log/apache2/suexec.log"
 -D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
 -D AP_UID_MIN=100
 -D AP_USERDIR_SUFFIX="public_html"

Unless you install ISPConfig in expert mode and change the default web root (which is /var/www), you will be able to run CGI scripts under suExec with ISPConfig. The following screenshot is taken from an ISPConfig installation in expert mode. If you want to use ISPConfig, then don't change the default web root:


19 Links

Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by prad (not registered) on Thu, 2008-11-20 15:20.

excellent ... works like a charm ...

Submitted by mathieu (not registered) on Mon, 2008-10-27 17:47.

Great job, thanks !

 I spent so much tyme trying ton install Apache, bind, proftpd and mysql for this king of configuration... it's horrible to see that the job is worse for mail daemon and other stuffs i never tested before.

Thanks a lot.

Submitted by Hoesh (registered user) on Thu, 2008-05-22 13:16.

please someone point me to any article about upgrading ispConfig. Following this article, I have 2.2.12 installed, a year before.

I have to prepare my upgrade plan, to avoid loss of data, or crashing the box on my production site.

Also would benefit from the remoting framework, but not sure about the right version.


Submitted by joshua-fr (registered user) on Thu, 2007-12-06 19:50.


 Like all the others say :

 Great job.

Work like a charm.

So cool to use Debian with this utility...




Submitted by djkoelkast (registered user) on Sun, 2007-07-01 13:22.

Great tutorial, very clear, thanks a lot.
I do have 1 comment though: I'd like to see vi replaced by pico, I really can't work with vi, pico shows all possible commands (like search, exit etc.) at the bottom of the screen which also makes it easier for non-advanced users.

Keep up the good work!


Submitted by ustoopia (registered user) on Wed, 2007-05-02 12:09.

Seems to be working fine! Thanks alot for this guide.

Submitted by Deprecated (registered user) on Thu, 2007-04-19 15:11.

Thanks Falko.

 I've been following your previous article ("The Perfect Setup - Debian Sarge (3.1)") for my Etch installations for a while now, good to see such a useful article updated, and so quickly after Etch moved to stable.

Submitted by jlp09550 (registered user) on Tue, 2007-04-10 03:56.

Good job on making and publishing this guide so quickly!

Thanks much!