The Perfect Server - Ubuntu Maverick Meerkat (Ubuntu 10.10) [ISPConfig 2]

Version 1.0
Author: Falko Timme
Follow me on Twitter
Last edited 10/12/2010

This tutorial shows how to set up an Ubuntu Maverick Meerkat (Ubuntu 10.10) server that offers all services needed by ISPs and hosters: Apache web server (SSL-capable), Postfix mail server with SMTP-AUTH and TLS, BIND DNS server, Proftpd FTP server, MySQL server, Courier POP3/IMAP, Quota, Firewall, etc. In the end you should have a system that works reliably, and if you like you can install the free webhosting control panel ISPConfig 2 (i.e., ISPConfig runs on it out of the box).

I will use the following software:

  • Web Server: Apache 2.2.16 with PHP 5.3.3, Python, Ruby, and WebDAV
  • Database Server: MySQL 5.1.49
  • 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

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

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

Insert your Ubuntu install CD into your system and boot from it. Select your language:

Then select Install Ubuntu Server:

Choose your language again (?):

Then select your location:

Choose a keyboard layout (you will be asked to press a few keys, and the installer will try to detect your keyboard layout based on the keys you pressed):

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

Share this page:

6 Comment(s)

Add comment

Comments

From: guygame at: 2010-10-17 21:02:32

Thanks alot for making Maverick Meerkat installation this easy!

From: Anonymous at: 2011-04-05 22:57:58

Is this line correct in "Make null and random devices, and fix permissions of the directories: "

chown -R bind:bind /var/lib/named/var/*

I get chown: cannot access '/var/lib/named/var/*' : No such file or directory

From: KyleB at: 2011-05-03 04:19:59

I followed every step but instead of getting:

root@server1:~# netstat -tap | grep mysql
tcp 0 0 *:mysql *:* LISTEN 6796/mysqld
root@server1:~#

I get:

root@server1:~# netstat -tap | grep mysql
 tcp 0 0 *:mysql *:* LISTEN 7400/mysqld
 root@server1:~#

Not sure why or what to do. Please help me out.

From: Andrew D at: 2011-03-21 20:54:23

openssl x509 -req -days 3650 -in smtpd.csr -signkey smtpd.key -out smtpd.crt

 should be

openssl x509 -req -days 3650 -in smtpd.csr -signkey smtp.key -out smtpd.crt

From: mariobros at: 2010-11-01 16:20:06

during installation of ISPconfig, if you have a "LEX" issue :


apt-get install flex

From: Anonymous at: 2010-12-29 20:37:50

Great work!