Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format
PDF et la grise au format ODT →
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
doc:autres:vm:lxc [02/03/2014 17:56] paskal [Introduction] |
doc:autres:vm:lxc [02/03/2014 18:25] paskal [Utilisation] |
||
---|---|---|---|
Ligne 191: | Ligne 191: | ||
==== Se connecter au conteneur ==== | ==== Se connecter au conteneur ==== | ||
- | <code>lxc-console -n myfirstcontainer</code> | + | <code root>lxc-console -n myfirstcontainer</code> |
Le login/mot de passe est //root/root// [[doc:systeme:passwd|à changer à la première connexion]] :-) | Le login/mot de passe est //root/root// [[doc:systeme:passwd|à changer à la première connexion]] :-) | ||
+ | <code>Type <Ctrl+a q> to exit the console, <Ctrl+a Ctrl+a> to enter Ctrl+a itself | ||
+ | |||
+ | |||
+ | Debian GNU/Linux 7 myfirstcontainer tty1 | ||
+ | |||
+ | myfirstcontainer login: root | ||
+ | Mot de passe : | ||
+ | Dernière connexion : dimanche 2 mars 2014 à 16:45:20 CET sur tty1 | ||
+ | Linux myfirstcontainer 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 | ||
+ | |||
+ | The programs included with the Debian GNU/Linux system are free software; | ||
+ | the exact distribution terms for each program are described in the | ||
+ | individual files in /usr/share/doc/*/copyright. | ||
+ | |||
+ | Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent | ||
+ | permitted by applicable law. | ||
+ | root@myfirstcontainer:~# df -h | ||
+ | Sys. fich. Taille Util. Dispo Uti% Monté sur | ||
+ | tmpfs 372M 20K 372M 1% /run | ||
+ | tmpfs 5,0M 0 5,0M 0% /run/lock | ||
+ | tmpfs 1,5G 0 1,5G 0% /run/shm | ||
+ | rootfs 7,7G 6,5G 865M 89% / | ||
+ | root@myfirstcontainer:~# ifconfig eth0 | ||
+ | eth0 Link encap:Ethernet HWaddr 00:ff:12:34:56:79 | ||
+ | inet adr:192.168.1.57 Bcast:192.168.1.255 Masque:255.255.255.0 | ||
+ | adr inet6: fe80::2ff:12ff:fe34:5679/64 Scope:Lien</code> | ||
==== Quitter le conteneur ==== | ==== Quitter le conteneur ==== |