slides.md 501 Bytes
Newer Older
xavki's avatar
init  
xavki committed
1 2 3 4 5 6 7 8
%title: KVM
%author: xavki


# KVM : Installation


<br>
xavki's avatar
fix br  
xavki committed
9 10


xavki's avatar
init  
xavki committed
11 12 13 14 15 16 17 18 19
* check de compatibilité

```
grep -E -c "vmx|svm" /proc/cpuinfo
sudo apt install -y cpu-checker
kvm-ok
```

<br>
xavki's avatar
fix br  
xavki committed
20 21


xavki's avatar
init  
xavki committed
22 23 24 25 26 27 28 29 30 31 32 33 34
* installation

```
sudo apt install -y qemu qemu-kvm libvirt-daemon bridge-utils virt-manager virtinst
```

* check module kernel

```
lsmod | grep -i kvm
```

<br>
xavki's avatar
fix br  
xavki committed
35 36


xavki's avatar
init  
xavki committed
37 38 39 40 41
* start libvirtd

```
sudo systemctl start libvirtd
sudo systemctl enable libvirtd --now
xavki's avatar
add 2  
xavki committed
42 43 44 45 46 47 48
```

* pour de meileure performance

```
sudo modprobevhost_net
```