Project

General

Profile

Actions

Debian » History » Revision 4

« Previous | Revision 4/15 (diff) | Next »
Lutz Suhrbier, 07/30/2009 06:43 PM


Debian Linux

Core System Installation

A network connection provided, downloading and booting Debian's Netinst CD should be the quickest way to get a running core Debian system. For that, deselect any possible selections like e.g. desktop or standard during the software selection part of Debian's netinst installation procedure.

Ask your network administrator for network configuration details. An automatic networking configuration requires a running DHCP system. Otherwise, the following information will be requested during the installation procedure:

  • ip-address

  • netmask

  • gateway

  • dns-nameservers

You can do this during the installation procedure, or change your network configuration later.

For the time being, only the user root should be added to the system. Therefore, just cancel the corresponding dialog during the installation procedure prompting you to enter the first user's name.

Next, ensure the source list of Debian's package manager apt includes the following statements:

deb http://ftp.de.debian.org/debian/ etch main contrib non-free
deb-src http://ftp.de.debian.org/debian/ etch main contrib non-free
deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free

You can do this during the installation procedure, or later by editing the file /etc/apt/sources.list

Anyway, after the first system boot, you should update your Debian system by running the following commands as root:

apt-get update
apt-get upgrade

Basic System Configuration

Consider to prepare your system with the following useful software packages

| less | Text pager |
| unzip, zip | for .zip files |
| lvm2 | Logical Volume Manager |
| ssh | OpenSSH client and server |
| ntpdate | Network time synchronisation |

  • less

  • ssh

  • lvm2

# apt-get install less openssh-server lvm2 lsof nmap

OpenSSH configuration

The openssh server has been configured to accept logins via openssh keys only. So, no username/password access should be possible on this system. Therefore, the following option has been set in the openssh-server configuration file /etc/ssh/sshd_config.

PasswordAuthentication no
UsePAM no

The public keys of users enabled to login as root must be stated in the file_/root/.ssh/authorized_key_.

Network Configuration

Important note: The standard etch setup configures ethernet network interfaces (eth0, eth1) using the option allow-hotplug eth0*. This causes many problems concerning networking (e.g. deletion of the eth0 interface when restarting networking # /etc/init.d/networking restart. So, please use the option *auto instead in /etc/network/interfaces :

# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
        address 160.45.63.20
        netmask 255.255.255.0
        network 160.45.63.0
        broadcast 160.45.63.255
        gateway 160.45.63.1
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 160.45.8.8
        dns-search bgbm.fu-berlin.

Updated by Lutz Suhrbier over 14 years ago · 4 revisions