diff --git a/reveal/imagesEvoFormation2017/Ken_Thompson_(sitting)_and_Dennis_Ritchie_at_PDP-11_(2876612463).jpg b/reveal/imagesEvoFormation2017/Ken_Thompson_(sitting)_and_Dennis_Ritchie_at_PDP-11_(2876612463).jpg new file mode 100644 index 0000000..bcf2c9e Binary files /dev/null and b/reveal/imagesEvoFormation2017/Ken_Thompson_(sitting)_and_Dennis_Ritchie_at_PDP-11_(2876612463).jpg differ diff --git a/reveal/imagesEvoFormation2017/Ken_n_dennis.jpg b/reveal/imagesEvoFormation2017/Ken_n_dennis.jpg new file mode 100644 index 0000000..12c14fd Binary files /dev/null and b/reveal/imagesEvoFormation2017/Ken_n_dennis.jpg differ diff --git a/reveal/imagesEvoFormation2017/Richard_Stallman.jpg b/reveal/imagesEvoFormation2017/Richard_Stallman.jpg new file mode 100644 index 0000000..3c27179 Binary files /dev/null and b/reveal/imagesEvoFormation2017/Richard_Stallman.jpg differ diff --git a/reveal/imagesEvoFormation2017/category.fr.png b/reveal/imagesEvoFormation2017/category.fr.png new file mode 100644 index 0000000..8bf2264 Binary files /dev/null and b/reveal/imagesEvoFormation2017/category.fr.png differ diff --git a/reveal/imagesEvoFormation2017/gnu.png b/reveal/imagesEvoFormation2017/gnu.png new file mode 100644 index 0000000..a8ab404 Binary files /dev/null and b/reveal/imagesEvoFormation2017/gnu.png differ diff --git a/reveal/imagesEvoFormation2017/linus_torvalds.jpg b/reveal/imagesEvoFormation2017/linus_torvalds.jpg new file mode 100644 index 0000000..c6e8722 Binary files /dev/null and b/reveal/imagesEvoFormation2017/linus_torvalds.jpg differ diff --git a/reveal/imagesEvoFormation2017/visuelSlidesEvolix.svg b/reveal/imagesEvoFormation2017/visuelSlidesEvolix.svg new file mode 100644 index 0000000..e53eae8 --- /dev/null +++ b/reveal/imagesEvoFormation2017/visuelSlidesEvolix.svg @@ -0,0 +1,7309 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/reveal/intro_unix_linux_LL.html b/reveal/intro_unix_linux_LL.html index 412c3c6..a7cc2a0 100644 --- a/reveal/intro_unix_linux_LL.html +++ b/reveal/intro_unix_linux_LL.html @@ -1,124 +1,176 @@ - - + + - Formation Evolix : intro Unix / Linux / Logiciels Libres + Formation Evolix : intro Unix / Linux / Logiciels Libres - - + + - - + + - + - - + + - - + + - - + + - - + - + -
+
- -
+ +
-
-

Formation Evolix

-

intro Unix / Linux / Logiciels Libres

-
+
+

Formation Evolix

+

intro Unix / Linux / Logiciels Libres

+
-
-

UNIX

-
    -
  • UNICS (UNiplexed Information and Computing Service) : BELL, AT&T (1969)
  • -
  • Ken Thompson
  • -
  • Dennis Ritchie
  • -
- -

Aujourd'hui, on compte une grande quantité d'OS dérivés d'UNIX: -AIX, Solaris, HP-UX, ... et plus récement Mac OS X

-
+
+

UNIX

+
    +
  • UNICS (UNiplexed Information and Computing Service) : BELL, AT&T (1969)
  • +
  • Ken Thompson
  • +
  • Dennis Ritchie
  • +
+
+ +
Ken Thompson (assis) et Dennis Ritchie
+
+

Aujourd'hui, on compte une grande quantité d'OS dérivés d'UNIX: AIX, Solaris, HP-UX, ... et plus récement Mac OS X

+
-
-

Le début des Logiciels Libres

-
+
+

Le début des Logiciels Libres

+
    +
    + + +
    +
  • 1982 : Création Free Software Fundation (FSF) par Richard Stallmann (MIT)
  • -
    -

    Les licences

    - -
    +
  • 1984 : Lancement du projet GNU [objectif : système d’exploitation libre compatible Unix.]
  • +
  • 1985 : la Free Software Fundation (FSF)
  • +
+
-
-

Logiciels Libres : les 4 libertés

-
    -
  • Exécuter le programme, pour tous les usages
  • -
  • Étudier et adapter à vos besoins un programme
  • -
  • Redistribuer des copies, “aider votre voisin”
  • -
  • Améliorer et publier vos améliorations, pour en faire profiter tout le monde
  • -
-
+
+

Les licences

+ +
-
-

Open Source : les 10 libertés

-
+
+

Logiciels Libres

+

Les 4 libertés

+
    +
  • Exécuter le programme, pour tous les usages
  • +
  • Étudier et adapter à vos besoins un programme
  • +
  • Redistribuer des copies, “aider votre voisin”
  • +
  • Améliorer et publier vos améliorations, pour en faire profiter tout le monde
  • +
+
-
-

open source VS Open Source

-
+
+

Open Source

+

Les 10 libertés

+
    +
  • Distribution libre (pas de coût)
  • +
  • Code source accessible
  • +
  • Travaux dérivés (permis et sous même licence)
  • +
  • Intégrité du code source de l'auteur
  • +
  • Aucune discrimination envers les personnes ou les groupes
  • +
