Debian logo [inetdoc.LINUX]




[inetdoc.LINUX]

http://www.linux-france.org/prj/inetdoc
Exploration GNU/Linux - Séance 2

Installation du système Debian GNU/Linux
Identification des ressources matérielles
images/ups.png

Philippe Latu
philippe.latu(at)linux-france.org
IUT 'A' Paul Sabatier - STRI

$Id: explore.seance.2.mgp 1239 2008-01-17 11:56:14Z latu $

(page 1)

(2/31)
Installation Debian GNU/Linux
(page 2)

(3/31)
Installation du système GNU/Linux
(page 3)

(4/31)
Installation du système GNU/Linux
(page 4)

(5/31)
Installation du système GNU/Linux
(page 5)

(6/31)
Installation du système GNU/Linux
(page 6)

(7/31)
Installation : premier écran <F1>
  • Fonctions disponibles sur le CD «netinst»
images/01_debian_boot_f1.png
(page 7)

(8/31)
Installation : second écran <F3>
  • Choix de l'interface d'installation : installgui
images/02_debian_boot_f3.png
(page 8)

(9/31)
Installation : langue et clavier
  • Français -> France -> clavier Français
images/03_debian_choose_language.png
(page 9)

(10/31)
Partitions

images/05_debian_partman.png
(page 10)

(11/31)
Partitions et définitions
(page 11)

(12/31)
Partitions et définitions
(page 12)

(13/31)
Partitions et définitions
(page 13)

(14/31)
Partitions et documentation
n°1 primaire /dev/sda1 1.0 GB swap swap
n°2 primaire /dev/sda2 1.0 GB ext3 /
n°5 logique /dev/sda5 10.0 GB ext3 /home
n°6 logique /dev/sda6 10.0 GB ext3 /usr
n°7 logique /dev/mapper/vg01-var 246.0 GB ext3 /var

(page 14)

(15/31)
Partitions : formatage & montage
/
|-- bin
|-- boot
|-- dev
|-- etc
|-- home
|-- lib
|-- mnt
|-- proc
|-- root
|-- sbin
|-- tmp
|-- usr
-- var

(page 15)

(16/31)
Création comptes utilisateurs
(page 16)

(17/31)
Création comptes utilisateurs

images/09_debian_normaluser.png
(page 17)

(18/31)
Configuration gestionnaire de paquets
(page 18)

(19/31)
Configuration gestionnaire de paquets

images/13_debian_apt_config.png
(page 19)

(20/31)
Configuration gestionnaire de paquets

images/18_debian_apt_popcontest.png
(page 20)

(21/31)
Gestionnaire de démarrage

images/20_debian_grub_install.png
(page 21)

(22/31)
Configuration interface graphique

images/21_debian_xorg_resolution.png
(page 22)

(23/31)
Conclusion

images/22_debian_end_install.png
(page 23)

(24/31)
Retour sur la gestion de paquets
deb http://ftp.fr.debian.org/debian/ testing main contrib
deb-src http://ftp.fr.debian.org/debian/ testing main contrib
deb http://security.debian.org/ testing/updates main
deb-src http://security.debian.org/ testing/updates main
  • Nouvelle entrée
deb http://www.debian-multimedia.org testing main
  • Mise à jour de la base de données des paquets
# apt-get update
# apt-get install debian-multimedia-keyring

(page 24)

(25/31)
Retour sur la gestion de paquets
# dpkg --get-selections |gzip > deb-selections.gz
  • Sur le système «cible»
# zcat deb-selections.gz |dpkg --set-selections
  • Mise à jour globale
# apt-get dselect-upgrade

(page 25)

(26/31)
Recensement matériel
$ dmesg |less
  • Version du noyau Linux
Linux version 2.6.23-1-686 (Debian 2.6.23-2) (maks@debian.org) \ (gcc version 4.1.3 20071209 (prerelease) (Debian 4.1.2-18)) #1 \ SMP Fri Dec 21 13:57:07 UTC 2007
  • Quantité de mémoire RAM
127MB HIGHMEM available.
896MB LOWMEM available.
  • Gestionnaire mémoire virtuelle
Memory: 1029636k/1048416k available \ (1721k kernel code, 18188k reserved, 672k data, 240k init, 130912k highmem)
virtual kernel memory layout:
fixmap : 0xfff4c000 - 0xfffff000 ( 716 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB)
lowmem : 0xc0000000 - 0xf8000000 ( 896 MB)

(page 26)

(27/31)
Recensement matériel
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 11k freed
ACPI: Core revision 20070126
CPU0: Intel(R) Pentium(R) M processor 1.73GHz stepping 08
Total of 1 processors activated (3461.76 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
Brought up 1 CPUs
  • Initialisation interface réseau
tg3.c:v3.81.1 (October 18, 2007)
ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:02:00.0 to 64
eth0: Tigon3 [partno(BCM95751) rev 4001 PHY(5750)] \ (PCI Express) 10/100/1000Base-T Ethernet 00:14:22:dd:9d:10
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] WireSpeed[1] TSOcap[1]
eth0: dma_rwctrl[76180000] dma_mask[64-bit]

(page 27)

(28/31)
Recensement matériel
SCSI subsystem initialized
libata version 2.21 loaded.
ahci 0000:00:1f.2: version 2.3
ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 17 (level, low) -> IRQ 18
ata_piix 0000:00:1f.2: version 2.12
ata_piix 0000:00:1f.2: MAP [ P0 P2 IDE IDE ]
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x0001bfa0 irq 14
ata2: PATA max UDMA/100 cmd 0x00010170 ctl 0x00010376 bmdma 0x0001bfa8 irq 15
  • Identification disque dur
ata1.00: ATA-6: HTS726060M9AT00, MH4OA6EA, max UDMA/100
ata1.00: 117210240 sectors, multi 8: LBA48
ata1.00: configured for UDMA/100
scsi 0:0:0:0: Direct-Access ATA HTS726060M9AT00 MH4O PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 117210240 512-byte hardware sectors (60012 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 >

(page 28)

(29/31)
Recensement matériel
$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller
00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller
01:00.0 VGA compatible controller: nVidia Corporation NV41 [Quadro FX Go1400]
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express
03:01.0 CardBus bridge: Texas Instruments PCI6515 Cardbus Controller
03:01.5 Communication controller: Texas Instruments PCI6515 SmartCard Controller
03:03.0 Network controller: Intel Corporation PRO/Wireless 2915ABG Network Connection

(page 29)

(30/31)
Recensement matériel
$ cat /proc/interrupts
CPU0
0: 1647566 IO-APIC-edge timer
1: 2251 IO-APIC-edge i8042
8: 2 IO-APIC-edge rtc
9: 8 IO-APIC-fasteoi acpi
12: 44251 IO-APIC-edge i8042
14: 68003 IO-APIC-edge libata
15: 192 IO-APIC-edge libata
16: 650594 IO-APIC-fasteoi uhci_hcd:usb1, ehci_hcd:usb5, Intel ICH6, eth0, nvidia
17: 1 IO-APIC-fasteoi uhci_hcd:usb4, yenta
18: 4227603 IO-APIC-fasteoi uhci_hcd:usb2, Intel ICH6 Modem, ipw2200
19: 0 IO-APIC-fasteoi uhci_hcd:usb3

(page 30)

(31/31)
Synthèse séance 2
(page 31)