From 2c6834198690a97e53a7f4737c4a5ae5adad347d Mon Sep 17 00:00:00 2001 From: Tristan PILAT Date: Tue, 5 Mar 2019 11:06:15 +0100 Subject: [PATCH] =?UTF-8?q?Add=20LXC=20installation=20d=C3=A9tails=20part?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index f870ce5..7037bf3 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,34 @@ TODO ### Conteneurs LXC (Multi PHP) +Installer le paquet nécessaire : + +~~~ +apt install lxc +~~~ + +Modifier la configuration de LXC : + +~~~ +# cat /etc/lxc/default.conf + +# Set the default network virtualization method. +lxc.network.type = none + +# Mount /home into containers. +# lxc.mount.entry = /home home none bind 0 0 + +# Only one tty is enough. +# This require that you disabled others tty ([2-6]) in systemd. +lxc.tty = 1 + +# Run 64bits containers +lxc.arch = x86_64 + +# Start containers on boot by default +lxc.start.auto = 1 +~~~ + #### PHP 5.6 On installe un conteneur Debian Jessie :