The Perfect Server - CentOS 6.0 x86_64 [ISPConfig 3]

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Thu, 2011-08-04 16:01. :: CentOS | ISPConfig | Control Panels

The Perfect Server - CentOS 6.0 x86_64 [ISPConfig 3]

Version 1.0
Author: Falko Timme <ft [at] falkotimme [dot] com>
Follow me on Twitter
Last edited 08/02/2011

This tutorial shows how to prepare a CentOS 6.0 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 server1.example.com with the IP address 192.168.0.100 and the gateway 192.168.0.1. 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.0 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. server1.example.com), 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. 8.8.8.8,8.8.4.4), 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 192.168.0.100 and netmask 255.255.255.0 for demonstration purposes; if you are not sure about the right values, http://www.subnetmask.info might help you). Also fill in your gateway (e.g. 192.168.0.1) and click on the Apply... button:

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


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by Sir Henry (registered user) on Fri, 2012-07-20 08:29.

Too many people do not follow the instructions to set the hostname to server1.example.com, instead they set the hostname to their domainname example.com. Afterwards they get into trouble with postfix. There are many threads with that problem.

 It would be good to add a warning at that point of the tutorial, e.g. Do not set your hostname to your domainname! or similar. Same for the tutorials for the other OSs.

Submitted by Anonymous (not registered) on Sun, 2011-08-28 12:46.
redirection for subdomains not working.  please help..
Submitted by Anonymous (not registered) on Sun, 2011-08-14 06:12.
Hi, does subdomains work for you guys?  I followed this but my problem is that subdomains are not working as they should.
Submitted by Tray2 (not registered) on Fri, 2011-08-05 07:52.

Hey mate nice work there :) One thing i noticed is that you must check the "Connect Automatically" otherwise your network won't start properly. I think that it should bew in the text :)

 

Cheers Tray2