The Perfect Server - CentOS 5.7 x86_64 [ISPConfig 3]

Version 1.0
Author: Falko Timme
Follow me on Twitter
Last edited 09/26/2011

This tutorial shows how to prepare a CentOS 5.7 x86_64 server for the installation of ISPConfig 3, and how to install ISPConfig 3. ISPConfig 3 is a webhosting control panel that allows you to configure the following services through a web browser: Apache web server, Postfix mail server, MySQL, BIND nameserver, PureFTPd, SpamAssassin, ClamAV, and many more.

Please note that this setup does not work for ISPConfig 2! It is valid for ISPConfig 3 only!

I do not issue any guarantee that this will work for you!


1 Requirements

To install such a system you will need the following:


2 Preliminary Note

In this tutorial I use the hostname with the IP address and the gateway These settings might differ for you, so you have to replace them where appropriate.


3 Install The Base System

Boot from your first CentOS 5.7 CD (CD 1) or the first CentOS 5.7 DVD. Press <ENTER> at the boot prompt:

It can take a long time to test the installation media so we skip this test here:

The welcome screen of the CentOS installer appears. Click on Next:

Choose your language next:

Select your keyboard layout:

I'm installing CentOS 5.7 on a fresh system, so I answer Yes to the question Would you like to initialize this drive, erasing ALL DATA?

Now we must select a partitioning scheme for our installation. For simplicity's sake I select Remove linux partitions on selected drives and create default layout. This will result in a small /boot and a large / partition as well as a swap partition. Of course, you're free to partition your hard drive however you like it. Then I hit Next:

Answer the following question (Are you sure you want to do this?) with Yes:

On to the network settings. The default setting here is to configure the network interfaces with DHCP, but we are installing a server, so static IP addresses are not a bad idea... Click on the Edit button at the top right.

In the window that pops up uncheck Dynamic IP configuration (DHCP) and Enable IPv6 support and give your network card a static IP address (in this tutorial I'm using the IP address for demonstration purposes) and a suitable netmask (e.g.; if you are not sure about the right values, might help you):

Set the hostname manually, e.g., and enter a gateway (e.g. and up to two DNS servers (e.g. and

Choose your time zone:

Give root a password:

Share this page:

8 Comment(s)

Add comment


From: at: 2012-01-19 11:41:20

step 9 doesn't find the phpmyadmin package.

thanks to Mikel for the fix from this post (

here is the solution 

step 9 should be like this

cd /tmp
rpm -ivh rpmforge-release-0.5.1-1.el5.rf.i386.rpm


please correct me if my comment is incorrect, im just trying to add and possibly help someone else

From: gavimobile at: 2012-05-19 18:20:11

i had an issue today where yum list getmail* wouldnt find getmail in the repository so i downloaded it manually. maybe this will help someone

cd /tmp


rpm -ivh getmail-4.9.0-1.el5.rf.noarch.rpm


From: Bethanol at: 2012-09-23 16:27:06

I got to that last step where it installs php-mcrypt and it informs me that: No package php-mcrypt available.
I dont know if this is any help, or what i missed.

From: Lucas Candido at: 2011-11-11 13:50:59

In the last step I had this problem:

Stopping httpd:                                            [  OK  ]
Syntax error on line 47 of /etc/httpd/conf/sites-enabled/000-ispconfig.vhost:
Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration
Starting httpd:                                            [FAILED]

It was solved by installing the mod_ssl

yum install mod_ssl

From: 20yearserverguy at: 2011-11-17 16:16:34

Also at the end, the author forgot the S in https:// instead of http://


From: at: 2012-03-28 07:54:59

Thanks a lot!

From: jessecfisher at: 2012-05-31 15:12:14

I did not use this tutorial from start to finish, so my server setup is not identical to what is shown. 

I could not connect to port 8080.

My quick and dirty solution was to disable iptables 

 service iptables stop


From: manos at: 2013-06-03 22:48:14

Thanks, thanks, thanks, thanks.

This was an excelent toutorial.

I had my server up and running in half an hour.

Also the comments help with the https issue.

You are great