The Perfect Server - Debian Lenny (Debian 5.0) With BIND & Dovecot [ISPConfig 3]

Version 1.1
Author: Falko Timme
Follow me on Twitter
Last edited 01/14/2011

This tutorial shows how to prepare a Debian Lenny (Debian 5.0) server for the installation of ISPConfig 3, and how to install ISPConfig 3. ISPConfig 3 is a webhosting control panel that allows you to configure the following services through a web browser: Apache web server, Postfix mail server, MySQL, BIND nameserver, PureFTPd, SpamAssassin, ClamAV, and many more. This tutorials differs from The Perfect Server - Debian Lenny (Debian 5.0) With MyDNS & Courier [ISPConfig 3] in that I use BIND and Dovecot here instead of MyDNS and Courier (of course, the other two variants - BIND & Courier or MyDNS and Dovecot are possible as well).

Please note that this setup does not work for ISPConfig 2! It is valid for ISPConfig 3 only!

I do not issue any guarantee that this tutorial 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 The Base System

Insert your Debian Lenny network installtion CD into your system and boot from it. Select Install (this will start the text installer - if you prefer a graphical installer, select Graphical install):

Choose your language:

Then select your location:

Choose a keyboard layout:

The installer checks the installation CD, your hardware, and configures the network with DHCP if there is a DHCP server in the network:

Enter the hostname. In this example, my system is called server1.example.com, so I enter server1:

Enter your domain name. In this example, this is example.com:

Now you have to partition your hard disk. For simplicity's sake I will create one big partition (with the mount point /) and a little swap partition so I select Guided - use entire disk (of course, the partitioning is totally up to you - if you like, you can create more than just one big partition, and you can also use LVM):

Select the disk that you want to partition:

Then select the partitioning scheme. As mentioned before, I select All files in one partition (recommended for new users) for simplicity's sake - it's up to your likings what you choose here:

When you're finished, select Finish partitioning and write changes to disk:

Select Yes when you're asked Write changes to disks?:

Share this page:

9 Comment(s)

Add comment

Comments

From: Astral God at: 2010-10-29 08:31:37

You have missed the "phpmyadmin" in your command line. phpMyAdmin is not installed.

From: radd at: 2011-01-05 01:14:37

@step 11

From: Anonymous at: 2010-12-03 07:52:28

I can not access ISPConfig. I receive access denied on port 8080

From: prl3k at: 2010-12-26 14:40:57

U should open ports on router.

From: at: 2011-01-23 20:31:42

great tutorial. worked like a charm 

From: Anonymous at: 2011-02-09 17:50:49

Wrote:

"We must tell SquirrelMail that we are using Courier-IMAP/-POP3: "

But we must select "Dovecot" and 2 times?

It's wrong, don't? 

 

From: thejay at: 2011-02-09 18:13:46

Hi again.

Thanks in advance for this tutorial, it's excellent.

 I made it using VirtualBox, so is it necessary make the 19.1 step?

 Thanks again.

From: Andreas at: 2011-02-01 09:44:57

Hello,

 how can i change or renew the SSL certificate that was made with the isp config installation?

From: Bharath at: 2012-02-05 08:47:50

In some instances you may need to install necessary perl modules for DKIM to function properly with amavisd-new

apt-get install libmail-dkim-perl