The Perfect Setup - Fedora Core 3

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Sat, 2005-07-16 13:33. :: Fedora | ISPConfig

This is a "copy & paste" HowTo! The easiest way to follow this tutorial is to use a command line client/SSH client (like PuTTY for Windows) and simply copy and paste the commands (except where you have to provide own information like IP addresses, hostnames, passwords,...). This helps to avoid typos.

The Perfect Setup - Fedora Core 3

Version 1.1
Author: Falko Timme <ft [at] falkotimme [dot] com>
Last edited: 10/13/2005

This is a detailed description about the steps to be taken to setup a Fedora Core 3 based server that offers all services needed by ISPs and hosters (web server (SSL-capable), mail server (with SMTP-AUTH and TLS!), DNS server, FTP server, MySQL server, POP3/IMAP, Quota, Firewall, etc.). In addition to that I will show how to use Debian's package manager apt on an rpm-based system because it takes care of package dependencies automagically which can save a lot of trouble.

I will use the following software:

  • Web Server: Apache 2.0.x
  • Mail Server: Postfix (easier to configure than sendmail; has a shorter history of security holes than sendmail)
  • DNS Server: BIND9
  • FTP Server: proftpd
  • POP3/IMAP servers
  • Webalizer for web site statistics

In the end you should have a system that works reliably and is ready for 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!

Requirements

To install such a system you will need the following:

1 The Base System

Boot from your Fedora Core 3 CD (CD 1) or DVD.

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

The welcome screen of the Fedora installer appears:

Choose your language next:

Select your keyboard layout:

We want to install a server so we choose Server here:

Now we have to partition our hard disk. You can choose to let the Fedora installer do the partitioning, or you can do it yourself. I want to create a small /boot partition (less than 100 MB) with the file system ext3, a swap partition and a huge / partition (again with ext3):

Now the boot loader GRUB will be installed. You can leave the default settings unchanged and click on Next:


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by Anonymous on Tue, 2005-08-30 22:45.
I havent used debian, though everyone i know who has always raves about apt-get. It doesnt seem to work as well on Fedora - i used yum to do what apt-get does (and also to keep my entire system up to date), but otherwise, a really awesome document...(well, the first half - which is where i am now.
Submitted by Anonymous on Mon, 2005-08-22 14:42.
Wonderful guides. I tried the setup guide for Debian. I have a Debian system running apache & ntp. Next step would've been dns then mail server. I previously tried setting up dns on Debian (sarge) myself, following the docs and file comments so I ended up with a chroot'd bind. Didn't work, so I gave up on it. Then ran into your wonderful guides, and tried again. Just the dns part. Kept running into a permission problem, when trying to start bind. I probably got the permissions or ownership wrong in the subdirectories that need to be created for chrooting bind, but with some googling, I also found notes related to the error message about permissions when attempting to start bind and some bug in Sarge/Debian.

The error message is something like, failed to start, and then something about a permission problem. Don't have the log anymore since Debian Sarge removes syslog files after a week, and I de-installed bind, planning to try reinstalling it at a later date after removing the subdirectories.

Keep the guides coming. If/when I get it all working, I'll be sending a token showing my appreciation.

One more thing: The server currently running apache, I plan on using that as the mail server (light) and one of two dns servers. The second dns server will be located on someone else's subnet. The apache server serves multiple sites via virtual names. What would you name the hostname of the server? ns1@somedomain.com would be out, because that would become the domain name for each virtual web site as well, right? To use something like ns1@somedomain, then it would be suggested to use a separate box for dns altogether? Or is this still feasible?
Submitted by Anonymous on Mon, 2005-08-22 22:13.

Have you tried checking the authors website for Debian Perfect Setup?

I have referenced it several times for the latest release, 3.1.

http://www.falkotimme.com/howtos/perfect_setup_debian_sarge/index.php