You are on page 1of 17

Howtos Forums News Search Contribute Subscription FAQForge LXer

English | Deutsch | Site Map/RSS Feeds | Advertise

Options For This


Howto
VMware Images:

You are here: Home » How tos » Linux » CentOS » The Perfect Serv er - CentOS 5.5 X86_64 [ISPConfig 2]

The Perfect Server - The Perfect Server - CentOS 5.5 x86_64 [ISPConfig 2]
CentOS 5.5 x86_64
[ISPConfig 2] (832.1
MB) (05/20/2010) Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
VMware Image Import
Guide Submitted by falko (Contac t Author) (Forums) on Tue, 2010-05-25 17:17. :: CentOS | ISPConfig
List of all VMware
Images
The Perfect Server - CentOS 5.5 x86_64
Free Support [ISPConfig 2]
Paid Support
Version 1.0
Author: Falko Timme <ft [at] falkotimme [dot] com>
Follow me on Twitter
Navigation
Last edited 05/20/2010
Howtos
This tutorial shows how to set up a CentOS 5.5 server (x86_64) that offers all services
Linux
needed by ISPs and web hosters: Apache web server (SSL-capable), Postfix mail
CentOS
server with SMTP-AUTH and TLS, BIND DNS server, Proftpd FTP server, MySQL server,
Debian Dovecot POP3/IMAP, Quota, Firewall, etc. This tutorial is written for the 64-bit version of
Fedora CentOS 5.5, but should apply to the 32-bit version with very little modifications as well.
Kernel In the end you should have a system that works reliably, and if you like you can install
Mandriva the free webhosting control panel ISPConfig (i.e., ISPConfig runs on it out of the box).

PCLinuxOS I will use the following software:


SuSE
Web Server: Apache 2.2 with PHP 5.1.6
Ubuntu
Database Server: MySQL 5.0
Web Server PDFmyURL.com
Web Server Mail Server: Postfix
Apache DNS Server: BIND9 (chrooted)
Cherokee FTP Server: Proftpd
Lighttpd POP3/IMAP server: Dovecot

nginx Webalizer for web site statistics


Please note that this setup does not work for ISPConfig 3! It is valid for ISPConfig 2 only!
Backup
Control Panels 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!
ISPConfig

