TMD Vision

Avatar

Configuring VirtualBox on a remote server

At TwoMenDesign we are testing and evaluating the VirtualBox virtual machine from Sun. This VM is the youngest one around but nevertheless has a lot to offer.

Creating a virtual machine on a remote Linux server is really easy. I assume that you’ve already installed VirtualBox, or if you haven’t please look here for a tutorial for your Linux distribution. Once you’re set-up it is very straightforward how to create configuration for a virtual machine. The only thing you need is an ISO image of your operating system of choice you want to install into your virtual machine. It may be Linux, Windows or one of the other supported guest OS’s.

Connect to your server either at a local terminal or remote through telnet or ssh. (However you can do this through telnet please don’t. It is not secure!).

To create a new virtual machine enter:

VBoxManage createvm -name “Debian vm” -register

This will create a new ‘.VirtualBox’ directory on your current path containing all configuration files for the new VM.
To modify the settings of the virtual machine enter:

VBoxManage modifyvm “Debian vm” -memory “256MB” -acpi on -boot1 dvd -nic1 nat

This will modify the virtual machine and set its memory, turn ACPI on, use dvd as the boot device and add a network adapter using NAT.
The virtual machine will need a virtual hard disk for its file. The following command creates a virtual disk with a size of 10GB.

VBoxManage createhd -filename “VirtualDisk1.vdi” -size 10000 -register

Add this disk to your virtual machine. In this case you set it up as the first disk (hda).

VBoxManage modifyvm “Debian vm” -hda “VirtualDisk1.vdi”

Now it is time to register your ISO with VirtualBox and add it to the VM. The following commands will do that.

VBoxManage openmedium dvd /home/virtual/myimage.iso

VBoxManage modifyvm “Debian vm” -dvd /home/virtual/myimage.iso

You have now completed the setup of your virtual machine. Start the virtual machine with:

VBoxHeadless -startvm “Debian vm”

You should see a copyright notice of VirtualBox. If you see something else please make sure you’ve entered the right information.
If everything worked fine you can connext with any RDP viewer to your new virtual machine. The RDP port used is visible beneath the copyright information.

On Windows systems you can use the windows Remote Desktop application and on Linux try the following command:

rdesktop -a 16 -N your.server.com

Offcourse your firewall should not block the connection. If everything worked well you should see the installation of your operating system.

If you have any questions please don’t hesitate to ask. For a complete list of commands please see the VirtualBox documentation.

NASA: ‘Vista is onbetrouwbaar’

Dat zegt NASA medewerker Gerard Holzmann tegen Computable. Tijdens de periode die Holzmann werkte bij Bell Labs ontwikkelde hij de OpenSource tool SPIN model checker. Met deze tool kan de betrouwbaarheid van gedistribueerde softwaresystemen worden getest en geverifieerd. Tegenwoordig leidt Holzmann het NASA JPL Laboratory for Reliable Software.

Volgens Holzmann bestaat Vista uit teveel coderegels. “Hierdoor is het onmogelijk om een betrouwbaar en voorspelbaar systeem te maken”. Ook neemt Vista teveel geheugen in voor eigen gebruik, en laat te weinig over voor gebruikersapplicaties. Gemiddelde computergebruikers zullen hier echter weinig van merken. Echter, voor zware en gevorderde gebruikers is dit niet acceptabel.

“Ook Microsoft is aan het ontdekken dat ze een grens bereikt hebben: veel klanten laten Vista links liggen en blijven XP gebruiken”. Voor zover Holzmann weet is dat nog nooit eerder op zo’n grote schaal gebeurd.

Na de lancering van Vista heeft Linux alleen maar marktaandeel gewonnen. Steeds meer organisaties stappen, zowel voor server als desktop, over op Linux/Unix gebasseerde systemen. Ook Apple’s OSX (Unix gebasseerd) profiteert hiervan. De trend verlegt zich ook steeds meer richting OpenSource in het algemeen. OpenSource software is over het algemeen betrouwbaarder, kleiner en word op grote schaal ondersteund door een levendige community van toegewijde professionals. Door het open karakter is het ook mogelijk een kijkje te nemen onder de motorkap van een applicatie. “Je hoeft niet meer blindelings te geloven in de software die iemand aan je verkoopt zonder je te vertellen hoe het werkt”, aldus Holzmann.

Eerder bleek ook al dat software-ontwikkelaars nog steeds gericht ontwikkelen op XP. Slechts 8% ontwikkeld applicaties speciaal voor Vista. Ook werd eerder de voorspelling gedaan dan veel bedrijven en organisaties Vista links laten liggen en wachten op de opvolger. Deze voorspelling lijkt langzamerhand bewaarheid.

[Naar een artikel uit Computable 25]

Geen water bij de Wine!

Eindelijk is het dan zo ver. Na een ontwikkeltraject van ruim vijftien jaar komt van het compatibiliteitsprogramma Wine eindelijk een 1.0 release uit.

Met Wine kunnen Microsoft Windows en Dos applicaties onder Linux gedraait worden. Het programma is al zeer lang in staat succesvol duizenden Windows applicaties te draaien. Echter, niet alles was foutloos. De reden dat versie 1.0 zo lang op zich liet wachten is te wijten aan Microsoft. Documentatie van Windowscomponenten wordt uiteraard achtergehouden en is niet beschikbaar voor het grote publiek. D.m.v. reverse engineering van alle Windows componenten is het Wine team er nu na vijftien jaar in geslaagd voldoende code herbouwd te hebben voor een stabiele release.

Deze nieuwe release betekend niet dat alle Windows applicaties probleemloos zullen draaien onder Linux. Vooral applicaties die gebruikmaken van nieuwe Windowstechnologie kunnen voor problemen zorgen. Ook is de DirectX implementatie van Wine niet foutloos.

Desalniettemin is de 1.0 release zeer stabiel voor éénieder die gewone Windows applicaties wil draaien, zoals Office.

Officiële website

Office in Wine

,

TwoMenDesign

Bezoek ook eens TwoMenDesign.nl