+
-
-

-
+
+

Open Source

+

Les 10 libertés (suite)

+
    +
  • Aucune discrimination envers un champ d'application
  • +
  • Distribution de la licence (pas de contrat de non divulgation)
  • +
  • Licence non spécifique un produit
  • +
  • Licence non restrictive envers d'autres produits
  • +
  • Licence neutre technologiquement
  • +
+
-
+
+

open source VS Open Source

+
+ +
+

+
- - +
- + - // More info https://github.com/hakimel/reveal.js#configuration - Reveal.initialize({ - controls: true, - progress: true, - history: true, - center: true, + - + - diff --git a/reveal/linux.html b/reveal/linux.html index 2f3b5b1..0192a35 100644 --- a/reveal/linux.html +++ b/reveal/linux.html @@ -1,63 +1,63 @@ - - + + - Formation Evolix : Linux et distributions + Formation Evolix : Linux et distributions - - + + - - + + - + - - + + - - + + - - + + - - + - + -
+
- -
+ +
-
-

Formation Evolix

-

Linux et distributions

-
+
+

Formation Evolix

+

Linux et distributions

+
-
-

Historique

-
    -
  • 1991 : Lancement du projet Linux par Linus Torvalds, coordination par Internet
  • -
  • 1993 : Fiabilité de Linux déjà à la hauteur des Unix commerciaux
  • -
  • 1994 : Reconnaissance de Linux par les membres du projet GNU et entraide
  • -
- -
+
+

Historique

+ +
    +
  • 1991 : Lancement du projet Linux par Linus Torvalds, coordination par Internet
  • +
  • 1993 : Fiabilité de Linux déjà à la hauteur des Unix commerciaux
  • +
  • 1994 : Reconnaissance de Linux par les membres du projet GNU et entraide
  • +
+
-
-
+            
+
 Newsgroups: comp.os.minix
 Date: 25 Aug 91 20:57:08 GMT
 Subject: What would you like to see most in minix?
@@ -83,197 +83,297 @@ PS.  Yes - it's free of any minix code, and it has a multi-threaded fs.
 It is NOT protable (uses 386 task switching etc), and it probably never
 will support anything other than AT-harddisks, as that's all I have :-(.
 
-
+
-
-

Versions

-
    -
  • mars 1994 : version 1.0
  • -
  • juillet 1996 : version 2.0
  • -
  • janvier 1999 : version 2.2
  • -
  • janvier 2001 : version 2.4
  • -
  • décembre 2003 : version 2.6
  • -
  • juillet 2011 : version 3.0
  • -
  • avril 2015 : version 4.0
  • -
  • aujourd'hui : 4.11
  • -
-
+
+

Versions

+
    +
  • Mars 1994 : version 1.0
  • +
  • Juillet 1996 : version 2.0
  • +
  • Janvier 1999 : version 2.2
  • +
  • Janvier 2001 : version 2.4
  • +
  • Décembre 2003 : version 2.6
  • +
  • Juillet 2011 : version 3.0
  • +
  • Avril 2015 : version 4.0
  • +
  • Aujourd'hui : 4.11
  • +
+
-
-

Linux, juste un noyau

-interface de programmation pour utiliser le matériel (clavier, écran, disque) -multi-taches et multi-utilisateurs -gestion du CPU, pile réseau, filesystems -monolitique + modulaire VS micro-noyau (Mach, Hurd) -
+
+

Linux, juste un noyau…

+
    +
  • Interface de programmation pour utiliser le matériel (clavier, écran, disque)
  • +
  • Multi-taches et multi-utilisateurs
  • +
  • gestion du CPU, pile réseau, filesystems
  • +
  • Monolitique + modulaire VS micro-noyau (Mach, Hurd)
  • +
+
-
-

TP

-wget https://git.kernel.org/torvalds/t/linux-4.12-rc5.tar.gz -tar xvf linux-4.12-rc5.tar.gz -cd linux-4.12-rc5 -apt install libqt4-dev -make xconfig -
+
+

Démo

+
+    
+$ wget https://git.kernel.org/torvalds/t/linux-4.12-rc5.tar.gz
+$ tar xvf linux-4.12-rc5.tar.gz
+$ cd linux-4.12-rc5
+# apt install libqt4-dev
+$ make xconfig
+    
+
+
-
-

Un noyau de système d'exploitation

-ce ne sont pas des commandes -ce ne sont pas des fichiers -ça ne s'utilise pas tout seul -il faut ajouter des logiciels (outils, services, etc.) -ne fait pas partie de Linux : cron, passwd, login, tar, mount, libc, coreutils -
+
+

…Un noyau de système d'exploitation

+
    +
  • Ce ne sont pas des commandes
  • +
  • Ce ne sont pas des fichiers
  • +
  • Ça ne s'utilise pas tout seul
  • +
  • Il faut ajouter des logiciels (outils, services, etc.)
  • +
  • Ne fait pas partie de Linux : cron, passwd, login, tar, mount, libc, coreutils
  • +
+
-
-

GNU/Linux

-

Outils GNU :

-
    -
  • GCC : compilateur
  • -
  • glibc : librairie C (printf,malloc,open,etc.)
  • -
  • Bash : shell
  • -
  • GRUB : boot loader
  • -
  • coreutils : ls, cat, chmod, du, su, etc.
  • -
-

