Outils pour utilisateurs

Outils du site


issue151:certifie_linux

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révisionLes deux révisions suivantes
issue151:certifie_linux [2019/12/10 19:08] d52frissue151:certifie_linux [2019/12/10 19:37] d52fr
Ligne 29: Ligne 29:
 **On a “.rpm-based distro”, you can run: yum install kernel-devel, which will pull the sources for you and dump it in: /usr/src/kernels/. Each version of the kernel source will have its own folder, named for the version. To see which is the current source, you can use: uname -a. As for the documentation, this depends on your version of the kernel. If you use the 2.6.x branch, it still needs to be installed separately: yum install kernel-doc. Unlike the source, there is more than one place to find it. There is the place defined by the standard, /usr/src/Linux/, but Suse, CentOS, Mageia, and Red Hat, each have their own hidey-hole. (Looking in /usr/share/doc/ should be your first destination). However, your targets for the exam are Red Hat and Debian and kernels 2.6 and 3.5.** **On a “.rpm-based distro”, you can run: yum install kernel-devel, which will pull the sources for you and dump it in: /usr/src/kernels/. Each version of the kernel source will have its own folder, named for the version. To see which is the current source, you can use: uname -a. As for the documentation, this depends on your version of the kernel. If you use the 2.6.x branch, it still needs to be installed separately: yum install kernel-doc. Unlike the source, there is more than one place to find it. There is the place defined by the standard, /usr/src/Linux/, but Suse, CentOS, Mageia, and Red Hat, each have their own hidey-hole. (Looking in /usr/share/doc/ should be your first destination). However, your targets for the exam are Red Hat and Debian and kernels 2.6 and 3.5.**
  
