Début de la mise en forme.

This commit is contained in:
Juliette Cougnoux 2017-06-19 19:20:27 +02:00
parent f39519ac38
commit f90d21ac58
13 changed files with 8185 additions and 610 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 622 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 842 KiB

View file

@ -1,124 +1,176 @@
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<head>
<meta charset="utf-8">
<title>Formation Evolix : intro Unix / Linux / Logiciels Libres</title>
<title>Formation Evolix : intro Unix / Linux / Logiciels Libres</title>
<meta name="description" content="A framework for easily creating beautiful presentations using HTML">
<meta name="author" content="Hakim El Hattab">
<meta name="description" content="A framework for easily creating beautiful presentations using HTML">
<meta name="author" content="Hakim El Hattab">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="../css/reveal.css">
<link rel="stylesheet" href="../css/theme/beige.css" id="theme">
<link rel="stylesheet" href="../css/reveal.css">
<link rel="stylesheet" href="../css/theme/beige.css" id="theme">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="../lib/css/zenburn.css">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="../lib/css/zenburn.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( ../print-pdf/gi ) ? '../css/print/pdf.css' : '../css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
<!-- Printing and PDF exports -->
<script>
var link = document.createElement('link');
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match(.. / print - pdf / gi) ? '../css/print/pdf.css' : '../css/print/paper.css';
document.getElementsByTagName('head')[0].appendChild(link);
</script>
<!--[if lt IE 9]>
<!--[if lt IE 9]>
<script src="../lib/js/html5shiv.js"></script>
<![endif]-->
</head>
</head>
<body>
<body>
<div class="reveal">
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<section>
<h1>Formation Evolix</h1>
<h3>intro Unix / Linux / Logiciels Libres</h3>
</section>
<section>
<h1>Formation Evolix</h1>
<h3>intro Unix / Linux / Logiciels Libres</h3>
</section>
<section>
<h2>UNIX</h2>
<ul>
<li>UNICS (UNiplexed Information and Computing Service) : BELL, AT&T (1969)</li>
<li>Ken Thompson</li>
<li>Dennis Ritchie</li>
</ul>
<img src="" border="0">
<p>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</p>
</section>
<section>
<h2>UNIX</h2>
<ul style="max-width:55%;float:left">
<li>UNICS (UNiplexed Information and Computing Service) : BELL, AT&T (1969)</li>
<li>Ken Thompson</li>
<li>Dennis Ritchie</li>
</ul>
<figure style="max-width:40%;float:left; margin: 0 0 2% 0;">
<img style="margin:0 0 0 1%;width:100%;" src="../imagesEvoFormation2017/Ken_Thompson_(sitting)_and_Dennis_Ritchie_at_PDP-11_(2876612463).jpg" border="0">
<figcaption>Ken Thompson (assis) et Dennis Ritchie</figcaption>
</figure>
<p>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</p>
</section>
<section>
<h2>Le début des Logiciels Libres</h2>
</section>
<section>
<h2>Le début des Logiciels Libres</h2>
<ul>
<figure style="max-width:40%;float:left; margin: 0 0 2% 0;">
<img style="max-width:250px;" src="../imagesEvoFormation2017/Richard_Stallman.jpg" border="0">
<img style="max-width:250px;background-color:white;" src="../imagesEvoFormation2017/gnu.png" border="0">
</figure>
<li>1982 : Création Free Software Fundation (FSF) par Richard Stallmann (MIT)</li>
<section>
<h2>Les licences</h2>
<img src="../category.fr.png" border="0">
</section>
<li>1984 : Lancement du projet GNU [objectif : système dexploitation libre compatible Unix.] </li>
<li>1985 : la Free Software Fundation (FSF)</li>
</ul>
</section>
<section>
<h2>Logiciels Libres : les 4 libertés</h2>
<ul>
<li>Exécuter le programme, pour tous les usages</li>
<li>Étudier et adapter à vos besoins un programme</li>
<li>Redistribuer des copies, “aider votre voisin”</li>
<li>Améliorer et publier vos améliorations, pour en faire profiter tout le monde</li>
</ul>
</section>
<section>
<h2>Les licences</h2>
<img style="background-color:white;max-width:100%;" src="../imagesEvoFormation2017/category.fr.png" border="0">
</section>
<section>
<h2>Open Source : les 10 libertés</h2>
</section>
<section>
<h2>Logiciels Libres</h2>
<h3>Les 4 libertés</h3>
<ul>
<li>Exécuter le programme, pour tous les usages</li>
<li>Étudier et adapter à vos besoins un programme</li>
<li>Redistribuer des copies, “aider votre voisin”</li>
<li>Améliorer et publier vos améliorations, pour en faire profiter tout le monde</li>
</ul>
</section>
<section>
<h2>open source VS Open Source</h2>
</section>
<section>
<h2>Open Source</h2>
<h3>Les 10 libertés</h3>
<ul>
<li>Distribution libre (pas de coût)</li>
<li>Code source accessible</li>
<li>Travaux dérivés (permis et sous même licence)</li>
<li>Intégrité du code source de l'auteur</li>
<li>Aucune discrimination envers les personnes ou les groupes</li>
</ul>
</section>
<section>
<h2></h2>
</section>
<section>
<h2>Open Source</h2>
<h3>Les 10 libertés (suite)</h3>
<ul>
<li>Aucune discrimination envers un champ d'application</li>
<li>Distribution de la licence (pas de contrat de non divulgation)</li>
<li>Licence non spécifique un produit</li>
<li>Licence non restrictive envers d'autres produits</li>
<li>Licence neutre technologiquement</li>
</ul>
</section>
</div>
<section>
<p style="font-size:1.77em;">open source VS Open Source</p>
</section>
<section>
<h2></h2>
</section>
</div>
<script src="../lib/js/head.min.js"></script>
<script src="../js/reveal.js"></script>
</div>
<script>
<script src="../lib/js/head.min.js"></script>
<script src="../js/reveal.js"></script>
// More info https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
<script>
// More info https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
transition: 'slide', // none/fade/slide/convex/concave/zoom
transition: 'slide', // none/fade/slide/convex/concave/zoom
// More info https://github.com/hakimel/reveal.js#dependencies
dependencies: [
{ src: '../lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: '../plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '../plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '../plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '../plugin/zoom-js/zoom.js', async: true },
{ src: '../plugin/notes/notes.js', async: true }
]
});
// More info https://github.com/hakimel/reveal.js#dependencies
dependencies: [{
src: '../lib/js/classList.js',
condition: function() {
return !document.body.classList;
}
}, {
src: '../plugin/markdown/marked.js',
condition: function() {
return !!document.querySelector('[data-markdown]');
}
}, {
src: '../plugin/markdown/markdown.js',
condition: function() {
return !!document.querySelector('[data-markdown]');
}
}, {
src: '../plugin/highlight/highlight.js',
async: true,
callback: function() {
hljs.initHighlightingOnLoad();
}
}, {
src: '../plugin/zoom-js/zoom.js',
async: true
}, {
src: '../plugin/notes/notes.js',
async: true
}]
});
</script>
</script>
</body>
</body>
</html>