Autres outils : OpenSSH, sudo, Vim, systemd

-
+
+

Outils GNU

+
    +
  • GCC : compilateur
  • +
  • glibc : librairie C (printf,malloc,open,etc.)
  • +
  • Bash : shell
  • +
  • GRUB : boot loader
  • +
  • coreutils : ls, cat, chmod, du, su, etc.
  • +
+

Autres outils : OpenSSH, sudo, Vim, systemd

+
-
-

-
+
+

+
-
-

Distributions GNU/Linux

-
    -
  • Red Hat
  • -
  • CentOS
  • -
  • Debian
  • -
  • Ubuntu
  • -
-
+
+

Distributions

+
    +
  • Red Hat
  • +
  • CentOS
  • +
  • Debian
  • +
  • Ubuntu
  • +
+
-
-

Organisation des fichiers

-Norme FHS -
+
+

Organisation des fichiers

Norme FHS +
-
-

Red Hat

-- Entreprise fondée en 1993 : - - Siège social à Raleigh (USA) - - Cotée en bourse, CA de 2500 M$ - - bureaux à travers le monde - - 10000 employés +
+

Red Hat

+

Carte d'identité

+
    +
  • Fondation : 1993
  • +
  • Siège social : Raleigh
  • +
  • CA : 2500 M$
  • +
  • Nombre d'employés : 10000
  • +
+
-- Quatre centres de support dans le monde : - Amerique, Europe, Asie, Pacifique +
+

Red Hat

+

Carte d'identité (suite)

+
    +
  • Cotée en bourse
  • +
  • Des bureaux dans le monde entier
  • +
  • 4 centres de support : Amérique, Asie, Europe, Pacifique
  • +
  • Un des plus gros contributeurs à la communauté du Libre
  • +
+
-- Un des plus gros contributeurs à la communauté du Libre -
+
+

Red Hat

+

Équipe

+
    +
  • Des développeurs du noyau Linux
  • +
  • Des mainteneurs de GCC
  • +
  • Des développeurs d'Apache
  • +
+
-
-

Red Hat

-- Équipe : - parmi les développeurs, - développeurs du noyau Linux - mainteneurs de GCC - développeurs d'Apache -- Les versions : - ­ Redhat version 9, plus supportée - ­ Red Hat Entreprise/Advanced Server, obsolète - ­ Redhat Desktop - ­ Redhat Entreprise Linux 7 (RHEL) -- Dérivés : Fedora et CentOS -- Ansible, OpenStack, JBOSS, etc. -
+
+

Red Hat

+

Versions

+
    +
  • Redhat version 9 : plus supportée
  • +
  • Red Hat Entreprise/Advanced Server : obsolète
  • +
  • Redhat Desktop
  • +
  • Redhat Entreprise Linux 7 (RHEL)
  • +
+
-
-

Red Hat

- Système de packages RPM : - ­ installation facile et rapide (pas de compilation) - ­ gestion des dépendances - ­ notoriété et abondance de dépôts RPM - ­ bénéficie d'améliorations constantes - Voir www.rpm.org -
+
+

Red Hat

+

Dérivés

+
    +
  • Fedora
  • +
  • CentOS
  • +
+
-
-

CentOS

-Community enterprise Operating System -utilisation uniquement des sources de RH -donc binary compatible avec RH -CentOS 7 -
+
+

Red Hat

+

Autres produits

+
    +
  • Ansible
  • +
  • OpenStack
  • +
  • JBOSS
  • +
+
-
-

Debian

