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

4 Enable The root Account

After the reboot you can login with your previously created username (e.g. administrator). Because we must run all the steps from this tutorial as root user, we must enable the root account now.


sudo passwd root

and give root a password. Afterwards we become root by running



5 Install The SSH Server (Optional)

If you did not install the OpenSSH server during the system installation, you can do it now:

apt-get install ssh openssh-server

From now on you can use an SSH client such as PuTTY and connect from your workstation to your Ubuntu 8.04 LTS server and follow the remaining steps from this tutorial.


6 Install vim-full (Optional)

I'll use vi as my text editor in this tutorial. The default vi program has some strange behaviour on Ubuntu and Debian; to fix this, we install vim-full:

apt-get install vim-full

(You don't have to do this if you use a different text editor such as joe or nano.)


7 Configure The Network

Because the Ubuntu installer has configured our system to get its network settings via DHCP, we have to change that now because a server should have a static IP address. Edit /etc/network/interfaces and adjust it to your needs (in this example setup I will use the IP address

vi /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static

Then restart your network:

/etc/init.d/networking restart

Then edit /etc/hosts. Make it look like this:

vi /etc/hosts       localhost.localdomain   localhost     server1
# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

Now run

echo > /etc/hostname
/etc/init.d/ start

Afterwards, run

hostname -f

Both should show now.


8 Edit /etc/apt/sources.list And Update Your Linux Installation

Edit /etc/apt/sources.list. Comment out or remove the installation CD from the file and make sure that the universe and multiverse repositories are enabled. It should look like this:

vi /etc/apt/sources.list

# deb cdrom:[Ubuntu-Server 8.04 _Hardy Heron_ - Release i386 (20080423.2)]/ hardy main restricted
#deb cdrom:[Ubuntu-Server 8.04 _Hardy Heron_ - Release i386 (20080423.2)]/ hardy main restricted
# See for how to upgrade to
# newer versions of the distribution.
deb hardy main restricted
deb-src hardy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb hardy-updates main restricted
deb-src hardy-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb hardy universe
deb-src hardy universe
deb hardy-updates universe
deb-src hardy-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb hardy multiverse
deb-src hardy multiverse
deb hardy-updates multiverse
deb-src hardy-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb hardy-backports main restricted universe multiverse
# deb-src hardy-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb hardy partner
# deb-src hardy partner
deb hardy-security main restricted
deb-src hardy-security main restricted
deb hardy-security universe
deb-src hardy-security universe
deb hardy-security multiverse
deb-src hardy-security multiverse

Then run

apt-get update

to update the apt package database and

apt-get upgrade

to install the latest updates (if there are any).


9 Change The Default Shell

/bin/sh is a symlink to /bin/dash, however we need /bin/bash, not /bin/dash. Therefore we do this:

ln -sf /bin/bash /bin/sh

If you don't do this, the ISPConfig installation will fail.


10 Disable AppArmor

AppArmor is a security extension (similar to SELinux) that should provide extended security. In my opinion you don't need it to configure a secure system, and it usually causes more problems than advantages (think of it after you have done a week of trouble-shooting because some service wasn't working as expected, and then you find out that everything was ok, only AppArmor was causing the problem). Therefore I disable it (this is a must if you want to install ISPConfig later on).

We can disable it like this:

/etc/init.d/apparmor stop
update-rc.d -f apparmor remove

Till told me that he also had to do this step (which was not necessary on my installation), so if you want to go sure, do this on your system as well:

apt-get remove apparmor apparmor-utils

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.