The Perfect Server - CentOS 5.10 x86_64 [ISPConfig 3]

Version 1.0
Authors: Falko Timme, Srijan Kishore
Last edited 04/Mar/2014

This tutorial shows how to prepare a CentOS 5.10 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:

  • Download the two CentOS 5.10 DVDs or the eight CentOS 5.10 CDs from a mirror next to you (the list of mirrors can be found here: http://isoredirect.centos.org/centos/5.10/isos/) for both 32/64Bit architectures.
  • a fast Internet connection.

 

2 Preliminary Note

In this tutorial I use the hostname example.domain.tld with the IP address 192.168.2.249 and the gateway 192.168.2.254. 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.10 CD (CD 1) or the first CentOS 5.10 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.10 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 192.168.2.249 for demonstration purposes) and a suitable netmask (e.g. 255.255.255.0; if you are not sure about the right values, http://www.subnetmask.info might help you):

Set the hostname manually, e.g. example.domain.tld, and enter a gateway (e.g. 192.168.2.249) and up to two DNS servers (e.g. 192.168.1.200 and 8.8.8.8):

Choose your time zone:

Give root a password:

Share this page:

5 Comment(s)

Add comment

Comments

From: Anonymous at: 2014-03-05 08:59:51

I wouldn't advise on using centos5 any more. The latest ssl libraries can not be installed on it.

From: at: 2014-03-06 10:57:45

I agree with you that Centos 5 should not be preferred for new installs. This guide is not meant as advise to use Centos 5.x series over the Centos 6.x. We offer the guide as users demanded to get a install guide for ISPConfig on the latest version of the Centos 5 series.

A up to date list with all perfect Server tutorials for Centos 5. and 6.x can be found here:

http://www.ispconfig.org/page/en/documentation.html

From: at: 2014-03-15 14:31:40

If you got strange problems compiling suPHP try lunch the following command
yum install apr-devel.x86_64 httpd-devel.x86_64
Seems a bug in the repository... 

From: Herbert at: 2014-06-16 07:24:14

I changed my bind configuration because in Registro.br (Registar in Brazil) do not accept my domain configuration.

//

// named.conf

//

// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS

// server as a caching only nameserver (as a localhost DNS resolver only).

//

// See /usr/share/doc/bind*/sample/ for example named configuration files.

//

options {

        listen-on port 53 { any; };

        listen-on-v6 port 53 { any; };

        directory       "/var/named/chroot/var/named";

        dump-file       "/var/named/chroot/var/named/data/cache_dump.db";

        statistics-file "/var/named/chroot/var/named/data/named_stats.txt";

        memstatistics-file "/var/named/chroot/var/named/data/named_mem_stats.txt";

        allow-query     { any; };

        recursion no;

        allow-recursion { none; };

};

logging {

        channel default_debug {

                file "data/named.run";

                severity dynamic;

        };

};

zone "." IN {

        type hint;

        file "named.root";

};

include "/var/named/chroot/var/named/named.local";

From: Mike B at: 2015-02-23 12:40:40

For my CentOS 5.11 64 bit dedicated server, this tutorial will not work. I did everything as per the instructions, and it will not install ISPConfig. You can see my post about the setup problems here- https://www.howtoforge.com/community/threads/problems-with-the-perfect-server-centos-5-10-x86_64-ispconfig-3.68524/ . If youknow how to make this work, please message me, I REALLY need to get this running. Thanks!