This tutorial will take you step-by-step on how you can install and setup a linux computer server with debian (sarge).

Before you start, write down these configurations. these are my example. i am going to setup a server called ns1.domain.com with a static ip of 192.168.0.101

  • hostname: ns1
  • domain: domain.com
  • ip address: 192.168.0.101
  • netmask: 255.255.255.0
  • DNS nameserver 1: 206.12.23.13
  • DNS nameserver 2: 206.12.24.13
  • gateway: 192.168.0.1
  • User's Name: administrator
  • username: admin
  • password: ****** - [choose a good password]

Insert CD and BOoT from bedian install cd. i have to CD's so im put cd 1. after you insert cd, select to boot debian..

Select your language:

[!] CHoose Lange:
English - English

Now Select your country:

[!] Choose country or region:
United States

Choose the keyboard layout for your computer

[!] Select a keyboard layout
Englsih

After the above selections are complete, it will start to detect for CD-ROM

Detecting hardware to find CD-ROM drives
100%

Loading module 'ide-detect' for 'Linux IDE detection'...

Now its time to configure the network. Following my example, i will entere www

[!] Configure the network
Please Enter the hostname for this system.

The hostname is a signle word that identifies your sytem to the
network. if you don't hknow what your hostname shuld be, consult your newwork administrator. If you are setting up your own home network, you can make something up here.

Hostname:

ns1

Here i will enter my domain name for this server which will be domain.com

[!] Configure the network
Please Enter the hostname for this system.

The hostname is a signle word that identifies your sytem to the
network. if you don't hknow what your hostname shuld be, consult your newwork administrator. If you are setting up your own home network, you can make something up here.

Hostname:

domain.com

Partition your disk for Linux Debian. Select: Erase entire disk option

[!!] Partition disks
This installer can guide you through partitioning a disk for use by Debian, or if you prefer, you can do it manually. If you do choose to use the guided partitioning tool, you will still have a chance later to see the results, customise it, and even undo the partitioning if you do not like it.

Partitioning medthod:

Erase entire disk: IDE (hda): 100GB Cheetah Drive
Manually edit partition table

Here i will choose : All files in one partition

[!] Partition disks
The disk can be partitioned using one of several different schemes. If you are unsure, choose the first one.

Partitioning scheme:

All files in one partition (recommend for new users)
Desktop machine
Multi-user workstation

Select the default selection: "Finish partitioning and write changes to disk"

[!!] Partition disks
This is an overview of your curretnly configured partitions and mount points. Select a partition to modify its settings (file system, mount points, etc.), a free space to create partitions, or a device to initialise its partition table.

Configure software RAID
Configure the Logical Volume Manager
Guided partitioning
Help on partitionig

IDE (0,0,0) (hda) - 100 GB Cheetah Drive
#1 primary 99GB @ ext3 /
#5 logical 213.8 MB @ swap

Undo changes to partitions
Finish partitioning and write changes to disk

selct YES.

[!!] Partition disks
If you continue, the changes listed below will be written to the disks.

WARNING: This will destroy all data on any partitions you have removed as well as on the partitions that are going to be formatted.

The partition tables of the following devices are changed:
IDE (0,0,0) (hda)

The following partitions are going to be formatted:
partition #1 IDE (0,0,0) (sda) as ext3
partition #5 IDE (0,0,0) (sda) as swap

Write the changes to disks?

<Yes> <No>

Continue Step 2