HowtoForge - Linux Howtos in English English|HowtoForge.de - Linux-Howtos auf Deutsch Deutsch

ISP-Server Setup - Ubuntu 5.10 "Breezy Badger"

Submitted by till (Contact Author) (Forums) on Tue, 2005-10-18 11:43. :: Ubuntu

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.

ISP-Server Setup - Ubuntu 5.10 "Breezy Badger"

Version 1.0
Author: Till Brehm <t.brehm [at] ispconfig [dot] org>, Falko Timme <ft [at] falkotimme [dot] com>
Last edited 10/18/2005

This is a detailed description about the steps to be taken to setup a Ubuntu based server (Ubuntu 5.10 - Breezy Badger) 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/POP3s/IMAP/IMAPs, Quota, Firewall, etc.).

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/POP3s/IMAP/IMAPs: in this example you can choose between the traditional UNIX mailbox format (we then use ipopd/uw-imapd) or the Maildir format (in this case we will use Courier-POP3/Courier-IMAP).
  • 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:

  • A Ubuntu install CD (available here: http://www.ubuntu.com/download/)
  • An internet connection since I will describe a network installation in this document.

1 The Base System

Insert your Ubuntu install CD into your system and boot from it (enter server at the boot prompt to install only a base system suitable for servers).

The installation starts, and first you have to choose your language:

Chose your location:

Choose a keyboard layout:

The hardware detection starts:

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


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Please do not use the comment function to ask for help! If you need help, please use our forum: http://www.howtoforge.com/forums
Comments will be published after administrator approval.
Submitted by Anonymous (Contact Author) (Forums) on Thu, 2006-06-01 16:11.

This is a great How-To but as usual I attempted it on the 64bit server version 6.06.

It just so happens that it was released today too (without my knowledge).

So, any chance of an updated version of this How-To in the near future?

Cheers
Anim

Submitted by admin (Contact Author) (Forums) on Sun, 2006-06-04 12:12.
The Ubuntu 6.06 howto will be published the next few days.
Submitted by Anonymous (Contact Author) (Forums) on Tue, 2006-05-30 21:11.

This would have been perfect had it included phpMyAdmin

Submitted by admin (Contact Author) (Forums) on Sun, 2006-06-04 12:11.

Phpmyadmin is availabale as package trough the ISPConfig interface, so it is not nescessary to install it in the howto.

Submitted by Anonymous (Contact Author) (Forums) on Wed, 2006-04-19 04:45.

At the "boot:" prompt you can type "server netcfg/disable_dhcp=true" so that it prompts you for the relative info during the install instead of having to do it manually later... not much I know but it saves a few minutes.

thatsteveguy

Submitted by Anonymous (Contact Author) (Forums) on Thu, 2006-04-20 01:27.
My last comment may not work for the standard ubuntu disk. I used the server image and the exact line I used was "linux netcfg/disable_dhcp=true". I'm making the assumption that it would be "server" instead of "linux".
Submitted by Anonymous (Contact Author) (Forums) on Thu, 2006-02-16 01:48.

I've root partition with XFS filesystem; when i edit fstab and append usrquota,grpquota to the options of / partition, the server doesn't mount / partion on reboot.

I've found this post on this site.

you havo to add this string in /etc/lilo.conf under the default kernel or the kernel you whant to run

append="rootflags=usrquota,grpquota ro"

it seems work!
Bye Corey

Submitted by Anonymous (Contact Author) (Forums) on Thu, 2006-02-16 01:45.

I've root partition with XFS filesystem; when i edit fstab and append usrquota,grpquota to the options of / partition, the server doesn't mount / partion on reboot.

I've found this post on this site.

you havo to add this string in /etc/lilo.conf under the default kernel or the kernel you whant to run

append="rootflags=usrquota,grpquota ro"

it seems work!
Bye Corey

Submitted by Anonymous (Contact Author) (Forums) on Tue, 2006-02-14 20:15.

...it's better to user "sudo -s -H" to switch into root mode. There, you can do all the needed things till you use "CTRL + D" to quit.

Now, you do not need to type your pwd every time during installation if you do not wantto create a root user :-)

Submitted by Anonymous (Contact Author) (Forums) on Wed, 2006-04-19 23:22.
>sudo bash

Now you are root..

1
next page
last page