The Perfect Setup - Ubuntu 6.06 LTS Server (Dapper Drake) - Page 7

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:

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 Ubuntu's suExec is compiled with /var/www as Doc_Root. Run /usr/lib/apache2/suexec2 -V, and the output should look like this:

 /usr/lib/apache2/suexec2 -V  

To select /var/www as the home directory for websites during the installation of ISPConfig do the following: When you are asked for the installation mode, select the expert mode.

Later during the installation you are asked if the default directory /home/www should be the directory where ISPConfig will create websites in. Answer n and enter /var/www as the home directory for websites.

Share this page:

Suggested articles

20 Comment(s)

Add comment


By: Anonymous

Why don't you create a preconfigured VmWare virtual machine with this setup and ISPConfig installed and publish it on vmware website?...That would become the "Perfect Virtual Machine" :)...thanks

By: Anonymous

Great work Falko!!! =)

By: Anonymous

I know ubuntu is Debian based, but I prefer to run Debian, since it probably has less unneeded stuff. How much different is your guide for Debian (afaik it should be very simular if not identical... or at least I hope so) Or am I missing something?

By: admin
By: Anonymous

I really wish you had posted this a few days ago... But I probably learned more from doing the exact same thing myself...

By: Anonymous

Many thanks :) Your guides are very helpful for us beginners...

By: Anonymous

I'm pretty sure that I can't find any differences between this and the Breezy setup instructions. Good :-)

By: Anonymous

/etc/webalizer.conf :

change : LogFile /var/log/apache/access.log.1

to : LogFile /var/log/apache2/access.log.1

By: Anonymous

I miss one thing in this manual: setup your iptables ! No system should be without one (and I wonder why distributions are still not installing one per default (even if it is just either all open or all closed as the only two options))

By: admin

iptables is installed. Run

iptables -L

and you'll see.

You can configure the iptables firewall with the firewall administration that comes with ISPConfig.


I also had to install IPTables manually, but I'm installing ISPConfig into an OpenVZ Ubuntu VE. The VE template might be a little different than a normal Ubuntu intsall.

By: Anonymous

Nice job falko!
Some comments:
You do not have to enable the root account. For security reasons it is disabled in Ubuntu and all management should be done via sudo. Just type in "sudo -s" and type in again you password to get a root shell.
For upgrading to the recent version of all packages I think it is better to user "apt-get update" and then "apt-get dist-upgrade". Otherwise some depending packages are not updated in the correct order.

By: Anonymous

Really a good job!

For sudo and/or sudo -s I have problems to understand the security reasons. It is, with that default  setting an attacker needs only to know one password to do very nasty things with root privileges from network. Instead with a root account,  disabling sudo or limiting it, setting Rootlogin  to No in the sshd config file and maybe changing the root account (b.e. calling it newby) the attacker need to know at least 2 password and 2 user names to gain root privileges, but maybe I'm missing something.

By: Anonymous

This tutorial was very helpful.  A perfect example of good documentation.  I only had one issue when I walked through the install.  There was a permissions error when creating the certificates.  All I had to do was change the permissions on the certificate directory while I was building them.  I then changed the permissions back after I had finished.  Other than that small issue, it was a superb tutorial!


By: Anonymous

What a fine job in this tutorial! I found it very useful - great comments and explanations of 'why' things get changed. I especially like the fact of being able to copy/paste as opposed to your tutorial for 'breezy badger' :). Everything seemed to install as advertised. Great job. Thanks!

By: admin

The Breezy Badger tutorial is also copy & paste. If it didn't work for you, then you must have done something wrong...

By: Anonymous

Excellent work indeed. If I could have one request, it would be to provide a little bit of info on why each thing is being installed, and how to start using it.

By: steven_twente

Just wanted to say thank you for this great tutorial! I've literally been able to copy all the commands from this howto to my ubuntu server (except the parts where I had to fill in details about my server/domain/etc ofcourse...) and I got no errors what so ever. After this howto ISPconfig runs perfectly as well. Great job!


Thanks for a great tutorial,

however, it took me quite some time to find out how to install ISP config. I got this error

"ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!

The fix is posted in another thread. However, I think it can be posted here as well

>>jnsc solved it. You must run
>>rm -f /bin/sh
>>ln -s /bin/bash /bin/sh
>>and afterwards you can install ISPConfig 2.2.7 on Edgy. :)

I would probably save /bin/sh before deleting it, i.e.

cp /bin/sh /bin/sh.copy

if it is needed later on ..

thanks though! 

By: moh

good good