DNS
BIND 1 Requirements
MyDNS To install such a system you will need the following:
PowerDNS
Download the two CentOS 5.5 DVDs or the eight CentOS 5.5 CDs from a mirror next to you (the list of mirrors can be found here:
djbdns http://isoredirect.centos.org/centos/5/isos/x86_64/).
Desktop a fast Internet connection.
Email
Anti-Spam/Virus
2 Preliminary Note
Postfix
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
Procmail
settings might differ for you, so you have to replace them where appropriate.
Sendmail

FTP
High-Availability 3 Install The Base System
Monitoring Boot from your first CentOS 5.5 CD (CD 1) or the first CentOS 5.5 DVD. Press <ENTER> at the boot prompt:
MySQL

PDFmyURL.com
MySQL
Programming
C/C++
PHP

Samba
Security
Anti-Spam/Virus

Storage
Virtualization
KVM
OpenVZ
VMware
VirtualBox
Xen

Other
FreeBSD
Commercial

Mini-Howtos
Forums
Contribute
Subscription
It can take a long time to test the installation media so we skip this test here:
Login

PDFmyURL.com
Site Map/RSS Feeds

User login
Username:

Password:

Remember Me?

Log in
Create a new account
Request new password

Who's online
There are currently 12
users and 2714 guests
online.

HowtoForge
Forums
Plugin system with
version upgrade.
DNS Record
Confirmation
ftp login failed
pure-ftpd user
login - how does
it work?
cant access new
sub domain
ISPconfig 2 FTP
transfer slow on
LAN
Reinstalling The welcome screen of the CentOS installer appears. Click on Next:
ISPConfig and

PDFmyURL.com
ISPConfig and
trying to minimise
...
securing php.ini?
New install,
clients directory
other place?
Read Users Email

News
Meet David Faure
webcam-server-dial og:
A basic front-end to
webcam-server
Convert CHM files to
PDF for Nook and
Amazon Kindle using
Linux
Linux Desktop PC on
Steroids From
ZaReason
7 of the Best Free Linux
Photo Management
Software
Bell's CTV Buy Based
on Failed Strategy
aptosid 2010-02 Review
Ubuntu Hardware Choose your language next:
Summit to Host Leading

PDFmyURL.com
Original Design
Manufacturers(ODM&
#039;s)
Speed Up Your Ubuntu
Netbook With This
Small Tweak
Is it really that hard to
follow the GPL?
more

Recent
comments
Thanks!
13 hours 51 min ago
Re: Phpmyadmin
21 hours 31 min ago
Re: Re: Re: Step 10
Update
23 hours 6 min ago
Exelent post
1 day 2 hours ago
Re: No wireless
1 day 8 hours ago
idea is good but
implementation is ... not
so good
1 day 9 hours ago
Select your keyboard layout:
password

PDFmyURL.com
password
1 day 12 hours ago
Thanks so much!
1 day 14 hours ago
Just because you CAN
doesn&#039;t mean
you SHOULD
2 days 5 hours ago
nginx, php5 web server
scripted installation
2 days 5 hours ago

Newsletter
Subscribe to
HowtoForge
Newsletter
and stay informed about
our latest HOWTOs and
projects.
enter email address

Submit

(To unsubscribe from


our newsletter, visit this
link.)

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

PDFmyURL.com
HowtoForge Feed for
Facebook®
"Facebook" is a registered
trademark of Facebook, Inc. All
rights reserv ed.

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:

PDFmyURL.com
Answer the following question (Are you sure you want to do this? ) with Yes:

PDFmyURL.com
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.

PDFmyURL.com
In the window that pops up uncheck Use 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.0.100 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):

PDFmyURL.com
Set the hostname manually, e.g. server1.example.com, and enter a gateway (e.g. 192.168.0.1) and up to two DNS servers (e.g.
213.191.92.86 and 145.253.2.75):

PDFmyURL.com
Choose your time zone:

PDFmyURL.com
Give root a password:

PDFmyURL.com
The Perfect Server - CentOS 5.5 x86_64 [ISPConfig 2] - Page 2
The Perfect Server - CentOS 5.5 x86_64 [ISPConfig 2] - Page 3
The Perfect Server - CentOS 5.5 x86_64 [ISPConfig 2] - Page 4
The Perfect Server - CentOS 5.5 x86_64 [ISPConfig 2] - Page 5
The Perfect Server - CentOS 5.5 x86_64 [ISPConfig 2] - Page 6
The Perfect Server - CentOS 5.5 x86_64 [ISPConfig 2] - Page 7

next
The Perfect Server - CentOS 5.5 x86_64 [ISPConfig 2] - Page 2

PDFmyURL.com
Copyright © 2010 Falko Timme
All Rights Reserved.

add comment | view as pdf | print: this | all page(s) |

Please do not use the comment function to ask for help! If you need help, please use our forum .
Comments will b e pub lished after administrator approval.

Sponsored Links: Turn your desk phone and m obile phone into one w ith Sprint Mobile Integration.
w w w .seamlessenterprise.com

One num ber. One voicem ail. Seize the lead. Sprint Mobile Integration.
w w w .seamlessenterprise.com

One Num ber. One Voicem ail.


Make it easier for clients to reach you. Turn your desk phone and mobile phone into one w ith Sprint Mobile Integration.
w w w .seamlessenterprise.com

One num ber. One voicem ail. Sprint Mobile Integration.


w w w .seamlessenterprise.com

One num ber. one voicem ail. Seize the lead w ith Sprint. Learn m ore

AT&T Synaptic Com pute as a Service. Boost your pow er on dem and.

Trial: IBM Cognos Express Reporting, Analysis & Planning

Learn benefits of Sim pana softw are.


View the Gartner Video

Sprint 4G - The Ultim ate Mobile Broadband


Click here

SAP-Business Objects Crystal Reports Server


Complete reporting w ithout hidden costs. Free Trial

Blade Server Information Free White Paper. Turbocharge Your Data Center. Dell w/ Intel® Xeon. www.TalkToDell.c om

Server Virtualization Increase IT Agility & Reduce Costs. Download Virtualization White Paper www.c a.c om/Virtualization

Centrify Active Directory Web Server Authentication Across Multiple Platforms. Get White Paper www.Centrify.c om/FreeWhitePaper

PDFmyURL.com
Howtos | Mini-Howtos | Forums | News | Searc h | Contribute | Subsc ription
Site Map/RSS Feeds | Advertise | Contac t | Disc laimer | Imprint

Copyright © 2010 HowtoForge - Linux Howtos and Tutorials


All Rights Reserved.

PDFmyURL.com

You might also like