Linux Format

Virtualise your world

We avoid existentia­l angst by spinning up another virtual version of Linux with the help of a deep-learning simulation of Jonni Bidwell on

-

Virtualisa­tion has been around since the mainframes of the 60s, where the activities of one program were separated from another. Later, IBM’s CP-40 introduced the notion of a hypervisor and the ability to run multiple OSes concurrent­ly.

Virtualisa­tion proper took off in earnest in the mid-2000s, when 64-bit processors appeared with explicit features for running guest OSes more efficientl­y. Being able to virtualise machines (in theory) made sysadmins’ lives much easier. Whole systems could be snapshotte­d, backed up and restored as easily as files. Critical updates could be tested in a virtual sandbox, which vastly reduced the possibilit­y of things catching fire when they were rolled out to physical systems. Multiple VMs could exist on the same system, yet for all intents and purposes be isolated from one another, improving security and efficiency. Home users as well could enjoy the benefits of trying out this “Lye-nux” thing without risking ruination of their incumbent OS.

The hardware has evolved even more since, and you can now pass whole devices to virtual machines (VMs). This makes possible, among other things, running a Windows VM with its own fully accelerate­d, dedicated graphics card.

After VMs came containers, which rather than implementi­ng a whole OS re-use the host’s kernel and contain just the bits needed to run a particular service or set of services. This enables them to ship with the libraries they require, obviating the problem of conflictin­g versions when software is installed on a different machine. This makes them more portable than VMs, and to some extent offers a similar level of isolation.

Docker is the industry posterchil­d here, but there’s more to containers than a single company. Snaps and Flatpaks (see

our tutorial on page 72) leverage container technology and are already being used in the stead of traditiona­l packages. This means developers can easily build and rapidly ship distro-agnostic packages, rather than waiting for distro packagers to include their software in the next release.

So whether you want to try out Hannah Montana Linux in a safe environmen­t, or instantiat­e an entire LAMP stack on your server with a single command, read on!

 ??  ??
 ??  ??

Newspapers in English

Newspapers from Australia