Saltar al contenido ForoHackers

Virtualization: start here

Virtualización
#3383 · · Citar · Denunciar

Virtualization lets one physical machine behave like several, each with its own operating system, memory and devices. A layer of software, helped by processor features, shares the hardware and keeps the guests apart. It underlies cloud computing, safe testing labs and consolidation of servers, and it is the easiest way to experiment without risking your own system.

Key concepts

  • Hypervisor: the software that creates and runs virtual machines; it sits on the hardware or inside a host system.
  • Hardware support: processor extensions let guest code run directly while the hypervisor traps privileged operations.
  • Virtual devices: emulated disks and network cards, or paravirtual ones that cooperate with the guest for speed.
  • Memory and CPU sharing: guests get virtual processors and memory the hypervisor maps and may overcommit.
  • Snapshots and images: a machine's disk and state can be saved, cloned and rolled back.

Vocabulary

  • Guest and host: the virtualised system and the one that runs it.
  • Type 1 and type 2: a hypervisor directly on hardware, or one running as a program on an operating system.
  • Paravirtualization: a guest that knows it is virtual and calls the hypervisor for help.
  • Nested virtualization: a virtual machine that itself runs virtual machines.

What to study, in order

  1. Create a virtual machine, install a system in it and take a snapshot before breaking something.
  2. Configure virtual networks: bridged, NAT and an isolated internal one.
  3. Understand how a processor traps privileged instructions, from a computer architecture text.
  4. Script the creation of machines from a template, so a lab can be rebuilt in minutes.
  5. Compare an emulator, a hypervisor and a container on the same task.

Related tags

#containers #cloud #kernels #computer-architecture #homelab

No has iniciado sesión, así que esto se publica como anónimo: no se guarda con ello ninguna cuenta, nombre ni dirección, y no puede llevar enlaces ni imágenes. Inicia sesión o únete para publicar con tu nombre. Los registros de nuestro servidor web guardan la dirección y la hora de cada petición hasta 14 días; para que la tuya no quede en ellos, usa Tor. Para escribir al equipo de forma confidencial, usa el buzón. Firmar como fuente habitual (una clave guardada solo en este navegador)

Enviar tarda unos segundos aquí: tu navegador resuelve antes una prueba de trabajo contra el spam.

Responder