<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wiki-se.plil.fr/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Onaimi</id>
	<title>wiki-se.plil.fr - Contributions [fr]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki-se.plil.fr/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Onaimi"/>
	<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php/Sp%C3%A9cial:Contributions/Onaimi"/>
	<updated>2026-05-17T07:19:59Z</updated>
	<subtitle>Contributions</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=3041</id>
		<title>Atelier SysRes SE2a5 2023/2024 E11</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=3041"/>
		<updated>2023-11-24T10:55:49Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : /* Configuration Apache2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Création de la VM Rio''' ==&lt;br /&gt;
Génération du fichier de configuration:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen-create-image --hostname=rio --ip=172.26.145.113 --netmask=255.255.255.0 --gateway=172.26.145.254 --bridge=bridgeStudents --dir=/usr/local/xen --password=glopglop&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Lancer la VM grâce au fichier de configuration crée :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen create rio.cfg&lt;br /&gt;
xen console rio&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Modification de l'interface eth0 dans '''/etc/network/interfaces''' : &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eth0&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
address 172.26.145.113/24&lt;br /&gt;
gateway 172.26.145.254 &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configuration de la connexion en ssh, nous nous rendons dans le dossier '''/etc/ssh/''' et nous modifions le fichier '''sshd_config''' :&lt;br /&gt;
&lt;br /&gt;
- Décommenter le ''PermitRootLogin'' et mettre ''yes''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
PermitRootLogin yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;- Redémarrer le ssh :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
service ssh restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de capbreton, nous créons les deux partitions LVM :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L10G -n rio-home storage&lt;br /&gt;
lvcreate -L10G -n rio-var storage&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Se rendre dans le dossier '''/etc/xen/''' et modifier le fichier de configuration de la VM '''rio.cfg'''  en ajoutant les lignes de configurations des partitions :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
#  Disk device(s).&lt;br /&gt;
#&lt;br /&gt;
root        = '/dev/xvda2 ro'&lt;br /&gt;
disk        = [&lt;br /&gt;
                'file:/usr/local/xen/domains/HG/disk.img,xvda2,w',&lt;br /&gt;
                'file:/usr/local/xen/domains/HG/swap.img,xvda1,w',&lt;br /&gt;
                'phy:/dev/virtual/kiev-home,xvdb,w',&lt;br /&gt;
                'phy:/dev/virtual/kiev-var,xvdc,w',&lt;br /&gt;
            ]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;u&amp;gt;Problème rencontré :&amp;lt;/u&amp;gt;  Message d'erreur en essayant de redémarrer la VM &lt;br /&gt;
[[Fichier:Erreur partitions.png|centré]]Création des deux partitions LVM en ''virtual'' et non ''storage''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L10G -n rio-home virtual&lt;br /&gt;
lvcreate -L10G -n rio-var virtual&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de la VM, nous vérifions, grâce à la commande lsblk, la présence des nouvelles partitions :&lt;br /&gt;
[[Fichier:Liste LVM.png|centré]]&lt;br /&gt;
Montage des disques dans deux répertoires '''/home''' et '''/var''' :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
mkdir /new_home&lt;br /&gt;
mkdir /new_var&lt;br /&gt;
mkfs /dev/xvdb &lt;br /&gt;
mkfs /dev/xvdc&lt;br /&gt;
mount /dev/xvdb /new_home&lt;br /&gt;
mount /dev/xvdc /new_var&lt;br /&gt;
cp -r /var/* /new_var/&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Vérification de la nouvelle liste des LVM :&lt;br /&gt;
[[Fichier:NouvelleListeLVM.png|centré]]&lt;br /&gt;
Nous nous rendons dans le dossier '''/etc/''' pour modifier le ficher '''fstab''' :&lt;br /&gt;
[[Fichier:Fstab chg.png|centré]]&lt;br /&gt;
Nous redémarrons la VM, puis nouvelle vérification de la liste des LVM : les partitions sont bien montées.&lt;br /&gt;
[[Fichier:ListeFinaleLVM.png|centré]]&lt;br /&gt;
&lt;br /&gt;
== '''Création de la VM Mandataire padel''' ==&lt;br /&gt;
Génération du fichier de configuration:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen-create-image --hostname=padel --ip=193.48.57.168 --netmask=255.255.255.240 --gateway=193.48.57.161 --bridge=SE2a5 --dir=/usr/local/xen --password=glopglop&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Lancer la VM grâce au fichier de configuration crée :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen create padel.cfg&lt;br /&gt;
xen console padel&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Ajout de l'IPv6 : Nous nous rendons dans le dossier '''/etc/network''' pour modifier le fichier '''interfaces''' :&lt;br /&gt;
[[Fichier:Eth0ipv6.png|centré]]&lt;br /&gt;
&lt;br /&gt;
== '''Lien entre les VMs de service et la VM mandataire''' ==&lt;br /&gt;
Tout d'abord, nous avons crée un bridge sur capbreton qui permet de relier la VM mandataire au réseau. Pour ce faire, nous modifions le fichier '''/etc/network/interfaces.d/TP_SE2a5''' :&lt;br /&gt;
[[Fichier:PadelBridge.png|centré]]&lt;br /&gt;
Par la suite, nous ajoutons le bridge dans chacun des fichiers de config de nos VMs dans '''/etc/xen/''' en modifiant le ''vif :'' &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
'ip=192.168.162.3 , bridge=padel'] //Dans rio.cfg&lt;br /&gt;
'ip=192.168.162.2 , bridge=padel'] //Dans stockholm.cfg&lt;br /&gt;
'ip=192.168.162.1 , bridge=padel'] //Dans padel.cfg&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;- Création des interfaces réseaux ''eth1'' sur nos VMs (services) dans '''/etc/network/interfaces :'''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eth1&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
        address 192.168.162.3/24&lt;br /&gt;
        gateway 192.168.162.1 //IP Mandataire&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Pour la VM mandataire :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eth1&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
        address 192.168.162.1&lt;br /&gt;
        netmask 255.255.255.0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;- Passage en IPv6 pour les machines de service :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eht0 &lt;br /&gt;
iface eth0 inet6 auto&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Test de ping entre les différentes VMs.&lt;br /&gt;
&lt;br /&gt;
- Création de la mascarade et utilisation de iptables-persistent pour conserver les règles en les sauvegardant dans '''/etc/iptables/rule.v4''' :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
iptables -t nat -A POSTROUTING -j MASQUERADE -s 192.168.162.0/24&lt;br /&gt;
apt install iptables-persistent&lt;br /&gt;
iptables-save&lt;br /&gt;
iptables-save &amp;gt; /etc/iptables/rules.v4&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Nous avons réalisés un ping 8.8.8.8 pour vérifier que les VMs de service et la VM mandataire ont accès à internet.&lt;br /&gt;
&lt;br /&gt;
Au niveau de capbreton, nous avons testé de nous connecter en ''ssh'' en réalisant un ''jump :''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
ssh -J root@193.48.57.162 root@192.168.162.2&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de padel, nous avons autorisé les redirections IP dans '''/etc/sysctl.conf'''  :&lt;br /&gt;
[[Fichier:AutorisationIPv4.png|centré]]&lt;br /&gt;
Nous avons ajouté de nouvelles règles de routage pour pouvoir se connecter aux VMs de service en ''ssh'' sur le port 2201 pour stockholm et sur le port 2202 pour rio :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
iptables -A PREROUTING -t nat -i eth0 -p tcp -m tcp --dport 2201 -j DNAT --to-destination 192.168.162.2:22&lt;br /&gt;
iptables -A PREROUTING -t nat -i eth0 -p tcp -m tcp --dport 2202 -j DNAT --to-destination 192.168.162.3:22&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Configuration DNS''' ==&lt;br /&gt;
Achat du nom de domaine rio71.lol (rio.lol non disponible) sur le site https://www.gandi.net/fr (Compte : pifou / pasglop).&lt;br /&gt;
&lt;br /&gt;
'''GlueRecords''' : DNS Principal (VM de service) en IPv6 et DNS Secondaire (VM mandataire) en IPv4 + '''External nameservers :''' Nameserver 1 : ns1.rio71.lol | Nameserver 2 : ns6.gandi.net &lt;br /&gt;
[[Fichier:GlueRec.png|centré]]&lt;br /&gt;
'''PS :''' Télécharger bind9 &amp;amp; apache2 sur les VMs (&amp;lt;u&amp;gt;Attention&amp;lt;/u&amp;gt; : apt update avant apt install bind9 et apache2)&lt;br /&gt;
&lt;br /&gt;
Configurer la zone de DNS en local dans nos VMs ('''/etc/bind/named.conf.local''') :&lt;br /&gt;
[[Fichier:ConfigDNS.png|gauche]]&lt;br /&gt;
[[Fichier:Bindconfmaster.png|droite]]&lt;br /&gt;
&amp;lt;= Configuration DNS Slave sur la VM mandataire&lt;br /&gt;
&lt;br /&gt;
Configuration DNS Master sur la VM de service =&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Permettre l'écoute des IPv4 et IPv6 sur la VM mandataire dans '''/etc/bind/named.conf.options''' &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
 listen-on-v6 { any; }&lt;br /&gt;
 listen-on { any; };&lt;br /&gt;
 allow-recursion {127.0.0.1; };&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Pour les VMs de service : &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
 listen-on-v6 { any; }&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Dans le même dossier, copie de la configuration local sur la configuration db.rio71.lol et modifications : &lt;br /&gt;
[[Fichier:ConfigDNSrio.png|centré]]&lt;br /&gt;
Vérifier qu'il n'y a aucune erreur de configuration du DNS des différents fichiers grâce à la commande ''named-checkconf.''&lt;br /&gt;
&lt;br /&gt;
Redémarrer le service DNS : &amp;lt;code&amp;gt;service bind9 restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''PS :''' Penser à installer dnsutils (&amp;lt;code&amp;gt;apt install dnsutils&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Vérifier la présence du DNS sur la machine en utilisant : &amp;lt;code&amp;gt;dig @localhost rio71.lol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Configuration Apache2''' ==&lt;br /&gt;
Tout d'abord, installer ''openssl'' (&amp;lt;code&amp;gt;apt install openssl)&amp;lt;/code&amp;gt;pour pouvoir générer une CSR (Certificate Signing Request) dans '''/etc/ssl''' .&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
openssl req -nodes -newkey rsa:2048 -sha256 -keyout rio71.lol.key -out rio71.lol.csr -utf8&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Remplir le formulaire demandé (email...) mais faire attention Common Name : rio71.lol&lt;br /&gt;
&lt;br /&gt;
Placer la clé privée dans le bon dossier '''/etc/ssl/private''' et modifier les droits d'accès (juste en lecture) : &amp;lt;code&amp;gt;chmod 440 stockholm.lol.key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Au niveau de Gandi, acheter un nouveau certificat SSL et renseigner la clé. (Attente de vérification)&lt;br /&gt;
&lt;br /&gt;
Une fois vérifié, télécharger le certificat pour le déplacer par la suite de la machine physique (salle TP) à la VM mandataire, puis de cette dernière vers la VM de service :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
/*Physique vers mandataire*/&lt;br /&gt;
~/Téléchargements$ scp -r -p rio71.lol.crt root@193.48.57.168:/etc/transfer/&lt;br /&gt;
&lt;br /&gt;
/*Mandataire vers service*/&lt;br /&gt;
root@padel:/etc/transfer scp -r -p rio71.lol.crt root@192.168.162.3:/etc/ssl/certs&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Activer le mode SSL sur apache2 : &amp;lt;code&amp;gt;a2enmod ssl&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Création du nouveau fichier de config (pour configurer apache2 sur le port 443) dans  '''/etc/apache2/sites-available/vhosts-https.conf :'''&lt;br /&gt;
[[Fichier:Vhostshttps.png|centré]]&lt;br /&gt;
(Modification pour avoir les bons chemins pour les certificats)&lt;br /&gt;
&lt;br /&gt;
Lancer le fichier de configuration : &amp;lt;code&amp;gt;a2ensite vhosts-https.conf&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Puis relancer apache2 : &amp;lt;code&amp;gt;service apache2 restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''DNSSEC''' ==&lt;br /&gt;
Passage sur chimaera pour pouvoir réaliser toutes les mises à jour des packages :&lt;br /&gt;
[[Fichier:PassageChimaera.png|centré]]&lt;br /&gt;
Ensuite, nous pouvons : &amp;lt;code&amp;gt;apt update &amp;amp;&amp;amp; apt upgrade -y&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Modification du fichier local '''/etc/bind/named.conf.local :'''&lt;br /&gt;
[[Fichier:Dnsseclocalconf.png|centré]]&lt;br /&gt;
&amp;lt;u&amp;gt;PS :&amp;lt;/u&amp;gt; Erreur des temps d'attente sur le fichier '''db.rio71.lol''' =&amp;gt; passage à 3600&lt;br /&gt;
[[Fichier:Newdbrio71.png|centré]]&lt;br /&gt;
Après un service named restart, les clefs sont bien générées automatiquement dans le dossier keys.&lt;br /&gt;
&lt;br /&gt;
De retour sur Gandi, pour renseigner la clef DNSSEC. (Gandi keys were automatically set because you are using Gandi 's LiveDNS nameservers)&lt;br /&gt;
&lt;br /&gt;
Le DNS n'était pas bien configuré, après résolutions des problèmes, nous avons ajouté le '''External NameServer''' (Principal : ns1.rio71.lol | Secondaire : ns6.gandi.net).&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:Newdbrio71.png&amp;diff=3022</id>
		<title>Fichier:Newdbrio71.png</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:Newdbrio71.png&amp;diff=3022"/>
		<updated>2023-11-24T10:39:09Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Newdbrio71&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:Dnsseclocalconf.png&amp;diff=3011</id>
		<title>Fichier:Dnsseclocalconf.png</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:Dnsseclocalconf.png&amp;diff=3011"/>
		<updated>2023-11-24T10:22:08Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;dnsseclocalconf&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:Namedconfdnssec.png&amp;diff=3008</id>
		<title>Fichier:Namedconfdnssec.png</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:Namedconfdnssec.png&amp;diff=3008"/>
		<updated>2023-11-24T10:20:37Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;namedconfdnssec&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:PassageChimaera.png&amp;diff=2980</id>
		<title>Fichier:PassageChimaera.png</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:PassageChimaera.png&amp;diff=2980"/>
		<updated>2023-11-24T09:54:30Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;PassageChimaera&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=2964</id>
		<title>Atelier SysRes SE2a5 2023/2024 E11</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=2964"/>
		<updated>2023-11-23T21:36:54Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : /* Configuration DNS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Création de la VM Rio''' ==&lt;br /&gt;
