The Perfect Server - CentOS 6.3 x86_64 (nginx, Dovecot, ISPConfig 3)

Version 1.0
Author: Falko Timme
Follow me on Twitter
Last edited 08/06/2012

This tutorial shows how to prepare a CentOS 6.3 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: nginx web server, Postfix mail server, MySQL, BIND nameserver, PureFTPd, SpamAssassin, ClamAV, Mailman, and many more. Since version 3.0.4, ISPConfig comes with full support for the nginx web server in addition to Apache; this tutorial covers the setup of a server that uses nginx, not Apache.

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 6.3 DVD (DVD 1). Select Install or upgrade an existing system:

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 assume that you use a locally attached hard drive, so you should select Basic Storage Devices here:

You might see the following warning - Error processing drive. If you see this click on the Re-initialize all button to proceed:

Fill in the hostname of the server (e.g., then click on the Configure Network button:

Go to the Wired tab, select the network interface (probably eth0) and click on Edit...:

Mark the Connect automatically checkbox and go to the IPv4 Settings tab and select Manual in the Method drop-down menu. Fill in one, two, or three nameservers (separated by comma) in the DNS servers field (e.g.,, then click on the Add button next to the Addresses area:

Now give your network card a static IP address and netmask (in this tutorial I'm using the IP address and netmask for demonstration purposes; if you are not sure about the right values, might help you). Also fill in your gateway (e.g. and click on the Apply... button:

The network configuration is now finished. Click on the Next button:

Share this page:

6 Comment(s)

Add comment


From: Dylan Myers at: 2012-08-11 06:32:38

Anyone who uses this tutorial should be aware of this bug with the changes ISPConfig3 makes to dovecot on Fedora/CentOS installs:

From: Newbie at: 2012-08-18 11:51:38

Is it possible to have the above setup used with Centos 6.0?

Centos 6.0 +  Nginx + Mysql + PHP + ISPconfig 3.

From: at: 2013-01-10 06:33:01

I think it should be fine for CentOS 6.0

From: Clemmo at: 2012-08-13 16:51:11

Am pleased to see your picture Falko, seeing the face behind the famous name ! I, and believe many others have benefited immensely from your generous voluntary contributions especially from these HowTo's.

Kudo's Falko,




From: at: 2012-11-09 06:54:46

If you do an installation from command line eg. OpenVZ template, you need to install "Basic Server" with yum:

yum update -y    #Fixes an earlier yum package bug

yum groupinstall "base", "console-internet", "core", "debugging", "directory-client", "hardware-monitoring", "java-platform", "large-systems", "network-file-system-client", "performance", "perl-runtime", "server-platform"

From: kosta at: 2013-02-18 20:03:01

and where is dovecot?

 there is no installation in guide and ispconfig has not configured it