-Sur une distrib rpm, vous pouvez lancer yum install kernel-devel, qui va récupérer les sources pour vous et les mettre dans : /usr/src/kernels/. Chaque version de la source du noyau aura son propre dossier, nommé suivant la version. Pour voir quelle est la source actuelle, vous pouvez utiliser : uname -a. Pour la documentation aussi, cela dépende de votre version du noyau. si vous utilisez la branche 2.6.x, elle doit être installée indépendamment : yum install kernel-doc. Contrairement aux sources, il y a plus d'un endroit où la trouver. Un endroit est défini par la norme, /usr/src/Linux/, mais Suse, CentOS, Mageia et Red Hat ont chacun leur propre cachette. (un coup d'œil dans /usr/share/doc est le premier reflexe). Cependant, vos cibles pour l'examen sont Red Hat et Debian et les noyaux 2.6 et 3.5.+Sur une distrib rpm, vous pouvez lancer yum install kernel-devel, qui va récupérer les sources pour vous et les mettre dans : /usr/src/kernels/. Chaque version de la source du noyau aura son propre dossier, nommé suivant la version. Pour voir quelle est la source actuelle, vous pouvez utiliser : uname -a. Pour la documentation aussi, cela dépende de votre version du noyau. si vous utilisez la branche 2.6.x, elle doit être installée indépendamment : yum install kernel-doc. Contrairement aux sources, il y a plus d'un endroit où la trouver. Un endroit est défini par la norme, /usr/src/Linux/, mais Suse, CentOS, Mageia et Red Hat ont chacun leur propre cachette. (un coup d'œil dans /usr/share/doc est le premier réflexe). Cependant, vos cibles pour l'examen sont Red Hat et Debian et les noyaux 2.6 et 3.5.
  
 **Back to the 2.6 branch. If you find the documentation directory, you will notice that it is a whore’s handbag, there is no consistency. In my humble opinion, this is the folder that needs Linus Torvald’s angry rants most. For the exam, you need to be able to find it – looking on an old CentOS machine, it is in /usr/share/doc/kernel-doc-<version.number>/Documentation, and I urge you to go find it yourself. **Back to the 2.6 branch. If you find the documentation directory, you will notice that it is a whore’s handbag, there is no consistency. In my humble opinion, this is the folder that needs Linus Torvald’s angry rants most. For the exam, you need to be able to find it – looking on an old CentOS machine, it is in /usr/share/doc/kernel-doc-<version.number>/Documentation, and I urge you to go find it yourself.
  
 Now on a 3.x kernel system (Ubuntu, my case), you can grab it all with one go: “apt-get source.” The full command being: apt-get source linux-image -<version.number>. If you know a bit about bash scripting, you can substitute the <> part in angle brackets, with $(uname -r) if it is the current one you are looking for, but it will work with other versions too. Navigate to /usr/src/ and look for the linux-headers folder, and inside of that you should find the documentation folder. Now you may ask “what is all this ‘should’ nonsense?” Well, you may find multiple folders here and you need to run uname -a again to find out which one you are using. NEVER assume it is the latest (biggest number) one. ** Now on a 3.x kernel system (Ubuntu, my case), you can grab it all with one go: “apt-get source.” The full command being: apt-get source linux-image -<version.number>. If you know a bit about bash scripting, you can substitute the <> part in angle brackets, with $(uname -r) if it is the current one you are looking for, but it will work with other versions too. Navigate to /usr/src/ and look for the linux-headers folder, and inside of that you should find the documentation folder. Now you may ask “what is all this ‘should’ nonsense?” Well, you may find multiple folders here and you need to run uname -a again to find out which one you are using. NEVER assume it is the latest (biggest number) one. **
 +
 +Revenons à la branche 2.6. Si vous trouvez le répertoire de la documentation, vous noterez que c'est un sac à main de femme, qui n'a aucune organisation. À mon humble opinion, c'est un dossier pour lequel le colérique Linus Torvalds devrait fulminer le plus. Pour l'examen, vous devez être capable de le trouver - en regardant dans un vieille machine CentOS, c'est dans /usr/share/doc/kernel-doc-<version.number>/Documentation, et je vous invite fortement à le trouver par vous-même.
 +
 +Maintenant, dans le système de noyaux 3.x (Ubuntu, dans mon cas), vous pouvez le récupérer da'un seul coup : « apt-get source ». La commande complète serait apt-get source linux-image -<numéro_de_version>. Si vous connaissez un peu les scripts bash, vous pouvez substituer la partie <...> par $(uname -r) si c'est le vnoyau acrtuel que vous cherchez, mais cela fonctionnera aussi avec d'autres versions. Naviguez jusqu'à /usr/src/ et regardez le dossier linux-headers, dans lequel vous trouverez la dossier de la documentation. Là, vous pourriez vous demander : « Qu'est-ce que c'est que ce « possible » non-sens ? Eh bien ! Vous pouvez trouvez plusieurs dossiers ici et vous devez lancer à nouveau uname -a pour déterminer lequel vous utilisez. NE présumez JAMAIS que c'est le plus récent (le nombre le plus élevé).
  
 **Now you may have done things differently, I know I have, but for the exam, know the stock standard way.  **Now you may have done things differently, I know I have, but for the exam, know the stock standard way. 
Ligne 40: Ligne 44:
  
 Next issue we will look at the kernel components and compression. ** Next issue we will look at the kernel components and compression. **
 +
 +Mais vous auriez pu fair ele schoses différemment. Je sais que je vous ai fait connaître, mais seulement pour l'examen, le chemin normal vers le stockage.
 +
 +C'est en gros tout ce que vous devez savoir sur la documentation. Ça ne fait pas beaucoup, mais allez-y et faites-le, pour que ça vous reste en mémoire. Allez récupérer la documentation pour le noyau 3.1, puis, allez chercher la documentation pour le noyau 3.3 ; reagardez ce qui se passe dans le sodsiers quand vous le faites.
 +
 +Dans le prochain numéro, nous regarderons les composants du noyau et la compression.
  
 **If you would like to jump ahead, or test your skills at an LPI exam, do a test paper here: https://www.itexams.com/exam/117-201 (These were once valid LPI questions and will ease you into the format): **If you would like to jump ahead, or test your skills at an LPI exam, do a test paper here: https://www.itexams.com/exam/117-201 (These were once valid LPI questions and will ease you into the format):
Ligne 47: Ligne 57:
  
 Let us know how you did – good or bad, it does not matter. Good, means you are ready to write and confident in your skills. Bad means you will be learning new stuff!! Yay! There is no down side here. If you do not know why an answer is the way it is, contact us.** Let us know how you did – good or bad, it does not matter. Good, means you are ready to write and confident in your skills. Bad means you will be learning new stuff!! Yay! There is no down side here. If you do not know why an answer is the way it is, contact us.**
 +
 +Si vous aimez prendre de l'avance, ou tester votre dextérité pour un examen du LPI, faites un pest sur paier ici : https://www.itexams.com/exam/117-201 (ce sont d'anciennes vraies questions du LPI etelles vous mettront à l'aise avec la formulation) :
 +••Le numéro du nouvele examen est 201-400 et 117-201 était l'ancien
 +••Lesite nécessite d'inscription, mais donnez un adresse mail temporaire - pas votre vraie adresse mail.
 +••N'apprenez PAS ces questions par cœur, car ce ne sont probablement pas les vraies questions de l'examen.
 +
 +Faites-bous savoir ce que vous avez fait - bon ou mauvais, ça n'a pas d'importance. Bien, ça signifie que vous êtes prêt pour l'écrit et confiant dans vos connaissances. Mal, ça signifie que vous apprendrez de nouvelles choses ! Eh oui ! Ici, il n'y a pas de côté négatif ! Si vous ne  connaissez pas les raisons pour telle ou telle réponse, contactez-nous.
  
issue151/certifie_linux.txt · Dernière modification : 2019/12/11 15:22 de andre_domenech