Good Ingredients

Quick Install of Debian Lenny

Recipes > Core Recipes > .. > Quick Install of Debian Lenny
Pre-Requisites:None
Required Reading:None

Now we can start the base install. Select Install to start the text installer.

install-debian-lenny/boot-screen.png

I speak English so that's what I choose:

install-debian-lenny/choose-language.png

Next you choose your country. The choice of country determines the mirror which will be used for packages so answer accurately. I choose United Kingdom

install-debian-lenny/choose-language-2.png

Select a keyboard layout:

install-debian-lenny/select-a-keyboard-layout.png

Hardware drivers are loaded along with additional components, network drivers are loaded and then DHCP is configured if there is a DHCP server on the network.

install-debian-lenny/loading-additional-components.png install-debian-lenny/configuring-the-network-with-dhcp.png

Eventually you are asked for a hostname. So that this tutorial is consistent with other tutorials such as the ones on howtoforge.com we're going to call this server server1.example.com, so you should enter server1 as the hostname:

You should choose your own hostname.

install-debian-lenny/configure-the-network.png

This machine is to be accessed on the internet as doppler.3aims.com. The domain is therefore 3aims.com. You should enter your own domain. The settings can be changed later but it is worth getting them right now.

install-debian-lenny/configure-the-network-2.png

The installer performs some processing including getting the current time:

install-debian-lenny/getting-time.png

Then the partitioner starts.

install-debian-lenny/partition-disks-0.png

Partitioning Disks

Just choose Guided Partitioning and place everything in one partition. The installer will set up the swap space.

Base Install

The base system now installs:

install-debian-lenny/base.png

Users

Enter a root password:

install-debian-lenny/base-1.png

and confirm it:

install-debian-lenny/base-2.png

Now you need to set up a username and password for an ordinary user. First enter their name:

install-debian-lenny/base-3.png

Then choose a username:

install-debian-lenny/base-4.png

Next choose a password:

install-debian-lenny/base-5.png

and confirm it:

install-debian-lenny/base-6.png

Mirrors

Let Debian know the country you are in so it can suggest a mirror nearby:

install-debian-lenny/base-7.png

Now select a mirror from one of the options:

install-debian-lenny/base-8.png

Proxy

If you access the internet through a proxy, enter the details now. I don't so I leave it blank:

install-debian-lenny/base-9.png

Apt is configured:

install-debian-lenny/base-10.png

Apt downloads and installs any updates you need. This can take a few minutes.

install-debian-lenny/base-11.png

The post install scripts run:

install-debian-lenny/base-12.png

You are given the choice of participating in the popularity contest.

install-debian-lenny/base-13.png

System Packages

You are asked which packages to install but we don't want the default. Unselect Statndard System, we'll install everything we want ourselves.

install-debian-lenny/base-15.png

New packages are downloaded:

install-debian-lenny/base-16.png

You are asked if you want to install Grub:

install-debian-lenny/base-17.png

Grub is installed:

install-debian-lenny/base-18.png

Final changes are made:

install-debian-lenny/base-19.png

The installation is finished:

install-debian-lenny/base-20.png

information is gathered for the final report:

install-debian-lenny/base-21.png

The system reboots:

install-debian-lenny/base-22.png

First of all it is far easier to install from an SSH console rather than in the Virtual Machine Manager because you can copy and paste commands.

See the Set up OpenSSH Server article.

Now continue the tutorial.

Install openssh-server:

# apt-get install openssh-server
install-debian-lenny/ssh-1.png

This uses 19Mb of space. Press ENTER to continue.

You can find out the IP address with ifconfig. In my case with KVM it is 192.168.122.82. From a console on your computer connect like this:

james@dirac:~$ ssh root@192.168.122.82
The authenticity of host '192.168.122.82 (192.168.122.82)' can't be established.
RSA key fingerprint is 85:2d:25:af:9c:af:27:6b:73:61:af:37:ce:d5:7f:25.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.122.82' (RSA) to the list of known hosts.
root@192.168.122.82's password:

Enter the root password and you'll see this:

Linux server1 2.6.26-2-amd64 #1 SMP Fri Mar 27 04:02:59 UTC 2009 x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Apr 20 00:19:22 2009
server1:~#

Now you can copy and paste commands into the terminal, without having to type out each command in full.

(view source)