50
edits
Changes
no edit summary
<code>criu</code> is an utility to checkpoint/restore a process tree. This page describes manual installationhow to manually build and install prerequisites and the tool itself.
{{Note|Most probably you don't need manual installation, but rather [[Packages]] for your distro.}}
== Tools installation Prerequisites ==
Linux kernel v3.11 or newer is required, with some specific options set. If your distribution does not provide needed kernel, you might want to compile one yourself. Note we also have our [[custom kernel]], which might contain some experimental CRIU related patches.
(welcome to Kconfig reverse chains hell).
The following options should must be enabled for CRIU to work:
; <code>CONFIG_CHECKPOINT_RESTORE</code>
: Networking support -> Networking options -> Network testing -> Packet generator
===iproute2===
The iproute2 tool version 3.5.0 or higher is needed for dumping network namespaces.
The latest one can be cloned from [http://git.kernel.org/?p=linux/kernel/git/shemminger/iproute2.git;a=summary iproute2]. It should be compiled and a path to ip written in the environment variable <code>CR_IP_TOOL</code>.
== Building CRIU From Source == Get the latest release:{{Out|{{Latest release}}}} Alternatively, use [http://git.criu.org/?p=criu.git;a=summary git.criu.org] git repository. Clone this repo to test new functionality. Then run <code>make</code> in the sources root. Please note that the tool only supports x86_64 and ARM architectures. == Checking how it works That It Works ==
First thing to do is to run