Génération du fichier de configuration:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen-create-image --hostname=rio --ip=172.26.145.113 --netmask=255.255.255.0 --gateway=172.26.145.254 --bridge=bridgeStudents --dir=/usr/local/xen --password=glopglop&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Lancer la VM grâce au fichier de configuration crée :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen create rio.cfg&lt;br /&gt;
xen console rio&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Modification de l'interface eth0 dans '''/etc/network/interfaces''' : &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eth0&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
address 172.26.145.113/24&lt;br /&gt;
gateway 172.26.145.254 &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configuration de la connexion en ssh, nous nous rendons dans le dossier '''/etc/ssh/''' et nous modifions le fichier '''sshd_config''' :&lt;br /&gt;
&lt;br /&gt;
- Décommenter le ''PermitRootLogin'' et mettre ''yes''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
PermitRootLogin yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;- Redémarrer le ssh :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
service ssh restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de capbreton, nous créons les deux partitions LVM :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L10G -n rio-home storage&lt;br /&gt;
lvcreate -L10G -n rio-var storage&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Se rendre dans le dossier '''/etc/xen/''' et modifier le fichier de configuration de la VM '''rio.cfg'''  en ajoutant les lignes de configurations des partitions :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
#  Disk device(s).&lt;br /&gt;
#&lt;br /&gt;
root        = '/dev/xvda2 ro'&lt;br /&gt;
disk        = [&lt;br /&gt;
                'file:/usr/local/xen/domains/HG/disk.img,xvda2,w',&lt;br /&gt;
                'file:/usr/local/xen/domains/HG/swap.img,xvda1,w',&lt;br /&gt;
                'phy:/dev/virtual/kiev-home,xvdb,w',&lt;br /&gt;
                'phy:/dev/virtual/kiev-var,xvdc,w',&lt;br /&gt;
            ]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;u&amp;gt;Problème rencontré :&amp;lt;/u&amp;gt;  Message d'erreur en essayant de redémarrer la VM &lt;br /&gt;
[[Fichier:Erreur partitions.png|centré]]Création des deux partitions LVM en ''virtual'' et non ''storage''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L10G -n rio-home virtual&lt;br /&gt;
lvcreate -L10G -n rio-var virtual&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de la VM, nous vérifions, grâce à la commande lsblk, la présence des nouvelles partitions :&lt;br /&gt;
[[Fichier:Liste LVM.png|centré]]&lt;br /&gt;
Montage des disques dans deux répertoires '''/home''' et '''/var''' :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
mkdir /new_home&lt;br /&gt;
mkdir /new_var&lt;br /&gt;
mkfs /dev/xvdb &lt;br /&gt;
mkfs /dev/xvdc&lt;br /&gt;
mount /dev/xvdb /new_home&lt;br /&gt;
mount /dev/xvdc /new_var&lt;br /&gt;
cp -r /var/* /new_var/&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Vérification de la nouvelle liste des LVM :&lt;br /&gt;
[[Fichier:NouvelleListeLVM.png|centré]]&lt;br /&gt;
Nous nous rendons dans le dossier '''/etc/''' pour modifier le ficher '''fstab''' :&lt;br /&gt;
[[Fichier:Fstab chg.png|centré]]&lt;br /&gt;
Nous redémarrons la VM, puis nouvelle vérification de la liste des LVM : les partitions sont bien montées.&lt;br /&gt;
[[Fichier:ListeFinaleLVM.png|centré]]&lt;br /&gt;
&lt;br /&gt;
== '''Création de la VM Mandataire padel''' ==&lt;br /&gt;
Génération du fichier de configuration:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen-create-image --hostname=padel --ip=193.48.57.168 --netmask=255.255.255.240 --gateway=193.48.57.161 --bridge=SE2a5 --dir=/usr/local/xen --password=glopglop&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Lancer la VM grâce au fichier de configuration crée :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen create padel.cfg&lt;br /&gt;
xen console padel&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Ajout de l'IPv6 : Nous nous rendons dans le dossier '''/etc/network''' pour modifier le fichier '''interfaces''' :&lt;br /&gt;
[[Fichier:Eth0ipv6.png|centré]]&lt;br /&gt;
&lt;br /&gt;
== '''Lien entre les VMs de service et la VM mandataire''' ==&lt;br /&gt;
Tout d'abord, nous avons crée un bridge sur capbreton qui permet de relier la VM mandataire au réseau. Pour ce faire, nous modifions le fichier '''/etc/network/interfaces.d/TP_SE2a5''' :&lt;br /&gt;
[[Fichier:PadelBridge.png|centré]]&lt;br /&gt;
Par la suite, nous ajoutons le bridge dans chacun des fichiers de config de nos VMs dans '''/etc/xen/''' en modifiant le ''vif :'' &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
'ip=192.168.162.3 , bridge=padel'] //Dans rio.cfg&lt;br /&gt;
'ip=192.168.162.2 , bridge=padel'] //Dans stockholm.cfg&lt;br /&gt;
'ip=192.168.162.1 , bridge=padel'] //Dans padel.cfg&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;- Création des interfaces réseaux ''eth1'' sur nos VMs (services) dans '''/etc/network/interfaces :'''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eth1&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
        address 192.168.162.3/24&lt;br /&gt;
        gateway 192.168.162.1 //IP Mandataire&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Pour la VM mandataire :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eth1&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
        address 192.168.162.1&lt;br /&gt;
        netmask 255.255.255.0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;- Passage en IPv6 pour les machines de service :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eht0 &lt;br /&gt;
iface eth0 inet6 auto&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Test de ping entre les différentes VMs.&lt;br /&gt;
&lt;br /&gt;
- Création de la mascarade et utilisation de iptables-persistent pour conserver les règles en les sauvegardant dans '''/etc/iptables/rule.v4''' :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
iptables -t nat -A POSTROUTING -j MASQUERADE -s 192.168.162.0/24&lt;br /&gt;
apt install iptables-persistent&lt;br /&gt;
iptables-save&lt;br /&gt;
iptables-save &amp;gt; /etc/iptables/rules.v4&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Nous avons réalisés un ping 8.8.8.8 pour vérifier que les VMs de service et la VM mandataire ont accès à internet.&lt;br /&gt;
&lt;br /&gt;
Au niveau de capbreton, nous avons testé de nous connecter en ''ssh'' en réalisant un ''jump :''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
ssh -J root@193.48.57.162 root@192.168.162.2&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de padel, nous avons autorisé les redirections IP dans '''/etc/sysctl.conf'''  :&lt;br /&gt;
[[Fichier:AutorisationIPv4.png|centré]]&lt;br /&gt;
Nous avons ajouté de nouvelles règles de routage pour pouvoir se connecter aux VMs de service en ''ssh'' sur le port 2201 pour stockholm et sur le port 2202 pour rio :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
iptables -A PREROUTING -t nat -i eth0 -p tcp -m tcp --dport 2201 -j DNAT --to-destination 192.168.162.2:22&lt;br /&gt;
iptables -A PREROUTING -t nat -i eth0 -p tcp -m tcp --dport 2202 -j DNAT --to-destination 192.168.162.3:22&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Configuration DNS''' ==&lt;br /&gt;
Achat du nom de domaine rio71.lol (rio.lol non disponible) sur le site https://www.gandi.net/fr (Compte : pifou / pasglop).&lt;br /&gt;
&lt;br /&gt;
'''GlueRecords''' : DNS Principal (VM de service) en IPv6 et DNS Secondaire (VM mandataire) en IPv4 + '''External nameservers :''' Nameserver 1 : ns1.rio71.lol | Nameserver 2 : ns6.gandi.net &lt;br /&gt;
[[Fichier:GlueRec.png|centré]]&lt;br /&gt;
'''PS :''' Télécharger bind9 &amp;amp; apache2 sur les VMs (&amp;lt;u&amp;gt;Attention&amp;lt;/u&amp;gt; : apt update avant apt install bind9)&lt;br /&gt;
&lt;br /&gt;
Configurer la zone de DNS en local dans nos VMs ('''/etc/bind/named.conf.local''') :&lt;br /&gt;
[[Fichier:ConfigDNS.png|gauche]]&lt;br /&gt;
[[Fichier:Bindconfmaster.png|droite]]&lt;br /&gt;
&amp;lt;= Configuration DNS Slave sur la VM mandataire&lt;br /&gt;
&lt;br /&gt;
Configuration DNS Master sur la VM de service =&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Permettre l'écoute des IPv4 et IPv6 sur les VMs dans '''/etc/bind/named.conf.options''' &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
 listen-on-v6 { any; }&lt;br /&gt;
 listen-on { any; };&lt;br /&gt;
 allow-recursion {127.0.0.1; };&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Dans le même dossier, copie de la configuration local sur la configuration db.rio71.lol et modifications : &lt;br /&gt;
[[Fichier:ConfigDNSrio.png|centré]]&lt;br /&gt;
Vérifier qu'il n'y a aucune erreur de configuration du DNS des différents fichiers grâce à la commande ''named-checkconf.''&lt;br /&gt;
&lt;br /&gt;
Redémarrer le service DNS : &amp;lt;code&amp;gt;service bind9 restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''PS :''' Penser à installer dnsutils (&amp;lt;code&amp;gt;apt install dnsutils&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Vérifier la présence du DNS sur la machine en utilisant : &amp;lt;code&amp;gt;dig @localhost rio71.lol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Configuration Apache2''' ==&lt;br /&gt;
Tout d'abord, installer ''openssl'' (&amp;lt;code&amp;gt;apt install openssl)&amp;lt;/code&amp;gt;pour pouvoir générer une CSR (Certificate Signing Request) dans '''/etc/ssl''' .&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
openssl req -nodes -newkey rsa:2048 -sha256 -keyout rio71.lol.key -out rio71.lol.csr -utf8&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Remplir le formulaire demandé (email...) mais faire attention Common Name : rio71.lol&lt;br /&gt;
&lt;br /&gt;
Placer la clé privée dans le bon dossier '''/etc/ssl/private''' et modifier les droits d'accès (juste en lecture) : &amp;lt;code&amp;gt;chmod 440 stockholm.lol.key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Au niveau de Gandi, acheter un nouveau certificat SSL et renseigner la clé. (Attente de vérification)&lt;br /&gt;
&lt;br /&gt;
Une fois vérifié, télécharger le certificat pour le déplacer par la suite de la machine physique (salle TP) à la VM mandataire, puis de cette dernière vers la VM de service :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
/*Physique vers mandataire*/&lt;br /&gt;
~/Téléchargements$ scp -r -p rio71.lol.crt root@193.48.57.168:/etc/transfer/&lt;br /&gt;
&lt;br /&gt;
/*Mandataire vers service*/&lt;br /&gt;
root@padel:/etc/transfer scp -r -p rio71.lol.crt root@192.168.162.3:/etc/ssl/certs&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Activer le mode SSL sur apache2 : &amp;lt;code&amp;gt;a2enmod ssl&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Création du nouveau fichier de config (pour configurer apache2 sur le port 443) dans  '''/etc/apache2/sites-available/vhosts-https.conf :'''&lt;br /&gt;
[[Fichier:Vhostshttps.png|centré]]&lt;br /&gt;
(Modification pour avoir les bons chemins pour les certificats)&lt;br /&gt;
&lt;br /&gt;
Lancer le fichier de configuration : &amp;lt;code&amp;gt;a2ensite vhosts-https.conf&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Puis relancer apache2 : &amp;lt;code&amp;gt;service apache2 restart&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=2963</id>
		<title>Atelier SysRes SE2a5 2023/2024 E11</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=2963"/>
		<updated>2023-11-23T21:36:15Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : /* DNS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Création de la VM Rio''' ==&lt;br /&gt;
Génération du fichier de configuration:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen-create-image --hostname=rio --ip=172.26.145.113 --netmask=255.255.255.0 --gateway=172.26.145.254 --bridge=bridgeStudents --dir=/usr/local/xen --password=glopglop&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Lancer la VM grâce au fichier de configuration crée :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen create rio.cfg&lt;br /&gt;
xen console rio&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Modification de l'interface eth0 dans '''/etc/network/interfaces''' : &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eth0&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
address 172.26.145.113/24&lt;br /&gt;
gateway 172.26.145.254 &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configuration de la connexion en ssh, nous nous rendons dans le dossier '''/etc/ssh/''' et nous modifions le fichier '''sshd_config''' :&lt;br /&gt;
&lt;br /&gt;
- Décommenter le ''PermitRootLogin'' et mettre ''yes''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
PermitRootLogin yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;- Redémarrer le ssh :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
service ssh restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de capbreton, nous créons les deux partitions LVM :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L10G -n rio-home storage&lt;br /&gt;
lvcreate -L10G -n rio-var storage&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Se rendre dans le dossier '''/etc/xen/''' et modifier le fichier de configuration de la VM '''rio.cfg'''  en ajoutant les lignes de configurations des partitions :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
#  Disk device(s).&lt;br /&gt;
#&lt;br /&gt;
root        = '/dev/xvda2 ro'&lt;br /&gt;
disk        = [&lt;br /&gt;
                'file:/usr/local/xen/domains/HG/disk.img,xvda2,w',&lt;br /&gt;
                'file:/usr/local/xen/domains/HG/swap.img,xvda1,w',&lt;br /&gt;
                'phy:/dev/virtual/kiev-home,xvdb,w',&lt;br /&gt;
                'phy:/dev/virtual/kiev-var,xvdc,w',&lt;br /&gt;
            ]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;u&amp;gt;Problème rencontré :&amp;lt;/u&amp;gt;  Message d'erreur en essayant de redémarrer la VM &lt;br /&gt;
[[Fichier:Erreur partitions.png|centré]]Création des deux partitions LVM en ''virtual'' et non ''storage''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L10G -n rio-home virtual&lt;br /&gt;
lvcreate -L10G -n rio-var virtual&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de la VM, nous vérifions, grâce à la commande lsblk, la présence des nouvelles partitions :&lt;br /&gt;
[[Fichier:Liste LVM.png|centré]]&lt;br /&gt;
Montage des disques dans deux répertoires '''/home''' et '''/var''' :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
mkdir /new_home&lt;br /&gt;
mkdir /new_var&lt;br /&gt;
mkfs /dev/xvdb &lt;br /&gt;
mkfs /dev/xvdc&lt;br /&gt;
mount /dev/xvdb /new_home&lt;br /&gt;
mount /dev/xvdc /new_var&lt;br /&gt;
cp -r /var/* /new_var/&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Vérification de la nouvelle liste des LVM :&lt;br /&gt;
[[Fichier:NouvelleListeLVM.png|centré]]&lt;br /&gt;
Nous nous rendons dans le dossier '''/etc/''' pour modifier le ficher '''fstab''' :&lt;br /&gt;
[[Fichier:Fstab chg.png|centré]]&lt;br /&gt;
Nous redémarrons la VM, puis nouvelle vérification de la liste des LVM : les partitions sont bien montées.&lt;br /&gt;
[[Fichier:ListeFinaleLVM.png|centré]]&lt;br /&gt;
&lt;br /&gt;
== '''Création de la VM Mandataire padel''' ==&lt;br /&gt;
Génération du fichier de configuration:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen-create-image --hostname=padel --ip=193.48.57.168 --netmask=255.255.255.240 --gateway=193.48.57.161 --bridge=SE2a5 --dir=/usr/local/xen --password=glopglop&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Lancer la VM grâce au fichier de configuration crée :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen create padel.cfg&lt;br /&gt;
xen console padel&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Ajout de l'IPv6 : Nous nous rendons dans le dossier '''/etc/network''' pour modifier le fichier '''interfaces''' :&lt;br /&gt;
[[Fichier:Eth0ipv6.png|centré]]&lt;br /&gt;
&lt;br /&gt;
== '''Lien entre les VMs de service et la VM mandataire''' ==&lt;br /&gt;
Tout d'abord, nous avons crée un bridge sur capbreton qui permet de relier la VM mandataire au réseau. Pour ce faire, nous modifions le fichier '''/etc/network/interfaces.d/TP_SE2a5''' :&lt;br /&gt;
[[Fichier:PadelBridge.png|centré]]&lt;br /&gt;
Par la suite, nous ajoutons le bridge dans chacun des fichiers de config de nos VMs dans '''/etc/xen/''' en modifiant le ''vif :'' &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
'ip=192.168.162.3 , bridge=padel'] //Dans rio.cfg&lt;br /&gt;
'ip=192.168.162.2 , bridge=padel'] //Dans stockholm.cfg&lt;br /&gt;
'ip=192.168.162.1 , bridge=padel'] //Dans padel.cfg&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;- Création des interfaces réseaux ''eth1'' sur nos VMs (services) dans '''/etc/network/interfaces :'''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eth1&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
        address 192.168.162.3/24&lt;br /&gt;
        gateway 192.168.162.1 //IP Mandataire&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Pour la VM mandataire :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eth1&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
        address 192.168.162.1&lt;br /&gt;
        netmask 255.255.255.0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;- Passage en IPv6 pour les machines de service :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eht0 &lt;br /&gt;
iface eth0 inet6 auto&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Test de ping entre les différentes VMs.&lt;br /&gt;
&lt;br /&gt;
- Création de la mascarade et utilisation de iptables-persistent pour conserver les règles en les sauvegardant dans '''/etc/iptables/rule.v4''' :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
iptables -t nat -A POSTROUTING -j MASQUERADE -s 192.168.162.0/24&lt;br /&gt;
apt install iptables-persistent&lt;br /&gt;
iptables-save&lt;br /&gt;
iptables-save &amp;gt; /etc/iptables/rules.v4&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Nous avons réalisés un ping 8.8.8.8 pour vérifier que les VMs de service et la VM mandataire ont accès à internet.&lt;br /&gt;
&lt;br /&gt;
Au niveau de capbreton, nous avons testé de nous connecter en ''ssh'' en réalisant un ''jump :''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
ssh -J root@193.48.57.162 root@192.168.162.2&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de padel, nous avons autorisé les redirections IP dans '''/etc/sysctl.conf'''  :&lt;br /&gt;
[[Fichier:AutorisationIPv4.png|centré]]&lt;br /&gt;
Nous avons ajouté de nouvelles règles de routage pour pouvoir se connecter aux VMs de service en ''ssh'' sur le port 2201 pour stockholm et sur le port 2202 pour rio :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
iptables -A PREROUTING -t nat -i eth0 -p tcp -m tcp --dport 2201 -j DNAT --to-destination 192.168.162.2:22&lt;br /&gt;
iptables -A PREROUTING -t nat -i eth0 -p tcp -m tcp --dport 2202 -j DNAT --to-destination 192.168.162.3:22&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuration DNS ==&lt;br /&gt;
Achat du nom de domaine rio71.lol (rio.lol non disponible) sur le site https://www.gandi.net/fr (Compte : pifou / pasglop).&lt;br /&gt;
&lt;br /&gt;
'''GlueRecords''' : DNS Principal (VM de service) en IPv6 et DNS Secondaire (VM mandataire) en IPv4 + '''External nameservers :''' Nameserver 1 : ns1.rio71.lol | Nameserver 2 : ns6.gandi.net &lt;br /&gt;
[[Fichier:GlueRec.png|centré]]&lt;br /&gt;
'''PS :''' Télécharger bind9 &amp;amp; apache2 sur les VMs (&amp;lt;u&amp;gt;Attention&amp;lt;/u&amp;gt; : apt update avant apt install bind9)&lt;br /&gt;
&lt;br /&gt;
Configurer la zone de DNS en local dans nos VMs ('''/etc/bind/named.conf.local''') :&lt;br /&gt;
[[Fichier:ConfigDNS.png|gauche]]&lt;br /&gt;
[[Fichier:Bindconfmaster.png|droite]]&lt;br /&gt;
&amp;lt;= Configuration DNS Slave sur la VM mandataire&lt;br /&gt;
&lt;br /&gt;
Configuration DNS Master sur la VM de service =&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Permettre l'écoute des IPv4 et IPv6 sur les VMs dans '''/etc/bind/named.conf.options''' &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
 listen-on-v6 { any; }&lt;br /&gt;
 listen-on { any; };&lt;br /&gt;
 allow-recursion {127.0.0.1; };&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Dans le même dossier, copie de la configuration local sur la configuration db.rio71.lol et modifications : &lt;br /&gt;
[[Fichier:ConfigDNSrio.png|centré]]&lt;br /&gt;
Vérifier qu'il n'y a aucune erreur de configuration du DNS des différents fichiers grâce à la commande ''named-checkconf.''&lt;br /&gt;
&lt;br /&gt;
Redémarrer le service DNS : &amp;lt;code&amp;gt;service bind9 restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''PS :''' Penser à installer dnsutils (&amp;lt;code&amp;gt;apt install dnsutils&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Vérifier la présence du DNS sur la machine en utilisant : &amp;lt;code&amp;gt;dig @localhost rio71.lol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuration Apache2 ==&lt;br /&gt;
Tout d'abord, installer ''openssl'' (&amp;lt;code&amp;gt;apt install openssl)&amp;lt;/code&amp;gt;pour pouvoir générer une CSR (Certificate Signing Request) dans '''/etc/ssl''' .&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
openssl req -nodes -newkey rsa:2048 -sha256 -keyout rio71.lol.key -out rio71.lol.csr -utf8&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Remplir le formulaire demandé (email...) mais faire attention Common Name : rio71.lol&lt;br /&gt;
&lt;br /&gt;
Placer la clé privée dans le bon dossier '''/etc/ssl/private''' et modifier les droits d'accès (juste en lecture) : &amp;lt;code&amp;gt;chmod 440 stockholm.lol.key&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Au niveau de Gandi, acheter un nouveau certificat SSL et renseigner la clé. (Attente de vérification)&lt;br /&gt;
&lt;br /&gt;
Une fois vérifié, télécharger le certificat pour le déplacer par la suite de la machine physique (salle TP) à la VM mandataire, puis de cette dernière vers la VM de service :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
/*Physique vers mandataire*/&lt;br /&gt;
~/Téléchargements$ scp -r -p rio71.lol.crt root@193.48.57.168:/etc/transfer/&lt;br /&gt;
&lt;br /&gt;
/*Mandataire vers service*/&lt;br /&gt;
root@padel:/etc/transfer scp -r -p rio71.lol.crt root@192.168.162.3:/etc/ssl/certs&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Activer le mode SSL sur apache2 : &amp;lt;code&amp;gt;a2enmod ssl&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Création du nouveau fichier de config (pour configurer apache2 sur le port 443) dans  '''/etc/apache2/sites-available/vhosts-https.conf :'''&lt;br /&gt;
[[Fichier:Vhostshttps.png|centré]]&lt;br /&gt;
(Modification pour avoir les bons chemins pour les certificats)&lt;br /&gt;
&lt;br /&gt;
Lancer le fichier de configuration : &amp;lt;code&amp;gt;a2ensite vhosts-https.conf&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Puis relancer apache2 : &amp;lt;code&amp;gt;service apache2 restart&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:Vhostshttps.png&amp;diff=2961</id>
		<title>Fichier:Vhostshttps.png</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:Vhostshttps.png&amp;diff=2961"/>
		<updated>2023-11-23T21:31:43Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;vhostshttps&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=2958</id>
		<title>Atelier SysRes SE2a5 2023/2024 E11</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=2958"/>
		<updated>2023-11-23T21:05:20Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : /* DNS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Création de la VM Rio''' ==&lt;br /&gt;
Génération du fichier de configuration:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen-create-image --hostname=rio --ip=172.26.145.113 --netmask=255.255.255.0 --gateway=172.26.145.254 --bridge=bridgeStudents --dir=/usr/local/xen --password=glopglop&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Lancer la VM grâce au fichier de configuration crée :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen create rio.cfg&lt;br /&gt;
xen console rio&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Modification de l'interface eth0 dans '''/etc/network/interfaces''' : &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eth0&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
address 172.26.145.113/24&lt;br /&gt;
gateway 172.26.145.254 &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configuration de la connexion en ssh, nous nous rendons dans le dossier '''/etc/ssh/''' et nous modifions le fichier '''sshd_config''' :&lt;br /&gt;
&lt;br /&gt;
- Décommenter le ''PermitRootLogin'' et mettre ''yes''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
PermitRootLogin yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;- Redémarrer le ssh :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
service ssh restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de capbreton, nous créons les deux partitions LVM :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L10G -n rio-home storage&lt;br /&gt;
lvcreate -L10G -n rio-var storage&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Se rendre dans le dossier '''/etc/xen/''' et modifier le fichier de configuration de la VM '''rio.cfg'''  en ajoutant les lignes de configurations des partitions :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
#  Disk device(s).&lt;br /&gt;
#&lt;br /&gt;
root        = '/dev/xvda2 ro'&lt;br /&gt;
disk        = [&lt;br /&gt;
                'file:/usr/local/xen/domains/HG/disk.img,xvda2,w',&lt;br /&gt;
                'file:/usr/local/xen/domains/HG/swap.img,xvda1,w',&lt;br /&gt;
                'phy:/dev/virtual/kiev-home,xvdb,w',&lt;br /&gt;
                'phy:/dev/virtual/kiev-var,xvdc,w',&lt;br /&gt;
            ]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;u&amp;gt;Problème rencontré :&amp;lt;/u&amp;gt;  Message d'erreur en essayant de redémarrer la VM &lt;br /&gt;
[[Fichier:Erreur partitions.png|centré]]Création des deux partitions LVM en ''virtual'' et non ''storage''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L10G -n rio-home virtual&lt;br /&gt;
lvcreate -L10G -n rio-var virtual&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de la VM, nous vérifions, grâce à la commande lsblk, la présence des nouvelles partitions :&lt;br /&gt;
[[Fichier:Liste LVM.png|centré]]&lt;br /&gt;
Montage des disques dans deux répertoires '''/home''' et '''/var''' :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
mkdir /new_home&lt;br /&gt;
mkdir /new_var&lt;br /&gt;
mkfs /dev/xvdb &lt;br /&gt;
mkfs /dev/xvdc&lt;br /&gt;
mount /dev/xvdb /new_home&lt;br /&gt;
mount /dev/xvdc /new_var&lt;br /&gt;
cp -r /var/* /new_var/&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Vérification de la nouvelle liste des LVM :&lt;br /&gt;
[[Fichier:NouvelleListeLVM.png|centré]]&lt;br /&gt;
Nous nous rendons dans le dossier '''/etc/''' pour modifier le ficher '''fstab''' :&lt;br /&gt;
[[Fichier:Fstab chg.png|centré]]&lt;br /&gt;
Nous redémarrons la VM, puis nouvelle vérification de la liste des LVM : les partitions sont bien montées.&lt;br /&gt;
[[Fichier:ListeFinaleLVM.png|centré]]&lt;br /&gt;
&lt;br /&gt;
== '''Création de la VM Mandataire padel''' ==&lt;br /&gt;
Génération du fichier de configuration:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen-create-image --hostname=padel --ip=193.48.57.168 --netmask=255.255.255.240 --gateway=193.48.57.161 --bridge=SE2a5 --dir=/usr/local/xen --password=glopglop&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Lancer la VM grâce au fichier de configuration crée :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen create padel.cfg&lt;br /&gt;
xen console padel&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Ajout de l'IPv6 : Nous nous rendons dans le dossier '''/etc/network''' pour modifier le fichier '''interfaces''' :&lt;br /&gt;
[[Fichier:Eth0ipv6.png|centré]]&lt;br /&gt;
&lt;br /&gt;
== '''Lien entre les VMs de service et la VM mandataire''' ==&lt;br /&gt;
Tout d'abord, nous avons crée un bridge sur capbreton qui permet de relier la VM mandataire au réseau. Pour ce faire, nous modifions le fichier '''/etc/network/interfaces.d/TP_SE2a5''' :&lt;br /&gt;
[[Fichier:PadelBridge.png|centré]]&lt;br /&gt;
Par la suite, nous ajoutons le bridge dans chacun des fichiers de config de nos VMs dans '''/etc/xen/''' en modifiant le ''vif :'' &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
'ip=192.168.162.3 , bridge=padel'] //Dans rio.cfg&lt;br /&gt;
'ip=192.168.162.2 , bridge=padel'] //Dans stockholm.cfg&lt;br /&gt;
'ip=192.168.162.1 , bridge=padel'] //Dans padel.cfg&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;- Création des interfaces réseaux ''eth1'' sur nos VMs (services) dans '''/etc/network/interfaces :'''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eth1&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
        address 192.168.162.3/24&lt;br /&gt;
        gateway 192.168.162.1 //IP Mandataire&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Pour la VM mandataire :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eth1&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
        address 192.168.162.1&lt;br /&gt;
        netmask 255.255.255.0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;- Passage en IPv6 pour les machines de service :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eht0 &lt;br /&gt;
iface eth0 inet6 auto&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Test de ping entre les différentes VMs.&lt;br /&gt;
&lt;br /&gt;
- Création de la mascarade et utilisation de iptables-persistent pour conserver les règles en les sauvegardant dans '''/etc/iptables/rule.v4''' :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
iptables -t nat -A POSTROUTING -j MASQUERADE -s 192.168.162.0/24&lt;br /&gt;
apt install iptables-persistent&lt;br /&gt;
iptables-save&lt;br /&gt;
iptables-save &amp;gt; /etc/iptables/rules.v4&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Nous avons réalisés un ping 8.8.8.8 pour vérifier que les VMs de service et la VM mandataire ont accès à internet.&lt;br /&gt;
&lt;br /&gt;
Au niveau de capbreton, nous avons testé de nous connecter en ''ssh'' en réalisant un ''jump :''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
ssh -J root@193.48.57.162 root@192.168.162.2&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de padel, nous avons autorisé les redirections IP dans '''/etc/sysctl.conf'''  :&lt;br /&gt;
[[Fichier:AutorisationIPv4.png|centré]]&lt;br /&gt;
Nous avons ajouté de nouvelles règles de routage pour pouvoir se connecter aux VMs de service en ''ssh'' sur le port 2201 pour stockholm et sur le port 2202 pour rio :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
iptables -A PREROUTING -t nat -i eth0 -p tcp -m tcp --dport 2201 -j DNAT --to-destination 192.168.162.2:22&lt;br /&gt;
iptables -A PREROUTING -t nat -i eth0 -p tcp -m tcp --dport 2202 -j DNAT --to-destination 192.168.162.3:22&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== DNS ==&lt;br /&gt;
Achat du nom de domaine rio71.lol (rio.lol non disponible) sur le site https://www.gandi.net/fr (Compte : pifou / pasglop).&lt;br /&gt;
&lt;br /&gt;
'''GlueRecords''' : DNS Principal (VM de service) en IPv6 et DNS Secondaire (VM mandataire) en IPv4 + '''External nameservers :''' Nameserver 1 : ns1.rio71.lol | Nameserver 2 : ns6.gandi.net &lt;br /&gt;
[[Fichier:GlueRec.png|centré]]&lt;br /&gt;
'''PS :''' Télécharger bind9 &amp;amp; apache2 sur les VMs (&amp;lt;u&amp;gt;Attention&amp;lt;/u&amp;gt; : apt update avant apt install bind9)&lt;br /&gt;
&lt;br /&gt;
Configurer la zone de DNS en local dans nos VMs ('''/etc/bind/named.conf.local''') :&lt;br /&gt;
[[Fichier:ConfigDNS.png|gauche]]&lt;br /&gt;
[[Fichier:Bindconfmaster.png|droite]]&lt;br /&gt;
&amp;lt;= Configuration DNS Slave sur la VM mandataire&lt;br /&gt;
&lt;br /&gt;
Configuration DNS Master sur la VM de service =&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Permettre l'écoute des IPv4 et IPv6 sur les VMs dans '''/etc/bind/named.conf.options''' &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
 listen-on-v6 { any; }&lt;br /&gt;
 listen-on { any; };&lt;br /&gt;
 allow-recursion {127.0.0.1; };&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Dans le même dossier, copie de la configuration local sur la configuration db.rio71.lol et modifications : &lt;br /&gt;
[[Fichier:ConfigDNSrio.png|centré]]&lt;br /&gt;
Vérifier qu'il n'y a aucune erreur de configuration du DNS des différents fichiers grâce à la commande ''named-checkconf.''&lt;br /&gt;
&lt;br /&gt;
Redémarrer le service DNS : &amp;lt;code&amp;gt;service bind9 restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''PS :''' Penser à installer dnsutils (&amp;lt;code&amp;gt;apt install dnsutils&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Vérifier la présence du DNS sur la machine en utilisant : &amp;lt;code&amp;gt;dig @localhost rio71.lol&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:ConfigDNSrio.png&amp;diff=2956</id>
		<title>Fichier:ConfigDNSrio.png</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:ConfigDNSrio.png&amp;diff=2956"/>
		<updated>2023-11-23T20:56:16Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ConfigDNSrio&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:Bindconfmaster.png&amp;diff=2954</id>
		<title>Fichier:Bindconfmaster.png</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:Bindconfmaster.png&amp;diff=2954"/>
		<updated>2023-11-23T20:37:01Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;bindconfmaster&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:ConfigDNS.png&amp;diff=2953</id>
		<title>Fichier:ConfigDNS.png</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:ConfigDNS.png&amp;diff=2953"/>
		<updated>2023-11-23T20:34:02Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ConfigDNS&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:GlueRec.png&amp;diff=2951</id>
		<title>Fichier:GlueRec.png</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:GlueRec.png&amp;diff=2951"/>
		<updated>2023-11-23T20:21:38Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;GlueRec&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=2945</id>
		<title>Atelier SysRes SE2a5 2023/2024 E11</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=2945"/>
		<updated>2023-11-23T20:11:24Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : /* Création de la VM Rio */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Création de la VM Rio''' ==&lt;br /&gt;
Génération du fichier de configuration:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen-create-image --hostname=rio --ip=172.26.145.113 --netmask=255.255.255.0 --gateway=172.26.145.254 --bridge=bridgeStudents --dir=/usr/local/xen --password=glopglop&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Lancer la VM grâce au fichier de configuration crée :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen create rio.cfg&lt;br /&gt;
xen console rio&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Modification de l'interface eth0 dans '''/etc/network/interfaces''' : &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eth0&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
address 172.26.145.113/24&lt;br /&gt;
gateway 172.26.145.254 &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configuration de la connexion en ssh, nous nous rendons dans le dossier '''/etc/ssh/''' et nous modifions le fichier '''sshd_config''' :&lt;br /&gt;
&lt;br /&gt;
- Décommenter le ''PermitRootLogin'' et mettre ''yes''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
PermitRootLogin yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;- Redémarrer le ssh :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
service ssh restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de capbreton, nous créons les deux partitions LVM :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L10G -n rio-home storage&lt;br /&gt;
lvcreate -L10G -n rio-var storage&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Se rendre dans le dossier '''/etc/xen/''' et modifier le fichier de configuration de la VM '''rio.cfg'''  en ajoutant les lignes de configurations des partitions :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
#  Disk device(s).&lt;br /&gt;
#&lt;br /&gt;
root        = '/dev/xvda2 ro'&lt;br /&gt;
disk        = [&lt;br /&gt;
                'file:/usr/local/xen/domains/HG/disk.img,xvda2,w',&lt;br /&gt;
                'file:/usr/local/xen/domains/HG/swap.img,xvda1,w',&lt;br /&gt;
                'phy:/dev/virtual/kiev-home,xvdb,w',&lt;br /&gt;
                'phy:/dev/virtual/kiev-var,xvdc,w',&lt;br /&gt;
            ]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;u&amp;gt;Problème rencontré :&amp;lt;/u&amp;gt;  Message d'erreur en essayant de redémarrer la VM &lt;br /&gt;
[[Fichier:Erreur partitions.png|centré]]Création des deux partitions LVM en ''virtual'' et non ''storage''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L10G -n rio-home virtual&lt;br /&gt;
lvcreate -L10G -n rio-var virtual&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de la VM, nous vérifions, grâce à la commande lsblk, la présence des nouvelles partitions :&lt;br /&gt;
[[Fichier:Liste LVM.png|centré]]&lt;br /&gt;
Montage des disques dans deux répertoires '''/home''' et '''/var''' :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
mkdir /new_home&lt;br /&gt;
mkdir /new_var&lt;br /&gt;
mkfs /dev/xvdb &lt;br /&gt;
mkfs /dev/xvdc&lt;br /&gt;
mount /dev/xvdb /new_home&lt;br /&gt;
mount /dev/xvdc /new_var&lt;br /&gt;
cp -r /var/* /new_var/&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Vérification de la nouvelle liste des LVM :&lt;br /&gt;
[[Fichier:NouvelleListeLVM.png|centré]]&lt;br /&gt;
Nous nous rendons dans le dossier '''/etc/''' pour modifier le ficher '''fstab''' :&lt;br /&gt;
[[Fichier:Fstab chg.png|centré]]&lt;br /&gt;
Nous redémarrons la VM, puis nouvelle vérification de la liste des LVM : les partitions sont bien montées.&lt;br /&gt;
[[Fichier:ListeFinaleLVM.png|centré]]&lt;br /&gt;
&lt;br /&gt;
== '''Création de la VM Mandataire padel''' ==&lt;br /&gt;
Génération du fichier de configuration:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen-create-image --hostname=padel --ip=193.48.57.168 --netmask=255.255.255.240 --gateway=193.48.57.161 --bridge=SE2a5 --dir=/usr/local/xen --password=glopglop&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Lancer la VM grâce au fichier de configuration crée :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen create padel.cfg&lt;br /&gt;
xen console padel&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Ajout de l'IPv6 : Nous nous rendons dans le dossier '''/etc/network''' pour modifier le fichier '''interfaces''' :&lt;br /&gt;
[[Fichier:Eth0ipv6.png|centré]]&lt;br /&gt;
&lt;br /&gt;
== '''Lien entre les VMs de service et la VM mandataire''' ==&lt;br /&gt;
Tout d'abord, nous avons crée un bridge sur capbreton qui permet de relier la VM mandataire au réseau. Pour ce faire, nous modifions le fichier '''/etc/network/interfaces.d/TP_SE2a5''' :&lt;br /&gt;
[[Fichier:PadelBridge.png|centré]]&lt;br /&gt;
Par la suite, nous ajoutons le bridge dans chacun des fichiers de config de nos VMs dans '''/etc/xen/''' en modifiant le ''vif :'' &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
'ip=192.168.162.3 , bridge=padel'] //Dans rio.cfg&lt;br /&gt;
'ip=192.168.162.2 , bridge=padel'] //Dans stockholm.cfg&lt;br /&gt;
'ip=192.168.162.1 , bridge=padel'] //Dans padel.cfg&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;- Création des interfaces réseaux ''eth1'' sur nos VMs (services) dans '''/etc/network/interfaces :'''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eth1&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
        address 192.168.162.3/24&lt;br /&gt;
        gateway 192.168.162.1 //IP Mandataire&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Pour la VM mandataire :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eth1&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
        address 192.168.162.1&lt;br /&gt;
        netmask 255.255.255.0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;- Passage en IPv6 pour les machines de service :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eht0 &lt;br /&gt;
iface eth0 inet6 auto&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Test de ping entre les différentes VMs.&lt;br /&gt;
&lt;br /&gt;
- Création de la mascarade et utilisation de iptables-persistent pour conserver les règles en les sauvegardant dans '''/etc/iptables/rule.v4''' :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
iptables -t nat -A POSTROUTING -j MASQUERADE -s 192.168.162.0/24&lt;br /&gt;
apt install iptables-persistent&lt;br /&gt;
iptables-save&lt;br /&gt;
iptables-save &amp;gt; /etc/iptables/rules.v4&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Nous avons réalisés un ping 8.8.8.8 pour vérifier que les VMs de service et la VM mandataire ont accès à internet.&lt;br /&gt;
&lt;br /&gt;
Au niveau de capbreton, nous avons testé de nous connecter en ''ssh'' en réalisant un ''jump :''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
ssh -J root@193.48.57.162 root@192.168.162.2&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de padel, nous avons autorisé les redirections IP dans '''/etc/sysctl.conf'''  :&lt;br /&gt;
[[Fichier:AutorisationIPv4.png|centré]]&lt;br /&gt;
Nous avons ajouté de nouvelles règles de routage pour pouvoir se connecter aux VMs de service en ''ssh'' sur le port 2201 pour stockholm et sur le port 2202 pour rio :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
iptables -A PREROUTING -t nat -i eth0 -p tcp -m tcp --dport 2201 -j DNAT --to-destination 192.168.162.2:22&lt;br /&gt;
iptables -A PREROUTING -t nat -i eth0 -p tcp -m tcp --dport 2202 -j DNAT --to-destination 192.168.162.3:22&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== DNS ==&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:AutorisationIPv4.png&amp;diff=2943</id>
		<title>Fichier:AutorisationIPv4.png</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:AutorisationIPv4.png&amp;diff=2943"/>
		<updated>2023-11-23T20:05:53Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;AutorisationIPv4&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=2932</id>
		<title>Atelier SysRes SE2a5 2023/2024 E11</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=2932"/>
		<updated>2023-11-23T19:26:31Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : /* DNS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Création de la VM Rio''' ==&lt;br /&gt;
Génération du fichier de configuration:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen-create-image --hostname=rio --ip=172.26.145.113 --netmask=255.255.255.0 --gateway=172.26.145.254 --bridge=bridgeStudents --dir=/usr/local/xen --password=glopglop&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Lancer la VM grâce au fichier de configuration crée :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen create rio.cfg&lt;br /&gt;
xen console rio&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Modification de l'interface eth0 dans '''/etc/network/interfaces''' : &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eth0&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
address 172.26.145.113/24&lt;br /&gt;
gateway 172.26.145.254 &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configuration de la connexion en ssh, nous nous rendons dans le dossier '''/etc/ssh/''' et nous modifions le fichier '''sshd_config''' :&lt;br /&gt;
&lt;br /&gt;
- Décommenter le ''PermitRootLogin'' et mettre ''yes''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
PermitRootLogin yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;- Redémarrer le ssh :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
service ssh restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de capbreton, nous créons les deux partitions LVM :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L10G -n rio-home storage&lt;br /&gt;
lvcreate -L10G -n rio-var storage&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Se rendre dans le dossier '''/etc/xen/''' et modifier le fichier de configuration de la VM '''rio.cfg'''  en ajoutant les lignes de configurations des partitions :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
#  Disk device(s).&lt;br /&gt;
#&lt;br /&gt;
root        = '/dev/xvda2 ro'&lt;br /&gt;
disk        = [&lt;br /&gt;
                'file:/usr/local/xen/domains/HG/disk.img,xvda2,w',&lt;br /&gt;
                'file:/usr/local/xen/domains/HG/swap.img,xvda1,w',&lt;br /&gt;
                'phy:/dev/virtual/kiev-home,xvdb,w',&lt;br /&gt;
                'phy:/dev/virtual/kiev-var,xvdc,w',&lt;br /&gt;
            ]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;u&amp;gt;Problème rencontré :&amp;lt;/u&amp;gt;  Message d'erreur en essayant de redémarrer la VM &lt;br /&gt;
[[Fichier:Erreur partitions.png|centré]]Création des deux partitions LVM en ''virtual'' et non ''storage''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L10G -n rio-home virtual&lt;br /&gt;
lvcreate -L10G -n rio-var virtual&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de la VM, nous vérifions, grâce à la commande lsblk, la présence des nouvelles partitions :&lt;br /&gt;
[[Fichier:Liste LVM.png|centré]]&lt;br /&gt;
Montage des disques dans deux répertoires '''/home''' et '''/var''' :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
mkdir /new_home&lt;br /&gt;
mkdir /new_var&lt;br /&gt;
mkfs /dev/xvdb &lt;br /&gt;
mkfs /dev/xvdc&lt;br /&gt;
mount /dev/xvdb /new_home&lt;br /&gt;
mount /dev/xvdc /new_var&lt;br /&gt;
cp -r /var/* /new_var/&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Vérification de la nouvelle liste des LVM :&lt;br /&gt;
[[Fichier:NouvelleListeLVM.png|centré]]&lt;br /&gt;
Nous nous rendons dans le dossier '''/etc/''' pour modifier le ficher '''fstab''' :&lt;br /&gt;
[[Fichier:Fstab chg.png|centré]]&lt;br /&gt;
Nous redémarrons la VM, puis nouvelle vérification de la liste des LVM : les partitions sont bien montées.&lt;br /&gt;
[[Fichier:ListeFinaleLVM.png|centré]]&lt;br /&gt;
&lt;br /&gt;
== '''Création de la VM Mandataire padel''' ==&lt;br /&gt;
Génération du fichier de configuration:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen-create-image --hostname=padel --ip=193.48.57.168 --netmask=255.255.255.240 --gateway=193.48.57.161 --bridge=SE2a5 --dir=/usr/local/xen --password=glopglop&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Lancer la VM grâce au fichier de configuration crée :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen create padel.cfg&lt;br /&gt;
xen console padel&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Ajout de l'IPv6 : Nous nous rendons dans le dossier '''/etc/network''' pour modifier le fichier '''interfaces''' :&lt;br /&gt;
[[Fichier:Eth0ipv6.png|centré]]&lt;br /&gt;
&lt;br /&gt;
== '''Lien entre les machines de service et la machine mandataire''' ==&lt;br /&gt;
Tout d'abord, nous avons crée un bridge sur capbreton qui permet de relier la VM mandataire au réseau. Pour ce faire, nous modifions le fichier '''/etc/network/interfaces.d/TP_SE2a5''' :&lt;br /&gt;
[[Fichier:PadelBridge.png|centré]]&lt;br /&gt;
Par la suite, nous ajoutons le bridge dans chacune de nos VMs en modifiant le ''vif''&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:PadelBridge.png&amp;diff=2927</id>
		<title>Fichier:PadelBridge.png</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:PadelBridge.png&amp;diff=2927"/>
		<updated>2023-11-23T19:12:26Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;PadelBridge&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:Eth0ipv6.png&amp;diff=2926</id>
		<title>Fichier:Eth0ipv6.png</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:Eth0ipv6.png&amp;diff=2926"/>
		<updated>2023-11-23T18:59:57Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;eth0ipv6&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=2827</id>
		<title>Atelier SysRes SE2a5 2023/2024 E11</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=2827"/>
		<updated>2023-11-23T13:42:37Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : /* Création de la VM Mandataire padel */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Création de la VM Rio''' ==&lt;br /&gt;
Génération du fichier de configuration:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen-create-image --hostname=rio --ip=172.26.145.113 --netmask=255.255.255.0 --gateway=172.26.145.254 --bridge=bridgeStudents --dir=/usr/local/xen --password=glopglop&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Lancer la VM grâce au fichier de configuration crée :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen create rio.cfg&lt;br /&gt;
xen console rio&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Modification de l'interface eth0 dans '''/etc/network/interfaces''' : &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eth0&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
address 172.26.145.113/24&lt;br /&gt;
gateway 172.26.145.254 &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configuration de la connexion en ssh, nous nous rendons dans le dossier '''/etc/ssh/''' et nous modifions le fichier '''sshd_config''' :&lt;br /&gt;
&lt;br /&gt;
- Décommenter le ''PermitRootLogin'' et mettre ''yes''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
PermitRootLogin yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;- Redémarrer le ssh :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
service ssh restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de capbreton, nous créons les deux partitions LVM :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L10G -n rio-home storage&lt;br /&gt;
lvcreate -L10G -n rio-var storage&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Se rendre dans le dossier '''/etc/xen/''' et modifier le fichier de configuration de la VM '''rio.cfg'''  en ajoutant les lignes de configurations des partitions :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
#  Disk device(s).&lt;br /&gt;
#&lt;br /&gt;
root        = '/dev/xvda2 ro'&lt;br /&gt;
disk        = [&lt;br /&gt;
                'file:/usr/local/xen/domains/HG/disk.img,xvda2,w',&lt;br /&gt;
                'file:/usr/local/xen/domains/HG/swap.img,xvda1,w',&lt;br /&gt;
                'phy:/dev/virtual/kiev-home,xvdb,w',&lt;br /&gt;
                'phy:/dev/virtual/kiev-var,xvdc,w',&lt;br /&gt;
            ]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;u&amp;gt;Problème rencontré :&amp;lt;/u&amp;gt;  Message d'erreur en essayant de redémarrer la VM &lt;br /&gt;
[[Fichier:Erreur partitions.png|centré]]Création des deux partitions LVM en ''virtual'' et non ''storage''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L10G -n rio-home virtual&lt;br /&gt;
lvcreate -L10G -n rio-var virtual&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de la VM, nous vérifions, grâce à la commande lsblk, la présence des nouvelles partitions :&lt;br /&gt;
[[Fichier:Liste LVM.png|centré]]&lt;br /&gt;
Montage des disques dans deux répertoires '''/home''' et '''/var''' :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
mkdir /new_home&lt;br /&gt;
mkdir /new_var&lt;br /&gt;
mkfs /dev/xvdb &lt;br /&gt;
mkfs /dev/xvdc&lt;br /&gt;
mount /dev/xvdb /new_home&lt;br /&gt;
mount /dev/xvdc /new_var&lt;br /&gt;
cp -r /var/* /new_var/&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Vérification de la nouvelle liste des LVM :&lt;br /&gt;
[[Fichier:NouvelleListeLVM.png|centré]]&lt;br /&gt;
Nous nous rendons dans le dossier '''/etc/''' pour modifier le ficher '''fstab''' :&lt;br /&gt;
[[Fichier:Fstab chg.png|centré]]&lt;br /&gt;
Nous redémarrons la VM, puis nouvelle vérification de la liste des LVM : les partitions sont bien montées.&lt;br /&gt;
[[Fichier:ListeFinaleLVM.png|centré]]&lt;br /&gt;
&lt;br /&gt;
== '''Création de la VM Mandataire padel''' ==&lt;br /&gt;
Génération du fichier de configuration:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen-create-image --hostname=padel --ip=193.48.57.168 --netmask=255.255.255.240 --gateway=193.48.57.161 --bridge=SE2a5 --dir=/usr/local/xen --password=glopglop&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Lancer la VM grâce au fichier de configuration crée :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen create padel.cfg&lt;br /&gt;
xen console padel&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''DNS''' ==&lt;br /&gt;
[[Fichier:DigScreen.png|centré]]&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:DigScreen.png&amp;diff=2826</id>
		<title>Fichier:DigScreen.png</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:DigScreen.png&amp;diff=2826"/>
		<updated>2023-11-23T13:37:15Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;digScreen&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=SE2a5_syst%C3%A8me/r%C3%A9seau_2023/2024&amp;diff=2810</id>
		<title>SE2a5 système/réseau 2023/2024</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=SE2a5_syst%C3%A8me/r%C3%A9seau_2023/2024&amp;diff=2810"/>
		<updated>2023-11-23T11:40:23Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : /* Répartition des binômes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= ASR SE2a5 =&lt;br /&gt;
== Répartition des binômes ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Cahier !! Nom machine services &lt;br /&gt;
! IP machine services!! Nom de domaine !! Nom machine mandataire &lt;br /&gt;
! IP machine mandataires!! Elève &lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E1 | Cahier n°1]]&lt;br /&gt;
| Dublin&lt;br /&gt;
| 10.0.42.2&lt;br /&gt;
| dublin.lol&lt;br /&gt;
| rugby (10.0.42.1)&lt;br /&gt;
| 193.48.57.162&lt;br /&gt;
| DELEPLANQUE Louis&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E2 | Cahier n°2]]&lt;br /&gt;
| berlin&lt;br /&gt;
| 192.168.165.3&lt;br /&gt;
| berlin2.lol&lt;br /&gt;
| judo&lt;br /&gt;
| 193.48.57.165&lt;br /&gt;
| EL ABKARI Ahlam&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E3 | Cahier n°3]]&lt;br /&gt;
| alger&lt;br /&gt;
| 192.168.10.11&lt;br /&gt;
| alger.lol&lt;br /&gt;
| badminton&lt;br /&gt;
| 193.48.57.167&lt;br /&gt;
| LAZOUACHE Farid&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E4 | Cahier n°4]]&lt;br /&gt;
| Bruxelles&lt;br /&gt;
| 192.168.10.13&lt;br /&gt;
| Bruxelles.lol&lt;br /&gt;
| badminton&lt;br /&gt;
| 193.48.57.167&lt;br /&gt;
| BECUE William&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E5 | Cahier n°5]]&lt;br /&gt;
| paris&lt;br /&gt;
| 192.168.165.2&lt;br /&gt;
| paris13.lol&lt;br /&gt;
| judo&lt;br /&gt;
| 193.48.57.165&lt;br /&gt;
| DESPLACES Baptiste&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E6 | Cahier n°6]]&lt;br /&gt;
| Tokyo&lt;br /&gt;
| 192.168.13.12&lt;br /&gt;
| tokyoray.lol&lt;br /&gt;
| muaythai&lt;br /&gt;
| 193.48.57.164&lt;br /&gt;
| MOUSSAOUI Rayane&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E7 | Cahier n°7]]&lt;br /&gt;
| Oslo&lt;br /&gt;
|&lt;br /&gt;
| oslo666.lol&lt;br /&gt;
| aquaponey&lt;br /&gt;
| 193.48.57.166&lt;br /&gt;
| FIRION Thomas&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E8 | Cahier n°8]]&lt;br /&gt;
| bogota&lt;br /&gt;
| 192.168.13.11&lt;br /&gt;
| bogota.lol&lt;br /&gt;
| muaythai&lt;br /&gt;
| 193.48.57.164&lt;br /&gt;
| MAROLLEAU Simon&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E9 | Cahier n°9]]&lt;br /&gt;
| kiev&lt;br /&gt;
| 192.168.163.2&lt;br /&gt;
| kievjeje.lol&lt;br /&gt;
| balltrap&lt;br /&gt;
| 193.48.57.163&lt;br /&gt;
| BREUVART Jérôme&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E10 | Cahier n°10]]&lt;br /&gt;
| Riga&lt;br /&gt;
| 192.168.163.3&lt;br /&gt;
| riga1.lol&lt;br /&gt;
| balltrap  &lt;br /&gt;
| 193.48.57.163&lt;br /&gt;
| BIOT Tom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E11 | Cahier n°11]]&lt;br /&gt;
| rio&lt;br /&gt;
|192.168.162.3&lt;br /&gt;
| rio71.lol&lt;br /&gt;
| padel&lt;br /&gt;
| 193.48.57.168&lt;br /&gt;
| NAIMI Oussama&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E12 | Cahier n°12]]&lt;br /&gt;
| stockholm&lt;br /&gt;
|192.168.162.2&lt;br /&gt;
| stockholm.lol&lt;br /&gt;
| padel&lt;br /&gt;
| 193.48.57.168&lt;br /&gt;
| DUBOIS Lisa-Marie&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E13 | Cahier n°13]]&lt;br /&gt;
| douarnenez&lt;br /&gt;
| 10.0.42.3&lt;br /&gt;
| douarnenez.germond.org&lt;br /&gt;
| rugby (10.0.42.1)&lt;br /&gt;
| 193.48.57.162&lt;br /&gt;
| GERMOND Bastien&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Contrôle continu ==&lt;br /&gt;
&lt;br /&gt;
=== Etat initial des machines virtuelles ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Nom machine services !! Etat &lt;br /&gt;
|-&lt;br /&gt;
| alger || Démarrée, mot de passe non changé &amp;lt;code&amp;gt;/var/log/xen-tools/alger.log&amp;lt;/code&amp;gt;, adresse IP hors du VLAN 50, bridge OK, mot clef DHCP encore présent, mémoire faible&lt;br /&gt;
|-&lt;br /&gt;
| berlin || Démarrée, mot de passe OK, adresse IP hors du VLAN 50, bridge OK, mot clef DHCP encore présent, mémoire faible&lt;br /&gt;
|-&lt;br /&gt;
| bogota || Démarrée, mot de passe changé sans modification du fichier de log, début de configuration réseau (mais manque le masque réseau), bridge OK, mot clef DHCP encore présent, mémoire faible&lt;br /&gt;
|-&lt;br /&gt;
| Bruxelles || Démarrée, mot de passe OK, adresse IP hors du VLAN 50, bridge OK, mot clef DHCP encore présent, mémoire faible&lt;br /&gt;
|-&lt;br /&gt;
| douarnenez || Démarrée, mot de passe OK, réseau OK, ping &amp;lt;code&amp;gt;www.polytech-lille.fr&amp;lt;/code&amp;gt; OK, &amp;lt;code&amp;gt;ping google.fr&amp;lt;/code&amp;gt; IPv6 OK, mémoire faible&lt;br /&gt;
|-&lt;br /&gt;
| Dublin || Démarrée, mot de passe OK, adresse IP hors du VLAN 50, bridge OK, adresse IPv4 encore présente dans le &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt;, mémoire un peu exagérée&lt;br /&gt;
|-&lt;br /&gt;
| kiev || Démarrée, mot de passe OK, adresse IP hors du VLAN 50, bridge OK, mot clef DHCP encore présent, mémoire faible&lt;br /&gt;
|- &lt;br /&gt;
| Oslo || Démarrée, mot de passe OK, adresse IP hors du VLAN 50, bridge OK, mot clef DHCP encore présent, mémoire faible&lt;br /&gt;
|-&lt;br /&gt;
| paris || Démarrée, mot de passe OK, adresse IP hors du VLAN 50, bridge OK, mot clef DHCP encore présent, mémoire faible&lt;br /&gt;
|- &lt;br /&gt;
| rio || Démarrée, mot de passe OK, adresse IP hors du VLAN 50, bridge OK, mémoire faible&lt;br /&gt;
|-&lt;br /&gt;
| Tokyo || Démarrée, mot de passe OK, bridge OK, adresse IPv4 encore présente dans le &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt; (@IPv4 OK), adresse IP hors du VLAN 50 (dans la machine), mémoire faible&lt;br /&gt;
|-&lt;br /&gt;
|stockholm &lt;br /&gt;
|Démarrée, mot de passe OK, bridge OK,mémoire faible&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Concernant l'installation de Devuan sur les stations de travail ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Machine !! Machine annexe !! Elève !! Etat 02/10/2023 !! Etat 05/10/2023&lt;br /&gt;
|-&lt;br /&gt;
| zabeth02 || zabeth13 / daedalus ok|| Ahlam EL ABKARI || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;xfce sans les applications&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;&amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; ne peut pas se connecter à distance&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth03 || zabeth16 / daedalus ok|| Rayane MOUSSAOUI || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;7 paquetaques &amp;lt;code&amp;gt;xfce4&amp;lt;/code&amp;gt; sur 35 d'installés, relancez &amp;lt;code&amp;gt;tasksel&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth04 || zabeth14 / daedalus ok|| Baptiste DESPLACES|| &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;&amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; ne peut pas se connecter à distance&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;7 paquetaques &amp;lt;code&amp;gt;xfce4&amp;lt;/code&amp;gt; sur 35 d'installés, relancez &amp;lt;code&amp;gt;tasksel&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth05 || || Jérôme BREUVART|| &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;Pas de propagation ansible&amp;lt;/span&amp;gt;,  &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;&amp;lt;code&amp;gt;/root/.ssh/authorized_keys&amp;lt;/code&amp;gt; est un répertoire ...&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;7 paquetaques &amp;lt;code&amp;gt;xfce4&amp;lt;/code&amp;gt; sur 35 d'installés, relancez &amp;lt;code&amp;gt;tasksel&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth06 || zabeth21 / &amp;lt;code&amp;gt;daedalus&amp;lt;/code&amp;gt; OK || Bastien GERMOND || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth07 || zabeth17 / daedalus OK|| Simon MAROLLEAU|| &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth08 || zabeth20 / daedalus OK|| Thomas FIRION|| &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;OK mais &amp;lt;code&amp;gt;firefox-esr&amp;lt;/code&amp;gt; non installé ?&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;7 paquetaques &amp;lt;code&amp;gt;xfce4&amp;lt;/code&amp;gt; sur 35 d'installés, relancez &amp;lt;code&amp;gt;tasksel&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth09 || zabet15/ daedalus OK|| William BECUE|| &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;propagation ansible au mieux partielle (&amp;lt;code&amp;gt;/etc/network/interfaces&amp;lt;/code&amp;gt; à la main ?)&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth10 || || Tom BIOT|| &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;&amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; ne peut pas se connecter à distance&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;7 paquetaques &amp;lt;code&amp;gt;xfce4&amp;lt;/code&amp;gt; sur 35 d'installés, relancez &amp;lt;code&amp;gt;tasksel&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth11 || || Oussama NAIMI|| &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;pas de propagation ansible&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth12 || || Farid LAZOUACHE|| &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;7 paquetaques &amp;lt;code&amp;gt;xfce4&amp;lt;/code&amp;gt; sur 35 d'installés, relancez &amp;lt;code&amp;gt;tasksel&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|zabeth28 || zabeth26, zabeth27 || Louis DELEPLANQUE ||&amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;xfce sans les applications&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Machines annexes avec mise à jour &amp;lt;code&amp;gt;daedalus&amp;lt;/code&amp;gt; au 02/10/2023 : zabeth13, zabeth14, zabeth15, zabeth16, zabeth17, zabeth20, zabeth21, zabeth26, zabeth27.&lt;br /&gt;
&lt;br /&gt;
Machines annexes non mises à jour au 02/10/2023 : zabeth18 (&amp;lt;code&amp;gt;/etc/apt/sources.list&amp;lt;/code&amp;gt; OK mais pas de commande &amp;lt;code&amp;gt;apt dist-upgrade&amp;lt;/code&amp;gt; lancée), zabeth19 (idem).&lt;br /&gt;
&lt;br /&gt;
Veillez à ce que le paquetage &amp;lt;code&amp;gt;apparmor&amp;lt;/code&amp;gt; soit désactivé sur toutes les machines.&lt;br /&gt;
&lt;br /&gt;
=== MV de services au 6/10/2023 ===&lt;br /&gt;
&lt;br /&gt;
A noter partie &amp;quot;Architecture réseau, première approche&amp;quot;, totalement implantée par MM. DELEPLANQUE et GERMOND.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Nom machine services !! Etat &lt;br /&gt;
|-&lt;br /&gt;
| Dublin&lt;br /&gt;
| Partitions OK, interfaces réseau configurées, ping IPv4 et IPv6 OK&lt;br /&gt;
|-&lt;br /&gt;
| berlin&lt;br /&gt;
| Partitions OK, une seule interface réseau encore sur vlan50.&lt;br /&gt;
|-&lt;br /&gt;
| alger&lt;br /&gt;
| Partitions OK, deux interfaces réseau, mauvaise configuration IPv4 sur les deux, ping IPv6 OK.&lt;br /&gt;
|-&lt;br /&gt;
| Bruxelles&lt;br /&gt;
| Partitions OK, deux interfaces réseau, mauvaise configuration IPv4 sur VLAN Xen, ping IPv6 OK.&lt;br /&gt;
|-&lt;br /&gt;
| paris&lt;br /&gt;
| Partitions OK, une seule interface réseau encore sur vlan50.&lt;br /&gt;
|-&lt;br /&gt;
| Tokyo&lt;br /&gt;
| Partitions OK, une seule interface réseau encore sur vlan50.&lt;br /&gt;
|-&lt;br /&gt;
| Oslo&lt;br /&gt;
| Pas de partitions &amp;lt;code&amp;gt;/var&amp;lt;/code&amp;gt; ni &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;, une seule interface réseau encore sur vlan50.&lt;br /&gt;
|-&lt;br /&gt;
| bogota&lt;br /&gt;
| Mot de passe insuffisant, partitions OK, deux interfaces réseau, aucune configuration IPv4 correcte.&lt;br /&gt;
|-&lt;br /&gt;
| kiev&lt;br /&gt;
| Pas de partitions &amp;lt;code&amp;gt;/var&amp;lt;/code&amp;gt; ni &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;, une seule interface réseau encore sur vlan50.&lt;br /&gt;
|-&lt;br /&gt;
| Riga&lt;br /&gt;
| Partitions OK, une seule interface réseau encore sur vlan50.&lt;br /&gt;
|-&lt;br /&gt;
| Rio&lt;br /&gt;
| Pas de partitions &amp;lt;code&amp;gt;/var&amp;lt;/code&amp;gt; ni &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;, une seule interface réseau encore sur vlan50.&lt;br /&gt;
|-&lt;br /&gt;
| douarnenez&lt;br /&gt;
| Partitions OK, interfaces réseau configurées, ping IPv4 et IPv6 OK&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== MV mandataires au 6/10/2023 ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Machine virtuelle mandataire !! Etat &lt;br /&gt;
|-&lt;br /&gt;
| rugby&lt;br /&gt;
| Les deux interfaces réseau, configurées correctement, &amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt; implantées.&lt;br /&gt;
|-&lt;br /&gt;
| judo&lt;br /&gt;
| Une seule interface réseau, adresse IPv4 OK, pas de seconde interface réseau, pas d'&amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt;.&lt;br /&gt;
|- &lt;br /&gt;
| badminton&lt;br /&gt;
| Les deux interfaces réseau, configurées correctement, pas d'&amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt;.&lt;br /&gt;
|- &lt;br /&gt;
| muaythai&lt;br /&gt;
| Les deux interfaces réseau, seule l'interface du VLAN Xen est configurée, pas d'&amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt;.&lt;br /&gt;
|- &lt;br /&gt;
| aquaponey&lt;br /&gt;
| Une seule interface réseau, adresse IPv4 OK, pas de seconde interface réseau, pas d'&amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt;.&lt;br /&gt;
|- &lt;br /&gt;
| balltrap&lt;br /&gt;
| Les deux interfaces réseau, une passerelle sur le réseau local (erreur), pas d'&amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== MV de services au 8/10/2023 ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Nom machine services !! Etat &lt;br /&gt;
|-&lt;br /&gt;
| Dublin&lt;br /&gt;
| Redirection OK, DNSSEC OK, HTTPS OK. &lt;br /&gt;
|-&lt;br /&gt;
| berlin&lt;br /&gt;
| Redirection OK, serveur DNS non configuré, serveur HTTP. &lt;br /&gt;
|-&lt;br /&gt;
| alger&lt;br /&gt;
| Redirection OK, serveur DNS non fonctionnel, serveur HTTP OK, non sécurisé. &lt;br /&gt;
|-&lt;br /&gt;
| Bruxelles&lt;br /&gt;
| Redirection OK, serveur DNS configuré, non sécurisé, pas d'HTTP. &lt;br /&gt;
|-&lt;br /&gt;
| paris&lt;br /&gt;
| Redirection OK, interface réseau du VLAN Xen non configurée, pas de serveur DNS, juste un serveur HTTP. &lt;br /&gt;
|-&lt;br /&gt;
| Tokyo&lt;br /&gt;
| Redirection OK, DNS non configuré, HTTP mais pas d'HTTPS. &lt;br /&gt;
|-&lt;br /&gt;
| Oslo&lt;br /&gt;
| Redirection totalement défaillante, rien d'installé sur la machine de services, ses interfaces réseau sont correctement configurées.&lt;br /&gt;
|-&lt;br /&gt;
| bogota&lt;br /&gt;
| Redirection OK, DNS non installé, HTTP OK, non sécurisé. &lt;br /&gt;
|-&lt;br /&gt;
| kiev&lt;br /&gt;
| Redirection défaillante (mauvaise passerelle sur les machines de services), pas de DNS, pas de serveur HTTP. &lt;br /&gt;
|-&lt;br /&gt;
| Riga&lt;br /&gt;
| Redirection défaillante (mauvaise passerelle sur les machines de services), pas de DNS, un serveur HTTP non configuré. &lt;br /&gt;
|-&lt;br /&gt;
| Rio&lt;br /&gt;
| Aucune tentative de redirection, impossible à atteindre par le mandataire (pas d'interface sur le réseau privé), pas de partitions &amp;lt;code&amp;gt;/var&amp;lt;/code&amp;gt; ni &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;, pas de DNS, pas de serveur HTTP.&lt;br /&gt;
|-&lt;br /&gt;
| stockholm&lt;br /&gt;
| Pas de partitions &amp;lt;code&amp;gt;/var&amp;lt;/code&amp;gt; ni &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;, une seule interface réseau encore sur vlan50, pas de DNS, pas de serveur HTTP.&lt;br /&gt;
|-&lt;br /&gt;
| douarnenez&lt;br /&gt;
| OK.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== MV mandataires au 8/10/2023 ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Machine virtuelle mandataire !! Etat &lt;br /&gt;
|-&lt;br /&gt;
| rugby&lt;br /&gt;
| Les deux interfaces réseau, configurées correctement, &amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt; implantées, serveur DNS secondaire.&lt;br /&gt;
|-&lt;br /&gt;
| judo&lt;br /&gt;
| Les deux interfaces réseau, configurées correctement, &amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt; implantées, &amp;lt;code&amp;gt;bind9&amp;lt;/code&amp;gt; et &amp;lt;code&amp;gt;apache2&amp;lt;/code&amp;gt; installés mais non configurés.&lt;br /&gt;
|- &lt;br /&gt;
| badminton&lt;br /&gt;
| Les deux interfaces réseau, configurées correctement, &amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt; implantées, pas de service mandataire.&lt;br /&gt;
|- 6 000 € par an pour les étudiants internationaux hors zone Union Européenne&lt;br /&gt;
| muaythai&lt;br /&gt;
| Les deux interfaces réseau, configurées correctement, &amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt; implantées, &amp;lt;code&amp;gt;bind9&amp;lt;/code&amp;gt; et &amp;lt;code&amp;gt;apache2&amp;lt;/code&amp;gt; installés mais non configurés.&lt;br /&gt;
|- &lt;br /&gt;
| aquaponey&lt;br /&gt;
| Une seule interface réseau (celle du vlan Xen), adresse IPv4 OK, pas d'&amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt; valide, pas de service mandataire.&lt;br /&gt;
|- &lt;br /&gt;
| balltrap&lt;br /&gt;
| Les deux interfaces réseau, configurées correctement, &amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt; implantées, &amp;lt;code&amp;gt;bind9&amp;lt;/code&amp;gt; et &amp;lt;code&amp;gt;apache2&amp;lt;/code&amp;gt; installés mais non configurés.&lt;br /&gt;
|-&lt;br /&gt;
| padel&lt;br /&gt;
| Pas de connexion possible en &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;, une seule interface réseau (vlan Xen), pas d'iptables, pas de mandataire pour service.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== MV de services au 21/10/2023 ===&lt;br /&gt;
&lt;br /&gt;
Au 21/10/2023 la plupart des DNS sont configurés avec uniquement un serveur DNS. Rajoutez le DNS secondaire &amp;lt;code&amp;gt;ns6.gandi.net&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Nom machine services !! Etat &lt;br /&gt;
|-&lt;br /&gt;
| Dublin&lt;br /&gt;
| Redirection OK, DNSSEC OK, HTTPS OK. &lt;br /&gt;
|-&lt;br /&gt;
| berlin&lt;br /&gt;
| Redirection OK, serveur DNS non sécurisé, mandataire secondaire, IPv6 vers primaire, serveur HTTP mais seulement en IPv4, pas de mandataire inverse. &lt;br /&gt;
|-&lt;br /&gt;
| alger&lt;br /&gt;
| Redirection OK, serveur DNS non sécurisé, mandataire secondaire, IPv6 vers secondaire ? serveur HTTPS.&lt;br /&gt;
|-&lt;br /&gt;
| Bruxelles&lt;br /&gt;
| Redirection OK, serveur DNS configuré, mandataire secondaire, partiellement sécurisé (pas de KSK sur GANDI), IPv6 vers secondaire ? serveur HTTPS. &lt;br /&gt;
|-&lt;br /&gt;
| paris&lt;br /&gt;
| Redirection OK, serveur DNS configuré, mandataire secondaire, partiellement sécurisé (pas de KSK sur GANDI), serveur HTTPS.&lt;br /&gt;
|-&lt;br /&gt;
| Tokyo&lt;br /&gt;
| Redirection OK, serveur DNS configuré, mandataire secondaire, partiellement sécurisé (pas de KSK sur GANDI), HTTP mais pas d'HTTPS, pas de mandataire inverse.&lt;br /&gt;
|-&lt;br /&gt;
| Oslo&lt;br /&gt;
| Redirection OK, pas de DNS sur le mandataire uniquement sur la machine de service, DNS absolument pas fonctionnel, pas de serveur HTTP que ce soit sur le mandataire ou la machine de service.&lt;br /&gt;
|-&lt;br /&gt;
| bogota&lt;br /&gt;
| Redirection OK, DNS non fonctionnel, aucune sécurisation, mandataire secondaire, IPv6 vers secondaire ? Tentative d'HTTPS sur la machine de service, pas de mandataire inverse.&lt;br /&gt;
|-&lt;br /&gt;
| kiev&lt;br /&gt;
| Redirection OK, serveur DNS non sécurisé, IPv6 vers secondaire ? mandataire secondaire, serveur HTTP sur la machine de service et la machine mandataire, pas de mandataire inverse, pas de trace du certificat. &lt;br /&gt;
|-&lt;br /&gt;
| Riga&lt;br /&gt;
| Redirection OK,  serveur DNS non sécurisé, IPv6 vers secondaire ? mandataire secondaire, serveur HTTP sur la machine de service et la machine mandataire, pas de mandataire inverse, pas de trace du certificat. &amp;lt;--&lt;br /&gt;
|-&lt;br /&gt;
| Rio&lt;br /&gt;
| Aucune tentative de redirection (pas d'&amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt;), pas de DNS ni d'HTTP sur le mandataire, pas de seconde interface sur le mandataire, pas de partition &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; ou &amp;lt;code&amp;gt;/var&amp;lt;/code&amp;gt; sur la machine de services, pas de DNS ou de serveur Web sur le mandataire, pas de bascule du DNS sur GANDI.&lt;br /&gt;
|-&lt;br /&gt;
| stockholm&lt;br /&gt;
| Partitions montées, une seule interface réseau encore sur vlan50, pas de DNS, pas de serveur HTTP, rien non plus sur le mandataire (même que Rio).&lt;br /&gt;
|-&lt;br /&gt;
| douarnenez&lt;br /&gt;
| OK.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=2768</id>
		<title>Atelier SysRes SE2a5 2023/2024 E11</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=2768"/>
		<updated>2023-11-22T12:40:24Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : /* Création de la VM Rio */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''Création de la VM Rio''' ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Génération du fichier de configuration:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen-create-image --hostname=rio --ip=172.26.145.113 --netmask=255.255.255.0 --gateway 172.26.145.254 --bridge=bridgeStudents --dir=/usr/local/xen --password=glopglop&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Lancer la VM grâce au fichier de configuration crée :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen create rio.cfg&lt;br /&gt;
xen console rio&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Modification de l'interface eth0 dans '''/etc/network/interfaces''' : &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eth0&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
address 172.26.145.113/24&lt;br /&gt;
gateway 172.26.145.254 &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configuration de la connexion en ssh, nous nous rendons dans le dossier '''/etc/ssh/''' et nous modifions le fichier '''sshd_config''' :&lt;br /&gt;
&lt;br /&gt;
- Décommenter le ''PermitRootLogin'' et mettre ''yes''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
PermitRootLogin yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;- Redémarrer le ssh :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
service ssh restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de capbreton, nous créons les deux partitions LVM :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L10G -n rio-home storage&lt;br /&gt;
lvcreate -L10G -n rio-var storage&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Se rendre dans le dossier '''/etc/xen/''' et modifier le fichier de configuration de la VM '''rio.cfg'''  en ajoutant les lignes de configurations des partitions :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
#  Disk device(s).&lt;br /&gt;
#&lt;br /&gt;
root        = '/dev/xvda2 ro'&lt;br /&gt;
disk        = [&lt;br /&gt;
                'file:/usr/local/xen/domains/HG/disk.img,xvda2,w',&lt;br /&gt;
                'file:/usr/local/xen/domains/HG/swap.img,xvda1,w',&lt;br /&gt;
                'phy:/dev/virtual/kiev-home,xvdb,w',&lt;br /&gt;
                'phy:/dev/virtual/kiev-var,xvdc,w',&lt;br /&gt;
            ]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;u&amp;gt;Problème rencontré :&amp;lt;/u&amp;gt;  Message d'erreur en essayant de redémarrer la VM &lt;br /&gt;
[[Fichier:Erreur partitions.png|centré]]Création des deux partitions LVM en ''virtual'' et non ''storage''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L10G -n rio-home virtual&lt;br /&gt;
lvcreate -L10G -n rio-var virtual&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de la VM, nous vérifions, grâce à la commande lsblk, la présence des nouvelles partitions :&lt;br /&gt;
[[Fichier:Liste LVM.png|centré]]&lt;br /&gt;
Montage des disques dans deux répertoires '''/home''' et '''/var''' :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
mkdir /new_home&lt;br /&gt;
mkdir /new_var&lt;br /&gt;
mkfs /dev/xvdb &lt;br /&gt;
mkfs /dev/xvdc&lt;br /&gt;
mount /dev/xvdb /new_home&lt;br /&gt;
mount /dev/xvdc /new_var&lt;br /&gt;
cp -r /var/* /new_var/&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Vérification de la nouvelle liste des LVM :&lt;br /&gt;
[[Fichier:NouvelleListeLVM.png|centré]]&lt;br /&gt;
Nous nous rendons dans le dossier '''/etc/''' pour modifier le ficher '''fstab''' :&lt;br /&gt;
[[Fichier:Fstab chg.png|centré]]&lt;br /&gt;
Nous redémarrons la VM, puis nouvelle vérification de la liste des LVM : les partitions sont bien montées.&lt;br /&gt;
[[Fichier:ListeFinaleLVM.png|centré]]&lt;br /&gt;
&lt;br /&gt;
=== '''Création de la VM Mandataire padel''' ===&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=2767</id>
		<title>Atelier SysRes SE2a5 2023/2024 E11</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=2767"/>
		<updated>2023-11-22T12:36:13Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : LVMs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''Création de la VM Rio''' ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Génération du fichier de configuration:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen-create-image --hostname=rio --ip=172.26.145.113 --netmask=255.255.255.0 --gateway 172.26.145.254 --bridge=bridgeStudents --dir=/usr/local/xen --password=glopglop&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Lancer la VM grâce au fichier de configuration crée :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen console rio.cfg&lt;br /&gt;
&lt;br /&gt;
xen console rio&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Modification de l'interface eth0 dans '''/etc/network/interfaces''' : &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eth0&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
address 172.26.145.113/24&lt;br /&gt;
gateway 172.26.145.254 &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configuration de la connexion en ssh, nous nous rendons dans le dossier '''/etc/ssh/''' et nous modifions le fichier '''sshd_config''' :&lt;br /&gt;
&lt;br /&gt;
- Décommenter le ''PermitRootLogin'' et mettre ''yes''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
PermitRootLogin yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;- Redémarrer le ssh :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
service ssh restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de capbreton, nous créons les deux partitions LVM :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L10G -n rio-home storage&lt;br /&gt;
lvcreate -L10G -n rio-var storage&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Se rendre dans le dossier '''/etc/xen/''' et modifier le fichier de configuration de la VM '''rio.cfg'''  en ajoutant les lignes de configurations des partitions :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
#  Disk device(s).&lt;br /&gt;
#&lt;br /&gt;
root        = '/dev/xvda2 ro'&lt;br /&gt;
disk        = [&lt;br /&gt;
                'file:/usr/local/xen/domains/HG/disk.img,xvda2,w',&lt;br /&gt;
                'file:/usr/local/xen/domains/HG/swap.img,xvda1,w',&lt;br /&gt;
                'phy:/dev/virtual/kiev-home,xvdb,w',&lt;br /&gt;
                'phy:/dev/virtual/kiev-var,xvdc,w',&lt;br /&gt;
            ]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;u&amp;gt;Problème rencontré :&amp;lt;/u&amp;gt;  Message d'erreur en essayant de redémarrer la VM &lt;br /&gt;
[[Fichier:Erreur partitions.png|centré]]Création des deux partitions LVM en ''virtual'' et non ''storage''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L10G -n rio-home virtual&lt;br /&gt;
lvcreate -L10G -n rio-var virtual&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de la VM, nous vérifions, grâce à la commande lsblk, la présence des nouvelles partitions :&lt;br /&gt;
[[Fichier:Liste LVM.png|centré]]&lt;br /&gt;
Montage des disques dans deux répertoires '''/home''' et '''/var''' :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
mkdir /new_home&lt;br /&gt;
mkdir /new_var&lt;br /&gt;
mkfs /dev/xvdb &lt;br /&gt;
mkfs /dev/xvdc&lt;br /&gt;
mount /dev/xvdb /new_home&lt;br /&gt;
mount /dev/xvdc /new_var&lt;br /&gt;
cp -r /var/* /new_var/&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Vérification de la nouvelle liste des LVM :&lt;br /&gt;
[[Fichier:NouvelleListeLVM.png|centré]]&lt;br /&gt;
Nous nous rendons dans le dossier '''/etc/''' pour modifier le ficher '''fstab''' :&lt;br /&gt;
[[Fichier:Fstab chg.png|centré]]&lt;br /&gt;
Nous redémarrons la VM, puis nouvelle vérification de la liste des LVM : les partitions sont bien montées.&lt;br /&gt;
[[Fichier:ListeFinaleLVM.png|centré]]&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:ListeFinaleLVM.png&amp;diff=2766</id>
		<title>Fichier:ListeFinaleLVM.png</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:ListeFinaleLVM.png&amp;diff=2766"/>
		<updated>2023-11-22T12:35:19Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ListeFinaleLVM&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:NouvelleListeLVM.png&amp;diff=2765</id>
		<title>Fichier:NouvelleListeLVM.png</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:NouvelleListeLVM.png&amp;diff=2765"/>
		<updated>2023-11-22T12:28:52Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ListeLVM&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:Fstab_chg.png&amp;diff=2764</id>
		<title>Fichier:Fstab chg.png</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:Fstab_chg.png&amp;diff=2764"/>
		<updated>2023-11-22T12:23:01Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;fstab&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:Liste_LVM.png&amp;diff=2763</id>
		<title>Fichier:Liste LVM.png</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:Liste_LVM.png&amp;diff=2763"/>
		<updated>2023-11-22T12:06:23Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;LVMs&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=2754</id>
		<title>Atelier SysRes SE2a5 2023/2024 E11</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=2754"/>
		<updated>2023-11-22T10:35:25Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : VM Rio&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''Création de la VM Rio''' ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Génération du fichier de configuration:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen-create-image --hostname=rio --ip=172.26.145.113 --netmask=255.255.255.0 --gateway 172.26.145.254 --bridge=bridgeStudents --dir=/usr/local/xen --password=glopglop&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Lancer la VM grâce au fichier de configuration crée :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen console rio.cfg&lt;br /&gt;
&lt;br /&gt;
xen console rio&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Modification de l'interface eth0 dans '''/etc/network/interfaces''' : &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eth0&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
address 172.26.145.113/24&lt;br /&gt;
gateway 172.26.145.254 &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configuration de la connexion en ssh, nous nous rendons dans le dossier  '''/etc/ssh/''' et nous modifions le fichier '''sshd_config''' :&lt;br /&gt;
&lt;br /&gt;
- Décommenter le ''PermitRootLogin'' et mettre ''yes''&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
PermitRootLogin yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;- Redémarrer le ssh :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
service ssh restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Au niveau de capbreton, nous créons les deux partitions LVM :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L10G -n rio-home storage&lt;br /&gt;
lvcreate -L10G -n rio-var storage&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Se rendre dans le dossier '''/etc/xen/''' et modifier le fichier de configuration de la VM '''rio.cfg'''  en ajoutant les lignes de configurations des partitions :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
#  Disk device(s).&lt;br /&gt;
#&lt;br /&gt;
root        = '/dev/xvda2 ro'&lt;br /&gt;
disk        = [&lt;br /&gt;
                'file:/usr/local/xen/domains/HG/disk.img,xvda2,w',&lt;br /&gt;
                'file:/usr/local/xen/domains/HG/swap.img,xvda1,w',&lt;br /&gt;
                'phy:/dev/virtual/kiev-home,xvdb,w',&lt;br /&gt;
                'phy:/dev/virtual/kiev-var,xvdc,w',&lt;br /&gt;
            ]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;u&amp;gt;Problème rencontré :&amp;lt;/u&amp;gt;  Message d'erreur en essayant de redémarrer la VM &lt;br /&gt;
[[Fichier:Erreur partitions.png|centré]]&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:Erreur_partitions.png&amp;diff=2751</id>
		<title>Fichier:Erreur partitions.png</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Fichier:Erreur_partitions.png&amp;diff=2751"/>
		<updated>2023-11-22T10:34:33Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Screen erreur partitions&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=SE5_syst%C3%A8me/r%C3%A9seau_2023/2024&amp;diff=1917</id>
		<title>SE5 système/réseau 2023/2024</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=SE5_syst%C3%A8me/r%C3%A9seau_2023/2024&amp;diff=1917"/>
		<updated>2023-10-06T14:11:10Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : /* PRA SE5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= PRA SE5 =&lt;br /&gt;
&lt;br /&gt;
== Menu de la première séance ==&lt;br /&gt;
&lt;br /&gt;
Pour la  première séance du 06/10/2023 il vous est demandé d'effectuer individuellement les opérations listées ci-dessous.&lt;br /&gt;
* création d'une machine virtuelle sur le serveur &amp;lt;code&amp;gt;capbreton&amp;lt;/code&amp;gt; ;&lt;br /&gt;
* création d'un conteneur &amp;quot;à la main&amp;quot; sur votre station de travail &amp;lt;code&amp;gt;zabeth&amp;lt;/code&amp;gt; :&lt;br /&gt;
** créez un conteneur isolé au maximum (sauf pour les utilisateur) avec la méthode décrite en cours,&lt;br /&gt;
** création d'un commutateur virtuel privé sur la &amp;lt;code&amp;gt;zabeth&amp;lt;/code&amp;gt; dans le réseau IPv4 &amp;lt;code&amp;gt;192.168.68.0/24&amp;lt;/code&amp;gt;, l'adresse &amp;lt;code&amp;gt;192.168.68.1&amp;lt;/code&amp;gt; est affectée au commutateur lui-même,&lt;br /&gt;
** création d'une interface Ethernet virtuelle, une extrémité doit être envoyée dans le conteneur, l'autre dans le commutateur virtuel privé,&lt;br /&gt;
** mise en place d'une mascarade sur la &amp;lt;code&amp;gt;zabeth&amp;lt;/code&amp;gt;, vérifiez que le conteneur a accès aux mêmes machines que la  &amp;lt;code&amp;gt;zabeth&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Par binôme vous devez créer une machine virtuelle mandataire connectée sur le commutateur virtuel SE5 et sur le commutateur virtuel privé des machines virtuelles de services concernées (voir deuxième section du sujet).&lt;br /&gt;
&lt;br /&gt;
Globalement vous devez configurer le routeur principal de la promotion (voir la troisième section du sujet). Pour votre promotion il s'agit du Catalyst 9200 situé en E304. Il faut le connecter en fibre vers le serveur &amp;lt;code&amp;gt;capbreton&amp;lt;/code&amp;gt; de la E306 dans le commutateur virtuel SE5 et aussi en fibre vers le local technique SR52 sur un port dans le VLAN 531. Vous pouvez configurer le commutateur via l'utilitaire &amp;lt;code&amp;gt;minicom&amp;lt;/code&amp;gt; à partir de la machine &amp;lt;code&amp;gt;zabeth09&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Répartition des élèves pour la première séance :&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Station de travail !! Elève&lt;br /&gt;
|-&lt;br /&gt;
| zabeth02 || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| zabeth03 || Mathis RIFFAUT&lt;br /&gt;
|-&lt;br /&gt;
| zabeth04 || Dann RODENBURG&lt;br /&gt;
|-&lt;br /&gt;
| zabeth05 || Benjamin NGUYEN&lt;br /&gt;
|-&lt;br /&gt;
| zabeth06 || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| zabeth07 || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| zabeth08 || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| zabeth09 (routeur) || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| zabeth10 || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| zabeth11 || Paul Amoros&lt;br /&gt;
|-&lt;br /&gt;
| zabeth12 || Maël Delaby&lt;br /&gt;
|-&lt;br /&gt;
| zabeth13 || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| zabeth14 || Timothé Brenier&lt;br /&gt;
|-&lt;br /&gt;
| zabeth15 || Jeanne Delcourt&lt;br /&gt;
|-&lt;br /&gt;
| zabeth16 || Estelle Godard&lt;br /&gt;
|-&lt;br /&gt;
| zabeth17 || Jason DELANNOY&lt;br /&gt;
|-&lt;br /&gt;
| zabeth18 || Chloé Lemaire&lt;br /&gt;
|-&lt;br /&gt;
| zabeth19 || Gabriel THOMAS&lt;br /&gt;
|-&lt;br /&gt;
| zabeth20 || Albin MOUTON&lt;br /&gt;
|-&lt;br /&gt;
| zabeth21 || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| zabeth22 || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| zabeth26 || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| zabeth27 || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| zabeth28 || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| zabeth30 || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Répartition des binômes ==&lt;br /&gt;
&lt;br /&gt;
Concertez-vous pour trouver des noms de machines de services et de machines mandataires dans deux thèmes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Cahier !! Nom machine services &lt;br /&gt;
!IP machine services !! Nom de domaine !! Nom machine mandataire &lt;br /&gt;
!IP machine mandataires!! Elève &lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E1 | Cahier n°1]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E2 | Cahier n°2]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E3 | Cahier n°3]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E4 | Cahier n°4]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E5 | Cahier n°5]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E6 | Cahier n°6]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E7 | Cahier n°7]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E8 | Cahier n°8]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E9 | Cahier n°9]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E10 | Cahier n°10]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E11 | Cahier n°11]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E12 | Cahier n°12]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E13 | Cahier n°13]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E14 | Cahier n°14]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E15 | Cahier n°15]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E16 | Cahier n°16]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E17 | Cahier n°17]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E18 | Cahier n°18]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E19 | Cahier n°19]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E20 | Cahier n°20]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E21 | Cahier n°21]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E22 | Cahier n°22]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E23 | Cahier n°23]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE5 2023/2024 E24 | Cahier n°24]]&lt;br /&gt;
| || || || || || Prénom Nom&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Contrôle continu ==&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=SE2a5_syst%C3%A8me/r%C3%A9seau_2023/2024&amp;diff=1797</id>
		<title>SE2a5 système/réseau 2023/2024</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=SE2a5_syst%C3%A8me/r%C3%A9seau_2023/2024&amp;diff=1797"/>
		<updated>2023-10-06T09:04:09Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : /* Répartition des binômes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= ASR SE2a5 =&lt;br /&gt;
== Répartition des binômes ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Cahier !! Nom machine services &lt;br /&gt;
!IP machine services!! Nom de domaine !! Nom machine mandataire &lt;br /&gt;
!IP machine mandataires!! Elève &lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E1 | Cahier n°1]]&lt;br /&gt;
| Dublin&lt;br /&gt;
|&lt;br /&gt;
| dublin.lol&lt;br /&gt;
| rugby&lt;br /&gt;
| 193.48.57.162&lt;br /&gt;
| DELEPLANQUE Louis&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E2 | Cahier n°2]]&lt;br /&gt;
| berlin&lt;br /&gt;
|&lt;br /&gt;
| berlin2.lol&lt;br /&gt;
| judo&lt;br /&gt;
| 193.48.57.165&lt;br /&gt;
| EL ABKARI Ahlam&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E3 | Cahier n°3]]&lt;br /&gt;
| alger&lt;br /&gt;
|192.168.10.11&lt;br /&gt;
| alger.lol&lt;br /&gt;
| badminton&lt;br /&gt;
| 193.48.57.167&lt;br /&gt;
| LAZOUACHE Farid&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E4 | Cahier n°4]]&lt;br /&gt;
| Bruxelles&lt;br /&gt;
|&lt;br /&gt;
| Bruxelles.lol&lt;br /&gt;
| badminton&lt;br /&gt;
| 193.48.57.167&lt;br /&gt;
| BECUE William&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E5 | Cahier n°5]]&lt;br /&gt;
| paris&lt;br /&gt;
|&lt;br /&gt;
| paris13.lol&lt;br /&gt;
| judo&lt;br /&gt;
| 193.48.57.165&lt;br /&gt;
| DESPLACES Baptiste&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E6 | Cahier n°6]]&lt;br /&gt;
| Tokyo&lt;br /&gt;
|&lt;br /&gt;
| tokyoray.lol&lt;br /&gt;
| muaythai&lt;br /&gt;
| 193.48.57.164&lt;br /&gt;
| MOUSSAOUI Rayane&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E7 | Cahier n°7]]&lt;br /&gt;
| Oslo&lt;br /&gt;
|&lt;br /&gt;
| oslo666.lol&lt;br /&gt;
| aquaponey&lt;br /&gt;
| 193.48.57.166&lt;br /&gt;
| FIRION Thomas&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E8 | Cahier n°8]]&lt;br /&gt;
| bogota&lt;br /&gt;
|&lt;br /&gt;
| bogota.lol&lt;br /&gt;
| muaythai&lt;br /&gt;
| 193.48.57.164&lt;br /&gt;
| MAROLLEAU Simon&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E9 | Cahier n°9]]&lt;br /&gt;
| kiev&lt;br /&gt;
|&lt;br /&gt;
| kievgg.lol&lt;br /&gt;
| balltrap&lt;br /&gt;
| 193.48.57.163&lt;br /&gt;
| BREUVART Jérôme&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E10 | Cahier n°10]]&lt;br /&gt;
| Riga&lt;br /&gt;
|&lt;br /&gt;
| riga1.lol&lt;br /&gt;
| balltrap  &lt;br /&gt;
| 193.48.57.163&lt;br /&gt;
| BIOT Tom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E11 | Cahier n°11]]&lt;br /&gt;
| Rio&lt;br /&gt;
|&lt;br /&gt;
| rio71.lol&lt;br /&gt;
|padel&lt;br /&gt;
|193.48.57.168&lt;br /&gt;
| NAIMI Oussama&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E12 | Cahier n°12]]&lt;br /&gt;
|Stockholm&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|padel&lt;br /&gt;
|193.48.57.168&lt;br /&gt;
| DUBOIS Lisa-Marie&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E13 | Cahier n°13]]&lt;br /&gt;
| douarnenez&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| rugby&lt;br /&gt;
| 193.48.57.162&lt;br /&gt;
| GERMOND Bastien&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Contrôle continu ==&lt;br /&gt;
&lt;br /&gt;
=== Etat initial des machines virtuelles ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Nom machine services !! Etat &lt;br /&gt;
|-&lt;br /&gt;
| alger || Démarrée, mot de passe non changé &amp;lt;code&amp;gt;/var/log/xen-tools/alger.log&amp;lt;/code&amp;gt;, adresse IP hors du VLAN 50, bridge OK, mot clef DHCP encore présent, mémoire faible&lt;br /&gt;
|-&lt;br /&gt;
| berlin || Démarrée, mot de passe OK, adresse IP hors du VLAN 50, bridge OK, mot clef DHCP encore présent, mémoire faible&lt;br /&gt;
|-&lt;br /&gt;
| bogota || Démarrée, mot de passe changé sans modification du fichier de log, début de configuration réseau (mais manque le masque réseau), bridge OK, mot clef DHCP encore présent, mémoire faible&lt;br /&gt;
|-&lt;br /&gt;
| Bruxelles || Démarrée, mot de passe OK, adresse IP hors du VLAN 50, bridge OK, mot clef DHCP encore présent, mémoire faible&lt;br /&gt;
|-&lt;br /&gt;
| douarnenez || Démarrée, mot de passe OK, réseau OK, ping &amp;lt;code&amp;gt;www.polytech-lille.fr&amp;lt;/code&amp;gt; OK, &amp;lt;code&amp;gt;ping google.fr&amp;lt;/code&amp;gt; IPv6 OK, mémoire faible&lt;br /&gt;
|-&lt;br /&gt;
| Dublin || Démarrée, mot de passe OK, adresse IP hors du VLAN 50, bridge OK, adresse IPv4 encore présente dans le &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt;, mémoire un peu exagérée&lt;br /&gt;
|-&lt;br /&gt;
| kiev || Démarrée, mot de passe OK, adresse IP hors du VLAN 50, bridge OK, mot clef DHCP encore présent, mémoire faible&lt;br /&gt;
|- &lt;br /&gt;
| Oslo || Démarrée, mot de passe OK, adresse IP hors du VLAN 50, bridge OK, mot clef DHCP encore présent, mémoire faible&lt;br /&gt;
|-&lt;br /&gt;
| paris || Démarrée, mot de passe OK, adresse IP hors du VLAN 50, bridge OK, mot clef DHCP encore présent, mémoire faible&lt;br /&gt;
|- &lt;br /&gt;
| rio || Démarrée, mot de passe OK, adresse IP hors du VLAN 50, bridge OK, mémoire faible&lt;br /&gt;
|-&lt;br /&gt;
| Tokyo || Démarrée, mot de passe OK, bridge OK, adresse IPv4 encore présente dans le &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt; (@IPv4 OK), adresse IP hors du VLAN 50 (dans la machine), mémoire faible&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Concernant l'installation de Devuan sur les stations de travail ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Machine !! Machine annexe !! Elève !! Etat 02/10/2023 !! Etat 05/10/2023&lt;br /&gt;
|-&lt;br /&gt;
| zabeth02 || zabeth13 / daedalus ok|| Ahlam EL ABKARI || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;xfce sans les applications&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;&amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; ne peut pas se connecter à distance&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth03 || zabeth16 / daedalus ok|| Rayane MOUSSAOUI || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;7 paquetaques &amp;lt;code&amp;gt;xfce4&amp;lt;/code&amp;gt; sur 35 d'installés, relancez &amp;lt;code&amp;gt;tasksel&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth04 || zabeth14 / daedalus ok|| Baptiste DESPLACES|| &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;&amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; ne peut pas se connecter à distance&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;7 paquetaques &amp;lt;code&amp;gt;xfce4&amp;lt;/code&amp;gt; sur 35 d'installés, relancez &amp;lt;code&amp;gt;tasksel&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth05 || || Jérôme BREUVART|| &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;Pas de propagation ansible&amp;lt;/span&amp;gt;,  &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;&amp;lt;code&amp;gt;/root/.ssh/authorized_keys&amp;lt;/code&amp;gt; est un répertoire ...&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;7 paquetaques &amp;lt;code&amp;gt;xfce4&amp;lt;/code&amp;gt; sur 35 d'installés, relancez &amp;lt;code&amp;gt;tasksel&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth06 || zabeth21 / &amp;lt;code&amp;gt;daedalus&amp;lt;/code&amp;gt; OK || Bastien GERMOND || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth07 || zabeth17 / daedalus OK|| Simon MAROLLEAU|| &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth08 || zabeth20 / daedalus OK|| Thomas FIRION|| &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;OK mais &amp;lt;code&amp;gt;firefox-esr&amp;lt;/code&amp;gt; non installé ?&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;7 paquetaques &amp;lt;code&amp;gt;xfce4&amp;lt;/code&amp;gt; sur 35 d'installés, relancez &amp;lt;code&amp;gt;tasksel&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth09 || zabet15/ daedalus OK|| William BECUE|| &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;propagation ansible au mieux partielle (&amp;lt;code&amp;gt;/etc/network/interfaces&amp;lt;/code&amp;gt; à la main ?)&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth10 || || Tom BIOT|| &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;&amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; ne peut pas se connecter à distance&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;7 paquetaques &amp;lt;code&amp;gt;xfce4&amp;lt;/code&amp;gt; sur 35 d'installés, relancez &amp;lt;code&amp;gt;tasksel&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth11 || || Oussama NAIMI|| &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;pas de propagation ansible&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth12 || || Farid LAZOUACHE|| &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;7 paquetaques &amp;lt;code&amp;gt;xfce4&amp;lt;/code&amp;gt; sur 35 d'installés, relancez &amp;lt;code&amp;gt;tasksel&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|zabeth28 || zabeth26, zabeth27 || Louis DELEPLANQUE ||&amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;xfce sans les applications&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Machines annexes avec mise à jour &amp;lt;code&amp;gt;daedalus&amp;lt;/code&amp;gt; au 02/10/2023 : zabeth13, zabeth14, zabeth15, zabeth16, zabeth17, zabeth20, zabeth21, zabeth26, zabeth27.&lt;br /&gt;
&lt;br /&gt;
Machines annexes non mises à jour au 02/10/2023 : zabeth18 (&amp;lt;code&amp;gt;/etc/apt/sources.list&amp;lt;/code&amp;gt; OK mais pas de commande &amp;lt;code&amp;gt;apt dist-upgrade&amp;lt;/code&amp;gt; lancée), zabeth19 (idem).&lt;br /&gt;
&lt;br /&gt;
Veillez à ce que le paquetage &amp;lt;code&amp;gt;apparmor&amp;lt;/code&amp;gt; soit désactivé sur toutes les machines.&lt;br /&gt;
&lt;br /&gt;
=== MV de services au 6/10/2023 ===&lt;br /&gt;
&lt;br /&gt;
A noter partie &amp;quot;Architecture réseau, première approche&amp;quot;, totalement implantée par MM. DELEPLANQUE et GERMOND.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Nom machine services !! Etat &lt;br /&gt;
|-&lt;br /&gt;
| Dublin&lt;br /&gt;
| Partitions OK, interfaces réseau configurées, ping IPv4 et IPv6 OK&lt;br /&gt;
|-&lt;br /&gt;
| berlin&lt;br /&gt;
| Partitions OK, une seule interface réseau encore sur vlan50.&lt;br /&gt;
|-&lt;br /&gt;
| alger&lt;br /&gt;
| Partitions OK, deux interfaces réseau, mauvaise configuration IPv4 sur les deux, ping IPv6 OK.&lt;br /&gt;
|-&lt;br /&gt;
| Bruxelles&lt;br /&gt;
| Partitions OK, deux interfaces réseau, mauvaise configuration IPv4 sur VLAN Xen, ping IPv6 OK.&lt;br /&gt;
|-&lt;br /&gt;
| paris&lt;br /&gt;
| Partitions OK, une seule interface réseau encore sur vlan50.&lt;br /&gt;
|-&lt;br /&gt;
| Tokyo&lt;br /&gt;
| Partitions OK, une seule interface réseau encore sur vlan50.&lt;br /&gt;
|-&lt;br /&gt;
| Oslo&lt;br /&gt;
| Pas de partitions &amp;lt;code&amp;gt;/var&amp;lt;/code&amp;gt; ni &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;, une seule interface réseau encore sur vlan50.&lt;br /&gt;
|-&lt;br /&gt;
| bogota&lt;br /&gt;
| Mot de passe insuffisant, partitions OK, deux interfaces réseau, aucune configuration IPv4 correcte.&lt;br /&gt;
|-&lt;br /&gt;
| kiev&lt;br /&gt;
| Pas de partitions &amp;lt;code&amp;gt;/var&amp;lt;/code&amp;gt; ni &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;, une seule interface réseau encore sur vlan50.&lt;br /&gt;
|-&lt;br /&gt;
| Riga&lt;br /&gt;
| Partitions OK, une seule interface réseau encore sur vlan50.&lt;br /&gt;
|-&lt;br /&gt;
| Rio&lt;br /&gt;
| Pas de partitions &amp;lt;code&amp;gt;/var&amp;lt;/code&amp;gt; ni &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;, une seule interface réseau encore sur vlan50.&lt;br /&gt;
|-&lt;br /&gt;
| douarnenez&lt;br /&gt;
| Partitions OK, interfaces réseau configurées, ping IPv4 et IPv6 OK&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Machine virtuelle mandataire !! Etat &lt;br /&gt;
|-&lt;br /&gt;
| rugby&lt;br /&gt;
| Les deux interfaces réseau, configurées correctement, &amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt; implantées.&lt;br /&gt;
|-&lt;br /&gt;
| judo&lt;br /&gt;
| Une seule interface réseau, adresse IPv4 OK, pas de seconde interface réseau, pas d'&amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt;.&lt;br /&gt;
|- &lt;br /&gt;
| badminton&lt;br /&gt;
| Les deux interfaces réseau, configurées correctement, pas d'&amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt;.&lt;br /&gt;
|- &lt;br /&gt;
| muaythai&lt;br /&gt;
| Les deux interfaces réseau, seule l'interface du VLAN Xen est configurée, pas d'&amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt;.&lt;br /&gt;
|- &lt;br /&gt;
| aquaponey&lt;br /&gt;
| Une seule interface réseau, adresse IPv4 OK, pas de seconde interface réseau, pas d'&amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt;.&lt;br /&gt;
|- &lt;br /&gt;
| balltrap&lt;br /&gt;
| Les deux interfaces réseau, une passerelle sur le réseau local (erreur), pas d'&amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=SE2a5_syst%C3%A8me/r%C3%A9seau_2023/2024&amp;diff=1777</id>
		<title>SE2a5 système/réseau 2023/2024</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=SE2a5_syst%C3%A8me/r%C3%A9seau_2023/2024&amp;diff=1777"/>
		<updated>2023-10-06T08:25:05Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : /* Répartition des binômes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= ASR SE2a5 =&lt;br /&gt;
== Répartition des binômes ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Cahier !! Nom machine services &lt;br /&gt;
!IP machine services!! Nom de domaine !! Nom machine mandataire &lt;br /&gt;
!IP machine mandataires!! Elève &lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E1 | Cahier n°1]]&lt;br /&gt;
| Dublin&lt;br /&gt;
|&lt;br /&gt;
| dublin.lol&lt;br /&gt;
| rugby&lt;br /&gt;
| 193.48.57.162&lt;br /&gt;
| DELEPLANQUE Louis&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E2 | Cahier n°2]]&lt;br /&gt;
| berlin&lt;br /&gt;
|172.26.145.112&lt;br /&gt;
| berlin2.lol&lt;br /&gt;
| judo&lt;br /&gt;
|193.48.57.165&lt;br /&gt;
| EL ABKARI Ahlam&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E3 | Cahier n°3]]&lt;br /&gt;
| alger&lt;br /&gt;
|'''172.26.145.108'''&lt;br /&gt;
|alger.lol&lt;br /&gt;
|badminton&lt;br /&gt;
|193.48.57.167&lt;br /&gt;
| LAZOUACHE Farid&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E4 | Cahier n°4]]&lt;br /&gt;
| Bruxelles&lt;br /&gt;
|&lt;br /&gt;
|Bruxelles.lol&lt;br /&gt;
|badminton&lt;br /&gt;
|193.48.57.167&lt;br /&gt;
| BECUE William&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E5 | Cahier n°5]]&lt;br /&gt;
| paris&lt;br /&gt;
|172.26.145.111&lt;br /&gt;
| paris13.lol&lt;br /&gt;
|judo&lt;br /&gt;
|193.48.57.165&lt;br /&gt;
| DESPLACES Baptiste&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E6 | Cahier n°6]]&lt;br /&gt;
| Tokyo&lt;br /&gt;
|&lt;br /&gt;
| tokyoray.lol&lt;br /&gt;
|muaythai&lt;br /&gt;
|193.48.57.164&lt;br /&gt;
| MOUSSAOUI Rayane&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E7 | Cahier n°7]]&lt;br /&gt;
| Oslo&lt;br /&gt;
|&lt;br /&gt;
| oslo666.lol&lt;br /&gt;
|aquaponey&lt;br /&gt;
|193.48.57.166&lt;br /&gt;
| FIRION Thomas&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E8 | Cahier n°8]]&lt;br /&gt;
| bogota&lt;br /&gt;
|&lt;br /&gt;
| bogota.lol&lt;br /&gt;
|muaythai&lt;br /&gt;
|193.48.57.164&lt;br /&gt;
| MAROLLEAU Simon&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E9 | Cahier n°9]]&lt;br /&gt;
| kiev&lt;br /&gt;
|&lt;br /&gt;
| kievgg.lol&lt;br /&gt;
| balltrap&lt;br /&gt;
| 193.48.57.163&lt;br /&gt;
| BREUVART Jérôme&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E10 | Cahier n°10]]&lt;br /&gt;
| Riga&lt;br /&gt;
|&lt;br /&gt;
| riga1.lol&lt;br /&gt;
| balltrap  &lt;br /&gt;
| 193.48.57.163&lt;br /&gt;
| BIOT Tom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E11 | Cahier n°11]]&lt;br /&gt;
| Rio&lt;br /&gt;
|172.26.145.113&lt;br /&gt;
|rio71.lol&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| NAIMI Oussama&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E12 | Cahier n°12]]&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E13 | Cahier n°13]]&lt;br /&gt;
| douarnenez&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| rugby&lt;br /&gt;
| 193.48.57.162&lt;br /&gt;
| GERMOND Bastien&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Contrôle continu ==&lt;br /&gt;
&lt;br /&gt;
=== Etat initial des machines virtuelles ===&lt;br /&gt;
&lt;br /&gt;
A recopier&lt;br /&gt;
&lt;br /&gt;
=== Concernant l'installation de Devuan sur les stations de travail ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Machine !! Machine annexe !! Elève !! Etat 02/10/2023 !! Etat 05/10/2023&lt;br /&gt;
|-&lt;br /&gt;
| zabeth02 || zabeth13 / daedalus ok|| Ahlam EL ABKARI || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;xfce sans les applications&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;&amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; ne peut pas se connecter à distance&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth03 || zabeth16 / daedalus ok|| Rayane MOUSSAOUI || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;7 paquetaques &amp;lt;code&amp;gt;xfce4&amp;lt;/code&amp;gt; sur 35 d'installés, relancez &amp;lt;code&amp;gt;tasksel&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth04 || zabeth14 / daedalus ok|| Baptiste DESPLACES|| &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;&amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; ne peut pas se connecter à distance&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;7 paquetaques &amp;lt;code&amp;gt;xfce4&amp;lt;/code&amp;gt; sur 35 d'installés, relancez &amp;lt;code&amp;gt;tasksel&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth05 || || Jérôme BREUVART|| &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;Pas de propagation ansible&amp;lt;/span&amp;gt;,  &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;&amp;lt;code&amp;gt;/root/.ssh/authorized_keys&amp;lt;/code&amp;gt; est un répertoire ...&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;7 paquetaques &amp;lt;code&amp;gt;xfce4&amp;lt;/code&amp;gt; sur 35 d'installés, relancez &amp;lt;code&amp;gt;tasksel&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth06 || zabeth21 / &amp;lt;code&amp;gt;daedalus&amp;lt;/code&amp;gt; OK || Bastien GERMOND || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth07 || zabeth17 / daedalus OK|| Simon MAROLLEAU|| &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth08 || zabeth20 / daedalus OK|| Thomas FIRION|| &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;OK mais &amp;lt;code&amp;gt;firefox-esr&amp;lt;/code&amp;gt; non installé ?&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;7 paquetaques &amp;lt;code&amp;gt;xfce4&amp;lt;/code&amp;gt; sur 35 d'installés, relancez &amp;lt;code&amp;gt;tasksel&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth09 || zabet15/ daedalus OK|| William BECUE|| &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;propagation ansible au mieux partielle (&amp;lt;code&amp;gt;/etc/network/interfaces&amp;lt;/code&amp;gt; à la main ?)&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth10 || || Tom BIOT|| &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;&amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; ne peut pas se connecter à distance&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;7 paquetaques &amp;lt;code&amp;gt;xfce4&amp;lt;/code&amp;gt; sur 35 d'installés, relancez &amp;lt;code&amp;gt;tasksel&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth11 || || Oussama NAIMI|| &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;pas de propagation ansible&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth12 || || Farid LAZOUACHE|| &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;7 paquetaques &amp;lt;code&amp;gt;xfce4&amp;lt;/code&amp;gt; sur 35 d'installés, relancez &amp;lt;code&amp;gt;tasksel&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|zabeth28 || zabeth26, zabeth27 || Louis DELEPLANQUE ||&amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;xfce sans les applications&amp;lt;/span&amp;gt; || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Machines annexes avec mise à jour &amp;lt;code&amp;gt;daedalus&amp;lt;/code&amp;gt; au 02/10/2023 : zabeth13, zabeth14, zabeth15, zabeth16, zabeth17, zabeth20, zabeth21, zabeth26, zabeth27.&lt;br /&gt;
&lt;br /&gt;
Machines annexes non mises à jour au 02/10/2023 : zabeth18 (&amp;lt;code&amp;gt;/etc/apt/sources.list&amp;lt;/code&amp;gt; OK mais pas de commande &amp;lt;code&amp;gt;apt dist-upgrade&amp;lt;/code&amp;gt; lancée), zabeth19 (idem).&lt;br /&gt;
&lt;br /&gt;
Veillez à ce que le paquetage &amp;lt;code&amp;gt;apparmor&amp;lt;/code&amp;gt; soit désactivé sur toutes les machines.&lt;br /&gt;
&lt;br /&gt;
=== MV de services au 6/10/2023 ===&lt;br /&gt;
&lt;br /&gt;
A noter partie &amp;quot;Architecture réseau, première approche&amp;quot;, totalement implantée par MM. DELEPLANQUE et GERMOND.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Nom machine services !! Etat &lt;br /&gt;
|-&lt;br /&gt;
| Dublin&lt;br /&gt;
| Partitions OK, interfaces réseau configurées, ping IPv4 et IPv6 OK&lt;br /&gt;
|-&lt;br /&gt;
| berlin&lt;br /&gt;
| Partitions OK, une seule interface réseau encore sur vlan50.&lt;br /&gt;
|-&lt;br /&gt;
| alger&lt;br /&gt;
| Partitions OK, deux interfaces réseau, mauvaise configuration IPv4 sur les deux, ping IPv6 OK.&lt;br /&gt;
|-&lt;br /&gt;
| Bruxelles&lt;br /&gt;
| Partitions OK, deux interfaces réseau, mauvaise configuration IPv4 sur VLAN Xen, ping IPv6 OK.&lt;br /&gt;
|-&lt;br /&gt;
| paris&lt;br /&gt;
| Partitions OK, une seule interface réseau encore sur vlan50.&lt;br /&gt;
|-&lt;br /&gt;
| Tokyo&lt;br /&gt;
| Partitions OK, une seule interface réseau encore sur vlan50.&lt;br /&gt;
|-&lt;br /&gt;
| Oslo&lt;br /&gt;
| Pas de partitions &amp;lt;code&amp;gt;/var&amp;lt;/code&amp;gt; ni &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;, une seule interface réseau encore sur vlan50.&lt;br /&gt;
|-&lt;br /&gt;
| bogota&lt;br /&gt;
| Mot de passe insuffisant, partitions OK, deux interfaces réseau, aucune configuration IPv4 correcte.&lt;br /&gt;
|-&lt;br /&gt;
| kiev&lt;br /&gt;
| Pas de partitions &amp;lt;code&amp;gt;/var&amp;lt;/code&amp;gt; ni &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;, une seule interface réseau encore sur vlan50.&lt;br /&gt;
|-&lt;br /&gt;
| Riga&lt;br /&gt;
| Partitions OK, une seule interface réseau encore sur vlan50.&lt;br /&gt;
|-&lt;br /&gt;
| Rio&lt;br /&gt;
| Pas de partitions &amp;lt;code&amp;gt;/var&amp;lt;/code&amp;gt; ni &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;, une seule interface réseau encore sur vlan50.&lt;br /&gt;
|-&lt;br /&gt;
| douarnenez&lt;br /&gt;
| Partitions OK, interfaces réseau configurées, ping IPv4 et IPv6 OK&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Machine virtuelle mandataire !! Etat &lt;br /&gt;
|-&lt;br /&gt;
| rugby&lt;br /&gt;
| Les deux interfaces réseau, configurées correctement, &amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt; implantées.&lt;br /&gt;
|-&lt;br /&gt;
| judo&lt;br /&gt;
| Une seule interface réseau, adresse IPv4 OK, pas de seconde interface réseau, pas d'&amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt;.&lt;br /&gt;
|- &lt;br /&gt;
| badminton&lt;br /&gt;
| Les deux interfaces réseau, configurées correctement, pas d'&amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt;.&lt;br /&gt;
|- &lt;br /&gt;
| muaythai&lt;br /&gt;
| Les deux interfaces réseau, seule l'interface du VLAN Xen est configurée, pas d'&amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt;.&lt;br /&gt;
|- &lt;br /&gt;
| aquaponey&lt;br /&gt;
| Une seule interface réseau, adresse IPv4 OK, pas de seconde interface réseau, pas d'&amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt;.&lt;br /&gt;
|- &lt;br /&gt;
| balltrap&lt;br /&gt;
| Les deux interfaces réseau, une passerelle sur le réseau local (erreur), pas d'&amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=1521</id>
		<title>Atelier SysRes SE2a5 2023/2024 E11</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=1521"/>
		<updated>2023-10-02T13:09:47Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : /* 13/09: Création de la VM */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''13/09: Création de la VM''' ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Génération du fichier de configuration:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen-create-image --hostname=Rio --ip=172.26.145.113 --netmask=255.255.255.0 --gateway 172.26.145.254 --bridge=bridgeStudents --dir=/usr/local/xen --password=glopglop&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Lancement de la VM:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen console Rio.cfg&lt;br /&gt;
&lt;br /&gt;
xen console Rio&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Modication de l'interface eth0 dans /etc/network/interfaces: &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eth0&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
address 172.26.145.113/24&lt;br /&gt;
gateway 172.26.145.254 &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configuration ssh, modifications dans /etc/ssh/sshd_config:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
PermitRootLogin yes&lt;br /&gt;
service ssh restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=1519</id>
		<title>Atelier SysRes SE2a5 2023/2024 E11</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=Atelier_SysRes_SE2a5_2023/2024_E11&amp;diff=1519"/>
		<updated>2023-10-02T13:07:30Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : Page créée avec « === '''13/09: Création de la VM''' ===   Génération du fichier de configuration:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt; xen-create-image --hostname=Tokyo --ip=172.26.145.105 --netmask=255.255.255.0 --gateway 172.26.145.254 --bridge=bridgeStudents --dir=/usr/local/xen --password=glopglop &amp;lt;/syntaxhighlight&amp;gt; Lancement de la VM:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt; xen console Tokyo.cfg  xen console Tokyo &amp;lt;/syntaxhighlight&amp;gt; Modication de l'interface eth0 dans /etc/network/interfa... »&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''13/09: Création de la VM''' ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Génération du fichier de configuration:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen-create-image --hostname=Tokyo --ip=172.26.145.105 --netmask=255.255.255.0 --gateway 172.26.145.254 --bridge=bridgeStudents --dir=/usr/local/xen --password=glopglop&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Lancement de la VM:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
xen console Tokyo.cfg&lt;br /&gt;
&lt;br /&gt;
xen console Tokyo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Modication de l'interface eth0 dans /etc/network/interfaces: &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
auto eth0&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
address 172.26.145.105/24&lt;br /&gt;
gateway 172.26.145.254 &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configuration ssh, modifications dans /etc/ssh/sshd_config:&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
PermitRootLogin yes&lt;br /&gt;
service ssh restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=SE2a5_syst%C3%A8me/r%C3%A9seau_2023/2024&amp;diff=1518</id>
		<title>SE2a5 système/réseau 2023/2024</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=SE2a5_syst%C3%A8me/r%C3%A9seau_2023/2024&amp;diff=1518"/>
		<updated>2023-10-02T13:06:48Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : /* Répartition des binômes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= ASR SE2a5 =&lt;br /&gt;
== Répartition des binômes ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Cahier !! Nom machine services !! Nom machine mandataire !! Elève &lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E1 | Cahier n°1]]&lt;br /&gt;
| Dublin&lt;br /&gt;
|&lt;br /&gt;
| DELEPLANQUE Louis&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E2 | Cahier n°2]]&lt;br /&gt;
|berlin&lt;br /&gt;
|&lt;br /&gt;
| EL ABKARI Ahlam&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E3 | Cahier n°3]]&lt;br /&gt;
|alger&lt;br /&gt;
|&lt;br /&gt;
| LAZOUACHE Farid&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E4 | Cahier n°4]]&lt;br /&gt;
|Bruxelles&lt;br /&gt;
|&lt;br /&gt;
| BECUE William&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E5 | Cahier n°5]]&lt;br /&gt;
|paris&lt;br /&gt;
|&lt;br /&gt;
| DESPLACES Baptiste&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E6 | Cahier n°6]]&lt;br /&gt;
|Tokyo&lt;br /&gt;
|&lt;br /&gt;
| MOUSSAOUI Rayane&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E7 | Cahier n°7]]&lt;br /&gt;
|Oslo&lt;br /&gt;
|&lt;br /&gt;
| FIRION Thomas&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E8 | Cahier n°8]]&lt;br /&gt;
|bogota&lt;br /&gt;
|&lt;br /&gt;
| MAROLLEAU Simon&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E9 | Cahier n°9]]&lt;br /&gt;
|kiev&lt;br /&gt;
|&lt;br /&gt;
| BREUVART Jérôme&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E10 | Cahier n°10]]&lt;br /&gt;
|Riga&lt;br /&gt;
|&lt;br /&gt;
| BIOT Tom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E11 | Cahier n°11]]&lt;br /&gt;
|Rio&lt;br /&gt;
|&lt;br /&gt;
| NAIMI Oussama&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E12 | Cahier n°12]]&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| Nom Prénom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E13 | Cahier n°13]]&lt;br /&gt;
|douarnenez&lt;br /&gt;
|&lt;br /&gt;
| GERMOND Bastien&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Etat des machines de projet ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Machine !! Machine annexe !! Elève !! Etat 02/10/2023  |-&lt;br /&gt;
|-&lt;br /&gt;
| zabeth02 || zabeth13 / daedalus ok|| Ahlam EL ABKARI || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;xfce sans les applications&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;&amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; ne peut pas se connecter à distance&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth03 || zabeth16 / daedalus ok|| Rayane MOUSSAOUI || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt; &lt;br /&gt;
|-&lt;br /&gt;
| zabeth04 || zabeth14 / daedalus ok|| Baptiste DESPLACES|| &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;&amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; ne peut pas se connecter à distance&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth05 || || Jérôme BREUVART|| &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;Pas de propagation ansible&amp;lt;/span&amp;gt;,  &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;&amp;lt;code&amp;gt;/root/.ssh/authorized_keys&amp;lt;/code&amp;gt; est un répertoire ...&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth06 || zabeth21 / &amp;lt;code&amp;gt;daedalus&amp;lt;/code&amp;gt; OK || Bastien GERMOND || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth07 || zabeth17 / daedalus OK|| Simon MAROLLEAU|| &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth08 || zabeth20 / daedalus OK|| Thomas FIRION|| &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;OK mais &amp;lt;code&amp;gt;firefox-esr&amp;lt;/code&amp;gt; non installé ?&amp;lt;/span&amp;gt;                &lt;br /&gt;
|-&lt;br /&gt;
| zabeth09 || zabet15/ deadalus OK|| William BECUE|| &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;propagation ansible au mieux partielle (&amp;lt;code&amp;gt;/etc/network/interfaces&amp;lt;/code&amp;gt; à la main ?)&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth10 || || Tom BIOT|| &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;&amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; ne peut pas se connecter à distance&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth11 || || Oussama NAIMI|| &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;pas de propagation ansible&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth12 || || Farid LAZOUACHE|| &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|zabeth28 || zabeth26, zabeth27 || Louis DELEPLANQUE ||&amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;xfce sans les applications&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Machines annexes avec mise à jour &amp;lt;code&amp;gt;daedalus&amp;lt;/code&amp;gt; au 02/10/2023 : zabeth13, zabeth14, zabeth15, zabeth16, zabeth17, zabeth20, zabeth21, zabeth26, zabeth27.&lt;br /&gt;
&lt;br /&gt;
Machines annexes non mises à jour au 02/10/2023 : zabeth18 (&amp;lt;code&amp;gt;/etc/apt/sources.list&amp;lt;/code&amp;gt; OK mais pas de commande &amp;lt;code&amp;gt;apt dist-upgrade&amp;lt;/code&amp;gt; lancée), zabeth19 (idem).&lt;br /&gt;
&lt;br /&gt;
Veillez à ce que le paquetage &amp;lt;code&amp;gt;apparmor&amp;lt;/code&amp;gt; soit désactivé sur toutes les machines.&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
	<entry>
		<id>https://wiki-se.plil.fr/mediawiki/index.php?title=SE2a5_syst%C3%A8me/r%C3%A9seau_2023/2024&amp;diff=1511</id>
		<title>SE2a5 système/réseau 2023/2024</title>
		<link rel="alternate" type="text/html" href="https://wiki-se.plil.fr/mediawiki/index.php?title=SE2a5_syst%C3%A8me/r%C3%A9seau_2023/2024&amp;diff=1511"/>
		<updated>2023-10-02T12:49:15Z</updated>

		<summary type="html">&lt;p&gt;Onaimi : /* Etat des machines de projet */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= ASR SE2a5 =&lt;br /&gt;
== Répartition des binômes ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Cahier !! Nom machine services !! Nom machine mandataire !! Elève &lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E1 | Cahier n°1]]&lt;br /&gt;
| Dublin&lt;br /&gt;
|&lt;br /&gt;
| DELEPLANQUE Louis&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E2 | Cahier n°2]]&lt;br /&gt;
|berlin&lt;br /&gt;
|&lt;br /&gt;
| EL ABKARI Ahlam&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E3 | Cahier n°3]]&lt;br /&gt;
|alger&lt;br /&gt;
|&lt;br /&gt;
| LAZOUACHE Farid&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E4 | Cahier n°4]]&lt;br /&gt;
|Bruxelles&lt;br /&gt;
|&lt;br /&gt;
| BECUE William&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E5 | Cahier n°5]]&lt;br /&gt;
|paris&lt;br /&gt;
|&lt;br /&gt;
| DESPLACES Baptiste&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E6 | Cahier n°6]]&lt;br /&gt;
|Tokyo&lt;br /&gt;
|&lt;br /&gt;
| MOUSSAOUI Rayane&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E7 | Cahier n°7]]&lt;br /&gt;
|Oslo&lt;br /&gt;
|&lt;br /&gt;
| FIRION Thomas&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E8 | Cahier n°8]]&lt;br /&gt;
|bogota&lt;br /&gt;
|&lt;br /&gt;
| MAROLLEAU Simon&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E9 | Cahier n°9]]&lt;br /&gt;
|kiev&lt;br /&gt;
|&lt;br /&gt;
| BREUVART Jérôme&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E10 | Cahier n°10]]&lt;br /&gt;
|Riga&lt;br /&gt;
|&lt;br /&gt;
| BIOT Tom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E11 | Cahier n°11]]&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| Nom Prénom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E12 | Cahier n°12]]&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| Nom Prénom&lt;br /&gt;
|-&lt;br /&gt;
| [[Atelier SysRes SE2a5 2023/2024 E13 | Cahier n°13]]&lt;br /&gt;
|douarnenez&lt;br /&gt;
|&lt;br /&gt;
| GERMOND Bastien&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Etat des machines de projet ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Machine !! Machine annexe !! Elève !! Etat 02/10/2023  |-&lt;br /&gt;
|-&lt;br /&gt;
| zabeth02 || zabeth13 / daedalus ok|| Ahlam EL ABKARI || &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;xfce sans les applications&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;&amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; ne peut pas se connecter à distance&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth03 || zabeth16 / daedalus ok|| Rayane MOUSSAOUI || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt; &lt;br /&gt;
|-&lt;br /&gt;
| zabeth04 || zabeth14 / daedalus ok|| Baptiste DESPLACES|| &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;&amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; ne peut pas se connecter à distance&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth05 || || Jérôme BREUVART|| &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;Pas de propagation ansible&amp;lt;/span&amp;gt;,  &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;&amp;lt;code&amp;gt;/root/.ssh/authorized_keys&amp;lt;/code&amp;gt; est un répertoire ...&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth06 || zabeth21 / &amp;lt;code&amp;gt;daedalus&amp;lt;/code&amp;gt; OK || Bastien GERMOND || &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth07 || zabeth17 / daedalus OK|| Simon MAROLLEAU|| &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth08 || || Thomas FIRION|| &amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;OK mais &amp;lt;code&amp;gt;firefox-esr&amp;lt;/code&amp;gt; non installé ?&amp;lt;/span&amp;gt;                &lt;br /&gt;
|-&lt;br /&gt;
| zabeth09 || || William BECUE|| &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;propagation ansible au mieux partielle (&amp;lt;code&amp;gt;/etc/network/interfaces&amp;lt;/code&amp;gt; à la main ?)&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth10 || || Tom BIOT|| &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;&amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; ne peut pas se connecter à distance&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth11 || || Oussama NAIMI|| &amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;pas de propagation ansible&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| zabeth12 || || Farid LAZOUACHE|| &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|zabeth28 || zabeth26, zabeth27 || Louis DELEPLANQUE ||&amp;lt;span style=&amp;quot;color: orange;&amp;quot;&amp;gt;xfce sans les applications&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Machines annexes avec mise à jour &amp;lt;code&amp;gt;daedalus&amp;lt;/code&amp;gt; au 02/10/2023 : zabeth13, zabeth14, zabeth15, zabeth16, zabeth17, zabeth20, zabeth21, zabeth26, zabeth27.&lt;br /&gt;
&lt;br /&gt;
Machines annexes non mises à jour au 02/10/2023 : zabeth18 (&amp;lt;code&amp;gt;/etc/apt/sources.list&amp;lt;/code&amp;gt; OK mais pas de commande &amp;lt;code&amp;gt;apt dist-upgrade&amp;lt;/code&amp;gt; lancée), zabeth19 (idem).&lt;br /&gt;
&lt;br /&gt;
Veillez à ce que le paquetage &amp;lt;code&amp;gt;apparmor&amp;lt;/code&amp;gt; soit désactivé sur toutes les machines.&lt;/div&gt;</summary>
		<author><name>Onaimi</name></author>
	</entry>
</feed>