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:l118 [2023/12/09 17:47] – created admin | elearning:workbooks:centos:8:avance:l118 [2024/10/01 10:27] (Version actuelle) – created admin | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
~~PDF: | ~~PDF: | ||
+ | |||
+ | Version : **2024.01** | ||
Dernière mise-à-jour : ~~LASTMOD~~ | Dernière mise-à-jour : ~~LASTMOD~~ | ||
- | ======LCF304 | + | ======LCF610 |
=====Contenu du Module===== | =====Contenu du Module===== | ||
- | * **LCF304 | + | * **LCF610 |
- | * X Window System | + | * Contenu du Module |
- | * Configuration | + | * LAB #1 - Installation d'une Machine Virtuelle CentOS 8 |
- | * Gestionnaire de Fenêtres | + | * 1.1 - Identification du Short ID |
- | * Toolkits | + | * 1.2 - Configuration du Stockage des ISOs |
- | * Freedesktop | + | * 1.3 - Installation du Domaine |
- | * Display Manager | + | * Format des Images |
- | * XDM, GDM et KDM | + | * Convertir le Format de l' |
- | * LightDM | + | * 1.4 - Configuration |
- | * X.orgX11 | + | * Language Settings |
- | * Présentation | + | * Network configuration |
- | * Démarrage et Arrêt | + | * Time settings |
- | * Utilisation | + | * Root password |
- | * Configuration | + | * Installation source |
- | * La Section ServerFlags | + | * Software selection |
- | * La Section ServerLayout | + | * Installation Destination |
- | * La Section Files | + | * Démarrer l'Installation |
- | * La Section Modules | + | * Démarrer |
- | * La Section InputDevice | + | * 1.5 - Vérification de la VM Invitée |
- | * La Section Monitor | + | * Réseau |
- | * La Section Device | + | * Internet |
- | * La Section Screen | + | |
- | * La Commande xwininfo | + | |
- | * La Commande xdpyinfo | + | |
- | * L'Accès Universel | + | |
- | * Le Clavier et la Souris | + | |
- | * Claviers Visuels | + | |
- | * L' | + | |
- | * Autres Technologies | + | |
- | =====X Window System===== | + | =====LAB #1 - Installation d'une Machine Virtuelle CentOS 8===== |
- | L' | + | ====1.1 - Identification |
- | * Fenêtres, | + | KVM sait virtualiser un grand nombre de systèmes d' |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | **X** est une application client/serveur. | + | < |
+ | [root@centos8 ~]# osinfo-query os | more | ||
+ | Short ID | Name | Version | ||
+ | ----------------------+----------------------------------------------------+----------+----------------------------------------- | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | --More-- | ||
+ | </ | ||
- | Il existe trois versions de X : | + | La liste des versions de Red Hat peut être consultée en recherchant la chaîne **Red Hat** dans la sortie de la commande précédente |
- | * **[[http://www.xfree86.org|XFree86]]**, | + | < |
- | * un logiciel libre utilisé par la majorité des distributions jusqu' | + | [root@centos8 ~]# osinfo-query os | grep "Red Hat" |
- | | + | |
- | | + | |
- | * **[[http://www.xig.com|AcceleratedX]]**, | + | rhel-atomic-7.2 | Red Hat Enterprise Linux Atomic Host 7.2 | 7.2 | http:// |
- | | + | rhel-atomic-7.3 |
+ | | ||
+ | | ||
+ | rhel2.1 | Red Hat Enterprise Linux 2.1 | 2.1 | http://redhat.com/ | ||
+ | | ||
+ | rhel2.1.2 | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | rhel4.0 | Red Hat Enterprise Linux 4.0 | 4.0 | http:// | ||
+ | | ||
+ | | ||
+ | rhel4.3 | Red Hat Enterprise Linux 4.3 | 4.3 | http:// | ||
+ | rhel4.4 | ||
+ | | ||
+ | | ||
+ | rhel4.7 | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
- | ====Configuration==== | + | Afin d' |
- | IL existe plusieurs outils pour configurer le serveur X : | + | * Colonne 2, |
- | + | * **Name**, | |
- | * **XFree86 configure** est la commande utilisé pour configurer un serveur X basé sur XFree86 | + | * Le nom officiel du système d' |
- | * **Xorg configure** est la commande | + | * Colonne 3, |
+ | | ||
+ | * La version du système d' | ||
+ | * Colonne | ||
+ | | ||
+ | * 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 | ||
+ | |||
+ | < | ||
+ | [root@centos8 ~]# osinfo-query os | grep centos | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
<WRAP center round important> | <WRAP center round important> | ||
- | **Important** : Ces deux commandes doivent être utilisées quand le serveur X est arrêté. | + | **Important** : Notez que le Short ID de CentOS 8 est actuellement **centos8** quelque soit la version. |
</ | </ | ||
- | Deux outils qui ne bénéficient plus de support sont **xf86cfg** et **xorgcfg** sont parfois présents dans la distribution et peuvent être utilisés pour configurer le serveur X. | + | ====1.2 - Configuration du Stockage des ISOs==== |
- | Dernièrement | + | Afin d' |
- | * Red Hat, CentOS, Fedora | + | < |
+ | [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 | ||
- | <WRAP center round important> | + | [root@centos8 ~]# chmod 755 CentOS-8.1.1911-x86_64-boot.iso |
- | **Important** : Les outils disponibles pour le serveur XFree86 version 3.3.6 et antérieure était **xf86config**, | + | |
- | </ | + | |
- | Les fichiers de configuration de chaque serveur X sont : | + | [root@centos8 ~]# mkdir /isos |
- | * **[[http:// | + | [root@centos8 ~]# mv CentOS-8.1.1911-x86_64-boot.iso /isos |
- | * **/ | + | |
- | * **[[http:// | + | |
- | * **/etc/ | + | |
- | * **[[http:// | + | |
- | * **/ | + | |
- | =====Gestionnaire de Fenêtres===== | + | [root@centos8 ~]# chown -R qemu:qemu /isos |
+ | </ | ||
- | **X** ne doit être confondue avec un **Gestionnaire de Fenêtres** (//Window Manager//). Le Gestionnaire de Fenêtres est responsable de la mise en page des élements fournis pas **X**. C'est pour cette raison que sous Linux il existe de nombreux Gestionnaires différents tels : | + | ====1.3 - Installation du Domain==== |
- | | + | Démarrez maintenant l' |
- | | + | |
- | | + | < |
- | | + | [root@centos8 ~]# virt-install --network bridge: |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | * Xfce, | + | |
- | * Afterstep | + | |
- | * Compiz Fusion, | + | |
- | * Fluxbox, | + | |
- | * Openbox, | + | |
- | * Metacity, | + | |
- | * Blackbox, | + | |
- | * Ion, | + | |
- | * Wmii, | + | |
- | * etc. | + | |
- | Les Gestionnaires les plus connus sont : | + | Starting install... |
+ | Retrieving file vmlinuz... | ||
+ | Retrieving file initrd.img... | ||
+ | Allocating ' | ||
+ | WARNING | ||
+ | Connected to domain testvm1 | ||
+ | Escape character is ^] | ||
+ | [ 0.000000] Linux version 4.18.0-147.el8.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 8.3.1 20190507 (Red Hat 8.3.1-4) (GCC)) #1 SMP Wed Dec 4 21:51:45 UTC 2019 | ||
+ | ... | ||
+ | </ | ||
- | * **KDE** (//Kool Desktop Environment// | + | <WRAP center round important> |
- | * **GNOME** (//Gnu Network Object Model Environment// | + | **Important** : Notez que la quantité |
+ | </ | ||
- | =====Toolkits===== | + | Dans cette commande on peut constater l' |
- | Chaque Gestionnaire utilise | + | ^ Option ^ Commentaire ^ |
+ | | --network bridge: | Fixe la valeur du pont à utiliser par la VM à virbr0 | | ||
+ | | --name | ||
+ | | --os-variant= | Egal à la valeur du Short ID identifié au-dessus | ||
+ | | --ram= | Fixe la quantité de la RAM de la VM en Mo | | ||
+ | | --vcpus= | Fixe le nombre de vCPUs de la VM | | ||
+ | | --disk path= | Crée une image pour la VM, au format indiqué et de la taille indiquée en Go, à l'emplacement spécifié | | ||
+ | | --graphics | La valeur | ||
+ | | --location= | Indique l' | ||
+ | | --extra-args= | Indique les options de la connectivité de la console | | ||
- | Une bibliothèque complète est appelée un **Widget Toolkit**. Le Toolkit le plus connu est **MOTIF**. Cependant **MOTIF** n'est pas libre. Pour cette raison les développeurs de Linux ont du concevoir | + | ===Format |
- | Comme dans beaucoup de cas de développement sous Linux, il existe plusieurs Toolkits dont les deux les plus connus sont : | + | Une image est un disque virtuel. KVM reconnait |
- | * **GTK** (//GIMP Toolkit//), programé en langage C et embarqué par défaut dans le Gestionnaire de Fenêtres **Gnome**, | + | < |
- | * **QT** (//Cute//), programé en langage C++ et embarqué par défaut dans le Gestionnaire de Fenêtres **KDE**. | + | [root@centos8 ~]# qemu-img -h | grep Supported |
+ | 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 | ||
+ | </code> | ||
- | =====Freedesktop===== | + | <WRAP center round important> |
+ | **Important** : Consultez **[[https:// | ||
+ | </ | ||
- | Afin d' | + | ===Convertir |
- | =====Display Manager===== | + | Il est possible de convertir un format d' |
- | Le **Display Manager** est chargé de gérer les connexions locales et à distance, les authentifications et les ouvertures de sessions. De ce fait, Le Display Manager est l' | + | < |
+ | # qemu-img convert -f vmdk -O qcow2 myimage.vmdk mynewimage.qcow2 | ||
+ | </ | ||
- | Pour les connexions à distance | + | Dans le cas d'une image au format |
- | ====XDM, GDM et KDM==== | + | < |
+ | # VBoxManage clonehd myimage.vdi myrawimage.img --format raw | ||
+ | </ | ||
- | Le Display Manager par défaut, compatible avec tous les serveurs | + | Ensuite il convient d' |
- | * **GDM** pour GNOME, | + | < |
- | * **KDM** pour KDE, | + | # qemu-img convert -f raw -O qcow2 myrawimage.img mynewimage.qcow2 |
- | * **LightDM** de Canonical. | + | </ |
- | Les deux premiers sont essentiellement des XDM avec des fonctionnalités supplémentaires telles : | + | ====1.4 - Configuration de l' |
- | * le passage d'un utilisateur à un autre, | + | ===Language Settings=== |
- | * la liste des utilisateurs, | + | |
- | * le choix d'un gestionnaire de fenêtres, | + | |
- | * la possibilité d'une autoconnexion, | + | |
- | * la liste des serveurs **X** distants, | + | |
- | * etc. | + | |
- | ====LightDM==== | + | Commencez par appuyer sur le choix **1** : |
- | LightDM est un gestionnaire d' | + | < |
+ | ... | ||
+ | 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 | ||
- | * Pas de dépendances de Gnome | + | 1) [x] Language settings |
- | * Utilisation de webkit pour le rendu des thèmes | + | (English (United States)) |
- | * Support de Toolkits Gtk et Qt | + | 3) [!] Installation source |
+ | | ||
+ | 5) [!] Installation Destination | ||
+ | (No disks selected) | ||
+ | 7) [!] Network configuration | ||
+ | (Not connected) | ||
+ | 9) [!] User creation | ||
+ | (No user will be created) | ||
- | Sous RHEL/CentOS 7, LightDM n'est pas installé par défaut et se trouve dans le dépôt EPEL. Installez donc le dépôt | + | Please make a selection from the above [' |
+ | ' | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
- | < | + | 3) Arabic |
- | [root@centos7 ~]# yum install -y epel-release | + | 4) Assamese |
- | Loaded plugins: fastestmirror, | + | 5) Asturian |
- | Loading mirror speeds from cached hostfile | + | 6) Belarusian |
- | * base: fr.mirror.babylon.network | + | 7) Bulgarian |
- | * extras: fr.mirror.babylon.network | + | 8) Bangla |
- | * updates: fr.mirror.babylon.network | + | 9) Tibetan |
- | Resolving Dependencies | + | 10) Bosnian |
- | --> Running transaction check | + | 11) Catalan |
- | ---> Package epel-release.noarch 0:7-6 will be installed | + | 12) Czech 38) Georgian |
- | --> Finished Dependency Resolution | + | 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 | ||
- | Dependencies Resolved | + | Press ENTER to continue: |
+ | 26) Irish 52) Low German | ||
+ | </ | ||
+ | Choisissez l' | ||
+ | |||
+ | < | ||
+ | Please select language support to install [' | ||
+ | to continue, ' | ||
================================================================================ | ================================================================================ | ||
- | | ||
================================================================================ | ================================================================================ | ||
- | Installing: | + | Language settings |
- | | + | |
- | Transaction Summary | + | Available locales |
+ | 1) French (France) | ||
+ | 2) French (Canada) | ||
+ | |||
+ | Please select language support to install [' | ||
+ | to continue, ' | ||
================================================================================ | ================================================================================ | ||
- | Install | + | ================================================================================ |
- | + | Installation | |
- | Total download size: 14 k | + | |
- | Installed size: 24 k | + | |
- | Downloading packages: | + | |
- | epel-release-7-6.noarch.rpm | + | |
- | Running transaction check | + | |
- | Running transaction test | + | |
- | Transaction test succeeded | + | |
- | Running transaction | + | |
- | Installing : epel-release-7-6.noarch | + | |
- | Verifying | + | |
- | Installed: | + | 1) [x] Language settings |
- | | + | (French (France)) |
+ | 3) [!] Installation source | ||
+ | | ||
+ | | ||
+ | 5) [!] Installation Destination | ||
+ | (No disks selected) | ||
+ | 7) [!] Network configuration | ||
+ | (Not connected) | ||
+ | 9) [!] User creation | ||
+ | (No user will be created) | ||
- | Complete! | + | Please make a selection from the above [' |
+ | ' | ||
+ | [anaconda]1: | ||
</ | </ | ||
- | Installez ensuite LightDM | + | ===Network configuration=== |
+ | |||
+ | Choisissez maintenant l' | ||
< | < | ||
- | [root@centos7 ~]# yum install -y lightdm | + | ================================================================================ |
- | Loaded plugins: fastestmirror, | + | ================================================================================ |
- | epel/ | + | Installation |
- | epel | 4.3 kB | + | |
- | (1/3): epel/ | + | |
- | (2/3): epel/ | + | |
- | (3/3): epel/ | + | |
- | Loading mirror speeds from cached hostfile | + | |
- | * base: fr.mirror.babylon.network | + | |
- | * epel: mirrors.ircam.fr | + | |
- | * extras: fr.mirror.babylon.network | + | |
- | * updates: fr.mirror.babylon.network | + | |
- | Resolving Dependencies | + | |
- | --> Running transaction check | + | |
- | ---> Package lightdm.x86_64 0: | + | |
- | --> Processing Dependency: lightdm-greeter | + | |
- | --> Processing Dependency: lightdm-gobject(x86-64) | + | |
- | --> Running transaction check | + | |
- | ---> Package lightdm-gobject.x86_64 0: | + | |
- | ---> Package lightdm-gtk.x86_64 0: | + | |
- | --> Processing Dependency: lightdm-gtk-common | + | |
- | --> Running transaction check | + | |
- | ---> Package lightdm-gtk-common.noarch 0: | + | |
- | --> Finished Dependency Resolution | + | |
- | Dependencies Resolved | + | 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 [' | ||
+ | ' | ||
================================================================================ | ================================================================================ | ||
- | | ||
================================================================================ | ================================================================================ | ||
- | Installing: | + | Network configuration |
- | | + | |
- | Installing for dependencies: | + | |
- | | + | |
- | | + | |
- | | + | |
- | Transaction Summary | + | 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 | ||
+ | ================================================================================ | ||
================================================================================ | ================================================================================ | ||
- | Install | + | Network configuration |
- | Total download size: 362 k | + | Wired (enp1s0) disconnected |
- | Installed size: 970 k | + | |
- | Downloading packages: | + | |
- | warning: / | + | |
- | Public key for lightdm-1.10.6-4.el7.x86_64.rpm is not installed | + | |
- | (1/4): lightdm-1.10.6-4.el7.x86_64.rpm | + | |
- | (2/4): lightdm-gobject-1.10.6-4.el7.x86_64.rpm | + | |
- | (3/4): lightdm-gtk-1.8.5-19.el7.x86_64.rpm | + | |
- | (4/4): lightdm-gtk-common-1.8.5-19.el7.noarch.rpm | + | |
- | -------------------------------------------------------------------------------- | + | |
- | Total 179 kB/s | 362 kB 00:02 | + | |
- | Retrieving key from file:/// | + | |
- | Importing GPG key 0x352C64E5: | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | Running transaction check | + | |
- | Running transaction test | + | |
- | Transaction test succeeded | + | |
- | Running transaction | + | |
- | Installing : lightdm-gobject-1.10.6-4.el7.x86_64 | + | |
- | Installing : lightdm-gtk-common-1.8.5-19.el7.noarch | + | |
- | Installing : lightdm-1.10.6-4.el7.x86_64 | + | |
- | Installing : lightdm-gtk-1.8.5-19.el7.x86_64 | + | |
- | Verifying | + | |
- | Verifying | + | |
- | Verifying | + | |
- | Verifying | + | |
- | Installed: | + | Host Name: testvm1.ittraining.network |
- | lightdm.x86_64 0:1.10.6-4.el7 | + | |
- | Dependency Installed: | + | Current host name: localhost |
- | lightdm-gobject.x86_64 0: | + | |
- | Complete! | + | 1) Set host name |
+ | 2) Configure device enp1s0 | ||
</ | </ | ||
- | Le fichier de configuration de LightDM est **/ | + | Choisissez l' |
< | < | ||
- | [root@centos7 ~]# cat / | + | Please make a selection from the above [' |
- | # | + | refresh]: 2 |
- | # General configuration | + | ================================================================================ |
- | # | + | ================================================================================ |
- | # start-default-seat | + | Device configuration |
- | # greeter-user | + | |
- | # minimum-display-number | + | |
- | # minimum-vt | + | |
- | # lock-memory | + | |
- | # user-authority-in-system-dir | + | |
- | # guest-account-script | + | |
- | # logind-load-seats | + | |
- | # logind-check-graphical | + | |
- | # log-directory | + | |
- | # run-directory | + | |
- | # cache-directory | + | |
- | # sessions-directory | + | |
- | # remote-sessions-directory | + | |
- | # greeters-directory | + | |
- | # backup-logs | + | |
- | # | + | |
- | [LightDM] | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | minimum-vt=1 | + | |
- | # | + | |
- | user-authority-in-system-dir=true | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | 1) IPv4 address or " |
- | # Seat defaults | + | dhcp |
- | # | + | 2) IPv4 netmask |
- | # type = Seat type (xlocal, xremote) | + | 3) IPv4 gateway |
- | # xdg-seat = Seat name to set pam_systemd XDG_SEAT variable and name to pass to X server | + | 4) IPv6 address[/prefix] or " |
- | # pam-service = PAM service to use for login | + | turn off |
- | # pam-autologin-service = PAM service to use for autologin | + | auto |
- | # pam-greeter-service = PAM service to use for greeters | + | 5) IPv6 default gateway |
- | # xserver-command = X server command to run (can also contain arguments e.g. X -special-option) | + | 6) Nameservers |
- | # xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option) | + | 7) [ ] Connect automatically after reboot |
- | # xserver-layout = Layout to pass to X server | + | 8) [ ] Apply configuration |
- | # xserver-config = Config file to pass to X server | + | |
- | # xserver-allow-tcp = True if TCP/IP connections are allowed to this X server | + | |
- | # xserver-share = True if the X server is shared for both greeter and session | + | |
- | # xserver-hostname = Hostname of X server (only for type=xremote) | + | |
- | # xserver-display-number = Display number of X server (only for type=xremote) | + | |
- | # xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true) | + | |
- | # xdmcp-port = XDMCP UDP/IP port to communicate on | + | |
- | # xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf) | + | |
- | # unity-compositor-command = Unity compositor command to run (can also contain arguments e.g. unity-system-compositor -special-option) | + | |
- | # unity-compositor-timeout = Number of seconds to wait for compositor | + | |
- | # greeter-session = Session to load for greeter | + | |
- | # greeter-hide-users = True to hide the user list | + | |
- | # greeter-allow-guest = True if the greeter should show a guest login option | + | |
- | # greeter-show-manual-login = True if the greeter should offer a manual login option | + | |
- | # greeter-show-remote-login = True if the greeter should offer a remote login option | + | |
- | # user-session = Session to load for users | + | |
- | # allow-user-switching = True if allowed to switch users | + | |
- | # allow-guest = True if guest login is allowed | + | |
- | # guest-session = Session to load for guests (overrides user-session) | + | |
- | # session-wrapper = Wrapper script to run session with | + | |
- | # greeter-wrapper = Wrapper script to run greeter with | + | |
- | # guest-wrapper = Wrapper script to run guest sessions with | + | |
- | # display-setup-script = Script to run when starting a greeter session (runs as root) | + | |
- | # display-stopped-script = Script to run after stopping the display server | + | |
- | # greeter-setup-script = Script to run when starting a greeter (runs as root) | + | |
- | # session-setup-script = Script to run when starting a user session (runs as root) | + | |
- | # session-cleanup-script = Script to run when quitting a user session (runs as root) | + | |
- | # autologin-guest = True to log in as guest by default | + | |
- | # autologin-user = User to log in with by default (overrides autologin-guest) | + | |
- | # autologin-user-timeout = Number of seconds to wait before loading default user | + | |
- | # autologin-session = Session to load for automatic login (overrides user-session) | + | |
- | # autologin-in-background = True if autologin session should not be immediately activated | + | |
- | # exit-on-failure = True if the daemon should exit if this seat fails | + | |
- | # | + | |
- | [SeatDefaults] | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | xserver-command=X -background none | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | greeter-session=lightdm-greeter | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | session-wrapper=/ | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | #autologin-in-background=false | + | |
- | # | + | |
- | # | + | |
- | # | + | Configuring device enp1s0. |
- | # Seat configuration | + | </ |
- | # | + | |
- | # Each seat must start with " | + | Laissez l’option **1** en **192.168.56.50**, |
- | # Uses settings | + | |
- | # | + | < |
- | #[Seat:0] | + | Please make a selection |
+ | refresh]: 6 | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Enter a new value for ' | ||
+ | .8.4.4 | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Device configuration | ||
- | # | + | 1) IPv4 address or " |
- | # XDMCP Server configuration | + | 192.168.56.50 |
- | # | + | 2) IPv4 netmask |
- | # enabled = True if XDMCP connections should be allowed | + | 255.255.255.0 |
- | # port = UDP/IP port to listen for connections on | + | 3) IPv4 gateway |
- | # listen-address | + | 192.168.56.1 |
- | # key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication | + | 4) IPv6 address[/prefix] or " |
- | # | + | turn off |
- | # The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn. | + | |
- | # it can be a word and the first 7 characters are used as the key. | + | 5) IPv6 default gateway |
- | # | + | 6) Nameservers |
- | [XDMCPServer] | + | 8.8.8.8,8.8.4.4 |
- | # | + | 7) [ ] Connect automatically after reboot |
- | #port=177 | + | 8) [ ] Apply configuration in installer |
- | # | + | |
- | #key= | + | |
- | # | + | Configuring device enp1s0. |
- | # VNC Server configuration | + | |
- | # | + | |
- | # enabled = True if VNC connections should be allowed | + | |
- | # command = Command to run Xvnc server with | + | |
- | # port = TCP/IP port to listen for connections on | + | |
- | # listen-address = Host/ | + | |
- | # width = Width of display to use | + | |
- | # height = Height of display to use | + | |
- | # depth = Color depth of display to use | + | |
- | # | + | |
- | [VNCServer] | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | #depth=8 | + | |
</ | </ | ||
- | La configuration | + | Il est important de configurer la prise en compte automatique de la configuration |
< | < | ||
- | [root@centos7 ~]# cat / | + | Please make a selection from the above [' |
- | # | + | refresh]: 7 |
- | # background = Background file to use, either an image path or a color (e.g. #772953) | + | ================================================================================ |
- | # theme-name = GTK+ theme to use | + | ================================================================================ |
- | # icon-theme-name = Icon theme to use | + | Device configuration |
- | # font-name = Font to use | + | |
- | # xft-antialias | + | |
- | # xft-dpi | + | |
- | # xft-hintstyle | + | |
- | # xft-rgba | + | |
- | # show-indicators | + | |
- | # show-clock (true or false) | + | |
- | # clock-format | + | |
- | # keyboard | + | |
- | # position | + | |
- | # default-user-image | + | |
- | # screensaver-timeout | + | |
- | # | + | |
- | [greeter] | + | |
- | background=/ | + | |
- | #theme-name= | + | |
- | # | + | |
- | #font-name= | + | |
- | # | + | |
- | #xft-dpi= | + | |
- | # | + | |
- | #xft-rgba= | + | |
- | # | + | |
- | #show-clock= | + | |
- | # | + | |
- | #keyboard= | + | |
- | #position= | + | |
- | # | + | |
- | </ | + | |
- | =====X.orgX11===== | + | 1) IPv4 address or " |
+ | 192.168.56.50 | ||
+ | 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) [ ] Apply configuration in installer | ||
- | ====Présentation==== | + | Configuring device enp1s0. |
+ | </ | ||
- | L' | + | Pour pouvoir installer les paquets logiciels, la configuration réseau doit être appliquée immédiatement. Choisissez donc l' |
< | < | ||
- | [root@centos7 ~]# whereis Xorg | + | Please make a selection from the above [' |
- | Xorg: / | + | 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. | ||
</ | </ | ||
- | Les modules de **X.orgX11** sont installés par défaut dans **/ | + | Validez les configurations actuelles en appuyant sur la touche |
< | < | ||
- | [root@centos7 ~]# ls -lR / | + | Please make a selection from the above [' |
- | / | + | refresh]: c |
- | total 36 | + | ================================================================================ |
- | drwxr-xr-x. 5 root root 4096 Jun 4 10:00 modules | + | ================================================================================ |
- | -rw-r--r--. 1 root root 31246 Apr 10 2015 protocol.txt | + | Network configuration |
- | / | + | Wired (enp1s0) disconnected |
- | total 776 | + | |
- | drwxr-xr-x. 2 root root 4096 Jun 4 15:33 drivers | + | |
- | drwxr-xr-x. 2 root root 22 Jun 4 10:00 extensions | + | |
- | drwxr-xr-x. 2 root root 106 Jun 4 10:02 input | + | |
- | -rwxr-xr-x. 1 root root 99568 Apr 10 2015 libexa.so | + | |
- | -rwxr-xr-x. 1 root root 20016 Apr 10 2015 libfbdevhw.so | + | |
- | -rwxr-xr-x. 1 root root 153528 Apr 10 2015 libfb.so | + | |
- | -rwxr-xr-x. 1 root root 19952 Mar 6 2015 libglamoregl.so | + | |
- | -rwxr-xr-x. 1 root root 150992 Apr 10 2015 libint10.so | + | |
- | -rwxr-xr-x. 1 root root 36552 Apr 10 2015 libshadowfb.so | + | |
- | -rwxr-xr-x. 1 root root 36248 Apr 10 2015 libshadow.so | + | |
- | -rwxr-xr-x. 1 root root 28232 Apr 10 2015 libvbe.so | + | |
- | -rwxr-xr-x. 1 root root 33576 Apr 10 2015 libvgahw.so | + | |
- | -rwxr-xr-x. 1 root root 198568 Apr 10 2015 libwfb.so | + | |
- | / | + | Host Name: testvm1.ittraining.network |
- | total 2616 | + | |
- | -rwxr-xr-x. 1 root root 11296 Mar 6 2015 ati_drv.so | + | |
- | -rwxr-xr-x. 1 root root 20408 Jun 9 2014 dummy_drv.so | + | |
- | -rwxr-xr-x. 1 root root 24648 Jun 10 2014 fbdev_drv.so | + | |
- | -rwxr-xr-x. 1 root root 1501152 Mar 6 2015 intel_drv.so | + | |
- | -rwxr-xr-x. 1 root root 50472 Jun 9 2014 modesetting_drv.so | + | |
- | -rwxr-xr-x. 1 root root 211080 Jun 10 2014 nouveau_drv.so | + | |
- | -rwxr-xr-x. 1 root root 181560 Mar 11 2015 qxl_drv.so | + | |
- | -rwxr-xr-x. 1 root root 438848 Mar 6 2015 radeon_drv.so | + | |
- | -rwxr-xr-x. 1 root root 24216 Jun 9 2014 v4l_drv.so | + | |
- | lrwxrwxrwx. 1 root root 50 Jun 4 15:33 vboxvideo_drv.so -> / | + | |
- | -rwxr-xr-x. 1 root root 28936 Jun 10 2014 vesa_drv.so | + | |
- | -rwxr-xr-x. 1 root root 162008 Mar 6 2015 vmware_drv.so | + | |
- | / | + | Current host name: localhost |
- | total 296 | + | |
- | -rwxr-xr-x. 1 root root 302520 Apr 10 2015 libglx.so | + | |
- | / | + | 1) Set host name |
- | total 276 | + | 2) Configure device enp1s0 |
- | -rwxr-xr-x. | + | |
- | -rwxr-xr-x. 1 root root 70464 Mar 6 2015 synaptics_drv.so | + | |
- | -rwxr-xr-x. 1 root root 20144 Jun 10 2014 vmmouse_drv.so | + | |
- | -rwxr-xr-x. 1 root root 11440 Jun 10 2014 void_drv.so | + | |
- | -rwxr-xr-x. 1 root root 113864 Jun 10 2014 wacom_drv.so | + | |
</ | </ | ||
- | Sous RHEL/CentOS 7 les paquets X.orgX11 installés peuvent être trouvés en utilisant | + | Pour retourner au menu principal, appuyez sur la touche **c** de nouveau |
< | < | ||
- | [root@centos7 ~]# rpm -qa | grep xorg | + | Please make a selection from the above [' |
- | xorg-x11-drv-intel-2.99.916-5.el7.x86_64 | + | refresh]: c |
- | xorg-x11-fonts-Type1-7.5-9.el7.noarch | + | ================================================================================ |
- | abrt-addon-xorg-2.1.11-19.el7.centos.0.3.x86_64 | + | ================================================================================ |
- | xorg-x11-utils-7.5-13.1.el7.x86_64 | + | Installation |
- | xorg-x11-drv-void-1.4.0-23.el7.x86_64 | + | |
- | xorg-x11-drv-dummy-0.3.6-15.el7.x86_64 | + | 1) [x] Language settings |
- | xorg-x11-drv-fbdev-0.4.3-15.el7.x86_64 | + | (French (France)) |
- | xorg-x11-drv-evdev-2.8.2-5.el7.x86_64 | + | 3) [!] Installation source |
- | xorg-x11-glamor-0.6.0-2.20140918git347ef4f.el7.x86_64 | + | (Error setting up software |
- | xorg-x11-drv-qxl-0.1.1-12.el7.x86_64 | + | source) |
- | xorg-x11-server-utils-7.7-4.el7.x86_64 | + | 5) [!] Installation Destination |
- | xorg-x11-drivers-7.7-6.el7.x86_64 | + | (No disks selected) |
- | xorg-x11-drv-modesetting-0.8.0-13.el7.x86_64 | + | 7) [x] Network configuration |
- | xorg-x11-xinit-1.3.2-14.el7.x86_64 | + | (Wired (enp1s0) connected) |
- | xorg-x11-drv-ati-7.4.0-1.20140918git56c7fb8.el7.x86_64 | + | 9) [!] User creation |
- | xorg-x11-xauth-1.0.7-6.1.el7.x86_64 | + | (No user will be created) |
- | xorg-x11-drv-vesa-2.3.2-14.el7.x86_64 | + | |
- | xorg-x11-font-utils-7.5-18.1.el7.x86_64 | + | Please make a selection from the above [' |
- | xorg-x11-server-common-1.15.0-33.el7_1.x86_64 | + | ' |
- | xorg-x11-drv-vmware-13.0.2-1.el7.x86_64 | + | [anaconda]1: |
- | xorg-x11-drv-vmmouse-13.0.0-10.el7.x86_64 | + | |
- | xorg-x11-server-Xorg-1.15.0-33.el7_1.x86_64 | + | |
- | xorg-x11-drv-wacom-0.23.0-6.el7.x86_64 | + | |
- | xorg-x11-drv-nouveau-1.0.10-5.el7.x86_64 | + | |
- | xorg-x11-drv-synaptics-1.7.1-13.el7.x86_64 | + | |
- | xorg-x11-xkb-utils-7.7-9.1.el7.x86_64 | + | |
- | xorg-x11-drv-v4l-0.2.0-35.el7.x86_64 | + | |
</ | </ | ||
- | ====Démarrage et Arrêt==== | + | ===Time settings=== |
- | Les distributions RHEL ont historiquement utilisés les niveaux d' | + | Choisissez maintenant |
- | ====Utilisation==== | + | < |
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation | ||
- | Pour interagir avec et contrôler X.orgX11, un utilisateur dispose de plusieurs raccourcis claviers : | + | 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) | ||
- | ^ Raccourci | + | Please make a selection from the above [' |
- | | < | + | ' |
- | | < | + | ================================================================================ |
- | | < | + | ================================================================================ |
+ | Time settings | ||
- | ====Configuration==== | + | Timezone: America/ |
- | <WRAP center round important> | + | NTP servers:not configured |
- | **Important** | + | |
- | </ | + | |
- | Un fichier de configuration **/etc/ | + | 1) Change timezone |
+ | 2) Configure NTP servers | ||
+ | </code> | ||
- | < | + | Choisissez l' |
- | Section " | + | |
- | Identifier | + | |
- | ModelName | + | |
- | VendorName | + | |
- | EndSection | + | |
- | Section " | + | < |
- | | + | Please make a selection from the above [' |
- | Driver | + | refresh]: 1 |
- | Identifier | + | ================================================================================ |
- | | + | ================================================================================ |
- | EndSection | + | Timezone settings |
- | Section " | + | Available regions |
- | | + | 1) Europe |
- | | + | 2) Asia 6) Pacific |
- | | + | 3) America |
- | | + | 4) Africa |
- | Identifier | + | </code> |
- | Monitor | + | |
- | EndSection | + | |
- | </file> | + | |
- | Des applications tierces peuvent déposer des fichiers de configuration qui leur sont propres dans le répertoire | + | Appuyez sur la touche |
< | < | ||
- | [root@centos7 ~]# ls -l / | + | Please select the timezone. Use numbers or type names directly |
- | total 24 | + | region list, ' |
- | -rw-r--r--. | + | ================================================================================ |
- | -rw-r--r--. | + | ================================================================================ |
- | -rw-r--r--. 1 root root 1704 Mar | + | |
- | -rw-r--r--. 1 root root 115 Jun 10 2014 50-vmmouse.conf | + | 1) Amsterdam |
- | -rw-r--r--. 1 root root 835 Jun 10 | + | 2) Andorra |
- | -rw-r--r--. 1 root root 61 Mar 6 2015 glamor.conf | + | 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 | ||
</ | </ | ||
- | <WRAP center round important> | + | Puis choisissez l' |
- | **Important** : Les fichiers dans le répertoire **xorg.conf.d** sont numérotés. L' | + | |
- | </ | + | |
- | Les fichiers de configuration contiennent des sections. Chaque section commence par une directive **Section** | + | < |
+ | Please select the timezone. Use numbers or type names directly [' | ||
+ | region list, ' | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation | ||
- | < | + | 1) [x] Language settings |
- | Section " | + | (French (France)) |
- | ... | + | 3) [!] Installation source |
- | </ | + | |
+ | | ||
+ | 5) [!] Installation Destination | ||
+ | (No disks selected) | ||
+ | 7) [x] Network configuration | ||
+ | | ||
+ | 9) [!] User creation | ||
+ | (No user will be created) | ||
- | et se termine par une directive **EndSection** | + | Please make a selection from the above [' |
+ | ' | ||
+ | </ | ||
- | < | + | ===Root password=== |
- | ... | + | |
- | EndSection | + | |
- | </ | + | |
- | Dans chaque section se trouvent des lignes comprennant une **Option** suivi d'une ou de plusieurs | + | Pour définir le mot de passe root de la VM, choisissez l' |
- | <file> | + | <code> |
- | | + | ================================================================================ |
- | </ | + | ================================================================================ |
+ | Installation | ||
- | <WRAP center round important> | + | 1) [x] Language settings |
- | **A faire** : Notez que la valeur est entourée de ". | + | (French (France)) |
- | </ | + | 3) [!] Installation source |
+ | | ||
+ | | ||
+ | 5) [!] Installation Destination | ||
+ | (No disks selected) | ||
+ | 7) [x] Network configuration | ||
+ | | ||
+ | 9) [!] User creation | ||
+ | (No user will be created) | ||
- | Certaines options sont des booléenes. Les valeurs admises sont : | + | Please make a selection from the above [' |
+ | ' | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Root password | ||
- | * **Vrai** : 1, on, true, yes, | + | Please select new root password. You will have to type it twice. |
- | * **Faux** : 0, off, false, no. | + | |
- | ===La Section ServerFlags=== | + | Password: fenestros |
+ | Password (confirm): fenestros | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Question | ||
- | Cette section optionnelle contient des directives globales. Cependant les valeurs attribuées ici peuvent être modifiées par les valeurs des directives dans la section **ServerLayout**. | + | 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? | ||
- | Un exemple de cette section est : | + | Please respond ' |
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation | ||
- | < | + | 1) [x] Language settings |
- | Section " | + | (French (France)) |
- | Option " | + | 3) [!] Installation source |
- | EndSection | + | (Error setting up software |
- | </ | + | source) |
+ | 5) [!] Installation Destination | ||
+ | (No disks selected) | ||
+ | 7) [x] Network configuration | ||
+ | | ||
+ | 9) [ ] User creation | ||
+ | (No user will be created) | ||
- | Les directives les plus courantes dans cette section sont : | + | Please make a selection from the above [' |
+ | ' | ||
+ | </ | ||
- | ^ Directive | + | ===Installation source=== |
- | | " | + | |
- | | " | + | |
- | ===La Section ServerLayout=== | + | Choisissez l' |
- | Cette section regroupe les informations concernant les périphériques en entrée et les périphériques en sortie. | + | < |
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation | ||
- | Un exemple de cette section est : | + | 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 [' |
- | Section | + | ' |
- | Identifier | + | ================================================================================ |
- | Screen | + | ================================================================================ |
- | InputDevice | + | Installation source |
- | InputDevice | + | |
- | EndSection | + | |
- | </ | + | |
- | Les directives les plus courantes dans cette section sont : | + | Choose an installation source type. |
+ | 1) CD/DVD | ||
+ | 2) local ISO file | ||
+ | 3) Network | ||
+ | </ | ||
- | ^ Directive | + | L'ISO utilisé |
- | | " | + | |
- | | " | + | |
- | | " | + | |
- | | " | + | |
- | <WRAP center round important> | + | <code> |
- | **Important** | + | Please make a selection from the above [' |
- | </ | + | refresh]: 3 |
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation source | ||
- | ===La Section Files=== | + | 1) Closest mirror |
+ | 2) http:// | ||
+ | 3) https:// | ||
+ | 4) ftp:// | ||
+ | 5) nfs | ||
+ | </ | ||
- | Cette section regroupe les informations concernant les fichiers de configuration supplémentaires. | + | Choisissez l' |
- | Un exemple de cette section est : | + | < |
+ | Please make a selection from the above [' | ||
+ | refresh]: 1 | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation | ||
- | < | + | 1) [x] Language settings |
- | Section " | + | (French (France)) |
- | RgbPath | + | 3) [x] Installation source |
- | FontPath | + | |
- | EndSection | + | 8.1.1911/BaseOS/ |
- | </ | + | 5) [!] Installation Destination |
+ | (No disks selected) | ||
+ | 7) [x] Network configuration | ||
+ | | ||
+ | 9) [ ] User creation | ||
+ | (No user will be created) | ||
- | Les directives les plus courantes dans cette section sont : | + | Please make a selection from the above [' |
+ | ' | ||
+ | </ | ||
- | ^ Directive | + | ===Software selection=== |
- | | " | + | |
- | | " | + | |
- | | " | + | |
- | Voici le fichier | + | Choisissez l' |
< | < | ||
- | [root@centos7 ~]# more / | + | ================================================================================ |
- | 255 250 250 snow | + | ================================================================================ |
- | 248 248 255 ghost white | + | Installation |
- | 248 248 255 GhostWhite | + | |
- | 245 245 245 white smoke | + | |
- | 245 245 245 WhiteSmoke | + | |
- | 220 220 220 gainsboro | + | |
- | 255 250 240 floral white | + | |
- | 255 250 240 FloralWhite | + | |
- | 253 245 230 old lace | + | |
- | 253 245 230 OldLace | + | |
- | 250 240 230 linen | + | |
- | 250 235 215 antique white | + | |
- | 250 235 215 AntiqueWhite | + | |
- | 255 239 213 papaya whip | + | |
- | 255 239 213 PapayaWhip | + | |
- | 255 235 205 blanched almond | + | |
- | 255 235 205 BlanchedAlmond | + | |
- | 255 228 196 bisque | + | |
- | 255 218 185 peach puff | + | |
- | 255 218 185 PeachPuff | + | |
- | 255 222 173 navajo white | + | |
- | 255 222 173 NavajoWhite | + | |
- | 255 228 181 moccasin | + | |
- | 255 248 220 cornsilk | + | |
- | 255 255 240 ivory | + | |
- | 255 250 205 lemon chiffon | + | |
- | 255 250 205 LemonChiffon | + | |
- | 255 245 238 seashell | + | |
- | 240 255 240 honeydew | + | |
- | --More--(3%) | + | |
- | </ | + | |
- | ===La Section Modules=== | + | 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) | ||
- | Par défaut le serveur X charge ses modules à partir du répertoire **/ | + | Please make a selection from the above [' |
+ | ' | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Software selection | ||
- | < | + | Base environment |
- | [root@centos7 ~]# ls / | + | |
- | drivers | + | 1) [ ] Server with GUI 4) [ ] Workstation |
- | extensions | + | 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 : | ||
< | < | ||
- | root@debian8:~# ls / | + | Please make a selection from the above [' |
- | drivers | + | refresh]: c |
- | extensions | + | ================================================================================ |
+ | ================================================================================ | ||
+ | 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 | ||
</ | </ | ||
- | <WRAP center round important> | + | Ne choisissez rien dans la liste et appuyez simplement sur la touche |
- | **Important** : Le chemin par défaut de l' | + | |
- | </ | + | |
- | Un exemple de cette section est : | + | < |
+ | Please make a selection from the above [' | ||
+ | refresh]: c | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation | ||
- | < | + | 1) [x] Language settings |
- | Section " | + | (French (France)) |
- | Load " | + | 3) [!] Installation source |
- | EndSection | + | (Processing...) |
- | </ | + | 5) [!] Installation Destination |
+ | (No disks selected) | ||
+ | 7) [x] Network configuration | ||
+ | | ||
+ | 9) [ ] User creation | ||
+ | (No user will be created) | ||
- | <WRAP center round important> | + | Please make a selection from the above ['b' to begin installation, ' |
- | **Attention** : Dans l'exemple ci-dessus, le module **fbdevhw** sera chargé **à la place des modules par défaut**. Pour charger les modules par défaut il faut les spécifier. | + | ' |
- | </ | + | ================================================================================ |
+ | ================================================================================ | ||
+ | Installation | ||
- | ===La Section InputDevice=== | + | 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) | ||
- | Cette section décrit un périphérique en entrée. Il n'ya normalement qu'une section pour le clavier, les souris étant généralement détectées automatiquement. Vous pouvez cependant configurer une section **InputDevice** pour une souris en ecrasant la configuration par défaut. | + | Please make a selection from the above ['b' |
+ | ' | ||
+ | </ | ||
- | Un exemple de cette section est : | + | ===Installation Destination=== |
- | < | + | Choisissez l' |
- | Section " | + | |
- | Identifier | + | |
- | Driver | + | |
- | Option | + | |
- | Option | + | |
- | EndSection | + | |
- | </ | + | |
- | Les directives les plus courantes dans cette section sont : | + | < |
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation | ||
- | ^ Directive | + | 1) [x] Language settings |
- | | " | + | (French (France)) |
- | | " | + | 3) [x] Installation source |
- | | " | + | |
+ | 8.1.1911/ | ||
+ | 5) [!] Installation Destination | ||
+ | (No disks selected) | ||
+ | 7) [x] Network configuration | ||
+ | | ||
+ | 9) [ ] User creation | ||
+ | (No user will be created) | ||
- | Quand la section décrit une souris, on trouve typiquement les options suivantes | + | Please make a selection from the above [' |
+ | ' | ||
+ | Probing storage... | ||
+ | </ | ||
- | ^ Option | + | Séléctionnez |
- | | " | + | |
- | | " | + | |
- | | " | + | |
- | ===La Section Monitor=== | + | < |
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Installation Destination | ||
- | Cette section décrit l' | + | 1) [x] : 5 GiB (vda) |
- | <WRAP center round important> | + | 1 disk selected; 5 GiB capacity; 5 GiB free ... |
- | **Attention** : Il est important de se munir avec la documentation du moniteur afin de connaître **la taille de l' | + | |
- | </ | + | |
- | Un exemple de cette section est : | + | Please make a selection from the above [' |
+ | refresh]: c | ||
+ | </ | ||
- | < | + | A ce stade il vous est possible de choisir l' |
- | Section " | + | |
- | Identifier | + | |
- | VendorName | + | |
- | ModelName | + | |
- | DisplaySize | + | |
- | HorizSync | + | |
- | VertRefresh | + | |
- | EndSection | + | |
- | </ | + | |
- | Les directives les plus courantes dans cette section sont : | + | < |
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Partitioning Options | ||
- | ^ Directive | + | 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. | ||
- | ===La Section Device=== | + | Please make a selection from the above [' |
+ | refresh]: 2 | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Partitioning Options | ||
- | Cette section décrit une carte vidéo. Il y a une section Device pour chaque carte vidéo présente dans la machine. | + | 1) [ ] Replace Existing Linux system(s) |
+ | 2) [x] Use All Space | ||
+ | 3) [ ] Use Free Space | ||
+ | 4) [ ] Manually assign mount points | ||
- | Un exemple de cette section est : | + | 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 [' |
- | Section " | + | refresh]: c |
- | Identifier | + | </code> |
- | Driver | + | |
- | VendorName | + | |
- | BoardName | + | |
- | VideoRam | + | |
- | Option | + | |
- | EndSection | + | |
- | </file> | + | |
- | Les directives les plus courantes dans cette section sont : | + | A ce stade il vous est possible de choisir le type d' |
+ | |||
+ | < | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Partition Scheme Options | ||
- | ^ Directive | + | 1) [ ] Standard Partition |
- | | " | + | 2) [x] LVM |
- | | " | + | 3) [ ] LVM Thin Provisioning |
- | | " | + | |
- | | " | + | |
- | | " | + | |
- | | " | + | |
- | | " | + | |
- | | " | + | |
- | ===La Section Screen=== | + | Select a partition scheme configuration. |
+ | </ | ||
- | Cette section associe une carte vidéo décrite | + | Bien que préférable de choisir l' |
- | Un exemple de cette section est : | + | < |
+ | Please make a selection from the above [' | ||
+ | refresh]: 1 | ||
+ | ================================================================================ | ||
+ | ================================================================================ | ||
+ | Partition Scheme Options | ||
- | < | + | 1) [x] Standard Partition |
- | Section " | + | 2) [ ] LVM |
- | Identifier " | + | 3) [ ] LVM Thin Provisioning |
- | Device | + | |
- | Monitor | + | |
- | DefaultDepth | + | |
- | SubSection " | + | |
- | Depth | + | |
- | Modes | + | |
- | EndSubSection | + | |
- | SubSection " | + | |
- | Depth | + | |
- | Modes | + | |
- | EndSubSection | + | |
- | EndSection | + | |
- | </ | + | |
- | Les directives les plus courantes dans cette section sont : | + | Select a partition scheme configuration. |
- | ^ Directive | + | Please make a selection from the above [' |
- | | " | + | refresh]: c |
- | | " | + | Generating updated storage configuration |
- | | " | + | Checking storage configuration... |
- | | " | + | </ |
- | | " | + | |
- | | " | + | |
- | ====La Commande xwininfo==== | + | ===Démarrer l' |
- | La commande xwininfo permet d'obtenir de l'information concernant une fenêtre graphique. Dans la pratique il convient de saisir la commande puis de cliquer sur une fenêtre. Le résultat obtenu est similaire à celui-ci | + | De retour au menu principal, choisissez l'option **b** pour démarrer |
< | < | ||
- | [root@centos7 ~]# xwininfo | + | ================================================================================ |
- | + | ================================================================================ | |
- | xwininfo: Please select the window about which you | + | Installation |
- | would like information by clicking the | + | |
- | mouse in that window. | + | |
- | xwininfo: Window id: 0x2800025 " | + | 1) [x] Language settings |
+ | | ||
+ | 3) [x] Installation source | ||
+ | https:// | ||
+ | | ||
+ | 5) [x] Installation Destination | ||
+ | | ||
+ | | ||
+ | 7) [x] Network configuration | ||
+ | | ||
+ | 9) [ ] User creation | ||
+ | (No user will be created) | ||
- | Absolute upper-left X: 0 | + | Please make a selection from the above [' |
- | | + | ' |
- | Relative upper-left X: 0 | + | |
- | Relative upper-left Y: 32 | + | |
- | Width: 1366 | + | |
- | Height: 574 | + | |
- | Depth: 24 | + | |
- | Visual: 0x21 | + | |
- | Visual Class: TrueColor | + | |
- | Border width: 0 | + | |
- | Class: InputOutput | + | |
- | Colormap: 0x20 (installed) | + | |
- | Bit Gravity State: NorthWestGravity | + | |
- | Window Gravity State: NorthWestGravity | + | |
- | Backing Store State: NotUseful | + | |
- | Save Under State: no | + | |
- | Map State: IsViewable | + | |
- | Override Redirect State: no | + | |
- | Corners: | + | |
- | -geometry 1366x574+0+28 | + | |
</ | </ | ||
- | Les options de la commande xwininfo sont : | + | <WRAP center round important> |
+ | **Important** : Notez que nous n' | ||
+ | </ | ||
+ | |||
+ | L' | ||
< | < | ||
- | [root@centos7 ~]# xwininfo --help | + | ... |
- | usage: | + | Configuring storage |
+ | . | ||
+ | Installing boot loader | ||
+ | . | ||
+ | Performing post-installation setup tasks | ||
+ | . | ||
- | where options include: | + | Configuring installed system |
- | | + | .......... |
- | | + | Writing network configuration |
- | | + | . |
- | -id windowid | + | Creating users |
- | -name windowname | + | .... |
- | | + | Configuring addons |
- | | + | Executing com_redhat_kdump addon |
- | | + | Executing org_fedora_oscap addon |
- | | + | . |
- | | + | Generating initramfs |
- | | + | . |
- | -size print size hints | + | Running post-installation scripts |
- | | + | . |
- | | + | Storing configuration files and kickstarts |
- | | + | .. |
- | -english | + | |
- | -metric | + | |
- | -all | + | |
</ | </ | ||
- | ====La Commande xdpyinfo==== | + | ===Démarrer la VM=== |
- | Xdpyinfo est un utilitaire utilisé | + | A l'issu de l' |
< | < | ||
- | [root@centos7 ~]# xdpyinfo | + | Installation complete. Press ENTER to quit: |
- | name of display: | + | |
- | version number: | + | |
- | vendor string: | + | |
- | vendor release number: | + | |
- | X.Org version: 1.15.0 | + | |
- | maximum request size: 16777212 bytes | + | |
- | motion buffer size: 256 | + | |
- | bitmap unit, bit order, padding: | + | |
- | image byte order: | + | |
- | number of supported pixmap formats: | + | |
- | supported pixmap formats: | + | |
- | depth 1, bits_per_pixel 1, scanline_pad 32 | + | |
- | depth 4, bits_per_pixel 8, scanline_pad 32 | + | |
- | depth 8, bits_per_pixel 8, scanline_pad 32 | + | |
- | depth 15, bits_per_pixel 16, scanline_pad 32 | + | |
- | depth 16, bits_per_pixel 16, scanline_pad 32 | + | |
- | depth 24, bits_per_pixel 32, scanline_pad 32 | + | |
- | depth 32, bits_per_pixel 32, scanline_pad 32 | + | |
- | keycode range: | + | |
- | focus: | + | |
- | number of extensions: | + | |
- | BIG-REQUESTS | + | |
- | Composite | + | |
- | DAMAGE | + | |
- | DOUBLE-BUFFER | + | |
- | DPMS | + | |
- | DRI2 | + | |
- | GLX | + | |
- | Generic Event Extension | + | |
- | MIT-SCREEN-SAVER | + | |
- | MIT-SHM | + | |
- | Present | + | |
- | RANDR | + | |
- | RECORD | + | |
- | RENDER | + | |
- | SGI-GLX | + | |
- | SHAPE | + | |
- | SYNC | + | |
- | X-Resource | + | |
- | XC-MISC | + | |
- | XFIXES | + | |
- | XFree86-DGA | + | |
- | XFree86-VidModeExtension | + | |
- | XINERAMA | + | |
- | XInputExtension | + | |
- | XKEYBOARD | + | |
- | XTEST | + | |
- | XVideo | + | |
- | default screen number: | + | |
- | number of screens: | + | |
- | + | ||
- | screen #0: | + | |
- | dimensions: | + | |
- | resolution: | + | |
- | depths (7): 24, 1, 4, 8, 15, 16, 32 | + | |
- | root window id: 0x170 | + | |
- | depth of root window: | + | |
- | number of colormaps: | + | |
- | default colormap: | + | |
- | default number of colormap cells: | + | |
- | preallocated pixels: | + | |
- | options: | + | |
- | largest cursor: | + | |
- | current input event mask: 0xda0003 | + | |
- | KeyPressMask | + | |
- | SubstructureNotifyMask | + | |
- | ColormapChangeMask | + | |
- | number of visuals: | + | |
- | default visual id: 0x21 | + | |
- | visual: | + | |
- | visual id: 0x21 | + | |
- | class: | + | |
- | depth: | + | |
- | available colormap entries: | + | |
- | red, green, blue masks: | + | |
- | significant bits in color specification: | + | |
- | visual: | + | |
- | visual id: 0xf9 | + | |
- | class: | + | |
- | depth: | + | |
- | available colormap entries: | + | |
- | red, green, blue masks: | + | |
- | significant bits in color specification: 8 bits | + | |
... | ... | ||
+ | [ OK ] Started Network Manager. | ||
+ | | ||
+ | [ OK ] Reached target Network. | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | [ OK ] Started OpenSSH server daemon. | ||
+ | [ OK ] Started Permit User Sessions. | ||
+ | | ||
+ | [ OK ] Started Command Scheduler. | ||
+ | | ||
+ | [ | ||
</ | </ | ||
- | Les options | + | ====1.5 - Vérification |
+ | |||
+ | Au prompt, connectez-vous en tant que **root** avec le mot de passe **fenestros** | ||
< | < | ||
- | [root@centos7 ~]# xdpyinfo --help | + | CentOS Linux 8 |
- | usage: | + | Kernel 4.18.0-305.12.1.el8_4.x86_64 on an x86_64 |
- | -display displayname server to query | + | |
- | -version print program version and exit | + | testvm1 login: root |
- | -queryExtensions print info returned by XQueryExtension | + | Mot de passe : fenestros |
- | -ext all print detailed info for all supported extensions | + | [root@testvm1 ~]# |
- | -ext extension-name print detailed info for extension-name if one of: | + | |
- | MIT-SHM XKEYBOARD Multi-Buffering SHAPE SYNC XFree86-DGA | + | |
- | | + | |
- | | + | |
</ | </ | ||
- | =====L' | + | ===Réseau=== |
- | L' | + | Vérifiez la prise en compte d'une adresse IPv4 dans le réseau 192.168.56.0/24 : |
- | ====Le Clavier et la Souris==== | + | < |
+ | [root@testvm1 ~]# ip a | ||
+ | 1: lo: < | ||
+ | link/ | ||
+ | inet 127.0.0.1/8 scope host lo | ||
+ | | ||
+ | inet6 ::1/128 scope host | ||
+ | | ||
+ | 2: enp1s0: < | ||
+ | link/ether 52: | ||
+ | inet 192.168.56.83/ | ||
+ | | ||
+ | inet6 fe80:: | ||
+ | | ||
+ | </ | ||
- | Historiquement, | + | ===Internet=== |
- | ^ Paramètre ^ Description ^ | + | Vérifiez la connectivité |
- | | Sticky Keys | Permet de maintenir les touches < | + | |
- | | Mouse Keys | Permet d' | + | |
- | | Bounce Keys | Permet de réduire l' | + | |
- | | Slow Keys | Necéssite qu'une touche soit enfoncée pour une durée plus longue avant que le système réagisse | | + | |
- | ====Claviers Visuels==== | + | < |
+ | [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): | ||
- | Un clavier visuel ou //Onscreen Keyboard// est un clavier qui est afficher à l' | + | --- www.free.fr ping statistics --- |
+ | 2 packets transmitted, | ||
+ | rtt min/avg/max/mdev = 29.887/29.989/30.091/0.102 ms | ||
+ | </ | ||
- | Un exemple connu du clavier visuel est **[[http:// | + | Avant de poursuivre, exécutez les deux commandes suivantes pour réparer les dépôts cassés |
- | ====L'Ecran==== | + | < |
+ | [root@centos8 ~]# sed -i ' | ||
+ | [root@centos8 ~]# sed -i ' | ||
+ | </ | ||
- | En ce qui concerne la visibilité de l' | + | Détachez-vous |
- | Il existe aussi des loupes telles **Kmag**. | + | < |
+ | [root@testvm1 ~]# [ALT GR]+[CTRL]+[)] | ||
+ | [root@centos8 ~]# | ||
+ | </ | ||
- | ====Autres Technologies==== | ||
- | Il existe aussi des logiciels de synthèse vocal tels **[[http://live.gnome.org/ | + | <WRAP center round important> |
+ | **Important** : Notez l' | ||
+ | </WRAP> | ||
----- | ----- | ||
- | < | + | Copyright © 2024 Hugh Norris |
- | <div align=" | + | |
- | Copyright © 2020 Hugh Norris. | + | |
- | </ | + |