HOW TO: Install Linux Debian – part 1


This is a tutorial on how to install Debian 6.0 from a minimal CD, procedure also known as Network install.

First of all we will need the get the image form Debian’s website and burn it on a CD. The image has 135-175 MB, so if you do not want to waste a CD on that, you could use the alternate method and install the OS from a USB drive or a USB thumb. The alternate method is not presented in this article but I will make a separate tutorial on how to make a “bootable” USB stick with Debian.

After you burned your copy of Debian on a CD, put the CD into the CD/DVD drive and set you BIOS to boot from CD/DVD media.

1. boot from cd

ITDev.ro – Install Debian Linux – Boot menu

First image that will appear will be the Debian boot menu:

1 debian boot menu

ITDev.ro – Install Debian Linux – Debian menu

 

 

Select Install and press enter. First you will be prompted to select the language for the setup. Select the desired language by pressing UP and DOWN arrow keys, and hit ENTER.

3 install language

ITDev.ro – Install Debian Linux – Language selection

 

 

Next, select your location:

4 user location

ITDev.ro – Install Debian Linux – Location selection

 

 

If your location is different than the default one you can user UP and DOWN arrow keys to navigate the menu. In my case I have to select other:

4a user location - non default

ITDev.ro – Install Debian Linux – Custom location selection

 

then on continent or region I had to select Europe:

4b user location - non default

ITDev.ro – Install Debian Linux – Custom location selection 2

 

and then I selected my country which is Romania:

4c user location - non default

ITDev.ro – Install Debian Linux – Custom location selection 3

If the combination of language and country do not match you will have to set you locale settings. In my case being language English and country Romania I had to select a default locale pack. Since my interest in country was only for the package manager setup (step that will be discussed later in this tutorial), for me locale settings for United States will work just fine:

5 locale settings

ITDev.ro – Install Debian Linux – Locale settings

Next step is to select your keyboard layout. Since I use a standard keyboard, I’ll leave mine on American English:

6 keyboard layout setting

ITDev.ro – Install Debian Linux – Keyboard layout setup

For a short moment you will see a progress bar with caption title Loading additional components:

7 loading additional components

ITDev.ro – Install Debian Linux – Loading additional components

 

after that you we will be prompted to set our hostname (the hostname can be anything you like, if this machine will be part of your own private network, but make sure that the same name is not user for another appliance on the same network). For Windows user, the hostname here is the same thing as Computer Name under Windows OS.

8 hostname setup

ITDev.ro – Install Debian Linux – Hostname setup

 

Next part is the network setup. I recommend you have a working network with internet access for several reasons, most important being: this is a network install, and the setup will have to download some packages. The network setup can be accomplished in two way: manual and automatic.

In manual setup you will have to provide all the settings, like IP address:

9 network setup - manual

ITDev.ro – Install Debian Linux – Manual network settings – IP address

netmask:

9a network setup - manual

ITDev.ro – Install Debian Linux – Manual network settings – Netmask

 

gateway:

9b network setup - manual

ITDev.ro – Install Debian Linux – Manual network settings – Gateway

 

DNS (Domain Name Server):

9c network setup - manual

ITDev.ro – Install Debian Linux – Manual network settings – DNS

 

 

and domain name (if this is part of Windows server network) or workgroup name if it is a private network:

10 domain name setup

ITDev.ro – Install Debian Linux – Manual network settings – Domain name

 

The automatic network setup will run, like the name states, automatically before it will give you the chance to try the manual setup procedure. In order to use the automatic network setup you will have to have a working DHCP (Dynamic Host Configuration Protocol) server on your network. If there is no such server present, the setup will let you choose how to setup the network card of your linux machine.

Next step in our setup is to set the password for user root (in Linux, root user is the equivalent of Administrator under Windows, which means is the user with the most power over your system. Any action taken under root will be permanent and sometimes irreversible, so please be careful what command you issue while logged in as root).

 

After setting the password:

11 root password setup

ITDev.ro – Install Debian Linux – Root password

we will be prompted to confirm it:

11 root password confirmation

ITDev.ro – Install Debian Linux – Root password confirmation

 

 

Part 1 | Part 2 | Part 3


About Tiberiu Claudiu

Currently working as Technical Support Team Lead. Web development/programming tools and technologies enthusiast. Really passionate about computers as you can imagine. I like to practice some sports when I have the time, one sport that caught my interest is table tennis.

Leave a comment

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.