The Perfect Server - CentOS 4.8 Server i386 [ISPConfig 2]

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Tue, 2009-09-08 16:44. :: CentOS | ISPConfig

The Perfect Server - CentOS 4.8 Server i386 [ISPConfig 2]

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

This tutorial shows how to set up a CentOS 4.8 server that offers all services needed by ISPs and web hosters: Apache web server (SSL-capable), Postfix mail server with SMTP-AUTH and TLS, BIND DNS server, Proftpd FTP server, MySQL server, Dovecot POP3/IMAP, Quota, Firewall, etc. This tutorial is written for the 32-bit version of CentOS 4.8, but should apply to the 64-bit version with very little modifications as well. In the end you should have a system that works reliably, and if you like you can install the free webhosting control panel ISPConfig (i.e., ISPConfig runs on it out of the box).

I will use the following software:

  • Web Server: Apache 2.0.x with PHP 4.3.9, mod_ruby, mod_python
  • Database Server: MySQL 4.1
  • Mail Server: Postfix
  • DNS Server: BIND9 (chrooted!)
  • FTP Server: proftpd
  • POP3/IMAP server: dovecot
  • Webalizer for web site statistics

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

I want to say first that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!

 

Requirements

To install such a system you will need the following:

 

1 Install The Base System

Boot from your CentOS 4.8 DVD or CD (CD 1).

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:

We want to install a server so we choose Server here:

Next we do the partitioning. Select Automatically partition. This will give you a smalll /boot partition and a large / partition which is fine for our purposes:

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

Select Remove all partitions on this system.

We want to remove all Linux partitions, so we answer Yes to the following question:

The installer presents you an overview of our new partitions. Click on Next:

Now the boot loader GRUB will be installed. You can leave the default settings unchanged and click on Next:


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 Anonymous (not registered) on Fri, 2009-09-11 14:34.
...when 5.3 is available?  In fact, C5 is almost 16 months old.
Submitted by Anonymous (not registered) on Fri, 2010-07-16 21:34.

Actually, it will be a really bad idea to start with CenOS 4.8 on a fresh system when 5.x is already available. The path to 4.x->5.x upgrade is complicated and unreliable. I have a C4.8 installed a while ago, and it has lots of obsolete packages that cannot be upgraded beyond certain version.
 
 

Submitted by Anonymous (not registered) on Mon, 2011-05-30 11:06.

HI,

IT is always best to use new upgraded one.

I am not able install libmemcached on centos 4.3.9 

it is working in 5.5.3

http://www.lampdeveloperworld.in/