This tutorial shows how to set up a CentOS 5.1 based 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 5.1, but should apply to the 64-bit version with very little modifications as well.
I will use the following software:
- Web Server: Apache 2.2 with PHP 5.1.6
- Database Server: MySQL 5.0
- Mail Server: Postfix
- DNS Server: BIND9 (chrooted)
- FTP Server: Proftpd
- POP3/IMAP server: Dovecot
- Webalizer for web site statistics
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!