start the project
This commit is contained in:
parent
e1849f8a77
commit
330f4b22e6
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
*.qcow2
|
||||||
25
README.md
25
README.md
|
|
@ -1 +1,26 @@
|
||||||
# ft_chatons
|
# ft_chatons
|
||||||
|
|
||||||
|
## System
|
||||||
|
|
||||||
|
- Debian Stable (13)
|
||||||
|
- VM with 4GO RAM
|
||||||
|
- qemu, img qcow2
|
||||||
|
- only one partition for the system = 20GO max (except /boot)
|
||||||
|
- root password disable (only sudo use)
|
||||||
|
- no graphics
|
||||||
|
- ssh server (root ssh disable and not port 22)
|
||||||
|
- swap file at the root (2GO)
|
||||||
|
- htop and docker installed
|
||||||
|
|
||||||
|
```bash
|
||||||
|
## Create a VM
|
||||||
|
qemu-img create -f qcow2 ft_chatons.qcow2 20G
|
||||||
|
|
||||||
|
## To launch the VM
|
||||||
|
qemu-system-x86_64 \
|
||||||
|
-nographic -serial mon:stdio \
|
||||||
|
-enable-kvm -cpu host -smp 4 -m 4G \
|
||||||
|
-device e1000,netdev=net0 \
|
||||||
|
-drive if=pflash,format=raw,readonly=on,file=/CHEMIN_VERS_LE_FICHIER_OVMF \
|
||||||
|
-hda ft_chatons.qcow2
|
||||||
|
```
|
||||||
|
|
|
||||||
BIN
fr.subject.pdf
Normal file
BIN
fr.subject.pdf
Normal file
Binary file not shown.
Loading…
Reference in a new issue