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:solaris10bases:start [2020/02/04 15:54] – admin | elearning:solaris10bases:start [2020/03/15 09:59] (Version actuelle) – admin | ||
---|---|---|---|
Ligne 5: | Ligne 5: | ||
Dernière mise-à-jour : ~~LASTMOD~~ | Dernière mise-à-jour : ~~LASTMOD~~ | ||
- | =====Oracle Solaris 10 : Les Fondamentaux===== | + | =====UNI100 - Oracle Solaris 10 : Les Fondamentaux===== |
=====Présentation===== | =====Présentation===== | ||
Ligne 21: | Ligne 21: | ||
**Validation des acquis** : Évaluations à l'aide de tests auto-correctifs. | **Validation des acquis** : Évaluations à l'aide de tests auto-correctifs. | ||
\\ | \\ | ||
- | **Modalités** : 14 heures. | + | **Durée** : 2 jours (14h). |
- | \\ | + | |
- | **Machine Virtuelle** | + | =====Support de Cours===== |
+ | |||
+ | L' | ||
+ | |||
+ | L' | ||
+ | |||
+ | | ||
+ | | ||
+ | |||
+ | L' | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | * d' | ||
+ | |||
+ | =====Prérequis===== | ||
- | ====Prérequis | + | ==== Matériel==== |
* Un poste 64 bits (MacOS, Linux, Windows(tm) ou Solaris(tm)), | * Un poste 64 bits (MacOS, Linux, Windows(tm) ou Solaris(tm)), | ||
Ligne 31: | Ligne 48: | ||
* Le mot de passe du compte administrateur du système, | * Le mot de passe du compte administrateur du système, | ||
* Clavier AZERTY FR ou QWERTY US, | * Clavier AZERTY FR ou QWERTY US, | ||
- | * 8 Go de RAM minimum, | + | * 16 Go de RAM minimum, |
* Processeur 4 cœurs minimum, | * Processeur 4 cœurs minimum, | ||
- | * 8 Go d' | + | * 16 Go d' |
* Un casque ou des écouteurs (si **[[https:// | * Un casque ou des écouteurs (si **[[https:// | ||
* Un micro (optionnel). | * Un micro (optionnel). | ||
- | ====Prérequis | + | ====Logiciels==== |
* Oracle VirtualBox v 6.0 ou plus (MacOS, Linux, Windows(tm) ou Solaris(tm)), | * Oracle VirtualBox v 6.0 ou plus (MacOS, Linux, Windows(tm) ou Solaris(tm)), | ||
* Si Windows(tm) - Putty et WinSCP. | * Si Windows(tm) - Putty et WinSCP. | ||
- | ====Prérequis | + | ====Machine Virtuelle==== |
+ | |||
+ | A télécharger **avant** la formation : **[[https:// | ||
+ | |||
+ | ====Internet==== | ||
* Un accès à Internet rapide **sans** passer par un proxy, | * Un accès à Internet rapide **sans** passer par un proxy, | ||
- | * Accès **débloqué** | + | |
- | * *.ittraining.io | + | |
- | * ittraining.center | + | * https://ittraining.io |
- | * ittraining.network | + | * Formations à Distance |
- | * ittraining.support | + | * Accès **débloqué** aux domaines suivants : |
+ | * https://ittraining.io | ||
+ | * https://ittraining.institute | ||
+ | * http://ittraining.support | ||
=====Programme===== | =====Programme===== | ||
+ | |||
+ | ====Jour #1==== | ||
* **Système de Fichiers** | * **Système de Fichiers** | ||
Ligne 100: | Ligne 126: | ||
* Validation des acquis | * Validation des acquis | ||
* **Commandes** : man, whatis, apropos. | * **Commandes** : man, whatis, apropos. | ||
+ | |||
+ | ====Jour #2==== | ||
* **Commandes de Base et Outils de Manipulation de Fichiers Texte** | * **Commandes de Base et Outils de Manipulation de Fichiers Texte** | ||
Ligne 163: | Ligne 191: | ||
* **Commandes** : type, alias, unalias, chsh, history, wc, set, vi, script, read, test, expr, let, if, case, for, while. | * **Commandes** : type, alias, unalias, chsh, history, wc, set, vi, script, read, test, expr, let, if, case, for, while. | ||
- | =====Extrait du Cours===== | + | ---- |
- | + | ||
- | ====Solaris 10 - Aide et Documentation==== | + | |
- | + | ||
- | <WRAP center round important> | + | |
- | Vous êtes actuellement en train d' | + | |
- | </ | + | |
- | + | ||
- | Saisissez dons la commande suivante : | + | |
- | + | ||
- | < | + | |
- | # / | + | |
- | bash-3.00# | + | |
- | </ | + | |
- | + | ||
- | ===L' | + | |
- | + | ||
- | Les commandes internes au shell sont des commandes telles **cd**. Pour vérifier le type de commande, il faut utiliser la commande **type** : | + | |
- | + | ||
- | < | + | |
- | bash-3.00# type cd | + | |
- | cd is a shell builtin | + | |
- | </ | + | |
- | + | ||
- | Le shell bash possède la commande **help**. Utilisée seule, cette commande fournit la liste des commandes internes : | + | |
- | + | ||
- | < | + | |
- | bash-3.00# help | + | |
- | GNU bash, version 3.00.16(1)-release (i386-pc-solaris2.10) | + | |
- | These shell commands are defined internally. | + | |
- | Type `help name' to find out more about the function `name' | + | |
- | Use `info bash' to find out more about the shell in general. | + | |
- | Use `man -k' or `info' to find out more about commands not in this list. | + | |
- | + | ||
- | A star (*) next to a name means that the command is disabled. | + | |
- | + | ||
- | | + | |
- | . filename [arguments] | + | |
- | [ arg... ] [[ expression ]] | + | |
- | alias [-p] [name[=value] ... ] bg [job_spec] | + | |
- | bind [-lpvsPVS] [-m keymap] [-f fi break [n] | + | |
- | | + | |
- | case WORD in [PATTERN [| PATTERN]. cd [-L|-P] [dir] | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | exec [-cl] [-a name] file [redirec exit [n] | + | |
- | | + | |
- | fc [-e ename] [-nlr] [first] [last fg [job_spec] | + | |
- | for NAME [in WORDS ... ;] do COMMA for (( exp1; exp2; exp3 )); do COM | + | |
- | | + | |
- | hash [-lr] [-p pathname] [-dt] [na help [-s] [pattern ...] | + | |
- | | + | |
- | jobs [-lnprs] [jobspec ...] or job kill [-s sigspec | -n signum | -si | + | |
- | let arg [arg ...] local name[=value] ... | + | |
- | | + | |
- | | + | |
- | pwd [-PL] read [-ers] [-u fd] [-t timeout] [ | + | |
- | | + | |
- | | + | |
- | shift [n] shopt [-pqsu] [-o long-option] opt | + | |
- | | + | |
- | test [expr] | + | |
- | | + | |
- | | + | |
- | | + | |
- | umask [-p] [-S] [mode] | + | |
- | unset [-f] [-v] [name ...] until COMMANDS; do COMMANDS; done | + | |
- | | + | |
- | while COMMANDS; do COMMANDS; done { COMMANDS ; } | + | |
- | </ | + | |
- | + | ||
- | L'aide concernant une commande spécifique peut être obtenu en passant la commande concernée en argument à la commande **help** : | + | |
- | + | ||
- | < | + | |
- | bash-3.00# help umask | + | |
- | umask: umask [-p] [-S] [mode] | + | |
- | The user file-creation mask is set to MODE. If MODE is omitted, or if | + | |
- | `-S' is supplied, the current value of the mask is printed. | + | |
- | option makes the output symbolic; otherwise an octal number is output. | + | |
- | If `-p' is supplied, and MODE is omitted, the output is in a form | + | |
- | that may be used as input. | + | |
- | interpreted as an octal number, otherwise it is a symbolic mode string | + | |
- | like that accepted by chmod(1). | + | |
- | </ | + | |
- | + | ||
- | ===La Commande man=== | + | |
- | + | ||
- | La commande man donne accès au manuel de la commande passé en argument : | + | |
- | + | ||
- | < | + | |
- | Mise en page en cours. | + | |
- | + | ||
- | User Commands | + | |
- | + | ||
- | NAME | + | |
- | rm, rmdir - remove directory entries | + | |
- | + | ||
- | SYNOPSIS | + | |
- | / | + | |
- | + | ||
- | / | + | |
- | + | ||
- | / | + | |
- | + | ||
- | / | + | |
- | + | ||
- | DESCRIPTION | + | |
- | /usr/bin/rm / | + | |
- | The rm utility removes the directory entry specified by each | + | |
- | | + | |
- | | + | |
- | | + | |
- | mark. This is a prompt | + | |
- | --A suivre--(7%) | + | |
- | </ | + | |
- | + | ||
- | Une page de manuel peut contenir plusieurs sections : | + | |
- | + | ||
- | ^ Section ^ Contenu ^ | + | |
- | | NOM | Nom et rôle de la commande | | + | |
- | | SYNOPSIS | Syntaxe de la commande, paramètres et arguments | | + | |
- | | DESCRIPTION | Mode d' | + | |
- | | OPTIONS | Descriptions détaillées de chaque paramètre | | + | |
- | | EXEMPLES | Exemples d' | + | |
- | | ENVIRONNEMENT | Fonctionnement selon l' | + | |
- | | CONFORMITÉ | Éventuelles normes auxquelles la commande se conforme | | + | |
- | | BOGUES | Éventuelles bogues connues | | + | |
- | | DIAGNOSTICS/ | + | |
- | | VOIR AUSSI | Commandes liées à celle du manuel actuel | | + | |
- | + | ||
- | La navigation dans la page de manuel se fait grâce à l' | + | |
- | + | ||
- | ^ Touche ^ Fonction ^ | + | |
- | | < | + | |
- | | < | + | |
- | | < | + | |
- | | < | + | |
- | | < | + | |
- | | < | + | |
- | | < | + | |
- | | < | + | |
- | | < | + | |
- | | < | + | |
- | + | ||
- | Un manuel complet est fait de plusieurs sections : | + | |
- | + | ||
- | ^ Section ^ Contenu ^ | + | |
- | | 1 | User Commands | | + | |
- | | 1M | System Administration Commands | | + | |
- | | 2 | System calls | | + | |
- | | 3 | C library functions | | + | |
- | | 4 | File formats and conventions | | + | |
- | | 5 | Standards, Environments, | + | |
- | | 6 | Games and Demos | | + | |
- | | 7 | Device and Network Interfaces | | + | |
- | | 8 | Not used | | + | |
- | | 9 | DDI and DKI Driver Entry Points / DDI and DKI Kernel Functions / DDI and DKI Properties and Data Structures | | + | |
- | + | ||
- | Les différentes sections disponibles sont visibles grâce à l' | + | |
- | + | ||
- | < | + | |
- | bash-3.00# whereis passwd | + | |
- | passwd: /etc/passwd / | + | |
- | </ | + | |
- | + | ||
- | Pour visualiser une section spécifique, | + | |
- | + | ||
- | $ man -s 4 passwd [Entrée] | + | |
- | + | ||
- | ===Les Commandes catman et whatis=== | + | |
- | + | ||
- | Chaque page de manuel contient une brève description. Ces descriptions ainsi que le nom du manuel sont stockés dans la base de données **/ | + | |
- | + | ||
- | Cette base de données peut être maintenue manuellement par root en invoquant l' | + | |
- | + | ||
- | < | + | |
- | bash-3.00# / | + | |
- | bash-3.00# ls -l / | + | |
- | -rw-r--r-- | + | |
- | </ | + | |
- | + | ||
- | La commande **whatis** peut maintenant être utilisée pour identifier les sections des manuels disponibles pour une commande donnée : | + | |
- | + | ||
- | < | + | |
- | bash-3.00# whatis passwd | + | |
- | passwd | + | |
- | passwd | + | |
- | </ | + | |
- | + | ||
- | ===La Commande apropos=== | + | |
- | + | ||
- | La commande **apropos** cherche dans la base de données **whatis** la chaine de caractères passée en argument à la commande. Sans option, la sortie obtenue est identique à la commande **man -k** : | + | |
- | + | ||
- | < | + | |
- | bash-3.00# apropos passwd | + | |
- | d_passwd | + | |
- | getpw getpw (3c) - get passwd entry from UID | + | |
- | kpasswd | + | |
- | nispasswd | + | |
- | nispasswdd | + | |
- | pam_passwd_auth pam_passwd_auth (5) - authentication module for password | + | |
- | passwd | + | |
- | passwd | + | |
- | pwconv | + | |
- | rpc.nispasswdd | + | |
- | rpc.yppasswdd | + | |
- | vncpasswd | + | |
- | yppasswd | + | |
- | yppasswdd | + | |
- | yppasswdd | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | bash-3.00# man -k passwd | + | |
- | d_passwd | + | |
- | getpw getpw (3c) - get passwd entry from UID | + | |
- | kpasswd | + | |
- | nispasswd | + | |
- | nispasswdd | + | |
- | pam_passwd_auth pam_passwd_auth (5) - authentication module for password | + | |
- | passwd | + | |
- | passwd | + | |
- | pwconv | + | |
- | rpc.nispasswdd | + | |
- | rpc.yppasswdd | + | |
- | vncpasswd | + | |
- | yppasswd | + | |
- | yppasswdd | + | |
- | yppasswdd | + | |
- | </ | + | |
- | + | ||
- | <WRAP center round important> | + | |
- | Notez que les numéros entre parenthèses indiquent les sections disponibles. | + | |
- | </ | + | |
- | + | ||
- | ----- | + | |
< | < | ||
- | <center> | + | <DIV ALIGN=" |
- | Copyright © 2004-2017 | + | Copyright © 2020 Hugh Norris<BR><BR> |
- | <a rel=" | + | Document non-contractuel. Les prix, les conditions et le programme peuvent être modifiés sans préavis. |
- | </center> | + | </div> |
</ | </ |