View file

@ -1,63 +1,63 @@
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<head>
<meta charset="utf-8">
<title>Formation Evolix : Linux et distributions</title>
<title>Formation Evolix : Linux et distributions</title>
<meta name="description" content="A framework for easily creating beautiful presentations using HTML">
<meta name="author" content="Hakim El Hattab">
<meta name="description" content="A framework for easily creating beautiful presentations using HTML">
<meta name="author" content="Hakim El Hattab">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="../css/reveal.css">
<link rel="stylesheet" href="../css/theme/beige.css" id="theme">
<link rel="stylesheet" href="../css/reveal.css">
<link rel="stylesheet" href="../css/theme/beige.css" id="theme">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="../lib/css/zenburn.css">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="../lib/css/zenburn.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( ../print-pdf/gi ) ? '../css/print/pdf.css' : '../css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
<!-- Printing and PDF exports -->
<script>
var link = document.createElement('link');
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match(.. / print - pdf / gi) ? '../css/print/pdf.css' : '../css/print/paper.css';
document.getElementsByTagName('head')[0].appendChild(link);
</script>
<!--[if lt IE 9]>
<!--[if lt IE 9]>
<script src="../lib/js/html5shiv.js"></script>
<![endif]-->
</head>
</head>
<body>
<body>
<div class="reveal">
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<section>
<h1>Formation Evolix</h1>
<h3>Linux et distributions</h3>
</section>
<section>
<h1>Formation Evolix</h1>
<h3>Linux et distributions</h3>
</section>
<section>
<h2>Historique</h2>
<ul>
<li>1991 : Lancement du projet Linux par Linus Torvalds, coordination par Internet</li>
<li>1993 : Fiabilité de Linux déjà à la hauteur des Unix commerciaux</li>
<li>1994 : Reconnaissance de Linux par les membres du projet GNU et entraide</li>
</ul>
<img src="" border="0">
</section>
<section>
<h2>Historique</h2>
<img src="../imagesEvoFormation2017/linus_torvalds.jpg" border="0">
<ul>
<li>1991 : Lancement du projet Linux par Linus Torvalds, coordination par Internet</li>
<li>1993 : Fiabilité de Linux déjà à la hauteur des Unix commerciaux</li>
<li>1994 : Reconnaissance de Linux par les membres du projet GNU et entraide</li>
</ul>
</section>
<section>
<pre>
<section>
<pre style="background-color:white;box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);">
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 :-(.
</pre>
</section>
</section>
<section>
<h2>Versions</h2>
<ul>
<li>mars 1994 : version 1.0</li>
<li>juillet 1996 : version 2.0</li>
<li>janvier 1999 : version 2.2</li>
<li>janvier 2001 : version 2.4</li>
<li>décembre 2003 : version 2.6</li>
<li>juillet 2011 : version 3.0</li>
<li>avril 2015 : version 4.0</li>
<li>aujourd'hui : 4.11</li>
</ul>
</section>
<section>
<h2>Versions</h2>
<ul>
<li>Mars 1994 : version 1.0</li>
<li>Juillet 1996 : version 2.0</li>
<li>Janvier 1999 : version 2.2</li>
<li>Janvier 2001 : version 2.4</li>
<li>Décembre 2003 : version 2.6</li>
<li>Juillet 2011 : version 3.0</li>
<li>Avril 2015 : version 4.0</li>
<li>Aujourd'hui : 4.11</li>
</ul>
</section>
<section>
<h2>Linux, juste un noyau</h2>
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)
</section>
<section>
<h2>Linux, juste un noyau…</h2>
<ul>
<li>Interface de programmation pour utiliser le matériel (clavier, écran, disque)</li>
<li>Multi-taches et multi-utilisateurs</li>
<li>gestion du CPU, pile réseau, filesystems</li>
<li>Monolitique + modulaire VS micro-noyau (Mach, Hurd)</li>
</ul>
</section>
<section>
<h2>TP</h2>
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
</section>
<section>
<h2>Démo</h2>
<pre>
<code>
$ 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
</code>
</pre>
</section>
<section>
<h2>Un noyau de système d'exploitation</h2>
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
</section>
<section>
<h2>…Un noyau de système d'exploitation</h2>
<ul>
<li>Ce ne sont pas des commandes</li>
<li>Ce ne sont pas des fichiers</li>
<li>Ça ne s'utilise pas tout seul</li>
<li>Il faut ajouter des logiciels (outils, services, etc.)</li>
<li>Ne fait pas partie de Linux : cron, passwd, login, tar, mount, libc, coreutils</li>
</ul>
</section>
<section>
<h2>GNU/Linux</h2>
<p>Outils GNU :</p>
<ul>
<li>GCC : compilateur</li>
<li>glibc : librairie C (printf,malloc,open,etc.)</li>
<li>Bash : shell</li>
<li>GRUB : boot loader</li>
<li>coreutils : ls, cat, chmod, du, su, etc.</li>
</ul>
<p>Autres outils : OpenSSH, sudo, Vim, systemd</p>
</section>
<section>
<h2>Outils GNU</h2>
<ul>
<li>GCC : compilateur</li>
<li>glibc : librairie C (printf,malloc,open,etc.)</li>
<li>Bash : shell</li>
<li>GRUB : boot loader</li>
<li>coreutils : ls, cat, chmod, du, su, etc.</li>
</ul>
<p>Autres outils : OpenSSH, sudo, Vim, systemd</p>
</section>
<section>
<h2></h2>
</section>
<section>
<h2></h2>
</section>
<section>
<h2>Distributions GNU/Linux</h2>
<ul>
<li>Red Hat</li>
<li>CentOS</li>
<li>Debian</li>
<li>Ubuntu</li>
</ul>
</section>
<section>
<h2>Distributions</h2>
<ul>
<li>Red Hat</li>
<li>CentOS</li>
<li>Debian</li>
<li>Ubuntu</li>
</ul>
</section>
<section>
<h2>Organisation des fichiers</h2>
Norme FHS
</section>
<section>
<h2>Organisation des fichiers</h2> Norme FHS
</section>
<section>
<h2>Red Hat</h2>
- 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
<section>
<h2>Red Hat</h2>
<h3>Carte d'identité</h3>
<ul>
<li>Fondation : 1993</li>
<li>Siège social : Raleigh</li>
<li>CA : 2500 M$</li>
<li>Nombre d'employés : 10000</li>
</ul>
</section>
- Quatre centres de support dans le monde :
Amerique, Europe, Asie, Pacifique
<section>
<h2>Red Hat</h2>
<h3>Carte d'identité (suite)</h3>
<ul>
<li>Cotée en bourse</li>
<li>Des bureaux dans le monde entier</li>
<li>4 centres de support : Amérique, Asie, Europe, Pacifique</li>
<li>Un des plus gros contributeurs à la communauté du Libre</li>
</ul>
</section>
- Un des plus gros contributeurs à la communauté du Libre
</section>
<section>
<h2>Red Hat</h2>
<h3>Équipe</h3>
<ul>
<li>Des développeurs du noyau Linux</li>
<li>Des mainteneurs de GCC</li>
<li>Des développeurs d'Apache</li>
</ul>
</section>
<section>
<h2>Red Hat</h2>
- É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.
</section>
<section>
<h2>Red Hat</h2>
<h3>Versions</h3>
<ul>
<li>Redhat version 9 : plus supportée</li>
<li>Red Hat Entreprise/Advanced Server : obsolète</li>
<li>Redhat Desktop</li>
<li>Redhat Entreprise Linux 7 (RHEL)</li>
</ul>
</section>
<section>
<h2>Red Hat</h2>
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
</section>
<section>
<h2>Red Hat</h2>
<h3>Dérivés</h3>
<ul>
<li>Fedora</li>
<li>CentOS</li>
</ul>
</section>
<section>
<h2>CentOS</h2>
Community enterprise Operating System
utilisation uniquement des sources de RH
donc binary compatible avec RH
CentOS 7
</section>
<section>
<h2>Red Hat</h2>
<h3>Autres produits</h3>
<ul>
<li>Ansible</li>
<li>OpenStack</li>
<li>JBOSS</li>
</ul>
</section>
<section>
<h2>Debian</h2>
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)
</section>
<section>
<h2>Red Hat</h2>
<h3>Caractéristiques</h3>
<ul>
<li>Système de packages RPM :</li>
<li>Installation facile et rapide (pas de compilation)</li>
<li>Gestion des dépendances</li>
<li>Notoriété et abondance de dépôts RPM</li>
<li>Bénéficie d'améliorations constantes</li>
</ul>
<p>
Voir www.rpm.org
</p>
</section>
<section>
<h2>Ubuntu</h2>
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
</section>
<section>
<h2>CentOS</h2>
<h3>Carte d'identité</h3>
<ul>
<li>Fondation : 2004</li>
<li>Fondateur : Lance Davis</li>
<li>Community enterprise Operating System</li>
<li>Utilisation uniquement des sources de RH</li>
<li>Binary compatible avec RH</li>
<li>Version : CentOS 7</li>
</ul>
</section>
<section>
<h2></h2>
<ul>
<li></li>
<li></li>
</ul>
<p></p>
<img src="" border="0">
</section>
<section>
<h2>Debian</h2>
<h3>Carte d'identité</h3>
<ul>
<li>Fondation : 1993</li>
<li>Fondateur : Ian Murdock</li>
<li>Basé sur un contrat social</li>
<li>DFSG - Debian Free Software Guidelines</li>
</ul>
</section>
</div>
<section>
<h2>Debian</h2>
<h3>Carte d'identité (suite)</h3>
<ul>
<li>Plusieurs milliers de développeurs Debian
<pre><code>
ldapsearch -x -h db.debian.org -b dc=debian,dc=org | grep ^uid: | wc -l
2080
</code></pre>
</li>
<li>Des dizaines de milliers de paquets “sources”
<pre><code>
grep-dctrl -P '' -c /var/lib/apt/lists/*jessie*Sources
21019
</code></pre>
</li>
</ul>
</section>
<section>
<h2>Debian</h2>
<h3>Versions</h3>
<ul>
<li>Debian 7 (2013) : support jusqu'en 2016 (support LTS jusqu'en 2018)</li>
<li>Debian 8 (2015): support jusqu'en 2018 (support LTS jusqu'en 2020)</li>
<li>Debian 9 (2017): support jusqu'en 2020 (support LTS jusqu'en 2022)</li>
</ul>
</section>
<section>
<h2>Ubuntu</h2>
<h3>Carte d'identité</h3>
<ul>
<li>Fondation : 2004</li>
<li>Fondateur : Mark Shuttleworth</li>
<li>Entreprise : Canonical</li>
<li>Basée sur Debian</li>
</ul>
</section>
<section>
<h2>Ubuntu</h2>
<h3>Versions</h3>
<ul>
<li>Versions LTS : tous les 2 ans (support 5 ans)</li>
<li>Versions : tous les 6 mois avec support limité</li>
<li>Version 16.04 LTS (Xenial Xerus59) : avril 2016</li>
<li>Version 17.04 (Zesty Zapus) : avril 2017</li>
</ul>
</section>
<section>
<h2></h2>
<ul>
<li></li>
<li></li>
</ul>
<p></p>
<img src="" border="0">
</section>
</div>
<script src="../lib/js/head.min.js"></script>
<script src="../js/reveal.js"></script>
</div>
<script>
<script src="../lib/js/head.min.js"></script>
<script src="../js/reveal.js"></script>
// More info https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
<script>
// More info https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
transition: 'slide', // none/fade/slide/convex/concave/zoom
transition: 'slide', // none/fade/slide/convex/concave/zoom
// More info https://github.com/hakimel/reveal.js#dependencies
dependencies: [
{ src: '../lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: '../plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '../plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '../plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '../plugin/zoom-js/zoom.js', async: true },
{ src: '../plugin/notes/notes.js', async: true }
]
});
// More info https://github.com/hakimel/reveal.js#dependencies
dependencies: [{
src: '../lib/js/classList.js',
condition: function() {
return !document.body.classList;
}
}, {
src: '../plugin/markdown/marked.js',
condition: function() {
return !!document.querySelector('[data-markdown]');
}
}, {
src: '../plugin/markdown/markdown.js',
condition: function() {
return !!document.querySelector('[data-markdown]');
}
}, {
src: '../plugin/highlight/highlight.js',
async: true,
callback: function() {
hljs.initHighlightingOnLoad();
}
}, {
src: '../plugin/zoom-js/zoom.js',
async: true
}, {
src: '../plugin/notes/notes.js',
async: true
}]
});
</script>
</script>
</body>
</body>
</html>

View file

@ -1,204 +1,259 @@
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<head>
<meta charset="utf-8">
<title>Formation Evolix : installation Linux</title>
<title>Formation Evolix : installation Linux</title>
<meta name="description" content="A framework for easily creating beautiful presentations using HTML">
<meta name="author" content="Hakim El Hattab">
<meta name="description" content="A framework for easily creating beautiful presentations using HTML">
<meta name="author" content="Hakim El Hattab">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="../css/reveal.css">
<link rel="stylesheet" href="../css/theme/beige.css" id="theme">
<link rel="stylesheet" href="../css/reveal.css">
<link rel="stylesheet" href="../css/theme/beige.css" id="theme">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="../lib/css/zenburn.css">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="../lib/css/zenburn.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( ../print-pdf/gi ) ? '../css/print/pdf.css' : '../css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
<!-- Printing and PDF exports -->
<script>
var link = document.createElement('link');
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match(.. / print - pdf / gi) ? '../css/print/pdf.css' : '../css/print/paper.css';
document.getElementsByTagName('head')[0].appendChild(link);
</script>
<!--[if lt IE 9]>
<!--[if lt IE 9]>
<script src="../lib/js/html5shiv.js"></script>
<![endif]-->
</head>
</head>
<body>
<body>
<div class="reveal">
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<section>
<h1>Formation Evolix</h1>
<h3>installation Linux</h3>
</section>
<section>
<h1>Formation Evolix</h1>
<h3>installation Linux</h3>
</section>
<section>
<h2>Méthode d'installation</h2>
<li>par CD/ROM ou clé USB (machine physique ou virtuelle)</li>
<li>par le réseau, via boot PXE+DHCP+TFTP</li>
<li>Image préinstallée par un hébergeur</li>
<li>Conteneur minimal (LXC/Docker)</li>
</section>
<section>
<h2>Méthode d'installation</h2>
<ul>
<li>CD/ROM ou clé USB (machine physique ou virtuelle)</li>
<li>Réseau, via boot PXE+DHCP+TFTP</li>
<li>Image préinstallée par un hébergeur</li>
<li>Conteneur minimal (LXC/Docker)</li>
</ul>
</section>
<section>
<h2>Compatibilité du matériel</h2>
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”
</section>
<section>
<h2>Compatibilité du matériel</h2>
<ul>
<li>Enjeu principal : carte réseau et controleur disque/RAID</li>
<li>Test avec Live-CD</li>
<li>Compatibilité du matériel</li>
<li><tt>lspci -n</tt> sur http://kmuto.jp/debian/hcl/ plus à jour :(</li>
<li>Listes de diffusion</li>
<li>Recherche Google avec "site:lists.debian.org/debian-boot"</li>
</ul>
</section>
<section>
<h2>Choix pour un serveur</h2>
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
</section>
<section>
<h2>Choix pour un serveur</h2>
<ul>
<li>Carte réseau : 1G ou 10G ?</li>
<li>CPU Intel Xeon : fréquence ? nombre de cores ? https://www.cpubenchmark.net/</li>
<li>Quantité de mémoire</li>
<li>Importance du stockage :</li>
<li>Local ou distant (NFS, iSCSI)</li>
<li>Type : SATA, SAS, SSD ?</li>
<li>Performance lecture/écriture : Mo/s, IOPS</li>
<li>Gestion du cache</li>
</ul>
</section>
<section>
<h2>Focus sur le RAID</h2>
RAID0
RAID1
RAID5
RAID6
RAID10
RAID hardware ou logiciel
</section>
<section>
<h2>Focus sur le RAID</h2>
<ul>
<li>RAID0</li>
<li>RAID1</li>
<li>RAID5</li>
<li>RAID6</li>
<li>RAID10</li>
<li>RAID hardware ou logiciel</li>
</ul>
</section>
<section>
<h2>Focus sur le stockage</h2>
parted
<section>
<h2>Focus sur le stockage</h2> parted
</section>
</section>
<section>
<h2>Partitionnement</h2>
<ul>
<li>Partitionnement DOS limité à 2,2 T</li>
<li>Partitionnement GPT</li>
<li>Outils : fdisk, cfdisk, sfdisk, parted</li>
<li>/boot / /var /usr /tmp 2xswap /srv /home</li>
<li>systèmes de fichiers : ext3/ext4, reiserfs, xfs, btrfs</li>
</ul>
</section>
<section>
<h2>Partitionnement</h2>
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
</section>
<section>
<h2>Focus sur RAID logiciel</h2>
</section>
<section>
<h2>Focus sur RAID logiciel</h2>
</section>
<section>
<h2>Focus sur LVM</h2>
</section>
<section>
<h2>Focus sur LVM</h2>
</section>
<section>
<h2>Réseau</h2>
<ul>
<li>Fichiers de paramètres : <br> Fichiers spécifiques /etc/resolv.conf, /etc/hosts
</li>
<li> Configuration dynamique DHCP (Dynamic Host Configuration Protocol) : <br> Paramètres réseau sont automatiquement mis en place.
</li>
<li>Configuration statique : <br> Configuration manuelle des fichiers
</li>
<li>Outils réseaux : <br> (ifconfig, ping, route, ip, netstat, traceroute...)
</li>
</ul>
</section>
<section>
<h2>Réseau</h2>
Fichiers de paramètres :
Fichiers spécifiques /etc/resolv.conf, /etc/hosts
<section>
<h2>Installation de logiciels</h2>
<ul>
<li>Méthode classique de compilation des sources</li>
<li>Utilisation du système de packages</li>
</ul>
<p>
Les packages sont des binaires précompilés qui sont prêts à être installés de façon simple et rapide. <br> 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).
</p>
</section>
Configuration dynamique DHCP
(Dynamic Host Configuration Protocol)
Paramètres réseau sont automatiquement mis en place.
<section>
<h2>TP</h2>
<h3>Installation Debian GNU/Linux</h3>
</section>
Configuration statique
Configuration manuelle des fichiers
<section>
<h2>Versions actuelles</h2>
<ul>
<li>Debian GNU/Linux « Sid » = <em>unstable</em></li>
<li>Debian GNU/Linux 10 (« Buster ») = <em>testing</em></li>
<li>Debian GNU/Linux 9 (« Stretch ») = <em>stable</em></li>
<li>Debian GNU/Linux 8 (« Jessie ») = <em>oldstable</em></li>
<li>Debian GNU/Linux 7 (« Wheezy ») = <em>oldoldstable</em></li>
</ul>
</section>
Outils réseaux
(ifconfig, ping, route, ip, netstat, traceroute...)
</section>
<section>
<h2>Versions (suite)</h2>
<ul>
<li>Debian GNU/Linux 6 (« Squeeze »)</li>
<li>Debian GNU/Linux 5 (« Lenny »)</li>
<li>Debian GNU/Linux 4 (« Etch »)</li>
<li>Debian GNU/Linux 3.1 (« Sarge »)</li>
<li>Debian GNU/Linux 3.0 (« Woody »)</li>
<li>Debian GNU/Linux 2.2 (« Potato »)</li>
<li>Debian GNU/Linux 2.1 (« Slink »)</li>
<li>Debian GNU/Linux 2.0 (« Hamm »)</li>
<li>Debian GNU/Linux 1.1 (« Buzz »)</li>
</ul>
</section>
<section>
<h2></h2>
<ul>
<li>Boot sur CD/DVD ou USB</li>
<li>Choix de la langue : anglais (en_US.UTF8)</li>
<li>Réglage du clavier</li>
<li>Réseau</li>
<li>Partitionnement</li>
<li>Choix des miroirs</li>
<li>Mot de passe</li>
<li>Choix de packages</li>
<li>Installation GRUB</li>
</ul>
</section>
<section>
<h2>Installation de logiciels</h2>
- Méthode classique de compilation des sources.
- Utilisation du système de packages
<section>
<h2>console de debug à l'installation</h2>
<pre>
<code>
# lspci | grep Eth
# ip addr show
# dmesg | grep sd
# cat /proc/cpuinfo
</code>
</pre>
</section>
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).
</section>
<section>
<h2>TP : installation Debian GNU/Linux</h2>
</section>
<section>
<h2>Choix de la version</h2>
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 »)
</section>
<section>
<h2></h2>
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
</section>
<section>
<h2>console de debug à l'installation</h2>
lspci | grep Eth
ip addr show
dmesg | grep sd
cat /proc/cpuinfo
</section>
<section>
<h2>Focus sur Vim</h2>
<section>
<h2>Focus sur Vim</h2>
<ul>
<pre>
<code>
# apt install vim
# select-editor
# update-alternatives --config editor
# vi /etc/vim/vimrc
let g:skip_defaults_vim = 1
# vi ~/.vimrc
"musthave
</code>
</pre>
</ul>
</section>
<section>
<h2>Incontournables</h2>
<ul>
<pre>
<code>
syntax on
set background=dark
set nocompatible
"dev
</code>
</pre>
</ul>
</section>
<section>
<h2>Pour les devs</h2>
<ul>
<pre>
<code>
set expandtab
set shiftwidth=4
set softtabstop=4
set tabstop=4
</section>
</code>
</pre>
</ul>
</section>
<section>
<h2>Vim basics</h2>
<section>
<h2>Vim basics</h2>
<pre style="width:50%; margin: 0 auto;">
Mode "commandes" <-> Mode "insertion"
[Échap] <-> i
</pre>
</section>
<section>
<h2>Vim basics</h2>
<pre style="width:70%; margin: 0 auto;">
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
</pre>
</section>
Passer en mode insertion
<section>
<h2>Vim basics</h2>
<pre style="width:65%; margin: 0 auto;">
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
</section>
</pre>
</section>
<section>
<section>
<pre>
<code>
# apt install locales
$ LANG=fr_FR.UTF8 /usr/bin/vimtutor
</section>
</code>
</pre>
</section>
<section>
<h2>Focus sur dpkg / APT</h2>
- Utilitaire principal : dpkg
dpkg -l
dpkg --unpack
dpkg --configure
dpkg -i
dpkg -r
dpkg -P
dpkg -L
dpkg -S
dpkg -s
dpkg-reconfigure
<section>
<h2>Gestion des paquets dans Debian</h2>
<h3>dpkg et APT</h3>
</section>
- Gestion avancée de paquets : APT
(Advanced Package Tool)
Dépendances, mises à jour, conflits [Packages.gz]
</section>
<section>
<h3>dpkg</h3>
<h4>gestion bas-niveau (manipulation directe des paquets)</h4>
<pre>
<code>
$ dpkg -l
# dpkg --unpack
# dpkg --configure
# dpkg -i
# dpkg -r
# dpkg -P
$ dpkg -L
$ dpkg -S
$ dpkg -s
# dpkg-reconfigure
</code>
</pre>
</section>
<section>
- Sources de paquets : /etc/apt/sources.list
netselect / apt-cdrom / apt-config
<section>
<h3>APT</h3>
<h4>gestion avancée (dépendances, mises à jour, conflits…)</h4>
<pre>
Sources de paquets : /etc/apt/sources.list
<code>
# netselect / apt-cdrom / apt-config
</code>
Interface pour APT : apt, apt-cache, apt-get, aptitude
<code>
# apt update
# apt upgrade
# apt install paquet
# apt remove paquet
# apt purge paquet
$ apt-cache show / search / -n search / depends / rdepends / policy
</code>
</pre>
</section>
- 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.
</section>
<section>
<pre>
Autres commandes :
<code>
# 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
</code>
</pre>
</section>
<section>
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
</section>
<section>
<section>
<pre>
<code>
# vim /etc/apt/sources.list
</code>
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
</section>
</pre>
</section>
<section>
<section>
<pre>
<code>
# dpkg-reconfigure -plow debconf
# vim /etc/apt/apt.conf.d/99custom
</code>
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"; };"
</section>
</pre>
</section>
<section>
<section>
<pre>
<code>
# vim /etc/fstab
</code>
/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
</section>
</pre>
</section>
<section>
<section>
<pre>
On installe Postfix :
<code>
# apt install postfix
</code>
On renvoie tous les alias vers root :
<code>
# getent passwd | cut -d":" -f1 | sed "s/$/: root/" > /etc/aliases
# vim /etc/aliases
# newaliases
</section>
</code>
</pre>
</section>
<section>
<section>
<pre>
Installons les outils de base :
<code>
# apt install ssh less mailx sudo munin htop iotop iftop
</section>
<section>
Mesure des performances disque
</code>
</pre>
</section>
<section>
<pre>
Mesure des performances disque :
<code>
# 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
</section>
<section>
Mesure des performances réseau
</code>
</pre>
</section>
<section>
<pre>
Mesure des performances réseau :
<code>
# apt install iperf mtr-tiny
$ ping -4 google.fr
$ mtr -4 google.fr
$ iperf -c debit.k-net.fr
</section>
</code>
</pre>
</section>
<section>
<h2>Comment choisir sa version de Linux ?</h2>
<ul>
<li>Versions logiciels fixes : Apache / PHP / MySQL / etc.</li>
<li>Version nue / panel (cpanel, plesk)</li>
<li>apt-get / yum install</li>
</ul>
</section>
<section>
<h2>Comment choisir sa version de Linux ?</h2>
<ul>
<li>Versions logiciels fixes : Apache / PHP / MySQL / etc.</li>
<li>Version nue / panel (cpanel, plesk)</li>
<li>apt-get / yum install</li>
</ul>
</section>
<section>
<h2>Récapitulatif</h2>
Choix matériel
Choix version de Linux
Premières optimisations
Validation des performances
</section>
</div>
<section>
<h2>Récapitulatif</h2>
<ul>
<li>Choix matériel</li>
<li>Choix version de Linux</li>
<li>Premières optimisations</li>
<li>Validation des performances</li>
</ul>
</section>
</div>
<script src="../lib/js/head.min.js"></script>
<script src="../js/reveal.js"></script>
</div>
<script>
<script src="../lib/js/head.min.js"></script>
<script src="../js/reveal.js"></script>
// More info https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
<script>
// More info https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
transition: 'slide', // none/fade/slide/convex/concave/zoom
transition: 'slide', // none/fade/slide/convex/concave/zoom
// More info https://github.com/hakimel/reveal.js#dependencies
dependencies: [
{ src: '../lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: '../plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '../plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '../plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '../plugin/zoom-js/zoom.js', async: true },
{ src: '../plugin/notes/notes.js', async: true }
]
});
// More info https://github.com/hakimel/reveal.js#dependencies
dependencies: [{
src: '../lib/js/classList.js',
condition: function() {
return !document.body.classList;
}
}, {
src: '../plugin/markdown/marked.js',
condition: function() {
return !!document.querySelector('[data-markdown]');
}
}, {
src: '../plugin/markdown/markdown.js',
condition: function() {
return !!document.querySelector('[data-markdown]');
}
}, {
src: '../plugin/highlight/highlight.js',
async: true,
callback: function() {
hljs.initHighlightingOnLoad();
}
}, {
src: '../plugin/zoom-js/zoom.js',
async: true
}, {
src: '../plugin/notes/notes.js',
async: true
}]
});
</script>
</script>
</body>
</body>
</html>

View file

@ -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
*********************************************/

View file

@ -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); }

View file

@ -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,