Options For ThisHowtoVMware Images:
The Perfect Server -CentOS 5.5 x86_64[ISPConfig 2] (832.1MB) (05/20/2010)
VMware Image ImportGuideList of all VMwareImages
Free SupportPaid Support
NavigationHowtos
LinuxCentOSDebianFedoraKernelMandrivaPCLinuxOSSuSEUbuntu
Web Server
English | Deutsch | Site Map/RSS Feeds | Advertise
You are here: Home » Howtos » Linux » CentOS » The Perfect Serv er - CentOS 5.5 X86_64 [ISPConfig 2]
The Perfect Server - CentOS 5.5 x86_64 [ISPConfig 2]
Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Submitted by falko (Contact Author) (Forums) on Tue, 2010-05-25 17:17. :: CentOS | ISPConfig
The Perfect Server - CentOS 5.5 x86_64[ISPConfig 2]Version 1.0
Author: Falko Timme <ft [at] falkotimme [dot] com>
Follow me on TwitterLast edited 05/20/2010
This tutorial shows how to set up a CentOS 5.5 server (x86_64) that offers all servicesneeded by ISPs and web hosters: Apache web server (SSL-capable), Postfix mailserver 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 64-bit version ofCentOS 5.5, but should apply to the 32-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.2 with PHP 5.1.6Database Server: MySQL 5.0
LXerFAQForgeSubscriptionContributeSearchNewsForumsHowtos
PDFmyURL.com
Web ServerApacheCherokeeLighttpdnginx
BackupControl Panels
ISPConfig
DNSBINDMyDNSPowerDNSdjbdns
DesktopEmail
Anti-Spam/VirusPostfixProcmailSendmail
FTPHigh-AvailabilityMonitoringMySQL
Mail Server: PostfixDNS Server: BIND9 (chrooted)FTP Server: ProftpdPOP3/IMAP server: DovecotWebalizer for web site statisticsPlease 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!
1 RequirementsTo install such a system you will need the following:
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:http://isoredirect.centos.org/centos/5/isos/x86_64/).a fast Internet connection.
2 Preliminary NoteIn this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100 and the gateway 192.168.0.1. Thesesettings might differ for you, so you have to replace them where appropriate.
3 Install The Base SystemBoot from your first CentOS 5.5 CD (CD 1) or the first CentOS 5.5 DVD. Press <ENTER> at the boot prompt:
PDFmyURL.com
MySQLProgramming
C/C++PHP
SambaSecurity
Anti-Spam/Virus
StorageVirtualization
KVMOpenVZVMwareVirtualBoxXen
OtherFreeBSDCommercial
Mini-HowtosForumsContributeSubscriptionLogin It can take a long time to test the installation media so we skip this test here:
PDFmyURL.com
Site Map/RSS Feeds
User loginUsername:
Password:
Remember Me?
Log inCreate a new accountRequest new password
Who's onlineThere are currently 12users and 2714 guestsonline.
HowtoForgeForums
Plugin system withversion upgrade.DNS RecordConfirmationftp login failedpure-ftpd userlogin - how doesit work?cant access newsub domainISPconfig 2 FTPtransfer slow onLANReinstallingISPConfig and
The welcome screen of the CentOS installer appears. Click on Next:
PDFmyURL.com
ISPConfig andtrying to minimise...securing php.ini?New install,clients directoryother place?Read Users Email
NewsMeet David Faurewebcam-server-dial og:A basic front-end towebcam-serverConvert CHM files toPDF for Nook andAmazon Kindle usingLinuxLinux Desktop PC onSteroids FromZaReason7 of the Best Free LinuxPhoto ManagementSoftwareBell's CTV Buy Basedon Failed Strategyaptosid 2010-02 ReviewUbuntu HardwareSummit to Host Leading
Choose your language next:
PDFmyURL.com
Original DesignManufacturers(ODM's)Speed Up Your UbuntuNetbook With ThisSmall TweakIs it really that hard tofollow the GPL?
more
Recentcomments
Thanks!13 hours 51 min agoRe: Phpmyadmin21 hours 31 min agoRe: Re: Re: Step 10Update23 hours 6 min agoExelent post1 day 2 hours agoRe: No wireless1 day 8 hours agoidea is good butimplementation is ... notso good1 day 9 hours agopassword
Select your keyboard layout:
PDFmyURL.com
password1 day 12 hours agoThanks so much!1 day 14 hours agoJust because you CANdoesn't meanyou SHOULD2 days 5 hours agonginx, php5 web serverscripted installation2 days 5 hours ago
NewsletterSubscribe toHowtoForgeNewsletterand stay informed aboutour latest HOWTOs andprojects.
enter email address
Submit
(To unsubscribe fromour newsletter, visit thislink.)
Syndicate I'm installing CentOS 5.5 on a fresh system, so I answer Yes to the question Would you like to initialize this drive, erasingALL DATA?
PDFmyURL.com
HowtoForge Feed forFacebook®
"Facebook" is a registeredtrademark 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 selecteddrives 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 IPaddresses 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 astatic 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
nextThe Perfect Server - CentOS 5.5 x86_64 [ISPConfig 2] - Page 2
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
PDFmyURL.com
Copyright © 2010 Falko TimmeAll 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 be pub lished after administrator approval.
Sponsored Links: Turn your desk phone and mobile phone into one w ith Sprint Mobile Integration.w w w.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.w w w.seamlessenterprise.com
One Number. One Voicemail.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 number. One voicemail. Sprint Mobile Integration.w w w.seamlessenterprise.com
One number. one voicemail. Seize the lead w ith Sprint. Learn more
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning
Learn benefits of Simpana software.View the Gartner Video
Sprint 4G - The Ultimate Mobile BroadbandClick here
SAP-Business Objects Crystal Reports ServerComplete reporting w ithout hidden costs. Free Trial
Blade Server Information Free White Paper. Turbocharge Your Data Center. Dell w/ Intel® Xeon. www.TalkToDell.com
Server Virtualization Increase IT Agility & Reduce Costs. Download Virtualization White Paper www.ca.com/Virtualization
Centrify Active Directory Web Server Authentication Across Multiple Platforms. Get White Paper www.Centrify.com/FreeWhitePaper
PDFmyURL.com
Howtos | Mini-Howtos | Forums | News | Search | Contribute | SubscriptionSite Map/RSS Feeds | Advertise | Contact | Disc laimer | Imprint
Copyright © 2010 HowtoForge - Linux Howtos and TutorialsAll Rights Reserved.
PDFmyURL.com