Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
elearning:workbooks:centos:8:avance:l105 [2021/09/05 15:46] – admin | elearning:workbooks:centos:8:avance:l105 [2022/02/22 15:15] (Version actuelle) – created admin | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
~~PDF: | ~~PDF: | ||
- | Version : **2021.01** | + | Version : **2022.01** |
Dernière mise-à-jour : ~~LASTMOD~~ | Dernière mise-à-jour : ~~LASTMOD~~ | ||
- | ======LCF605 - Validation | + | ======LCF605 - Installation |
=====Contenu du Module===== | =====Contenu du Module===== | ||
- | * **LCF605 - Validation | + | * **LCF605 - Installation |
* Contenu du Module | * Contenu du Module | ||
- | * Pour Aller Plus Loin | + | * LAB #1 - Installation d'une Machine Virtuelle CentOS 8 |
- | * Support | + | * 1.1 - Identification du Short ID |
- | * L'Infrastructure Hors Formation | + | * 1.2 - Configuration du Stockage des ISOs |
- | * Matériel | + | * 1.3 - Installation du Domaine |
- | * Logiciels | + | * Format des Images |
- | * Machine Virtuelle | + | * Convertir le Format |
- | * Rappel du Programme de la Formation | + | * 1.4 - Configuration de l' |
- | * Jour #1 | + | * Language Settings |
- | * Jour #2 | + | * Network configuration |
- | * Validation des Acquis | + | * Time settings |
- | * Évaluation | + | * Root password |
+ | * Installation source | ||
+ | * Software selection | ||
+ | * Installation Destination | ||
+ | * Démarrer l' | ||
+ | * Démarrer la VM | ||
+ | * 1.5 - Vérification | ||
+ | * Réseau | ||
+ | * Internet | ||
- | =====Pour Aller Plus Loin===== | + | =====LAB #1 - Installation d'une Machine Virtuelle CentOS 8===== |
- | ====Support de Cours==== | + | ====1.1 - Identification du Short ID==== |
- | L' | + | KVM sait virtualiser |
- | L' | + | < |
+ | [root@centos8 ~]# osinfo-query os | more | ||
+ | Short ID | Name | Version | ||
+ | ----------------------+----------------------------------------------------+----------+----------------------------------------- | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | --More-- | ||
+ | </ | ||
- | * de mesurer le niveau du stagiaire avant la formation et celui atteint en fin de formation grâce aux tests de validations des acquis, | + | La liste des versions |
- | | + | |
- | L' | + | < |
+ | [root@centos8 ~]# osinfo-query os | grep "Red Hat" | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
- | * de télécharger des supports de cours et des LABS au format PDF le dernier jour de la formation, | + | Afin d' |
- | | + | |
- | | + | |
- | | + | |
- | * d' | + | |
- | ====L'Infrastructure Hors Formation==== | + | * Colonne 2, |
+ | * **Name**, | ||
+ | * Le nom officiel du système d'exploitation, | ||
+ | * Colonne 3, | ||
+ | * **Version**, | ||
+ | * La version du système d' | ||
+ | * Colonne 4, | ||
+ | * **ID**, | ||
+ | * Un URL censé pointer vers la page officielle de la version de la distribution. Attention : ces URLs sont bien souvent inexactes, | ||
+ | |||
+ | Pour rechercher le Short ID de CentOS 8, recherchez **centos** dans la sortie de la commande **osinfo-query os** : | ||
+ | |||
+ | < | ||
+ | [root@centos8 ~]# osinfo-query os | grep centos | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
- | ===Matériel=== | + | <WRAP center round important 60%> |
+ | **Important** : Notez que le Short ID de CentOS 8 est actuellement **centos8** quelque soit la version. | ||
+ | </ | ||
- | * Un poste 64 bits (MacOS, Linux, Windows(tm) ou Solaris(tm)), | + | ====1.2 |
- | * Dans le cas de Windows(tm), | + | |
- | * Le mot de passe du compte administrateur du système, | + | |
- | * Clavier AZERTY FR ou QWERTY US, | + | |
- | * 8 Go de RAM minimum, | + | |
- | * Processeur 4 cœurs minimum, | + | |
- | * 8 Go d' | + | |
- | ===Logiciels=== | + | Afin d' |
- | * Oracle VirtualBox v 6.0 ou plus (MacOS, Linux, Windows(tm) ou Solaris(tm)), | + | < |
- | * Si Windows(tm) | + | [root@centos8 ~]# ls -l | grep CentOS |
- | | + | -rw-r--r--. 1 root root 625999872 Sep 3 04:44 CentOS-8.1.1911-x86_64-boot.iso |
- | ===Machine Virtuelle=== | + | [root@centos8 ~]# chmod 755 CentOS-8.1.1911-x86_64-boot.iso |
- | A télécharger : **[[https:// | + | [root@centos8 ~]# mkdir /isos |
- | =====Rappel du Programme de la Formation===== | + | [root@centos8 ~]# mv CentOS-8.1.1911-x86_64-boot.iso /isos |
- | ====Jour | + | [root@centos8 ~]# chown -R qemu:qemu /isos |
+ | </ | ||
- | * **LCF600 - CentOS 8 Linux (RHEL 8) - System Administrator** - 1 heure. | + | ====1.3 - Installation du Domain==== |
- | * Prérequis | + | |
- | * Matériel | + | |
- | * Logiciels | + | |
- | * Internet | + | |
- | * Utilisation de l' | + | |
- | * Connexion au Serveur Cloud | + | |
- | * Connexion à la Machine Virtuelle | + | |
- | * Programme de la Formation | + | |
- | * Évaluation des Compétences | + | |
- | | + | Démarrez maintenant l' |
- | | + | |
- | | + | < |
- | | + | [root@centos8 ~]# virt-install --network bridge: |
- | * 1.2 - La Commande lsusb | + | |
- | * 1.3 - La Commande dmidecode | + | |
- | * LAB #2 - La Commande sysctl | + | |
- | * 2.1 - Répertoire | + | |
- | * Fichiers | + | |
- | * Processeur | + | |
- | * Interruptions système | + | |
- | * Canaux DMA | + | |
- | * Plages d' | + | |
- | * Périphériques | + | |
- | * Modules | + | |
- | * Statistiques de l' | + | |
- | * Partitions | + | |
- | * Espaces de pagination | + | |
- | * Statistiques d' | + | |
- | * Statistiques d' | + | |
- | * Version du noyau | + | |
- | * Répertoires | + | |
- | * ide/scsi | + | |
- | * acpi | + | |
- | * bus | + | |
- | * net | + | |
- | * sys | + | |
- | * 2.2 - Utilisation de la Commande sysctl | + | |
- | * LAB #3 - Interprétation des informations dans /proc | + | |
- | * 3.1 - free | + | |
- | * 3.2 - uptime ou w | + | |
- | * 3.3 - iostat | + | |
- | * 3.4 - hdparm | + | |
- | * 3.5 - vmstat | + | |
- | * 3.6 - mpstat | + | |
- | * 3.7 - sar | + | |
- | * Modules usb | + | |
- | * udev | + | |
- | * La Commande udevadm | + | |
- | * Système de fichiers /sys | + | |
- | * LAB #4 - Limiter les Ressources | + | |
- | * 4.1 - ulimit | + | |
- | * 4.2 - Groupes de Contrôle | + | |
- | * La Limitation de la Mémoire | + | |
- | * La Commande cgcreate | + | |
- | * La Commande cgdelete | + | |
- | * Le Fichier / | + | |
- | * La Commande cgconfigparser | + | |
- | * **LCF602 - Gestion du Noyau et des Quotas** - 3 heures. | + | Starting install... |
- | * Rôle du noyau | + | Retrieving file vmlinuz... |
- | * LAB #1 - Modules | + | Retrieving file initrd.img... |
- | * LAB #2 - Compilation et installation du noyau et des modules | + | Allocating ' |
- | * 2.1 - Déplacer /home | + | WARNING |
- | * 2.2 - Préparer l'Environnement | + | Connected to domain testvm1 |
- | * 2.3 - Préparer l' | + | Escape character is ^] |
- | * Le Fichier | + | [ 0.000000] Linux version |
- | * Le Fichier Makefile | + | ... |
- | * 2.4 - Paramétrage du noyau | + | </ |
- | * 2.5 - Compiler le Noyau | + | |
- | * 2.6 - Installer le Nouveau Noyau | + | |
- | * LAB #3 - Gestion des Quotas | + | |
- | * 3.1 - La Commande quotacheck | + | |
- | * 3.2 - La Commande edquota | + | |
- | * 3.3 - La Commande quotaon | + | |
- | * 3.4 - La Commande repquota | + | |
- | * 3.5 - La Commande quota | + | |
- | * 3.6 - La Commande warnquota | + | |
- | ====Jour #2 - 7 heures==== | + | <WRAP center round important 60%> |
+ | **Important** : Notez que la quantité de mémoire est automatiquement et provisoirement augmentée à 3072 Mo afin que l' | ||
+ | </ | ||
- | * **LCF603 - Comprendre les Réseaux et le Chiffrement** - 2 heures. | + | Dans cette commande on peut constater l'utilisation |
- | * Comprendre les Réseaux | + | |
- | * Présentation des Réseaux | + | |
- | * Classification des Réseaux | + | |
- | * Classification par Mode de Transmission | + | |
- | * Classification par Topologie | + | |
- | * La Topologie Physique | + | |
- | * La Topologie en Ligne | + | |
- | * La Topologie en Bus | + | |
- | * La Topologie en Étoile | + | |
- | * La Topologie en Anneau | + | |
- | * La Topologie en Arbre | + | |
- | * La Topologie Maillée | + | |
- | * Classification par Etendue | + | |
- | * Les Types de LAN | + | |
- | * Réseau à Serveur Dédié | + | |
- | * Réseau Poste-à-Poste | + | |
- | * Le Modèle Client/ | + | |
- | * Modèles de Communication | + | |
- | * Le modèle OSI | + | |
- | * Les Couches | + | |
- | * Les Protocoles | + | |
- | * Les Interfaces | + | |
- | * Protocol Data Units | + | |
- | * Encapsulation et Désencapsulation | + | |
- | * Spécification NDIS et le Modèle ODI | + | |
- | * Le modèle TCP/IP | + | |
- | * Les Raccordements | + | |
- | * Les Modes de Transmission | + | |
- | * Les Câbles | + | |
- | * Le Câble Coaxial | + | |
- | * Le Câble Paire Torsadée | + | |
- | * Catagories de Blindage | + | |
- | * La Prise RJ45 | + | |
- | * Channel Link et Basic Link | + | |
- | * La Fibre Optique | + | |
- | * Les Réseaux sans Fils | + | |
- | * Le Courant Porteur en Ligne | + | |
- | * Technologies | + | |
- | * Ethernet | + | |
- | * Token-Ring | + | |
- | * Périphériques Réseaux Spéciaux | + | |
- | * Les Concentrateurs | + | |
- | * Les Répéteurs | + | |
- | * Les Ponts | + | |
- | * Le Pont de Base | + | |
- | * Le Pont en Cascade | + | |
- | * Le Pont en Dorsale | + | |
- | * Les Commutateurs | + | |
- | * Les Routeurs | + | |
- | * Les Passerelles | + | |
- | * Comprendre TCP Version 4 | + | |
- | * En-tête TCP | + | |
- | * En-tête UDP | + | |
- | * Fragmentation et Ré-encapsulation | + | |
- | * Adressage | + | |
- | * Masques de sous-réseaux | + | |
- | * VLSM | + | |
- | * Ports et sockets | + | |
- | * / | + | |
- | * Résolution d'adresses Ethernet | + | |
- | * Comprendre le Chiffrement | + | |
- | * Introduction à la cryptologie | + | |
- | * Définitions | + | |
- | * La Cryptographie | + | |
- | * Le Chiffrement par Substitution | + | |
- | * Algorithmes à clé secrète | + | |
- | * Le Chiffrement Symétrique | + | |
- | * Algorithmes à clef publique | + | |
- | * Le Chiffrement Asymétrique | + | |
- | * La Clef de Session | + | |
- | * Fonctions de Hachage | + | |
- | * Signature Numérique | + | |
- | * LAB #1 - Utilisation | + | |
- | * Présentation | + | |
- | * Installation | + | |
- | * Configuration | + | |
- | * Signer un message | + | |
- | * Chiffrer un message | + | |
- | * PKI | + | |
- | * Certificats X509 | + | |
- | * **LCF604 | + | ^ Option ^ Commentaire ^ |
- | * Présentation | + | | --network bridge: | Fixe la valeur |
- | * La Commande nmcli | + | | --name | Indique |
- | * LAB #1 - Configuration | + | | --os-variant= | Egal à la valeur du Short ID identifié au-dessus |
- | * 1.1 - Connections et Profils | + | | --ram= | Fixe la quantité de la RAM de la VM en Mo | |
- | * 1.2 - Résolution des Noms | + | | --vcpus= | Fixe le nombre |
- | * 1.3 - Ajouter une Deuxième Adresse IP à un Profil | + | | --disk path= | Crée une image pour la VM, au format indiqué et de la taille indiquée |
- | * 1.4 - La Commande hostname | + | | --graphics | La valeur |
- | * 1.5 - La Commande ip | + | | --location= | Indique l'emplacement de l'ISO à utiliser pour l' |
- | * 1.6 - Activer/ | + | | --extra-args= | Indique les options de la connectivité de la console | |
- | * 1.7 - Routage Statique | + | |
- | * La commande ip | + | |
- | * Activer/ | + | |
- | * LAB #2 - Diagnostique du Réseau | + | |
- | * 2.1 - ping | + | |
- | * 2.2 - netstat -i | + | |
- | * 2.3 - traceroute | + | |
- | * LAB #3 - Connexions | + | |
- | * 3.1 - Telnet | + | |
- | * 3.2 - wget | + | |
- | * 3.3 - ftp | + | |
- | * 3.4 - SSH | + | |
- | * Présentation | + | |
- | * SSH-1 | + | |
- | * SSH-2 | + | |
- | * Authentification par mot de passe | + | |
- | * Authentification par clef asymétrique | + | |
- | * Configuration du Serveur | + | |
- | * Configuration du Client | + | |
- | * Tunnels SSH | + | |
- | * 3.5 - SCP | + | |
- | * Présentation | + | |
- | * Utilisation | + | |
- | * 3.6 - Mise en Place des Clefs Asymétriques | + | |
- | * LAB #4 - La Configuration de firewalld | + | |
- | * 4.1 - Présentation | + | |
- | * 4.2 - La Configuration de Base de firewalld | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | * 5.1 - Introducton | + | |
- | * Security Context | + | |
- | * Domains et Types | + | |
- | * Roles | + | |
- | * Politiques de Sécurité | + | |
- | * Langage des Politiques | + | |
- | * allow | + | |
- | * type | + | |
- | * type_transition | + | |
- | * Décisions de SELinux | + | |
- | * Décisions | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | * 5.2 - Copier et Déplacer des Fichiers | + | |
- | * 5.3 - Vérifier les SC des Processus | + | |
- | * 5.4 - Visualiser la SC d'un Utilisateur | + | |
- | * 5.5 - Vérifier la SC d'un fichier | + | |
- | * 5.6 - La commande chcon | + | |
- | * 5.7 - La commande restorecon | + | |
- | * 5.8 - Le fichier / | + | |
- | * 5.9 - La commande semanage | + | |
- | * 5.10 - La commande audit2allow | + | |
- | * **LCF605 | + | ===Format des Images=== |
- | * Contenu du Module | + | |
- | * Pour Aller Plus Loin | + | Une image est un disque virtuel. KVM reconnait les formats d' |
- | * Support | + | |
- | * L'Infrastructure Hors Formation | + | < |
- | * Matériel | + | [root@centos8 ~]# qemu-img -h | grep Supported |
- | * Logiciels | + | Supported formats: blkdebug blklogwrites blkreplay blkverify copy-on-read file ftp ftps gluster host_cdrom host_device http https iscsi iser luks nbd null-aio null-co nvme qcow2 quorum raw rbd ssh throttle vhdx vmdk vpc |
- | * Machine Virtuelle | + | </ |
- | * Rappel | + | |
- | * Jour #1 | + | <WRAP center round important 60%> |
- | * Jour #2 | + | **Important** : Consultez **[[https:// |
- | | + | </ |
- | | + | |
+ | ===Convertir le Format de l' | ||
+ | |||
+ | Il est possible de convertir un format d' | ||
+ | |||
+ | < | ||
+ | # qemu-img convert -f vmdk -O qcow2 myimage.vmdk mynewimage.qcow2 | ||
+ | </ | ||
+ | |||
+ | Dans le cas d'une image au format **vdi** d' | ||
+ | |||
+ | < | ||
+ | # VBoxManage clonehd myimage.vdi myrawimage.img --format raw | ||
+ | </ | ||
+ | |||
+ | Ensuite il convient d' | ||
+ | |||
+ | < | ||
+ | # qemu-img convert -f raw -O qcow2 myrawimage.img mynewimage.qcow2 | ||
+ | </ | ||
+ | |||
+ | ====1.4 - Configuration de l' | ||
+ | |||
+ | ===Language Settings=== | ||
+ | |||
+ | Commencez par appuyer sur le choix **1** : | ||
+ | |||
+ | < | ||
+ | ... | ||
+ | Starting installer, one moment... | ||
+ | anaconda 29.19.1.13-1.el8 for CentOS Linux 8 started. | ||
+ | * installation log files are stored in /tmp during the installation | ||
+ | * shell is available on TTY2 | ||
+ | * if the graphical installation interface fails to start, try again with the | ||
+ | | ||
+ | * when reporting a bug add logs from /tmp as separate text/plain attachments | ||
+ | 14:08:33 Not asking for VNC because we don't have a network | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation | ||
+ | |||
+ | 1) [x] Language settings | ||
+ | | ||
+ | 3) [!] Installation source | ||
+ | | ||
+ | 5) [!] Installation Destination | ||
+ | (No disks selected) | ||
+ | 7) [!] Network configuration | ||
+ | (Not connected) | ||
+ | 9) [!] User creation | ||
+ | (No user will be created) | ||
+ | |||
+ | Please make a selection from the above [' | ||
+ | ' | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | |||
+ | 3) Arabic | ||
+ | 4) Assamese | ||
+ | 5) Asturian | ||
+ | 6) Belarusian | ||
+ | 7) Bulgarian | ||
+ | 8) Bangla | ||
+ | 9) Tibetan | ||
+ | 10) Bosnian | ||
+ | 11) Catalan | ||
+ | 12) Czech 38) Georgian | ||
+ | 13) Welsh 39) Kazakh | ||
+ | 14) Danish | ||
+ | 15) German | ||
+ | 16) Greek 42) Korean | ||
+ | 17) English | ||
+ | 18) Spanish | ||
+ | 19) Estonian | ||
+ | 20) Basque | ||
+ | 21) Persian | ||
+ | 22) Finnish | ||
+ | 23) Filipino | ||
+ | 24) French | ||
+ | 25) Friulian | ||
+ | |||
+ | Press ENTER to continue: | ||
+ | 26) Irish 52) Low German | ||
+ | </ | ||
+ | |||
+ | Choisissez l' | ||
+ | |||
+ | < | ||
+ | Please select language support to install [' | ||
+ | to continue, ' | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Language settings | ||
+ | |||
+ | Available locales | ||
+ | 1) French (France) | ||
+ | 2) French (Canada) | ||
+ | |||
+ | Please select language support to install [' | ||
+ | to continue, ' | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation | ||
+ | |||
+ | 1) [x] Language settings | ||
+ | | ||
+ | 3) [!] Installation source | ||
+ | | ||
+ | | ||
+ | 5) [!] Installation Destination | ||
+ | (No disks selected) | ||
+ | 7) [!] Network configuration | ||
+ | (Not connected) | ||
+ | 9) [!] User creation | ||
+ | (No user will be created) | ||
+ | |||
+ | Please make a selection from the above [' | ||
+ | ' | ||
+ | [anaconda]1: | ||
+ | </ | ||
+ | |||
+ | ===Network configuration=== | ||
+ | |||
+ | Choisissez maintenant l' | ||
+ | |||
+ | < | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation | ||
+ | |||
+ | 1) [x] Language settings | ||
+ | | ||
+ | 3) [!] Installation source | ||
+ | | ||
+ | | ||
+ | 5) [!] Installation Destination | ||
+ | (No disks selected) | ||
+ | 7) [!] Network configuration | ||
+ | (Not connected) | ||
+ | 9) [!] User creation | ||
+ | (No user will be created) | ||
+ | |||
+ | Please make a selection from the above [' | ||
+ | ' | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Network configuration | ||
+ | |||
+ | Wired (enp1s0) disconnected | ||
+ | |||
+ | Host Name: localhost.localdomain | ||
+ | |||
+ | Current host name: localhost | ||
+ | |||
+ | 1) Set host name | ||
+ | 2) Configure device enp1s0 | ||
+ | < | ||
+ | |||
+ | Choisissez ensuite l' | ||
+ | |||
+ | < | ||
+ | Please make a selection from the above [' | ||
+ | refresh]: 1 | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Enter a new value for 'Host Name' and press ENTER: testvm1.ittraining.network | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Network configuration | ||
+ | |||
+ | Wired (enp1s0) disconnected | ||
+ | |||
+ | Host Name: testvm1.ittraining.network | ||
+ | |||
+ | Current host name: localhost | ||
+ | |||
+ | 1) Set host name | ||
+ | 2) Configure device enp1s0 | ||
+ | < | ||
+ | |||
+ | Choisissez l' | ||
+ | |||
+ | < | ||
+ | Please make a selection from the above [' | ||
+ | refresh]: 2 | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Device configuration | ||
+ | |||
+ | 1) IPv4 address or " | ||
+ | | ||
+ | 2) IPv4 netmask | ||
+ | 3) IPv4 gateway | ||
+ | 4) IPv6 address[/ | ||
+ | turn off | ||
+ | | ||
+ | 5) IPv6 default gateway | ||
+ | 6) Nameservers (comma separated) | ||
+ | 7) [ ] Connect automatically after reboot | ||
+ | 8) [ ] Apply configuration in installer | ||
+ | |||
+ | Configuring device enp1s0. | ||
+ | < | ||
+ | |||
+ | Laissez l’option **1** en **dhcp** puis choisissez l' | ||
+ | |||
+ | < | ||
+ | Please make a selection from the above [' | ||
+ | refresh]: 6 | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Enter a new value for ' | ||
+ | .8.4.4 | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Device configuration | ||
+ | |||
+ | 1) IPv4 address or " | ||
+ | | ||
+ | 2) IPv4 netmask | ||
+ | 3) IPv4 gateway | ||
+ | 4) IPv6 address[/ | ||
+ | turn off | ||
+ | | ||
+ | 5) IPv6 default gateway | ||
+ | 6) Nameservers (comma separated) | ||
+ | | ||
+ | 7) [ ] Connect automatically after reboot | ||
+ | 8) [ ] Apply configuration in installer | ||
+ | |||
+ | Configuring device enp1s0. | ||
+ | </ | ||
+ | |||
+ | Il est important de configurer la prise en compte automatique de la configuration après le re-démarrage. Choisissez donc l' | ||
+ | |||
+ | < | ||
+ | Please make a selection from the above [' | ||
+ | refresh]: 7 | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Device configuration | ||
+ | |||
+ | 1) IPv4 address or " | ||
+ | | ||
+ | 2) IPv4 netmask | ||
+ | 3) IPv4 gateway | ||
+ | 4) IPv6 address[/ | ||
+ | turn off | ||
+ | | ||
+ | 5) IPv6 default gateway | ||
+ | 6) Nameservers (comma separated) | ||
+ | 8.8.8.8, | ||
+ | 7) [x] Connect automatically after reboot | ||
+ | 8) [ ] Apply configuration in installer | ||
+ | |||
+ | Configuring device enp1s0. | ||
+ | </ | ||
+ | |||
+ | Pour pouvoir installer les paquets logiciels, la configuration réseau doit être appliquée immédiatement. Choisissez donc l' | ||
+ | |||
+ | < | ||
+ | Please make a selection from the above [' | ||
+ | refresh]: 8 | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Device configuration | ||
+ | |||
+ | 1) IPv4 address or " | ||
+ | | ||
+ | 2) IPv4 netmask | ||
+ | 3) IPv4 gateway | ||
+ | 4) IPv6 address[/ | ||
+ | turn off | ||
+ | | ||
+ | 5) IPv6 default gateway | ||
+ | 6) Nameservers (comma separated) | ||
+ | | ||
+ | 7) [x] Connect automatically after reboot | ||
+ | 8) [x] Apply configuration in installer | ||
+ | |||
+ | Configuring device enp1s0. | ||
+ | </ | ||
+ | |||
+ | Validez les configurations actuelles en appuyant sur la touche | ||
+ | |||
+ | < | ||
+ | Please make a selection from the above [' | ||
+ | refresh]: c | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Network configuration | ||
+ | |||
+ | Wired (enp1s0) disconnected | ||
+ | |||
+ | Host Name: testvm1.ittraining.network | ||
+ | |||
+ | Current host name: localhost | ||
+ | |||
+ | 1) Set host name | ||
+ | 2) Configure device enp1s0 | ||
+ | </ | ||
+ | |||
+ | Pour retourner au menu principal, appuyez sur la touche **c** de nouveau : | ||
+ | |||
+ | < | ||
+ | Please make a selection from the above [' | ||
+ | refresh]: c | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation | ||
+ | |||
+ | 1) [x] Language settings | ||
+ | | ||
+ | 3) [!] Installation source | ||
+ | | ||
+ | | ||
+ | 5) [!] Installation Destination | ||
+ | (No disks selected) | ||
+ | 7) [x] Network configuration | ||
+ | | ||
+ | 9) [!] User creation | ||
+ | (No user will be created) | ||
+ | |||
+ | Please make a selection from the above [' | ||
+ | ' | ||
+ | [anaconda]1: | ||
+ | </ | ||
+ | |||
+ | <WRAP center round important> | ||
+ | Important : **Important** - Si la configuration en DHCP n'est pas prise en compte. Refaites la configuration en IP fixe en indiquant une adresse 192.168.56.50, | ||
+ | </ | ||
+ | |||
+ | ===Time settings=== | ||
+ | |||
+ | Choisissez maintenant l' | ||
+ | |||
+ | < | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation | ||
+ | |||
+ | 1) [x] Language settings | ||
+ | | ||
+ | 3) [!] Installation source | ||
+ | | ||
+ | | ||
+ | 5) [!] Installation Destination | ||
+ | (No disks selected) | ||
+ | 7) [x] Network configuration | ||
+ | | ||
+ | 9) [!] User creation | ||
+ | (No user will be created) | ||
+ | |||
+ | Please make a selection from the above [' | ||
+ | ' | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Time settings | ||
+ | |||
+ | Timezone: America/ | ||
+ | |||
+ | NTP servers:not configured | ||
+ | |||
+ | 1) Change timezone | ||
+ | 2) Configure NTP servers | ||
+ | </ | ||
+ | |||
+ | Choisissez l' | ||
+ | |||
+ | < | ||
+ | Please make a selection from the above [' | ||
+ | refresh]: 1 | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Timezone settings | ||
+ | |||
+ | Available regions | ||
+ | 1) Europe | ||
+ | 2) Asia 6) Pacific | ||
+ | 3) America | ||
+ | 4) Africa | ||
+ | < | ||
+ | |||
+ | Appuyez sur la touche | ||
+ | |||
+ | < | ||
+ | Please select the timezone. Use numbers or type names directly [' | ||
+ | region list, ' | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | |||
+ | 1) Amsterdam | ||
+ | 2) Andorra | ||
+ | 3) Astrakhan | ||
+ | 4) Athens | ||
+ | 5) Belgrade | ||
+ | 6) Berlin | ||
+ | 7) Bratislava | ||
+ | 8) Brussels | ||
+ | 9) Bucharest | ||
+ | 10) Budapest | ||
+ | 11) Busingen | ||
+ | 12) Chisinau | ||
+ | 13) Copenhagen | ||
+ | 14) Dublin | ||
+ | 15) Gibraltar | ||
+ | 16) Guernsey | ||
+ | 17) Helsinki | ||
+ | 18) Isle_of_Man | ||
+ | 19) Istanbul | ||
+ | 20) Jersey | ||
+ | </ | ||
+ | |||
+ | Puis choisissez l' | ||
+ | |||
+ | < | ||
+ | Please select the timezone. Use numbers or type names directly [' | ||
+ | region list, ' | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation | ||
+ | |||
+ | 1) [x] Language settings | ||
+ | | ||
+ | 3) [!] Installation source | ||
+ | | ||
+ | | ||
+ | 5) [!] Installation Destination | ||
+ | (No disks selected) | ||
+ | 7) [x] Network configuration | ||
+ | | ||
+ | 9) [!] User creation | ||
+ | (No user will be created) | ||
+ | |||
+ | Please make a selection from the above [' | ||
+ | ' | ||
+ | </ | ||
+ | |||
+ | ===Root password=== | ||
+ | |||
+ | Pour définir le mot de passe root de la VM, choisissez l' | ||
+ | |||
+ | < | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation | ||
+ | |||
+ | 1) [x] Language settings | ||
+ | | ||
+ | 3) [!] Installation source | ||
+ | | ||
+ | | ||
+ | 5) [!] Installation Destination | ||
+ | (No disks selected) | ||
+ | 7) [x] Network configuration | ||
+ | | ||
+ | 9) [!] User creation | ||
+ | (No user will be created) | ||
+ | |||
+ | Please make a selection from the above [' | ||
+ | ' | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Root password | ||
+ | |||
+ | Please select new root password. You will have to type it twice. | ||
+ | |||
+ | Password: fenestros | ||
+ | Password (confirm): fenestros | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Question | ||
+ | |||
+ | The password you have provided is weak: The password fails the dictionary check | ||
+ | - it is based on a dictionary word | ||
+ | Would you like to use it anyway? | ||
+ | |||
+ | Please respond ' | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation | ||
+ | |||
+ | 1) [x] Language settings | ||
+ | | ||
+ | 3) [!] Installation source | ||
+ | | ||
+ | | ||
+ | 5) [!] Installation Destination | ||
+ | (No disks selected) | ||
+ | 7) [x] Network configuration | ||
+ | | ||
+ | 9) [ ] User creation | ||
+ | (No user will be created) | ||
+ | |||
+ | Please make a selection from the above [' | ||
+ | ' | ||
+ | </ | ||
+ | |||
+ | ===Installation source=== | ||
+ | |||
+ | Choisissez l' | ||
+ | |||
+ | < | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation | ||
+ | |||
+ | 1) [x] Language settings | ||
+ | | ||
+ | 3) [!] Installation source | ||
+ | | ||
+ | | ||
+ | 5) [!] Installation Destination | ||
+ | (No disks selected) | ||
+ | 7) [x] Network configuration | ||
+ | | ||
+ | 9) [ ] User creation | ||
+ | (No user will be created) | ||
+ | |||
+ | Please make a selection from the above [' | ||
+ | ' | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation source | ||
+ | |||
+ | Choose an installation source type. | ||
+ | 1) CD/DVD | ||
+ | 2) local ISO file | ||
+ | 3) Network | ||
+ | </ | ||
+ | |||
+ | L'ISO utilisé est de type **net-install**. Choisissez donc l' | ||
+ | |||
+ | < | ||
+ | Please make a selection from the above [' | ||
+ | refresh]: 3 | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation source | ||
+ | |||
+ | 1) Closest mirror | ||
+ | 2) http:// | ||
+ | 3) https:// | ||
+ | 4) ftp:// | ||
+ | 5) nfs | ||
+ | </ | ||
+ | |||
+ | Choisissez l' | ||
+ | |||
+ | < | ||
+ | Please make a selection from the above [' | ||
+ | refresh]: 1 | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation | ||
+ | |||
+ | 1) [x] Language settings | ||
+ | | ||
+ | 3) [x] Installation source | ||
+ | | ||
+ | 5) [!] Installation Destination | ||
+ | (No disks selected) | ||
+ | 7) [x] Network configuration | ||
+ | | ||
+ | 9) [ ] User creation | ||
+ | (No user will be created) | ||
+ | |||
+ | Please make a selection from the above [' | ||
+ | ' | ||
+ | </ | ||
+ | |||
+ | ===Software selection=== | ||
+ | |||
+ | Choisissez l' | ||
+ | |||
+ | < | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation | ||
+ | |||
+ | 1) [x] Language settings | ||
+ | | ||
+ | 3) [x] Installation source | ||
+ | | ||
+ | 5) [!] Installation Destination | ||
+ | (No disks selected) | ||
+ | 7) [x] Network configuration | ||
+ | | ||
+ | 9) [ ] User creation | ||
+ | (No user will be created) | ||
+ | |||
+ | Please make a selection from the above [' | ||
+ | ' | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Software selection | ||
+ | |||
+ | Base environment | ||
+ | |||
+ | 1) [ ] Server with GUI 4) [ ] Workstation | ||
+ | 2) [ ] Server | ||
+ | 3) [ ] Minimal Install | ||
+ | |||
+ | Please make a selection from the above [' | ||
+ | refresh]: 3 | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Software selection | ||
+ | |||
+ | Base environment | ||
+ | |||
+ | 1) [ ] Server with GUI 4) [ ] Workstation | ||
+ | 2) [ ] Server | ||
+ | 3) [x] Minimal Install | ||
+ | </ | ||
+ | |||
+ | Appuyez ensuite sur la touche **c** pour pouvoir éventuellement choisir des installations supplémentaires : | ||
+ | |||
+ | < | ||
+ | Please make a selection from the above [' | ||
+ | refresh]: c | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Software selection | ||
+ | |||
+ | Additional software for selected environment | ||
+ | |||
+ | 1) [ ] Guest Agents | ||
+ | 2) [ ] Standard | ||
+ | 3) [ ] Container Management | ||
+ | 4) [ ] .NET Core Development | ||
+ | 5) [ ] RPM Development Tools 12) [ ] Security Tools | ||
+ | 6) [ ] Development Tools 13) [ ] Smart Card Support | ||
+ | 7) [ ] Graphical Administration Tools 14) [ ] System Tools | ||
+ | </ | ||
+ | |||
+ | Ne choisissez rien dans la liste et appuyez simplement sur la touche **c** pour revenir au menu principal : | ||
+ | |||
+ | < | ||
+ | Please make a selection from the above [' | ||
+ | refresh]: c | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation | ||
+ | |||
+ | 1) [x] Language settings | ||
+ | | ||
+ | 3) [!] Installation source | ||
+ | | ||
+ | 5) [!] Installation Destination | ||
+ | (No disks selected) | ||
+ | 7) [x] Network configuration | ||
+ | | ||
+ | 9) [ ] User creation | ||
+ | (No user will be created) | ||
+ | |||
+ | Please make a selection from the above [' | ||
+ | ' | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation | ||
+ | |||
+ | 1) [x] Language settings | ||
+ | | ||
+ | 3) [x] Installation source | ||
+ | | ||
+ | 5) [!] Installation Destination | ||
+ | (No disks selected) | ||
+ | 7) [x] Network configuration | ||
+ | | ||
+ | 9) [ ] User creation | ||
+ | (No user will be created) | ||
+ | |||
+ | Please make a selection from the above [' | ||
+ | ' | ||
+ | </ | ||
+ | |||
+ | ===Installation Destination=== | ||
+ | |||
+ | Choisissez l' | ||
+ | |||
+ | < | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation | ||
+ | |||
+ | 1) [x] Language settings | ||
+ | | ||
+ | 3) [x] Installation source | ||
+ | | ||
+ | 5) [!] Installation Destination | ||
+ | (No disks selected) | ||
+ | 7) [x] Network configuration | ||
+ | | ||
+ | 9) [ ] User creation | ||
+ | (No user will be created) | ||
+ | |||
+ | Please make a selection from the above [' | ||
+ | ' | ||
+ | Probing storage... | ||
+ | </ | ||
+ | |||
+ | Séléctionnez le disque **vda** et appuyez sur la touche **c** : | ||
+ | |||
+ | < | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation Destination | ||
+ | |||
+ | 1) [x] : 5 GiB (vda) | ||
+ | |||
+ | 1 disk selected; 5 GiB capacity; 5 GiB free ... | ||
+ | |||
+ | Please make a selection from the above [' | ||
+ | refresh]: c | ||
+ | </ | ||
+ | |||
+ | A ce stade il vous est possible de choisir l' | ||
+ | |||
+ | < | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Partitioning Options | ||
+ | |||
+ | 1) [ ] Replace Existing Linux system(s) | ||
+ | 2) [ ] Use All Space | ||
+ | 3) [ ] Use Free Space | ||
+ | 4) [ ] Manually assign mount points | ||
+ | |||
+ | Installation requires partitioning of your hard drive. Select what space to use | ||
+ | for the install target or manually assign mount points. | ||
+ | |||
+ | Please make a selection from the above [' | ||
+ | refresh]: 2 | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Partitioning Options | ||
+ | |||
+ | 1) [ ] Replace Existing Linux system(s) | ||
+ | 2) [x] Use All Space | ||
+ | 3) [ ] Use Free Space | ||
+ | 4) [ ] Manually assign mount points | ||
+ | |||
+ | Installation requires partitioning of your hard drive. Select what space to use | ||
+ | for the install target or manually assign mount points. | ||
+ | |||
+ | Please make a selection from the above [' | ||
+ | refresh]: c | ||
+ | </ | ||
+ | |||
+ | A ce stade il vous est possible de choisir le type d' | ||
+ | |||
+ | < | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Partition Scheme Options | ||
+ | |||
+ | 1) [ ] Standard Partition | ||
+ | 2) [x] LVM | ||
+ | 3) [ ] LVM Thin Provisioning | ||
+ | |||
+ | Select a partition scheme configuration. | ||
+ | </ | ||
+ | |||
+ | Bien que préférable de choisir l' | ||
+ | |||
+ | < | ||
+ | Please make a selection from the above [' | ||
+ | refresh]: 1 | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Partition Scheme Options | ||
+ | |||
+ | 1) [x] Standard Partition | ||
+ | 2) [ ] LVM | ||
+ | 3) [ ] LVM Thin Provisioning | ||
+ | |||
+ | Select a partition scheme configuration. | ||
+ | |||
+ | Please make a selection from the above [' | ||
+ | refresh]: c | ||
+ | Generating updated storage configuration | ||
+ | Checking storage configuration... | ||
+ | </ | ||
+ | |||
+ | ===Démarrer l' | ||
+ | |||
+ | De retour au menu principal, choisissez l' | ||
+ | |||
+ | < | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation | ||
+ | |||
+ | 1) [x] Language settings | ||
+ | | ||
+ | 3) [x] Installation source | ||
+ | | ||
+ | 5) [x] Installation Destination | ||
+ | | ||
+ | | ||
+ | 7) [x] Network configuration | ||
+ | | ||
+ | 9) [ ] User creation | ||
+ | (No user will be created) | ||
+ | |||
+ | Please make a selection from the above [' | ||
+ | ' | ||
+ | </ | ||
+ | |||
+ | <WRAP center round important 60%> | ||
+ | **Important** : Notez que nous n' | ||
+ | </ | ||
+ | |||
+ | L' | ||
+ | |||
+ | < | ||
+ | ... | ||
+ | Configuring storage | ||
+ | . | ||
+ | Installing boot loader | ||
+ | . | ||
+ | Performing post-installation setup tasks | ||
+ | . | ||
+ | |||
+ | Configuring installed system | ||
+ | .......... | ||
+ | Writing network configuration | ||
+ | . | ||
+ | Creating users | ||
+ | .... | ||
+ | Configuring addons | ||
+ | Executing com_redhat_kdump addon | ||
+ | Executing org_fedora_oscap addon | ||
+ | . | ||
+ | Generating initramfs | ||
+ | . | ||
+ | Running post-installation scripts | ||
+ | . | ||
+ | Storing configuration files and kickstarts | ||
+ | .. | ||
+ | </ | ||
+ | |||
+ | ===Démarrer la VM=== | ||
+ | |||
+ | A l'issu de l' | ||
+ | |||
+ | < | ||
+ | Installation complete. Press ENTER to quit: | ||
+ | ... | ||
+ | [ OK ] Started Network Manager. | ||
+ | | ||
+ | [ OK ] Reached target Network. | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | [ OK ] Started OpenSSH server daemon. | ||
+ | [ OK ] Started Permit User Sessions. | ||
+ | | ||
+ | [ OK ] Started Command Scheduler. | ||
+ | | ||
+ | [ | ||
+ | </ | ||
+ | |||
+ | ====1.5 - Vérification de la VM Invitée==== | ||
+ | |||
+ | Au prompt, connectez-vous en tant que **root** avec le mot de passe **fenestros** : | ||
+ | |||
+ | < | ||
+ | CentOS Linux 8 | ||
+ | Kernel 4.18.0-305.12.1.el8_4.x86_64 on an x86_64 | ||
+ | |||
+ | testvm1 login: root | ||
+ | Mot de passe : fenestros | ||
+ | [root@testvm1 ~]# | ||
+ | </ | ||
+ | |||
+ | ===Réseau=== | ||
+ | |||
+ | Vérifiez la prise en compte d'une adresse IPv4 dans le réseau 192.168.56.0/ | ||
+ | |||
+ | < | ||
+ | [root@testvm1 ~]# ip a | ||
+ | 1: lo: < | ||
+ | link/ | ||
+ | inet 127.0.0.1/8 scope host lo | ||
+ | | ||
+ | inet6 ::1/128 scope host | ||
+ | | ||
+ | 2: enp1s0: < | ||
+ | | ||
+ | | ||
+ | | ||
+ | inet6 fe80:: | ||
+ | | ||
+ | </ | ||
+ | |||
+ | ===Internet=== | ||
+ | |||
+ | Vérifiez la connectivité | ||
+ | |||
+ | < | ||
+ | [root@testvm1 ~]# ping www.free.fr | ||
+ | PING www.free.fr (212.27.48.10) 56(84) bytes of data. | ||
+ | 64 bytes from www.free.fr (212.27.48.10): | ||
+ | 64 bytes from www.free.fr (212.27.48.10): | ||
- | =====Validation et Évaluation de la Formation===== | + | --- www.free.fr ping statistics --- |
+ | 2 packets transmitted, | ||
+ | rtt min/ | ||
+ | [root@testvm1 ~]# [ALT GR]+[CTRL]+[)] | ||
+ | [root@centos8 ~]# | ||
+ | </ | ||
- | Afin de valider votre formation, veuillez compléter | + | <WRAP center round important 60%> |
+ | **Important** : Notez l' | ||
+ | </ | ||
----- | ----- | ||
- | < | + | Copyright © 2022 Hugh Norris |
- | <DIV ALIGN=" | + | |
- | Copyright © 2021 Hugh Norris< | + | |
- | Document non-contractuel. Le programme peut être modifié sans préavis. | + | |
- | </ | + | |
- | </ | + |