The Perfect Setup - Mandrake/Mandriva 10.2
Version 1.0
Author: Falko Timme
Last edited: 07/19/2005
This is a detailed description about the steps to be taken to setup a Mandrake 10.2 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:
- Download the 3 Mandrake 10.2 CD iso images from a mirror near you (the list of mirrors can be found here: http://www.mandrivalinux.com/en/ftp.php3), e.g. ftp://ftp.tu-chemnitz.de/pub/.../i586/Mandriva-Linux-2005-Limited-Edition-Download-CD1.i586.iso, ftp://ftp.tu-chemnitz.de/pub/.../i586/Mandriva-Linux-2005-Limited-Edition-Download-CD2.i586.iso and ftp://ftp.tu-chemnitz.de/pub/.../i586/Mandriva-Linux-2005-Limited-Edition-Download-CD3.i586.iso, or download the DVD iso image, e.g. ftp://ftp.tu-chemnitz.de/pub/.../i586/Mandriva-Linux-2005-Limited-Edition-Download-DVD.i586.iso
- an internet connection...
1 The Base System
Boot from your Mandrake 10.2 CD (CD 1) or DVD. Press Enter to start the installation:
Choose your language next:
Accept the license and click on Next:
Select Standard as the Security level and leave the field Security Administrator empty:
Now we have to partition our hard disk. You can choose to let the Mandrake 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):
Click on Next if you have all three CDs of the Mandrake Download Edition:
Select None and click on Next: