Dddd
2010
[THE PERFECT SERVER ‐ CENTOS 5.4 X86_64 WITH ISPCONFIG 3]
This tutorial shows how to prepare a CentOS 5.4 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, MyDNS 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!
[THE PERFECT SERVER ‐ CENTOS 5.4 X86_64 WITH ISPCONFIG 3]
UPDATED APRIL 11, 2010
Disclaimer This paper is extracted from the guide The Perfect Server ‐ CentOS 5.4 x86_64 [ISPConfig 3] originally created by Falko Timme and can be found at http://www.howtoforge.com/perfect‐server‐centos‐5.4‐ x86_64‐ispconfig‐3. I just copied it without images to have a printed version for easy access when deploying a CentOS Server. The software links are updated to the date of publishing this paper.
2
[THE PERFECT SERVER ‐ CENTOS 5.4 X86_64 WITH ISPCONFIG 3]
Content
1 REQUIREMENTS 2 PRELIMINARY NOTE 3 INSTALL THE BASE SYSTEM 4 ADJUST /ETC/HOSTS 5 CONFIGURE ADDITIONAL IP ADDRESSES 6 DISABLE THE FIREWALL AND SELINUX 7 INSTALL SOME SOFTWARE 8 QUOTA 9 INSTALL APACHE, MYSQL, PHPMYADMIN 10 INSTALL COURIER‐IMAP, COURIER‐AUTHLIB, AND MAILDROP 11 APPLY QUOTA PATCH TO POSTFIX 12 CONFIGURE COURIER 13 INSTALL GETMAIL 14 SET MYSQL PASSWORDS AND CONFIGURE PHPMYADMIN 15 INSTALL AMAVISD‐NEW, SPAMASSASSIN AND CLAMAV 16 INSTALLING APACHE2 WITH MOD_PHP, MOD_FCGI/PHP5, AND SUPHP 17 INSTALL PUREFTPD 18 INSTALL MYDNS 5 5 5 6 7 8 9 9 10 11 15 17 18 19 20 20 23 24
3
[THE PERFECT SERVER ‐ CENTOS 5.4 X86_64 WITH ISPCONFIG 3]
19 INSTALL VLOGGER AND WEBALIZER 20 INSTALL JAILKIT 21 INSTALL FAIL2BAN 22 INSTALL RKHUNTER 23 INSTALL SQUIRRELMAIL 24 INSTALL ISPCONFIG 3 CONFIGURATION SHEET 24 25 25 25 26 27 29
4
[THE PERFECT SERVER ‐ CENTOS 5.4 X86_64 WITH ISPCONFIG 3]
1 Requirements
To install such a system you will need the following:
Download the CentOS 5.4 DVD or the seven CentOS 5.4 CDs from a mirror next to you (the list of mirrors can be found here: http://isoredirect.centos.org/centos/5/isos/x86_64/). a fast internet connection.
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 5.2 CD (CD 1) or the CentOS 5.2 DVD. Press 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.2 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 Use dynamic IP configuration (DHCP) and Enable IPv6 ...
Regístrate para leer el documento completo.