add selfhosting tutorials

This commit is contained in:
oxeo0 2025-05-06 19:51:39 +02:00
parent 95c33c8b41
commit cc3824e6a2
1900 changed files with 32727 additions and 0 deletions

48
virtual/index.md Normal file
View file

@ -0,0 +1,48 @@
# virt-manager setup
In this tutorial we'll setup virt-manager on debian:
## **Initial Setup**
To start with just open up a terminal or ssh into your debian server and run the following commands:
![](prg/0.png)
once that's done we will enable the libvirtd service
![](prg/1.png)
To verify that it is indeed working, we'll start up virt-manager like so:
![](prg/2.png)
And there we have it !
![](prg/3.png)
Now before we create any virtual machine , we'll create the NAT configuration
## **NAT setup**
Run the following command:
![](prg/4.png)
Once that's done we'll create the NAT configuration:
![](prg/5.png) ![](prg/6.png) ![](prg/7.png) ![](prg/8.png)
Once that's done, we are ready to create our virtualized debian machine, Thanks to the NAT configuration we will be able to ssh into it:
## **Debian Virtualisation Example**
Download a debian iso and then do the following:
![](prg/9.png) ![](prg/10.png) ![](prg/11.png)
once that's done just go on installing debian as usual and make sure you install the ssh server on it:
![](prg/12.png) ![](prg/13.png)
And that's it ! we have been able to ssh into our virtual machine inside qemu kvm. Thanks to the NAT configuration, the communication between the host machine and the virtualised one is actually possible. which allowed us to ssh into the machine. without this intermediate step, it is not even possible to ping the host machine, so a ssh connection would be out of question.

BIN
virtual/prg/0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

BIN
virtual/prg/1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
virtual/prg/10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

BIN
virtual/prg/11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
virtual/prg/12.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
virtual/prg/13.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
virtual/prg/14.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

BIN
virtual/prg/15.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

BIN
virtual/prg/16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
virtual/prg/17.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
virtual/prg/18.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

BIN
virtual/prg/2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
virtual/prg/3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
virtual/prg/4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

BIN
virtual/prg/5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
virtual/prg/6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

BIN
virtual/prg/7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
virtual/prg/8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
virtual/prg/9.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB