pour un aperçu rapide : VMS - visite guidée pour les impatients
Chaque utilisateur du BTS SIO dispose :
vbclone 1.0.8 vbclone clone une machine virtuelle Virtualbox usage: vbclone [-m memory ] [-o <deb|xp|w2k>] [-p port] [-a] <vmname> -h : this (help) message -o <deb|xp|w2k> : OS type : deb for Debian Squeeze, xp for Windows XP, w2k for Windows 2000 WS (default : deb) -m memory : allocated RAM ( default 256 MB) -p port : port (default : 5000) -a : VM autorun Example: vbclone -m 512 -o deb myvm Pour lancer une vm, taper : vb start <nomvm> Pour arreter une vm, taper : vb halt <nomvm> Pour lister les vm fonctionnant , taper : vb list -r Pour obtenir l'aide concernant la commande vb, taper vb
lulu@debian~$ vbclone -o xp -m 512 -p 7001 -a monxp Virtual machine 'monxp' is created and registered. UUID: 94fea690-a8b2-4348-ab75-267a02f76131 Settings file: '/home/lulu/VirtualBox VMs/monxp/monxp.vbox' 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Clone hard disk created in format 'VDI'. UUID: b76ef9c4-a949-4edd-ae4f-ad5ea2f3ee6e Waiting for VM "monxp" to power on... VM "monxp" has been successfully started.
lulu@debian~$ vb list -r monxp
lulu@debian~$ vb halt monxp 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
lulu@debian~$ vb delete monxp 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
vb Version 1.1.1 Usage: vb COMMAND [options] [arguments] VBoxManage Lite is a Wrapper around VBoxManage for common commands. Commands: list start stop halt reset status delete list lists registered virtual machines -r, --running include only running virtual machines in list -u, --uuid show UUID -s, --status show status start MACHINE starts MACHINE if it is not running -g, --gui open a window on the desktop -b, --background start in the background (default) stop MACHINE stops MACHINE (suspend) halt MACHINE halts MACHINE (power off) reset MACHINE resets MACHINE status MACHINE determine if MACHINE is running delete MACHINE delete MACHINE (if not running) with vdi file Exit Codes (general): 0 Command completed successfully. 1 Virtual machine is already in the requested state. 2 Command failed. 3 Virtual machine doesn't exist. Exit Codes for 'status' command: 0 saved, powered off, aborted 1 paused 2 running 3 not found
Il est possible d'utiliser VirtualBox en mode graphique à distance depuis un poste de travail Windows (XP ou Seven).
c:\users\albert.dupont> putty -X albert.dupont@vms
* une fois connecté, lancer VirtualBox
albert.dupont@vms~$> VirtualBox &