-Spécificités : -- Lancement par Ian Murdock en août 1993 -- Basé sur un contrat social -- DFSG - Debian Free Software Guidelines -- Plusieurs milliers de développeurs Debian - ldapsearch -x -h db.debian.org -b dc=debian,dc=org | grep ^uid: | wc -l - 2080 -- Des dizaines de milliers de paquets “sources” - grep-dctrl -P '' -c /var/lib/apt/lists/*jessie*Sources - 21019 -- Debian 7 : sortie en 2013, support jusqu'en 2016 (support LTS jusqu'en 2018) -- Debian 8 : sortie en 2015, support jusqu'en 2018 (support LTS jusqu'en 2020) -- Debian 9 : sortie en 2017, support jusqu'en 2020 (support LTS jusqu'en 2022) -
+
+

Red Hat

+

Caractéristiques

+
    +
  • Système de packages RPM :
  • +
  • Installation facile et rapide (pas de compilation)
  • +
  • Gestion des dépendances
  • +
  • Notoriété et abondance de dépôts RPM
  • +
  • Bénéficie d'améliorations constantes
  • +
+

+ Voir www.rpm.org +

+
-
-

Ubuntu

-Créé par Mark Shuttleworth, ancien-développeur Debian, -multi-millionnaire après avoir revendu l'entreprise Thawte -Développé par l'entreprise Canonical crée en 2004 -Basée sur Debian -Versions LTS publiées tous les 2 ans (support 5 ans) -Versions publiées tous les 6 mois avec support limité -- version 16.04 LTS (Xenial Xerus59) publiée en avril 2016 -- version 17.04 (Zesty Zapus) publiée en avril 2017 -
+
+

CentOS

+

Carte d'identité

+
    +
  • Fondation : 2004
  • +
  • Fondateur : Lance Davis
  • +
  • Community enterprise Operating System
  • +
  • Utilisation uniquement des sources de RH
  • +
  • Binary compatible avec RH
  • +
  • Version : CentOS 7
  • +
+
-
-

-
    -
  • -
  • -
-

- -
+
+

Debian

+

Carte d'identité

+
    +
  • Fondation : 1993
  • +
  • Fondateur : Ian Murdock
  • +
  • Basé sur un contrat social
  • +
  • DFSG - Debian Free Software Guidelines
  • +
+
-
+
+

Debian

+

Carte d'identité (suite)

+
    +
  • Plusieurs milliers de développeurs Debian +
    
    +ldapsearch -x -h db.debian.org -b dc=debian,dc=org | grep ^uid: | wc -l
    +2080
    +                        
    +
  • +
  • Des dizaines de milliers de paquets “sources” +
    
    +grep-dctrl -P '' -c /var/lib/apt/lists/*jessie*Sources
    +21019
    +                        
    +
  • +
+
+ +
+

Debian

+

Versions

+
    +
  • Debian 7 (2013) : support jusqu'en 2016 (support LTS jusqu'en 2018)
  • +
  • Debian 8 (2015): support jusqu'en 2018 (support LTS jusqu'en 2020)
  • +
  • Debian 9 (2017): support jusqu'en 2020 (support LTS jusqu'en 2022)
  • +
+
+ +
+

Ubuntu

+

Carte d'identité

+
    +
  • Fondation : 2004
  • +
  • Fondateur : Mark Shuttleworth
  • +
  • Entreprise : Canonical
  • +
  • Basée sur Debian
  • +
+
+ +
+

Ubuntu

+

Versions

+
    +
  • Versions LTS : tous les 2 ans (support 5 ans)
  • +
  • Versions : tous les 6 mois avec support limité
  • +
  • Version 16.04 LTS (Xenial Xerus59) : avril 2016
  • +
  • Version 17.04 (Zesty Zapus) : avril 2017
  • +
+
+ +
+

+
    +
  • +
  • +
+

+ +
- - +
- + - // More info https://github.com/hakimel/reveal.js#configuration - Reveal.initialize({ - controls: true, - progress: true, - history: true, - center: true, + - + - diff --git a/reveal/linux_install.html b/reveal/linux_install.html index 530cdf6..dd2a267 100644 --- a/reveal/linux_install.html +++ b/reveal/linux_install.html @@ -1,204 +1,259 @@ - - + + - Formation Evolix : installation Linux + Formation Evolix : installation Linux - - + + - - + + - + - - + + - - + + - - + + - - + - + -
+
- -
+ +
-
-

Formation Evolix

-

installation Linux

-
+
+

Formation Evolix

+

installation Linux

+
-
-

Méthode d'installation

-
  • par CD/ROM ou clé USB (machine physique ou virtuelle)
  • -
  • par le réseau, via boot PXE+DHCP+TFTP
  • -
  • Image préinstallée par un hébergeur
  • -
  • Conteneur minimal (LXC/Docker)
  • -
    +
    +

    Méthode d'installation

    +
      +
    • CD/ROM ou clé USB (machine physique ou virtuelle)
    • +
    • Réseau, via boot PXE+DHCP+TFTP
    • +
    • Image préinstallée par un hébergeur
    • +
    • Conteneur minimal (LXC/Docker)
    • +
    +
    -
    -

    Compatibilité du matériel

    -enjeu principal : carte réseau et controleur disque/RAID -test avec Live-CD -Compatibilité du matériel -lspci -n sur http://kmuto.jp/debian/hcl/ plus à jour :( -Listes de diffusion -Recherche Google avec “site:lists.debian.org/debian-boot” -
    +
    +

    Compatibilité du matériel

    +
      +
    • Enjeu principal : carte réseau et controleur disque/RAID
    • +
    • Test avec Live-CD
    • +
    • Compatibilité du matériel
    • +
    • lspci -n sur http://kmuto.jp/debian/hcl/ plus à jour :(
    • +
    • Listes de diffusion
    • +
    • Recherche Google avec "site:lists.debian.org/debian-boot"
    • +
    +
    -
    -

    Choix pour un serveur

    -carte réseau : 1G ou 10G ? -CPU Intel Xeon : fréquence ? nombre de cores ? https://www.cpubenchmark.net/ -Quantité de mémoire -Importance du stockage : -local ou distant (NFS, iSCSI) -Type : SATA, SAS, SSD ? -Performance lecture/écriture : Mo/s, IOPS -Gestion du cache -
    +
    +

    Choix pour un serveur

    +
      +
    • Carte réseau : 1G ou 10G ?
    • +
    • CPU Intel Xeon : fréquence ? nombre de cores ? https://www.cpubenchmark.net/
    • +
    • Quantité de mémoire
    • +
    • Importance du stockage :
    • +
    • Local ou distant (NFS, iSCSI)
    • +
    • Type : SATA, SAS, SSD ?
    • +
    • Performance lecture/écriture : Mo/s, IOPS
    • +
    • Gestion du cache
    • +
    +
    -
    -

    Focus sur le RAID

    -RAID0 -RAID1 -RAID5 -RAID6 -RAID10 -RAID hardware ou logiciel -
    +
    +

    Focus sur le RAID

    +
      +
    • RAID0
    • +
    • RAID1
    • +
    • RAID5
    • +
    • RAID6
    • +
    • RAID10
    • +
    • RAID hardware ou logiciel
    • +
    +
    -
    -

    Focus sur le stockage

    -parted +
    +

    Focus sur le stockage

    parted +
    -
    +
    +

    Partitionnement

    +
      +
    • Partitionnement DOS limité à 2,2 T
    • +
    • Partitionnement GPT
    • +
    • Outils : fdisk, cfdisk, sfdisk, parted
    • +
    • /boot / /var /usr /tmp 2xswap /srv /home
    • +
    • systèmes de fichiers : ext3/ext4, reiserfs, xfs, btrfs
    • +
    +
    -
    -

    Partitionnement

    -Partitionnement DOS limité à 2,2 T -Partitionnement GPT -Outils : fdisk, cfdisk, sfdisk, parted -/boot / /var /usr /tmp 2xswap /srv /home -systèmes de fichiers : ext3/ext4, reiserfs, xfs, btrfs -
    +
    +

    Focus sur RAID logiciel

    +
    -
    -

    Focus sur RAID logiciel

    -
    +
    +

    Focus sur LVM

    +
    -
    -

    Focus sur LVM

    -
    +
    +

    Réseau

    +
      +
    • Fichiers de paramètres :
      Fichiers spécifiques /etc/resolv.conf, /etc/hosts +
    • +
    • Configuration dynamique DHCP (Dynamic Host Configuration Protocol) :
      Paramètres réseau sont automatiquement mis en place. +
    • +
    • Configuration statique :
      Configuration manuelle des fichiers +
    • +
    • Outils réseaux :
      (ifconfig, ping, route, ip, netstat, traceroute...) +
    • +
    +
    -
    -

    Réseau

    - Fichiers de paramètres : - Fichiers spécifiques /etc/resolv.conf, /etc/hosts +
    +

    Installation de logiciels

    +
      +
    • Méthode classique de compilation des sources
    • +
    • Utilisation du système de packages
    • +
    +

    + Les packages sont des binaires précompilés qui sont prêts à être installés de façon simple et rapide.
    Les dépendances sont gérées, ainsi que la mise à jour et la suppression des packages déjà installés (varie selon les distributions). +

    +
    - Configuration dynamique DHCP - (Dynamic Host Configuration Protocol) - Paramètres réseau sont automatiquement mis en place. +
    +

    TP

    +

    Installation Debian GNU/Linux

    +
    - Configuration statique - Configuration manuelle des fichiers +
    +

    Versions actuelles

    +
      +
    • Debian GNU/Linux « Sid » = unstable
    • +
    • Debian GNU/Linux 10 (« Buster ») = testing
    • +
    • Debian GNU/Linux 9 (« Stretch ») = stable
    • +
    • Debian GNU/Linux 8 (« Jessie ») = oldstable
    • +
    • Debian GNU/Linux 7 (« Wheezy ») = oldoldstable
    • +
    +
    - Outils réseaux - (ifconfig, ping, route, ip, netstat, traceroute...) -
    +
    +

    Versions (suite)

    +
      +
    • Debian GNU/Linux 6 (« Squeeze »)
    • +
    • Debian GNU/Linux 5 (« Lenny »)
    • +
    • Debian GNU/Linux 4 (« Etch »)
    • +
    • Debian GNU/Linux 3.1 (« Sarge »)
    • +
    • Debian GNU/Linux 3.0 (« Woody »)
    • +
    • Debian GNU/Linux 2.2 (« Potato »)
    • +
    • Debian GNU/Linux 2.1 (« Slink »)
    • +
    • Debian GNU/Linux 2.0 (« Hamm »)
    • +
    • Debian GNU/Linux 1.1 (« Buzz »)
    • +
    +
    +
    +

    +
      +
    • Boot sur CD/DVD ou USB
    • +
    • Choix de la langue : anglais (en_US.UTF8)
    • +
    • Réglage du clavier
    • +
    • Réseau
    • +
    • Partitionnement
    • +
    • Choix des miroirs
    • +
    • Mot de passe
    • +
    • Choix de packages
    • +
    • Installation GRUB
    • +
    +
    -
    -

    Installation de logiciels

    -- Méthode classique de compilation des sources. -- Utilisation du système de packages +
    +

    console de debug à l'installation

    +
    +        
    +# lspci | grep Eth
    +# ip addr show
    +# dmesg | grep sd
    +# cat /proc/cpuinfo
    +        
    +    
    +
    -Les packages sont des binaires précompilés qui sont prêts à être installés de façon simple et rapide. Les dépendances sont gérées, ainsi que la mise à jour et la suppression des packages déjà installés (varie selon les distributions). -
    - -
    -

    TP : installation Debian GNU/Linux

    -
    - -
    -

    Choix de la version

    -Debian GNU/Linux « Sid » : actuelle version unstable -Debian GNU/Linux 10 (« Buster ») : actuelle version testing -Debian GNU/Linux 9 (« Stretch ») : actuelle version stable -Debian GNU/Linux 8 (« Jessie ») : actuelle version oldstable -Debian GNU/Linux 7 (« Wheezy ») : actuelle version oldoldstable -Debian GNU/Linux 6 (« Squeeze ») -Debian GNU/Linux 5 (« Lenny ») -Debian GNU/Linux 4 (« Etch ») -Debian GNU/Linux 3.1 (« Sarge ») -Debian GNU/Linux 3.0 (« Woody ») -Debian GNU/Linux 2.2 (« Potato ») -Debian GNU/Linux 2.1 (« Slink ») -Debian GNU/Linux 2.0 (« Hamm ») -
    - -
    -

    -boot sur CD/DVD ou USB -choix de la langue : anglais (en_US.UTF8) -réglage du clavier -réseau -partitionnement -choix des miroirs -mot de passe -choix de packages -installation GRUB -
    - -
    -

    console de debug à l'installation

    -lspci | grep Eth -ip addr show -dmesg | grep sd -cat /proc/cpuinfo -
    - -
    -

    Focus sur Vim

    +
    +

    Focus sur Vim

    +
      +
      +                        
       # apt install vim
       # select-editor
      +# update-alternatives --config editor
       # vi /etc/vim/vimrc
       let g:skip_defaults_vim = 1
       # vi ~/.vimrc
      -"musthave
      +                        
      +                    
      +
    +
    + +
    +

    Incontournables

    +
      +
      +                        
       syntax on
       set background=dark
       set nocompatible
      -"dev
      +                        
      +    
      +
    +
    + +
    +

    Pour les devs

    +
      +
      +                        
       set expandtab
       set shiftwidth=4
       set softtabstop=4
       set tabstop=4
      -
    + + + +
    -
    -

    Vim basics

    +
    +

    Vim basics

    +
     Mode "commandes" <-> Mode "insertion"
              [Échap] <-> i
    +
    +
    +
    +

    Vim basics

    +
     Mode "commandes"
     ----------------
     
    @@ -215,95 +270,129 @@ x      supprimer (ou couper) le caractère courant
     p      coller après le curseur
     P      coller avant le curseur
     v      mode visuel pour couper ou copier facilement
    -rX     remplace le caractère courant par X 
    +rX     remplace le caractère courant par X
     u      annule la dernière commande
     Ctrl+r restaure la dernière commande
    +                
    +
    -Passer en mode insertion +
    +

    Vim basics

    +
    +Passer en mode insertion
     ------------------------
    +
     i    passer en mode insert avant le curseur
     a    passer en mode insert après le curseur
     I    passer en mode insert au début de la ligne
     A    passer en mode insert à la fin de la ligne
     o    sauter une ligne et passer en mode insert
    -
    + +
    -
    +
    +
    +                    
     # apt install locales
     $ LANG=fr_FR.UTF8 /usr/bin/vimtutor
    -
    + + +
    -
    -

    Focus sur dpkg / APT

    -- Utilitaire principal : dpkg - dpkg -l - dpkg --unpack - dpkg --configure - dpkg -i - dpkg -r - dpkg -P - dpkg -L - dpkg -S - dpkg -s - dpkg-reconfigure +
    +

    Gestion des paquets dans Debian

    +

    dpkg et APT

    +
    -- Gestion avancée de paquets : APT - (Advanced Package Tool) - Dépendances, mises à jour, conflits [Packages.gz] -
    +
    +

    dpkg

    +

    gestion bas-niveau (manipulation directe des paquets)

    +
    +                    
    +$ dpkg -l
    +# dpkg --unpack
    +# dpkg --configure
    +# dpkg -i
    +# dpkg -r
    +# dpkg -P
    +$ dpkg -L
    +$ dpkg -S
    +$ dpkg -s
    +# dpkg-reconfigure
    +                    
    +                
    +
    -
    -- Sources de paquets : /etc/apt/sources.list - netselect / apt-cdrom / apt-config +
    +

    APT

    +

    gestion avancée (dépendances, mises à jour, conflits…)

    +
    +Sources de paquets :  /etc/apt/sources.list
    +                    
    +# netselect / apt-cdrom / apt-config
    +                    
    +Interface pour APT : apt, apt-cache, apt-get, aptitude
    +                    
    +# apt update
    +# apt upgrade
    +# apt install paquet
    +# apt remove paquet
    +# apt purge paquet
    +$ apt-cache show / search / -n search / depends / rdepends / policy
    +                    
    +                
    +
    -- Interface pour APT : apt, apt-cache, apt-get, aptitude - apt update - apt upgrade - apt install paquet - apt remove paquet - apt purge paquet - apt-cache show / search / -n search / depends / rdepends / policy - etc. -
    +
    +
    +Autres commandes :
    +                    
    +# apt -s install
    +$ apt-file
    +$ apt-show-versions
    +# apt-listchanges
    +# apt clean/autoclean
    +# apt upgrade/full-upgrade
    +$ apt changelog
    +$ rmadison
    +# apt-get check
    +$ apt source
    +# apt build-dep
    +$ debuild -us -uc
    +                    
    +                
    +
    -
    -apt -s install -apt-file -apt-show-versions -apt-listchanges -apt clean/autoclean -apt upgrade/full-upgrade -apt changelog -rmadison -apt-get check -apt source -apt build-dep -debuild -us -uc -
    - -
    +
    +
    +                    
     # vim /etc/apt/sources.list
    -
    +                    
     deb http://mirror.evolix.org/debian/ stretch main
     deb http://security.debian.org/ stretch/updates main
     deb http://mirror.evolix.org/debian/ stretch-updates main
    -
     deb http://mirror.evolix.org/debian/ stretch main
    -
    + +
    -
    +
    +
    +                    
     # dpkg-reconfigure -plow debconf
    -
     # vim /etc/apt/apt.conf.d/99custom
    +                    
     APT::Install-Recommends "false";
     APT::Install-Suggests "false";
     DPkg::Pre-Invoke { "mount -oremount,exec /tmp && mount -oremount,rw /usr || true"; };"
     DPkg::Post-Invoke { "mount -oremount /tmp && mount -oremount /usr || true"; };"
    -
    + +
    -
    +
    +
    +                    
     # vim /etc/fstab
    -
    +                    
     /dev/sda2  /        ext4  defaults,errors=remount-ro   0 1
     /dev/sda1  /boot    ext4  defaults                     0 2
     /dev/sda3  /var     ext4  defaults                     0 2
    @@ -313,92 +402,128 @@ DPkg::Post-Invoke { "mount -oremount /tmp && mount -oremount /usr || true"; };"
     /dev/sda8  none     swap  sw                           0 0
     /dev/sda9  /home    ext4  defaults,noexec,nosuid,nodev 0 2
     tmpfs      /var/tmp tmpfs defaults,noexec,nosuid,nodev 0 2
    -
    + +
    -
    +
    +
     On installe Postfix :
    +                    
     # apt install postfix
    -
    +                    
     On renvoie tous les alias vers root :
    +                    
     # getent passwd | cut -d":" -f1 | sed "s/$/: root/" > /etc/aliases
     # vim /etc/aliases
     # newaliases
    -
    + + +
    -
    +
    +
     Installons les outils de base :
    -
    +                    
     # apt install ssh less mailx sudo munin htop iotop iftop
    -
    - -
    -Mesure des performances disque + + +
    +
    +
    +Mesure des performances disque :
    +                    
     # time dd if=/dev/zero of=/home/32gb bs=1024k count=32768
     # time dd if=/home/32gb of=/dev/null bs=1024k count=32768
     # time rm /home/32gb
     
     # apt install postgresql-contrib
     # /usr/lib/postgresql/9.6/bin/pg_test_fsync
    -
    - -
    -Mesure des performances réseau + + +
    +
    +
    +Mesure des performances réseau :
    +                    
     # apt install iperf mtr-tiny
     
     $ ping -4 google.fr
     $ mtr -4 google.fr
     $ iperf -c debit.k-net.fr
    -
    + + +
    -
    -

    Comment choisir sa version de Linux ?

    -
      -
    • Versions logiciels fixes : Apache / PHP / MySQL / etc.
    • -
    • Version nue / panel (cpanel, plesk)
    • -
    • apt-get / yum install
    • -
    -
    +
    +

    Comment choisir sa version de Linux ?

    +
      +
    • Versions logiciels fixes : Apache / PHP / MySQL / etc.
    • +
    • Version nue / panel (cpanel, plesk)
    • +
    • apt-get / yum install
    • +
    +
    -
    -

    Récapitulatif

    -Choix matériel -Choix version de Linux -Premières optimisations -Validation des performances -
    - -
    +
    +

    Récapitulatif

    +
      +
    • Choix matériel
    • +
    • Choix version de Linux
    • +
    • Premières optimisations
    • +
    • Validation des performances
    • +
    +
    - - +
    - + - // More info https://github.com/hakimel/reveal.js#configuration - Reveal.initialize({ - controls: true, - progress: true, - history: true, - center: true, + - + - diff --git a/reveal/reveal.js/css/reveal.css b/reveal/reveal.js/css/reveal.css index 5f501b1..9950bc7 100644 --- a/reveal/reveal.js/css/reveal.css +++ b/reveal/reveal.js/css/reveal.css @@ -3,7 +3,7 @@ * http://lab.hakim.se/reveal-js * MIT licensed * - * Copyright (C) 2017 Hakim El Hattab, http://hakim.se + * Copyright (C) 2016 Hakim El Hattab, http://hakim.se */ /********************************************* * RESET STYLES @@ -32,6 +32,9 @@ html, body, .reveal div, .reveal span, .reveal applet, .reveal object, .reveal i .reveal footer, .reveal header, .reveal hgroup, .reveal menu, .reveal nav, .reveal section { display: block; } + .reveal figcaption { + font-size: 0.30em; } + /********************************************* * GLOBAL STYLES *********************************************/ @@ -47,6 +50,12 @@ body { background-color: #fff; color: #000; } + html body { + background:url("../imagesEvoFormation2017/visuelSlidesEvolix.svg"); + background-position:center; + background-size: cover; + background-repeat: no-repeat; + } /********************************************* * VIEW FRAGMENTS *********************************************/ @@ -323,7 +332,6 @@ body { bottom: 0; left: 0; margin: auto; - pointer-events: none; overflow: visible; z-index: 1; text-align: center; @@ -341,7 +349,6 @@ body { position: absolute; width: 100%; padding: 20px 0px; - pointer-events: auto; z-index: 10; -webkit-transform-style: flat; transform-style: flat; @@ -376,12 +383,6 @@ body { z-index: 11; opacity: 1; } -.reveal .slides > section:empty, -.reveal .slides > section > section:empty, -.reveal .slides > section[data-background-interactive], -.reveal .slides > section > section[data-background-interactive] { - pointer-events: none; } - .reveal.center, .reveal.center .slides, .reveal.center .slides section { @@ -597,10 +598,6 @@ body { /********************************************* * CUBE TRANSITION - * - * WARNING: - * this is deprecated and will be removed in a - * future version. *********************************************/ .reveal.cube .slides { -webkit-perspective: 1300px; @@ -676,10 +673,6 @@ body { /********************************************* * PAGE TRANSITION - * - * WARNING: - * this is deprecated and will be removed in a - * future version. *********************************************/ .reveal.page .slides { -webkit-perspective-origin: 0% 50%; @@ -855,7 +848,6 @@ body { height: 100%; opacity: 0; visibility: hidden; - overflow: hidden; background-color: transparent; background-position: 50% 50%; background-repeat: no-repeat; @@ -868,8 +860,7 @@ body { .reveal .slide-background.present { opacity: 1; - visibility: visible; - z-index: 2; } + visibility: visible; } .print-pdf .reveal .slide-background { opacity: 1 !important; @@ -883,13 +874,7 @@ body { max-width: none; max-height: none; top: 0; - left: 0; - -o-object-fit: cover; - object-fit: cover; } - -.reveal .slide-background[data-background-size="contain"] video { - -o-object-fit: contain; - object-fit: contain; } + left: 0; } /* Immediate transition style */ .reveal[data-background-transition=none] > .backgrounds .slide-background, @@ -1061,8 +1046,6 @@ body { visibility: visible; outline: 10px solid rgba(150, 150, 150, 0.1); outline-offset: 10px; } - .reveal.overview .backgrounds .slide-background.stack { - overflow: visible; } .reveal.overview .slides section, .reveal.overview-deactivating .slides section { @@ -1074,6 +1057,10 @@ body { -webkit-transition: none; transition: none; } +.reveal.overview-animated .slides { + -webkit-transition: -webkit-transform 0.4s ease; + transition: transform 0.4s ease; } + /********************************************* * RTL SUPPORT *********************************************/ diff --git a/reveal/reveal.js/css/theme/beige.css b/reveal/reveal.js/css/theme/beige.css index 7424a05..6bb34bd 100644 --- a/reveal/reveal.js/css/theme/beige.css +++ b/reveal/reveal.js/css/theme/beige.css @@ -22,7 +22,7 @@ body { font-family: "Lato", sans-serif; font-size: 40px; font-weight: normal; - color: #333; } + color: #363736; } ::selection { color: #fff; @@ -49,7 +49,7 @@ body { .reveal h5, .reveal h6 { margin: 0 0 20px 0; - color: #333; + color: #363736; font-family: "League Gothic", Impact, sans-serif; font-weight: normal; line-height: 1.2; @@ -62,13 +62,13 @@ body { font-size: 3.77em; } .reveal h2 { - font-size: 2.11em; } + font-size: 1.77em; } .reveal h3 { - font-size: 1.55em; } + font-size: 1.30em; } .reveal h4 { - font-size: 1em; } + font-size: 0.7em; } .reveal h1 { text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25), 0 20px 20px rgba(0, 0, 0, 0.15); } @@ -150,14 +150,14 @@ body { .reveal pre { display: block; position: relative; - width: 90%; + /*width: 90%;*/ margin: 20px auto; text-align: left; font-size: 0.55em; font-family: monospace; line-height: 1.2em; word-wrap: break-word; - box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } + } .reveal code { font-family: monospace; } @@ -214,7 +214,7 @@ body { * LINKS *********************************************/ .reveal a { - color: #8b743d; + color: #87cbe7; text-decoration: none; -webkit-transition: color .15s ease; -moz-transition: color .15s ease; @@ -235,8 +235,9 @@ body { .reveal section img { margin: 15px 0px; background: rgba(255, 255, 255, 0.12); - border: 4px solid #333; - box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } + box-shadow: 0 0 10px rgba(0, 0, 0, 0.95); + max-width:400px; +} .reveal section img.plain { border: 0; @@ -249,7 +250,7 @@ body { .reveal a:hover img { background: rgba(255, 255, 255, 0.2); - border-color: #8b743d; + border-color: #87cbe7; box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } /********************************************* @@ -257,31 +258,31 @@ body { *********************************************/ .reveal .controls .navigate-left, .reveal .controls .navigate-left.enabled { - border-right-color: #8b743d; } + border-right-color: #2c596e; } .reveal .controls .navigate-right, .reveal .controls .navigate-right.enabled { - border-left-color: #8b743d; } + border-left-color: #2c596e; } .reveal .controls .navigate-up, .reveal .controls .navigate-up.enabled { - border-bottom-color: #8b743d; } + border-bottom-color: #2c596e; } .reveal .controls .navigate-down, .reveal .controls .navigate-down.enabled { - border-top-color: #8b743d; } + border-top-color: #2c596e; } .reveal .controls .navigate-left.enabled:hover { - border-right-color: #c0a86e; } + border-right-color: #87cbe7; } .reveal .controls .navigate-right.enabled:hover { - border-left-color: #c0a86e; } + border-left-color: #87cbe7; } .reveal .controls .navigate-up.enabled:hover { - border-bottom-color: #c0a86e; } + border-bottom-color: #87cbe7; } .reveal .controls .navigate-down.enabled:hover { - border-top-color: #c0a86e; } + border-top-color: #87cbe7; } /********************************************* * PROGRESS BAR @@ -290,7 +291,7 @@ body { background: rgba(0, 0, 0, 0.2); } .reveal .progress span { - background: #8b743d; + background: #87cbe7; -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } diff --git a/reveal/reveal.js/lib/css/zenburn.css b/reveal/reveal.js/lib/css/zenburn.css index 07be502..9f83be4 100644 --- a/reveal/reveal.js/lib/css/zenburn.css +++ b/reveal/reveal.js/lib/css/zenburn.css @@ -9,8 +9,9 @@ based on dark.css by Ivan Sagalaev display: block; overflow-x: auto; padding: 0.5em; - background: #3f3f3f; + background: #363736; color: #dcdcdc; + padding:15px !important; } .hljs-keyword,