Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack (1) Thread Tools Display Modes
Old 06-12-2007, 09:10 PM   1 links from elsewhere to this Post. Click to view. #1 (permalink)
Unmountable Boot Volume
 
Cyrus_the_virus's Avatar
 
Join Date: Sep 2007
Location: Kerala
Posts: 907
Thumbs up CentOS 5.1 Server Setup: LAMP, Email, DNS, FTP, ISPConfig (a.k.a. The Perfect Server)


Author: Falko Timme <ft [at] falkotimme [dot] com>

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
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 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 Requirements

To install such a system you will need the following: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.1 CD (CD 1) or the CentOS 5.1 DVD. Press <ENTER> at the boot prompt:





It can take a long time to test the installation media so we skip this test here:





(JavaScript must be enabled in your browser to view the large image as an image overlay.)
The welcome screen of the CentOS installer appears. Click on Next:





(JavaScript must be enabled in your browser to view the large image as an image overlay.)
Choose your language next:





(JavaScript must be enabled in your browser to view the large image as an image overlay.)
Select your keyboard layout:





(JavaScript must be enabled in your browser to view the large image as an image overlay.)
I'm installing CentOS 5.1 on a fresh system, so I answer Yes to the question Would you like to initialize this drive, erasing ALL DATA?





(JavaScript must be enabled in your browser to view the large image as an image overlay.)
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:





(JavaScript must be enabled in your browser to view the large image as an image overlay.)
Answer the following question (Are you sure you want to do this?) with Yes:





(JavaScript must be enabled in your browser to view the large image as an image overlay.)
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.





(JavaScript must be enabled in your browser to view the large image as an image overlay.)
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):





(JavaScript must be enabled in your browser to view the large image as an image overlay.)
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. 145.253.2.75 and 193.174.32.18):





(JavaScript must be enabled in your browser to view the large image as an image overlay.)

Choose your time zone:





Give root a password:




Click Here for complete guide in view of giving the original Author the credits
__________________
Webhosting for Rs12/month!!
http://www.thinkdigit.com/forum/showthread.php?t=74717

http://www.outpowerhosting.com
Cyrus_the_virus is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 06-12-2007, 09:16 PM   #2 (permalink)
Dreamweaver
 
Gigacore's Avatar
 
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
Default Re: CentOS 5.1 Server Setup: LAMP, Email, DNS, FTP, ISPConfig (a.k.a. The Perfect Server)

thanks for the info
__________________
Today's noobs are tomorrow's geeks. Don't make fun of them.. encourage them. - Gigacore

Follow me on twitter.com/gigacore
Gigacore is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.thinkdigit.com/forum/open-source/75017-centos-5-1-server-setup-lamp-email-dns-ftp-ispconfig-k-perfect-server.html
Posted By For Type Date
Thread Mail and DNS troubles with ISPconfig 3 in Ubuntu 10.04 | HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials | BoardReader This thread Refback 18-08-2010 03:12 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOw to setup a intl cs server iMav Gamerz 2 27-11-2007 04:25 PM
Bulk Email Server Benefits bulletproofhost Internet & WWW 2 12-07-2007 01:52 AM
Guide On How To Setup U R Free HTTP Server krishnansurya Tutorials 14 02-10-2005 02:51 PM
Trying to setup a home server pradeep_chauhan QnA (read only) 5 27-03-2005 02:35 PM
tutorial request- how do i setup a dedicated server, after b sunnydiv Tutorials 5 02-03-2005 01:06 PM

 
Latest Threads
- by Charan
- by Charan

Advertisement




All times are GMT +5.5. The time now is 05:24 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2