The Perfect Server - Ubuntu Hardy Heron (Ubuntu 8.04 LTS Server) - Page 4

11 Install Some Software

Now we install a few packages that are needed later on. Run

apt-get install binutils cpp fetchmail flex gcc libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev lynx m4 make ncftp nmap openssl perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++ build-essential

(This command must go into one line!)


12 Quota

(If you have chosen a different partitioning scheme than I did, you must adjust this chapter so that quota applies to the partitions where you need it.)

To install quota, run

apt-get install quota

Edit /etc/fstab. Mine looks like this (I added ,usrquota,grpquota to the partition with the mount point /):

vi /etc/fstab

# /etc/fstab: static file system information.
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda1
UUID=6af53069-0d51-49be-b275-aeaea8d780c5 /               ext3    relatime,errors=remount-ro,usrquota,grpquota 0       1
# /dev/sda5
UUID=d8e1f66c-1442-423e-b442-8ae66eded9d7 none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0

To enable quota, run these commands:

touch /quota.user /
chmod 600 /quota.*
mount -o remount /

quotacheck -avugm
quotaon -avug


13 DNS Server


apt-get install bind9

For security reasons we want to run BIND chrooted so we have to do the following steps:

/etc/init.d/bind9 stop

Edit the file /etc/default/bind9 so that the daemon will run as the unprivileged user bind, chrooted to /var/lib/named. Modify the line: OPTIONS="-u bind" so that it reads OPTIONS="-u bind -t /var/lib/named":

vi /etc/default/bind9

OPTIONS="-u bind -t /var/lib/named"
# Set RESOLVCONF=no to not run resolvconf

Create the necessary directories under /var/lib:

mkdir -p /var/lib/named/etc
mkdir /var/lib/named/dev
mkdir -p /var/lib/named/var/cache/bind
mkdir -p /var/lib/named/var/run/bind/run

Then move the config directory from /etc to /var/lib/named/etc:

mv /etc/bind /var/lib/named/etc

Create a symlink to the new config directory from the old location (to avoid problems when bind gets updated in the future):

ln -s /var/lib/named/etc/bind /etc/bind

Make null and random devices, and fix permissions of the directories:

mknod /var/lib/named/dev/null c 1 3
mknod /var/lib/named/dev/random c 1 8
chmod 666 /var/lib/named/dev/null /var/lib/named/dev/random
chown -R bind:bind /var/lib/named/var/*
chown -R bind:bind /var/lib/named/etc/bind

We need to modify /etc/default/syslogd so that we can still get important messages logged to the system logs. Modify the line: SYSLOGD="" so that it reads: SYSLOGD="-a /var/lib/named/dev/log":

vi /etc/default/syslogd

# Top configuration file for syslogd

# Full documentation of possible arguments are found in the manpage
# syslogd(8).

# For remote UDP logging use SYSLOGD="-r"
SYSLOGD="-a /var/lib/named/dev/log"

Restart the logging daemon:

/etc/init.d/sysklogd restart

Start up BIND, and check /var/log/syslog for errors:

/etc/init.d/bind9 start


14 MySQL

In order to install MySQL, we run

apt-get install mysql-server mysql-client libmysqlclient15-dev

You will be asked to provide a password for the MySQL root user - this password is valid for the user root@localhost as well as, so we don't have to specify a MySQL root password manually later on (as was the case with previous Ubuntu versions):

New password for the MySQL "root" user: <-- yourrootsqlpassword
Repeat password for the MySQL "root" user: <-- yourrootsqlpassword

We want MySQL to listen on all interfaces, not just localhost, therefore we edit /etc/mysql/my.cnf and comment out the line bind-address =

vi /etc/mysql/my.cnf

# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
#bind-address           =

Then we restart MySQL:

/etc/init.d/mysql restart

Now check that networking is enabled. Run

netstat -tap | grep mysql

The output should look like this:

root@server1:~# netstat -tap | grep mysql
tcp        0      0 *:mysql                 *:*                     LISTEN      5869/mysqld

Share this page:

66 Comment(s)

Add comment


From: MasterG2000 at: 2009-04-24 08:22:01

Thank's for this great tutorial!!

On my minimal Ubuntu 8.04 installation I have to add some addional packages to run ISPconfig on the server:

  • cron
  • iptables
  • telnet (only for the test in your tutorial, not for ISPconfig)
Also I think it's helpfull to install 'wget' for external software.



From: andrew at: 2009-04-09 22:54:13
From: d0rk-E at: 2011-06-06 06:50:47

It has known security holes that are no longer going to be patched.

From: at: 2008-04-27 11:12:47

Falco & Till,

 You guys are the best. Thanx a lot for your hard work.

 Sami Mattila

From: at: 2008-07-02 10:06:28

I have set this up on a dev server and it works good.

I'm planning my install for the production system which has four processors and 3 mirror drives.  I'm trying to think ahead about system expansion.  I'd like to make it easy as possible for me to move existing servers onto new machines as I expand.

Is it possible to put the MySql and Postfix on seperate machines fairly easily using this tutorial with ISPConfig still functional?

If it is easy should I use VMWare and make multiple virtual machines or should I put it all on one box.



From: at: 2008-07-05 22:42:42

Highly recommended 

Thank You very much for this one

No way you can go wrong with this Howto.


Regards,  from Costa Rica 

From: at: 2009-03-28 10:21:01

Hi there, thanks I have resolved the issue.

From: Lee at: 2009-01-02 07:39:59

Hi, I am stuck as how do I really set my static address:

address  (What address is this?) 
network (What network address?)
broadcast (What broadcast address?)

I can only find my netmask and gateway address.

Thanks, please shed some light, anyone. :)






From: Anonymous at: 2009-02-25 17:52:12 is website where you can find your public ip address. you need to set up port forwarding if you have a router set it to forward port 80 to your internal ip address. you can find out your internal ip address by running this command: ifconfigafter that look at  the one that says etho or something like that. The one that says "inet add" that is your internal ip address

From: at: 2008-04-24 23:54:52

Please change this page to tell people they need to use sudo for all of their commands. If they really need to access the root user in ubuntu they can type sudo su and it will go to root user. It is inherintly insecure to enable the root user. TIA

From: at: 2008-04-25 19:18:42

You don't have to use sudo if you've done what's written in step 4 of the tutorial.

From: at: 2008-04-26 16:20:15

My whole comment is pertaining to opening up a security hole in your computer by enabling the root account. The second part of my comment talks about how to use root permissions without needing to enable the root account by using sudo su whch gives you root access #.

If the tutorial must show how to enable the root account(which it doesn't) I would appreciate it if it told users how to lock the root account when done. sudo passwd -l root

From: at: 2008-04-29 00:47:16

I don't think of it as a security hole if you enable root account but it's good to use sudo.You can disable the root account after finishing the tutorial.

From: at: 2008-05-01 17:52:50

I was wondering if the Static IP configuration step is absolutely necessary in order for the rest of this tutorial to work correctly. I use DHCP for all of my servers so that I can manage their IP allocation from one central place.

From: at: 2008-06-19 23:32:41

apt-get install vim-full will install the full version with GUI (a lot of extra useless libs)

to change tiny version to full but with no GUI I would recommend

apt-get install vim



From: at: 2008-08-19 14:44:32

It should really be noted what the commands to enter text, save and quit are.

To begin editing in vi - type "a" (no quotes on any command)

When editing complete hit "esc"

To save file type ":w"

To exit vi type ":q"

I struggled with this for quite some time, and it may be a simple thing for gurus who use vi, but there many people with limited knowledge here (like me) so it may make sense to include the commands in with the actual tutorial.

Thanks for a great howto!

From: Kim Mogensen at: 2010-01-14 21:57:41

Why not just post one of the many sites you find at google when you search the web. Took me 5 seconds and first hit is quite ok:



From: Kees Cook at: 2008-12-05 22:00:39

Step 9: do not symlink over /bin/sh.  This will slow down your system, and will be broken by any updates that reinstall dash.  If ISPConfig requires bash, fix ISPConfig -- don't break the OS.


Step 10: do not uninstall AppArmor.  If there are specific services that are modified to work outside of the existing service profiles, just disable the one profile until you can fix the profile.  For example:

  aa-complain bind9

Then review your logs (via dmesg or /var/log/messages), and update your profiles:


For more details on how to use AppArmor and other new features of Ubuntu, please read the official documentation:

From: EnKK at: 2008-12-19 07:26:34

> Step 9: do not symlink over /bin/sh

I don't know what issues does ISPConfig have with dash, but you won't be able to compile apache when dash is /bin/sh. Apache's config script complains about the broken echo command, and, using awk and echo to do the needed preparations for compilation, apache is unable to configure itself. There are plenty of situations when you need to compile the code yourself.

> will be broken by any updates that reinstall dash

Easily fixed by hand. OK, I have a maniac solution here, put it on cron to check if /bin/sh is properly simlinked LOL

> If ISPConfig requires bash, fix ISPConfig

:-) That's one great note! I was told there's some company in Redmond that thinks exactly this way. Seriously, if the dash thing is the problem, let's not break something that works smoothly.

Have a nice day!

From: Anonymous at: 2009-09-07 10:44:22

>> If ISPConfig requires bash, fix ISPConfig

>:-) That's one great note! I was told there's some company in Redmond that thinks exactly this way. Seriously, if the dash thing is the problem, let's not break something that works smoothly.
 If ISPConfig requires bash to work, it MUST use /bin/bash instead of /bin/sh, so ISPConfig IS broken and MUST be fixed. Asuming that /bin/sh acts like /bin/bash is WRONG.
 It's foolish to break the system to fix a broken app.

From: Dominic at: 2012-04-17 01:17:37

So  how would i go about undoing that "ln -sf /bin/bash /bin/sh" command?  im a noob at this, and i saw the comment after i ran the command

From: Lee at: 2009-01-06 08:10:28

How will you fix ISPconfig?

From: Anonymous at: 2009-12-12 01:27:44

instead just go sudo -i and type your password and then it spawns a root shell

From: Mike at: 2010-02-18 02:28:53

Now try to ping a website on the net, I like


It should start replying immediately (or within a couple seconds).

If it comes back with "host cannot be found" then

vi /etc/resolv.conf

and replace what is there (in my case, the gateway ip address) with DNS server addresses, one to a line... I like and (easy to remenber, belonging to google)

Ping again and it should reply.

From: Slavi at: 2009-04-17 15:39:13

I have also added these lines to /etc/my.cnf
Don't add the .... ;)



From: at: 2008-04-25 03:44:18

In case anyone else has an issue starting bind9, I had to purge apparmor using the following command before it would start successfully.

apt-get purge apparmor

From: at: 2008-06-14 04:42:43


 First of all let me say thank you very much to the author of this and other pages related to installing Ubuntu. It is a great deal of service to people like myself who want to get to know linux and who are interested in learning how to manage a server.

 I do have one question, however, as I am stumped. I followed the instructions (verbatim, I strongly believe), and when I come to the step of starting bind, I get an error.  Well, it says "failed". Which specific log would I look into to find out why bind would not start? Sorry, I'm not very familiar with linux, but looking into learning it and using it instead of windows eventually.

 I tried the one poster's recommendation and did the apt-get purge apparmor, and that didn't do anything as far as bind goes - it still fails when I try to start it. I clicked on the other link recommended by another poster, but my file doesn't look anything like the file they recommend changing, and because of that, I do not want to stray too far away from this tutorial since I started out with this in the first place.


Any recommendations as to what I can check, or if anyone else ran into this and found a solution other than those posted here?  Thanks in advance,


From: Anonymous at: 2009-03-22 10:27:45

It has been long, your question..did you find a solution to this already?

 Did you follow step 10?

From: dakkon at: 2010-07-17 12:58:02

I followed the instructions above but I was never prompted for passwords.  What do I need to do to set the passwords?  Did I miss something?

From: dell at: 2009-09-03 04:05:32

Try to fully remove apparmor, its work for me..

# apt-get remove apparmor apparmor-utils

From: at: 2008-04-25 19:46:11

This is complete steps to get chrooted Bind working.

From: admin at: 2008-04-26 08:46:51

... or simply disable AppArmor, as shown in step 10 of my tutorial.

From: at: 2008-08-04 15:24:38

Hi there,

when I run netstat -tap | grep mysql the listen part is 12013 instead of 5869. Does it really matter?

Thank again for valuable tutorial.

From: at: 2008-10-21 12:34:47


 Thanx for this great tutorial. I used it and it's work well. I had a problem installing the roundcube pkg. If you want to use the roundcube pkg you need to install this:

apt-get install  libxml2-dev.

If you don't install this, you wont be able to read your mail.


From: at: 2009-04-17 16:10:12

... we create the certificates for TLS:

mkdir /etc/postfix/ssl
cd /etc/postfix/ssl/
openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 1024

 I couldn't bypass the password/passphrase prompt required by openssl.

It had to be 4 chars min.

Could that cause problem if the key is with a password/passphrase ?

From: lukeab at: 2009-12-22 15:14:51

i think just leave out -des3   switch and it won't create a passphrase.

not sure if this is a good of bad thing though.

From: at: 2008-05-20 18:09:25

the header "15 Postfix With SMTP-AUTH And TLS" might be changed to inform us that this section installs a mailserver.  (for those who don't know what postfix is?)

From: Anonymous at: 2009-03-22 10:31:58

Thanks for sharing..

From: Danuel at: 2009-05-11 08:42:35

To speed up the login for ProFTP make sure instead of above code you put following:

 DefaultRoot        ~

# make it more secure and faster
IdentLookups    off
ServerIdent        on "FTP Server ready."
UseReverseDNS    off

The global tags are important.  Also see thread:

From: at: 2009-04-17 16:22:13

by doing this: Doesn't it cause a performance penalty because Apache has to check if each of those files exist.
the huge will be for the last index.xhmtl IMHO.

DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.xhtml

From: at: 2008-05-02 20:30:01

Seems after installing ProFTP, the last line with the "Include" gives an error on the console on reboot. Just add a return after the include line at the bottom of etc/proftpd.conf, the error goes away.

From: at: 2008-05-26 01:38:26

Same as Sagor…”Warning on strat up: - warning: handling possibly truncated configuration data at line 186 of '/etc/proftpd/proftpd.conf' “.

Also, in my case Proftp was not running afterwards for some reason. So I did a dpkg-reconfigure, but nothing got written to the config file — so switching from ServerType  ”inetd“ to  ”standalone“ did not work for me and I had to do it manually. This got nothing to do with the HowTo — I'm writing it just in case it's a general bug in 8.04 

From: at: 2008-05-26 01:46:53

Package php5-json is a virtual package provided by:
php5-common 5.2.3-1ubuntu6.1
You should explicitly select one to install.
E: Package php5-json has no installation candidate

php5-json comes with php5-common so their should be no need to install php5-json when you instal php5-common — I think.

So this worked for me so far…
apt-get install libapache2-mod-php5 libapache2-mod-ruby php5 php5-common php5-curl php5-dev php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-mysql php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl

From: at: 2008-06-14 06:03:57

Hi gand,

I was wondering if someone might be able to help me headed in the right direction as to what happened while I've been following the ISPconfig tutorial and I'm on the last couple of pages.

Error regarding "php5-json" - has no installation candidate

I'm stumped as to what this means, and after following the directions, word by word, making sure I didn't type anything in wrong, I don't know what is wrong here, or even where to start to look to find the problem, as all of these installations seem convoluted to me right now, and I know there is a log file for just about everything, but I am just not sure which log file would divulged the information I need to rectify the situation.

Any one that knows what this is or has a recommendation, I would greatly appreciate some assistance on this. I'm close, but I still have a ways to go before I learn more of this and can carry my own, and answer questions for others that will be in my place, and take the time to help them.


Thanks in advance,


From: at: 2008-09-23 02:53:59

just remove the following form the apt-get php5-json everything would work fine

From: at: 2008-07-05 22:38:45

Thank you very much for this tip

It was the answer I need it in the right moment 

From: at: 2008-05-26 08:21:35

Just run into another Bug in 8.04…

When PHP is run from the command line (CLI) you'll get ”PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/' - cannot open shared object file: No such file or directory in Unknown on line 0

This reported as a Bug on:  PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/' - cannot open shared object file: No such file or directory in Unknown on line 0

From: at: 2008-07-18 21:29:41

apt-get install ssh openssh-server

I selected ssh on the initial ubuntu screen of programs to install and I also ran the above command after ubuntu was installed as recommended by this doc. Afterward i tried logging in using putty. I got 'connection refused error'.

I then looked elsewhere for help and found this command

apt-get install openssh-server

 After i ran this i was able to connect using putty. Command is only different than the other one by 'ssh'. Not sure why this works, but it works now.

From: at: 2009-05-11 20:44:34

Update:  The setup2 file errors seem to be specific to ISPconfig-2.2.32.  I was able to install ISPconfig-2.2.30 without any problems -- done after 3 failed attempts to install ISPconfig-2.2.32. 

From: at: 2009-05-11 03:57:51

I received following error at the end of the ISPconfig-2.2.32 installation after http/https choice (all steps prior to this seems to go ok):

Please select the protocol (http or https (SSL encryption)) to use to access the ISPConfig system:
Your Choice: 2

./setup2: line 1090: mysql_config: No such file or directory
./setup2: line 1091: httpd: No such file or directory
./setup2: line 1092: httpd2: No such file or directory
./setup2: line 1093: httpd2: No such file or directory
./setup2: line 1103: ip_addresses: No such file or directory
./setup2: line 1105: /root/ispconfig/php/php: No such file or directory
./setup2: line 1106: /root/ispconfig/ No such file or directory
chmod: cannot access `/home/admispconfig/ispconfig/tools/suphp/usr/bin/php-wrapper': No such file or directory
Restarting some services...
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
 * Stopping Postfix Mail Transport Agent postfix                            [ OK ]
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
 * Starting Postfix Mail Transport Agent postfix                                   chdir: error retrieving current directory: getcwd: cannot access parent directories     : No such file or directory
                                                                            [ OK ]
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
 * Stopping ftp server proftpd                                              [ OK ]
 * Starting ftp server proftpd                                              [ OK ]
./setup2: line 1163: /etc/init.d/ispconfig_server: No such file or directory
Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.

Although installation completes with "Congradulations!", it doesn't work.  Can you help with this please?  Thanks.



From: at: 2008-05-25 10:28:02

Hi Falko,

I wanted to share with you a bug I've found.

I've installed a couple of servers following this great howto, and on one of them after a few days running, I've seen that the CPU is on 99% all the time and the process that was causing it was "mysqld-safe"

I thought it was just a stuck process so I killed it and I have no problems since then, but after I installed teh second server, I checked and also here I had the same process taking up the whole CPU time, I'm talking about a fresh installation on a clean "virgin" server, here's the output of my "top" command on the server:

root@mtsftp:/etc/bind# top

top - 10:22:21 up 18:13,  1 user,  load average: 0.68, 0.26, 0.09
Tasks:  65 total,   1 running,  64 sleeping,   0 stopped,   0 zombie
Cpu(s): 14.1%us, 35.9%sy,  0.0%ni, 50.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   2074392k total,   686080k used,  1388312k free,    48636k buffers
Swap:  6072528k total,        0k used,  6072528k free,   542200k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                              
16246 root      20   0  1772  532  444 S  100  0.0   0:37.86 mysqld_safe                                                           
    1 root      20   0  2844 1696  548 S    0  0.1   0:01.30 init                                                                  
    2 root      15  -5     0    0    0 S    0  0.0   0:00.00 kthreadd

I think you should check this and see if it's a coincidence or a real bug in the installation process.



From: at: 2008-07-29 10:09:03

Before going to install ISP Config, run:

 apt-get install iptables

 This is needed else ISP Config installation comes to a halt

From: at: 2008-08-21 16:31:54

This guide also works with Ubuntu Server 8.04 JeOS (to be specific: 8.04.1 as of now) - the Linux distribution aimed at virtual machines. The only thing missing is cron, so you need to

apt-get install cron

before installing ISPConfig. Everything else seems to be okay. :-)

From: at: 2008-08-27 11:41:13

Following your guide (which is great btw !)
When I tried installing ISPConfig I needed the following additional packages :


to install use " apt-get install make flex g++ "

after this installation went fine.

People installing ISPConfig, please have a look at because additional action might be required.

From: Steve at: 2008-10-05 16:22:22

I very much appreciate your detailed instruction manual.  Your instructions were clear and the code that needed to be input was clearly laid out.  I would give this tutorial a perfect score except I feel that you dropped the ball at the end.  During the tutorial you talk about using ispconfig but at the end you do not explain how to isntall it.  I looked at the install manual on ispconfig's site but it is far from clear., especially since this is my first time running a linux server and my first time running only in command line.  I would really appreciate a tutorial on how to install ispconfig.  I would suspect that it would be short but possibly include how to download it, either from another computer or through the command line, and how to call the install commands.  ispconfig says it should be a straight forward install after following your istructions but they seem to expect their readers to be at a higher level than what you tutorail was designed for.

From: Hans at: 2008-10-23 21:28:03


Thank you a lot for this good documentation how to set a website with the ubuntu-server.

I dont understand all what I have done ;-)) but it works and I'm sure this is a good start for me.

regards from Switzerland


eg. excuse my poor english

From: Romain at: 2008-11-04 18:53:41

Thank you very much for this tutorial brilliantly done and clear! Thanks again!

From: perspectoff at: 2008-11-19 01:25:59

Your instructions appear needlessly complex for today's Ubuntu installers.

By merely clicking the LAMP server option when installing from the server installation LiveCD, you get Apache 2.2, MySQL 5, and pHp. You don't need to do all the extra steps you led us through. Similarly, Bind9 is the default DNS server installed with the DNS server option -- you don't need to install it separately. Also, Postfix is the default Mail server installed when ticking the Mailserver option. You could have saved a few steps...

Clearly these are the best and easiest packages for routine server use. In addition to the above, for a (collaborative) web page content management system run from the server, I use Drupal (available as a package drupal5 from the repositories). For the perfect Groupware server setup on Ubuntu Hardy, however, I like the (open source) Kolab server components. Since Kolab has a package for Debian/Ubuntu, it is easy to install from the repositories. In such a situation, no extra packages are installed at the initial installation (i.e. no LAMP, Mail server, DNS server, or SSH server). Kolab chooses its own most compatible components and installs them all automatically. Detailed instructions for a Kolab server on Ubuntu Hardy are at

From: at: 2008-12-18 15:16:30

If you have to reboot your server you probably want it to be back up very quickly, right? A main reason that dash is used instead of bash is because bash, being a full-featured shell, starts up much more slowly. By making the default Dash, which is a simple but posix-compatible shell, system boots up much quicker.

For those shell scripts that really need bash and can't be rewritten, the sh-bang at the beginning should be #!/usr/bin/bash instead of #!/bin/sh.

That way you can still leave the default in place.

From: at: 2009-01-02 17:22:59

apt-get install ffmpeg php5-ffmpeg

can't find ffmpeg using php

this is the test ffmpeg script

how fix it? =(

From: at: 2009-02-13 13:15:44

To remove this error from /var/log/apache2/error.log , you have to change ispconfig config.

In file /home/admispconfig/ispconfig/lib/ change the line from:

$go_info["server"]["apache2_php"] = 'both';


$go_info["server"]["apache2_php"] = 'addtype';

Change a website config (enable CGI scripts for example, save and disable it after) to apply change in Apache config.

From: at: 2009-05-31 10:47:38

Did you do step 7, editing the hosts file? it worked for me. Maybe, try redoing this step..

 About your second question I am not sure. Good luck..

From: Mike at: 2009-05-27 05:17:29

Hi first of all thanks for the step by step config... I follow same steps but It looks like i m having a problem ...when i check the hostname via using hostname command i get the host name. but when i try to enter hostname -f ... its says unknown host ... also after installing the quota when i try to mount the disk to user and grp.. it says cannot find filesystem to check.... i m not sure wht i m doing wrng.. i uninstall the quota n then install it back on but still ... can you please give me a hand with this.. thanks


From: at: 2010-06-07 19:12:07


But you forgot something VERY important: to install NetAddr::IP AND Archive::Tar Perl Modules.

For those how tried to install ISPConfig without this two modules and got errors, you must do this...

Installing modules using CPAN via AS ROOT:

$perl -MCPAN -e shell
install NetAddr::IP
install Archive::Tar

Cheers, King Beto

From: Anonymous at: 2010-06-24 20:04:57

Thanks! It seems to me, that step was not needed in previos versions. Now it is. Sorry for my english.

From: at: 2012-06-09 07:40:39

just noticed that I am running 8.04 and I want to upgrade this to 10.04. Is it just to do an upgrade and things will still work, or are there things in ISPConfig that needs changing and/or other settings that I must change as well then?

Would be a nice addition to this setup - which I must give you big High 5s for. The Perfect Server Setup Guides are _the_ best out there.