__Note :__ Les captures d’écran ont été effectuées sous la prochaine version stable.
!!!!1. Paramétrage de la session du ??CD|Compact Disc??
Une des particularités de __NetBSD__, son « l’installateur » est traduit.
[((/news-custom/public/netbsd/.screen02_s.jpg|sysint – choix de la langue|C|sysint – choix de la langue))|/news-custom/public/netbsd/screen02.png]
On sélectionne la traduction __française__, ainsi que l’agencement du clavier.
[((/news-custom/public/netbsd/.screen03_s.jpg|systinst – french|C|systinst – french))|/news-custom/public/netbsd/screen03.png]
[((/news-custom/public/netbsd/.screen04_s.jpg|sysinst – keyboard|C|sysinst – keyboard))|/news-custom/public/netbsd/screen04.png]
Les réglages du clavier seront conservés, une fois l’installation terminée. Elle résume les premières étapes de configuration.
!!!!2. Installation
On arrive au menu principal de @@sysinst@@.
[((/news-custom/public/netbsd/.screen05_s.jpg|sysinst – main menu|C|sysinst – main menu))|/news-custom/public/netbsd/screen05.png]
On va sélectionner manuellement les éléments (dans le monde des BSD, on parle de »sets ») du sytème de base.
[((/news-custom/public/netbsd/.screen07_s.jpg|systinst- installation|C|systinst- installation))|/news-custom/public/netbsd/screen07.png]
[((/news-custom/public/netbsd/.screen08_s.jpg|systinst – sets|C|systinst – sets))|/news-custom/public/netbsd/screen08.png]
Dans mon cas, j’ai rajouté les »man pages », par contre, je n’ai pas choisi d’installer __Xorg__ (on peut le faire plus tard).
Ensuite on passe au partitionnement du disque dur.
[((/news-custom/public/netbsd/.screen09_s.jpg|systinst – disc geometry|C|systinst – disc geometry))|/news-custom/public/netbsd/screen09.png]
NetBSD occupera la totalité du disque 30??G|giga??.
[((/news-custom/public/netbsd/.screen10_s.jpg|sysinst – disc|C|sysinst – disc))|/news-custom/public/netbsd/screen10.png]
On spécifie la taille de chacune des partitions.
[((/news-custom/public/netbsd/.screen12_s.jpg|sysinst – disc partition|C|sysinst – disc partition))|/news-custom/public/netbsd/screen12.png]
Voici le résultat, on constate, que le dossier @@/tmp@@ sera « monté en RAM ».
[((/news-custom/public/netbsd/.screen14_s.jpg|sysinst – partitionment|C|sysinst – partitionment))|/news-custom/public/netbsd/screen14.png]
Le dernier message d’avertissement.
[((/news-custom/public/netbsd/.screen15_s.jpg|sysinst – last chance|C|sysinst – last chance))|/news-custom/public/netbsd/screen15.png]
La capture ci-dessous montre le formatage d’une des partitions.
[((/news-custom/public/netbsd/.screen16_s.jpg|newfs|C|newfs))|/news-custom/public/netbsd/screen16.png]
L’installation des »sets ».
[((/news-custom/public/netbsd/.screen23_s.jpg|install sets|C|install sets))|/news-custom/public/netbsd/screen23.png]
L’installation c’est parfaitement déroulée.
[((/news-custom/public/netbsd/.screen24_s.jpg|success|C|success))|/news-custom/public/netbsd/screen24.png]
On peut définir la zone horaire (pour la date et l »heure du système). On a le choix entre :
* ??UTC|Temps Universel Coordonné??
* Europe/Paris
[((/news-custom/public/netbsd/.screen25_s.jpg|timezone|C|timezone))|/news-custom/public/netbsd/screen25.png]
Le mot de passe pour le compte __root__, et son »shell de login ».
[((/news-custom/public/netbsd/.screen26_s.jpg|root-password|C|root-password))|/news-custom/public/netbsd/screen26.png]
[((/news-custom/public/netbsd/.screen27_s.jpg|shell|C|shell))|/news-custom/public/netbsd/screen27.png]
On peut désormais redémarrer son ordinateur, et commencer à configurer son système.
!!!!3. man afterboot
La première fois, il est conseillé de lire la page [afterboot(8)|http://netbsd.gw.com/cgi-bin/man-cgi?afterboot+8+NetBSD-5.1].
Nous allons tout d’abord modifié le fichier @@/etc/[rc.conf|http://netbsd.gw.com/cgi-bin/man-cgi?rc.conf+5+NetBSD-5.1]@@.
Voici un extrait :
///[…]
hostname=judas.errements.net
# Launch dhcpcd
dhcpcd_flags= »-q -b »
critical_filesystems_local= »/var »
critical_filesystems_remote= »/usr »
clear_tmp=YES
cron=YES
postfix=NO
[…]///
Comme on utilise l’utilitaire, @@dhcpcd@@, il nous faut créer le fichier @@/etc/ifconfig.
Voici le contenu du fichier @@/etc/ifconfig.wm0@@ pour du DHCP.
///up
dhcp///
Pour avoir immédiatement du réseau sans redémarrer, @@dhcpcd wm0@@.
Pour que [Vi(1)|http://netbsd.gw.com/cgi-bin/man-cgi?vi+1+NetBSD-5.1] soit plus convivial, on peut créer le fichier @@/root/.exrc@@ ( »Cf. annexe »).