Installing a Debian Etch base system

Installing a Debian Etch base system

From Debian Wiki

Jump to: navigation, search

Contents

Introduction

The following is a mini HOWTO on setting up a base Debian Etch system. I used this installation procedure when setting up my Etch server and this installation serves as the foundation for all other Debian Etch Server HOWTOs contained in this wiki. There are other HOWTOs in the wiki that detail setting up various other components for the server however this one only covers the Debian base installation.

Requirements

As a starting point you'll need to download and get the latest Debian Etch version from the Debian website. Bandwidth in South Africa is very expensive so I decided to download the Network Install version as the total download size is only around 150MB. The Network Install version provides only a small portion of Debian required to start the installation process and then you can install whatever else you want from within the installation program via the Internet. The network install is perfect for setting up a Debian Server as you want a light-weight system without any unnecessary stuff.

This is the particular version of Etch that I downloaded: http://cdimage.debian.org/cdimage/etch_di_rc1/i386/iso-cd/debian-testing-i386-netinst.iso

You will also need a dedicated Internet connection as certain items will be downloaded from the Internet during install time.

Installing the base system

Insert your Etch Network Install CD into your system and boot from it. The installation starts, and first you have to choose your language:

Image:Etch1.gif

Select your country:

Image:Etch2.gif

Choose a keyboard layout:

Image:Etch3.gif

The hardware detection starts:

Image:Etch4.gif

Enter the hostname of your system. In this example, the system will be called server1.example.com, so enter server1:

Image:Etch5.gif

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

Image:Etch6.gif

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

Image:Etch7.gif

Image:Etch8.gif

Image:Etch9.gif

Image:Etch10.gif

Now the base system is being installed:

Image:Etch11.gif

Install the GRUB boot loader to the master boot record:

Image:Etch12.gif

Afterwards remove the Etch CD from your system and reboot it:

Image:Etch13.gif

Configure your time zone:

Image:Etch14.gif

Enter a password for root:

Image:Etch16.gif

Create a second user admin:

Image:Etch17.gif

Image:Etch18.gif

Image:Etch19.gif

Choose your installation method. It's best to select http here:

Image:Etch20.gif

Select a mirror for your installation. Depending on where your server is hosted chose a location that is closest to the server:

Image:Etch21.gif

Image:Etch22.gif

Enter a proxy for the installtion (if necessary). Normally you can leave this field empty.

Image:Etch23.gif

Under Debian software selection only choose Mail server. In the other wiki HOWTOs I go into detail on installing all the other services manually after this base installation.

Image:Etch24.gif

The network installation starts:

Image:Etch25.gif

Continue installing libc-client without Maildir support. If you want to use Maildir you can install Courier-POP3/Courier-IMAP later on in this wiki HOWTO.

Image:Etch29.gif

Do not configure Exim at this stage unless you actually plan to use Exim as a Mail server. Instead there is a wiki HOWTO on setting up Postfix as the preferred Mail server which is why I left Exim un-configured here. I recommend Postfix as it's easy to use and setup.

Image:Etch26.gif

Image:Etch27.gif

Image:Etch28.gif

Congratulations! Your base system is now finished installing:

Image:Etch30.gif

References

The Perfect Setup - Debian Sarge (3.1) - Falko Timme