The Perfect Setup - Ubuntu 6.06 LTS Server (Dapper Drake)

Version 1.1
Author: Falko Timme
Last edited 12/01/2006

This is a detailed description about how to set up a Ubuntu 6.06 LTS (Dapper Drake) 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.).

I will use the following software:

  • Web Server: Apache 2.0
  • Database Server: MySQL 5.0
  • Mail Server: Postfix
  • DNS Server: BIND9
  • FTP Server: proftpd
  • POP3/IMAP: I will use Maildir format and therefore install Courier-POP3/Courier-IMAP.
  • 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).

My system's IP address in this tutorial is 192.168.0.100, and my hostname is server1.example.com.

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 The Base System

Insert your Ubuntu install CD into your system and boot from it. Select Install to the hard disk - I did not try Install a LAMP server because I like to have full control over what gets installed to my system:

The installation starts, and first you have to 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:

Now you have to partition your hard disk. I will create one big partition (with the mount point /) and a little swap partition so I select Erase entire disk:

Share this page:

11 Comment(s)

Add comment

Comments

From: Anonymous at: 2006-06-05 17:55:14
From: at: 2007-10-18 19:54:21

I'm not sure how the PHP to MSSQL even got introduced into this thread but the link listed is gone and I'm unable to track it down with a google search. If anyone needs this functionality and got to this page seaching then take a look at this: http://www.howtoforge.com/php5_mssql_debian_etch_free_tds_unix_odbc

From: Anonymous at: 2006-07-03 05:51:39

Interestingly, I have an older machine that I was intending to put a LAMP server of for my own education.  The server CD does not boot up to the menu shown in the first screen capture of this article so there is no option to do a turn-key LAMP installation on this older machine.

This article, therefore, comes in quite handy to allow me to carry on with a LAMP server installation without that turn-key option.

Thanks for the detailed instructions. 

From: Anonymous at: 2006-07-31 19:40:56

The screen does not appear on my new laptop either.

So this tutorial is the way to go ...

From: Anonymous at: 2006-07-16 08:15:02

I have written a basic yet hopefully helpful tutorial on how to setup the LAMP configuration for Linux beginners. It includes resources on setting up Apache2, MySQl5,PhP5 and FTP as well as WebMin in an informal semi how-to. http://www.cjfay.com/lamp.html.

From: Anonymous at: 2006-08-27 09:54:07

I think you downloaded the Live-CD. I had that to!

From: rawoo at: 2006-09-12 00:58:49

Hi,

I've edited /etc/host as instructed in this how-to. The command hostname -f shows the complete domain name, but hostname itself does not; just shows the hostname. Rebooting the system does not make a difference. Is there some other file that must be modified

Example

hostname yields ---> server1

hostname -f yields ---> server1.example.com

 

Any ideas?

 

Thanks,

Richard

From: at: 2007-11-27 21:19:57
From: admin at: 2007-02-23 12:46:41
From: at: 2007-02-23 06:56:24

I can not find the root password for VMware image anywhere. Could you please tell, what it is? 

From: Anonymous at: 2010-09-23 15:43:27

thanks by the information, was of exelent help, there are another site with a very easy way to install tomcat and web mail in unix, solaris and ubuntu  check --> http://unixymas.blogspot.com/  is exelente for built with a few resources a server mail.

see you later