INSTALLATION D UN ISOLATEUR : LXC (LINUX CONTAINER)
root@serveurMail:~# apt-get update Ign http://ftp.fr.debian.org jessie InRelease Réception de : 1 http://ftp.fr.debian.org jessie-updates InRelease [135 kB] Atteint http://ftp.fr.debian.org jessie Release.gpg Atteint http://ftp.fr.debian.org jessie Release Réception de : 2 http://security.debian.org jessie/updates InRelease [63,1 kB] Réception de : 3 http://ftp.fr.debian.org jessie-updates/main Sources [2 296 B] Réception de : 4 http://ftp.fr.debian.org jessie-updates/main amd64 Packages/DiffIndex [367 Lecture des listes de paquets... Fait root@serveurMail:~# apt-get install lxc Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Les paquets supplémentaires suivants seront installés : debootstrap libapparmor1 libseccomp2 rsync différées (« triggers ») pour libc-bin (2.19-18+deb8u1) ... Traitement des actions différées (« triggers ») pour systemd (215-17+deb8u2) ... root@serveurMail:~# apt-get install bridge-utils libvirt-bin debootstrap Lecture des listes de paquets... Fait Construction de l'arbre des dépendances update-initramfs: deferring update (trigger activated) update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults Traitement des actions différées (« triggers ») pour libc-bin (2.19-18+deb8u1) ... Traitement des actions différées (« triggers ») pour systemd (215-17+deb8u2) ... Traitement des actions différées (« triggers ») pour initramfs-tools (0.120) ... update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
TP LXC
RSI
GRASSA Noureddine
root@serveurMail:~# nano /etc/fstab
cgroup
/sys/fs/cgroup
cgroup
defaults
0
0
root@serveurMail:~# mount /sys/fs/cgroup/ mount: cgroup est déjà monté ou /sys/fs/cgroup est occupé cgroup est déjà monté sur /sys/fs/cgroup/systemd cgroup est déjà monté sur /sys/fs/cgroup/cpuset cgroup est déjà monté sur /sys/fs/cgroup/cpu,cpuacct cgroup est déjà monté sur /sys/fs/cgroup/devices cgroup est déjà monté sur /sys/fs/cgroup/freezer cgroup est déjà monté sur /sys/fs/cgroup/net_cls,net_prio cgroup est déjà monté sur /sys/fs/cgroup/blkio cgroup est déjà monté sur /sys/fs/cgroup/perf_even root@serveurMail:~# lxc-checkconfig Kernel configuration not found at /proc/config.gz; searching... Kernel configuration found at /boot/config-3.16.0-4-amd64 --- Namespaces --Namespaces: enabled Utsname namespace: enabled Ipc namespace: enabled Pid namespace: enabled User namespace: enabled Network namespace: enabled Multiple /dev/pts instances: enabled --- Control groups --Cgroup: enabled Cgroup clone_children flag: enabled Cgroup device: enabled Cgroup sched: enabled Cgroup cpu account: enabled Cgroup memory controller: enabled Cgroup cpuset: enabled --- Misc --Veth pair device: enabled Macvlan: enabled Vlan: enabled File capabilities: enabled Note : Before booting a new kernel, you can check its configuration usage : CONFIG=/path/to/config /usr/bin/lxc-checkconfig
TP LXC
RSI
GRASSA Noureddine
root@serveurMail:~# root@serveurMail:~# lxc-create -n contener1 -t debian -- -r jessie debootstrap est /usr/sbin/debootstrap Checking cache download in /var/cache/lxc/debian/rootfs-jessie-amd64 ... Downloading debian minimal ... I: Retrieving Release I: Retrieving Release.gpg I: Checking Release signature I: Valid Release signature (key id 75DDC3C4A499F1A18CB5F3C8CBF8D6FD518E17E1) I: Retrieving Packages I: Validating Packages I: Resolving dependencies of required packages... I: Resolving dependencies of base packages... I: Found additional required dependencies: acl adduser dmsetup insserv libaudit-common ... I: Configuring isc-dhcp-client... I: Configuring libgssapi-krb5-2:amd64... I: Configuring openssh-client... I: Configuring openssh-sftp-server... I: Configuring openssh-server... I: Configuring libc-bin... I: Configuring systemd... I: Base system installed successfully. Download complete. Copying rootfs to /var/lib/lxc/contener1/rootfs...Generating locales (this might take a while)... fr_FR.UTF-8... done Generation complete. insserv: warning: current start runlevel(s) (empty) of script `checkroot.sh' overrides LSB defaults (S). insserv: warning: current stop runlevel(s) (S) of script `checkroot.sh' overrides LSB defaults (empty). insserv: warning: current start runlevel(s) (empty) of script `checkroot.sh' overrides LSB defaults (S). update-rc.d: error: umountfs Default-Start contains no runlevels, aborting. insserv: warning: current start runlevel(s) (empty) of script `hwclock.sh' overrides LSB defaults (S). insserv: warning: current stop runlevel(s) (0 6 S) of script `hwclock.sh' overrides LSB defaults (0 6). update-rc.d: error: cannot find a LSB script for hwclockfirst.sh Creating SSH2 RSA key; this may take some time ... 2048 0f:04:47:23:fb:ab:20:0d:a0:47:85:34:85:ae:aa:c9 /etc/ssh/ssh_host_rsa_key.pub (RSA) Creating SSH2 DSA key; this may take some time ... 1024 10:e9:56:15:a4:0b:71:b8:ae:4a:9e:ff:9e:fd:52:32 /etc/ssh/ssh_host_dsa_key.pub (DSA) Creating SSH2 ECDSA key; this may take some time ... 256 9e:4b:39:9d:b8:42:b1:8e:0a:1f:76:70:b6:f5:b9:cc /etc/ssh/ssh_host_ecdsa_key.pub (ECDSA) Creating SSH2 ED25519 key; this may take some time ... 256 ae:0f:48:30:f5:21:54:02:99:44:90:1f:4e:5c:4e:61 /etc/ssh/ssh_host_ed25519_key.pub (ED25519) Failed to read /proc/cmdline. Ignoring: Aucun fichier ou dossier de ce type
TP LXC
RSI
GRASSA Noureddine
invoke-rc.d: policy-rc.d denied execution of start. Current default time zone: 'Europe/Paris' Local time is now: Thu Nov 26 09:46:35 CET 2015. Universal Time is now: Thu Nov 26 08:46:35 UTC 2015. Root password is 'qVeE3voK', please change ! root@serveurMail:~# lxc-start -n contener1 systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR) Detected virtualization 'lxc'. Detected architecture 'x86-64'. Welcome to Debian GNU/Linux 8 (jessie)! Set hostname to . Cannot add dependency job for unit dbus.socket, ignoring: Unit dbus.socket failed to load: No such file or directory. [ OK ] Reached target Remote File Systems (Pre). [ OK ] Reached target Paths. Failed to open /dev/autofs: No such file or directory Failed to initialize automounter: No such file or directory [FAILED] Failed to set up automount Arbitrary Executable File Formats File System Automount Point. See 'systemctl status proc-sys-fs-binfmt_misc.automount' for details. Unit proc-sys-fs-binfmt_misc.automount entered failed state. [ OK ] Reached target Encrypted Volumes. [ OK ] Reached target Swap. [ OK ] Created slice Root Slice. [ OK ] Created slice User and Session Slice. [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Listening on Delayed Shutdown Socket. ....... [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Debian GNU/Linux 8 contener1 console contener1 login: root Mot de passe : Linux contener1 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19) 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
root@serveurMail:/var/lib/lxc/contener1# cd rootfs root@serveurMail:/var/lib/lxc/contener1/rootfs# ls bin boot dev etc home lib lib64 media mnt optproc root run sbin selinux srv sys tmp usr var root@contener1:/# init 0 INSTALLATION WEB PANEL root@serveurMail:~# wget http://lxc-webpanel.github.com/tools/install.sh --2015-11-26 09:57:12-- http://lxc-webpanel.github.com/tools/install.sh Résolution de lxc-webpanel.github.com (lxc-webpanel.github.com)… 23.235.43.133 Connexion à lxc-webpanel.github.com (lxc-webpanel.github.com)|23.235.43.133|:80… connecté. requête HTTP transmise, en attente de la réponse… 301 Moved Permanently Emplacement : http://lxc-webpanel.github.io/tools/install.sh [suivant] --2015-11-26 09:57:13-- http://lxc-webpanel.github.io/tools/install.sh Résolution de lxc-webpanel.github.io (lxc-webpanel.github.io)… 23.235.43.133 Réutilisation de la connexion existante à lxc-webpanel.github.com:80. requête HTTP transmise, en attente de la réponse… 200 OK
the device m2 on and off as a check, according to the device manufacturer ... Insert the body of device m2 (control unit) into the small pocket on the bottom of ...
it continues to provide the knowledge you need up to a proficiency level sufficient to pass .... Book contents as a PDF file The entire book is available as a fully searchable ...... Another resource you may want to consult is your hardware's manufac
The lines are not pre-marked because they have to be trimmed as they are put on the canopy; at the X on diagram, using measurements from line chart above.
Installer BayardKids avec un système d'exploitation linux. Frédéric Escallier ([email protected]) ... 2 Installer Adobe air. Télécharger les binaires d'installation.
improve an already outstanding Icon rig, we are following this mantra. The second part .... 39. 3.4 USER CHECK-LIST BEFORE JUMP. 39. 4. SKYHOOK ADDENDUM. 40. 5. ..... Make sure that the kill line is inside the link (picture #3), and that.
Not yet versioned: It is still a work in progress. ...... Just download it and put it in your /etc/init.d/ directory after updating it to fit you needs. On ...... oggenc and lame allow us to specify some extra attributs for our songs, like its title
Jul 6, 2010 - operating system) but, unless the platform is already available, is the e ort worth the time spent with respect to developing under Android ?
How to create music with GNU/Linux. Warning. WORK IN PROGRESS. Permission is granted to copy, distribute and/or modify this document under the terms of ...
H. 12" (30.5 cm) from back of control panel to start of strain relief. A. 30" (76.2 cm) min. cabinet width. B. 1½" (3.8 cm) min. top of cutout to underside of countertop.
â¢Do not try to light any appliance. ..... properly positioned, surface burners may not light and burner .... to help hold the gas orifice spud in the nut driver while.
Remove spring retainer from the cap by pushing against the flat side of the spring retainer. Look at the spring retainer ... 14,500 BTUs Black. 1.18 mm Grill burner.
3. 4. Insert the control unit in the Back pad window. Insert the cutter through the proper routing. 5. 6. Align the cutter hole with that of the closing flap. 7. 8.
Following the center cell seam, separate the parachute into two halves and fold these halves on top of the lower 1/3 portion of the reserve. Place the free bag ...
[NLD]. ⢠Haakt om de sluitstangen van de container. ⢠Trekt zichzelf samen d.m.v. een ingebouwde veer. ⢠Wordt inclusief een discusslot geleverd met vijf sleutels. [FRA]. ⢠S'accroche autour des barres de fermeture du conteneur. ⢠Se serre
(63.5 cm) countertop; front of oven door protrudes 3" (7.6 cm) beyond 24" (61.0 ..... screw for the left rear, right rear, center rear, and center front burner valves ...