Пријава


Да ли сте заборавили лозинку?
prijatelji LUGoNSa
gnu.gif
linuxzasve.jpg
hulk.jpg
zextras_logo.png
 
Налазите се овде: Дом / Uputstva / Opšte / VirtualBox Headless

VirtualBox Headless

аутор: milobit Последња измена 14:24 08.10.2009.

 

Ubaciti u use.conf

app-emulation/virtualbox-bin headless

barbossa ~ # paludis -i virtualbox-bin

 

barbossa ~ # modporbe vboxdrv
barbossa ~ # modprobe xnetflt


dodati module
vim /etc/conf.d/modules

modules="vboxdrv"
modules="vboxnetflt"

 

barbossa ~ # gpasswd -a milobit vboxusers

Da mozemo kao korisnik da startujemo virtualnu masinu

milobit@barbossa ~ $ VBoxManage createvm --name asterisk --register
VirtualBox Command Line Management Interface Version 2.2.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved. Virtual machine 'asterisk' is created and registered.
UUID: 69c45368-4251-424e-be6e-569bf24db067
Settings file: '/home/milobit/.VirtualBox/Machines/asterisk/asterisk.xml'

milobit@barbossa ~ $

 

milobit@barbossa ~ $ VBoxManage modifyvm asterisk -memory "1024MB" -acpi on --ioapic on --vtxvpid on -boot1 dvd -nic1 bridged  --bridgeadapter1 eth0 --hwvirtex on --nestedpaging on --pae on
VirtualBox Command Line Management Interface Version 2.2.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

milobit@barbossa ~ $

 

milobit@barbossa ~ $ VBoxManage showvminfo asterisk
VirtualBox Command Line Management Interface Version 2.2.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

Name:            asterisk
Guest OS:        Other/Unknown
UUID:            69c45368-4251-424e-be6e-569bf24db067
Config file:     /home/milobit/.VirtualBox/Machines/asterisk/asterisk.xml
Memory size:     1024MB
VRAM size:       8MB
Boot menu mode:  message and menu
ACPI:            on
IOAPIC:          on
PAE:             on
Time offset:     0 ms
Hardw. virt.ext: on
Nested Paging:   on
VT-x VPID:       on
State:           powered off (since 2009-05-16T14:10:16.000000000)
Monitor count:   1
3D Acceleration: off
Floppy:          empty
SATA:            disabled
IDE Controller:  PIIX4
DVD:             empty
NIC 1:           MAC: 0800278949D6, Attachment: Bridged Interface 'eth0',
Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed:
0 Mbps
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
UART 1:          disabled
UART 2:          disabled
Audio:           disabled (Driver: Unknown, Controller: Unknown)
Clipboard Mode:  Bidirectional
VRDP:            disabled
USB:             disabled

USB Device Filters: <none>
Shared folders:  <none>
Guest:
Statistics update:                   disabled

milobit@barbossa ~ $

 

 

milobit@barbossa ~ $ VBoxManage createhd --filename "asterisk.vdi" --size 10000 --remember
VirtualBox Command Line Management Interface Version 2.2.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Disk image created. UUID: 8071ceb4-bac1-4c77-bb59-f2f1fd1ea7fb

milobit@barbossa ~ $

 

milobit@barbossa ~ $ VBoxManage modifyvm "asterisk" --hda "asterisk.vdi"
VirtualBox Command Line Management Interface Version 2.2.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

milobit@barbossa ~ $

 

 

milobit@barbossa ~ $ wget http://puzzle.dl.sourceforge.net/sourceforge/asteriskathome/trixbox-2.6.2.2.iso



milbit@barbossa ~ $ VBoxManage modifyvm asterisk --dvd /home/milobit/trixbox-2.6.2.2.iso
VirtualBox Command Line Management Interface Version 2.2.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

milobit@barbossa ~ $

 

milobit@barbossa ~ $ VBoxHeadless -s asterisk
VirtualBox Headless Interface 2.2.2
(C) 2008-2009 Sun Microsystems, Inc.
All rights reserved.

Listening on port 3389

 

 

milobit@tortuga ~ $ rdesktop -a 16 barbossa

 

milobit@barbossa ~ $ VBoxManage modifyvm asterisk -memory "1024MB" -acpi on --ioapic on --vtxvpid on -boot1 disk -nic1 bridged  --bridgeadapter1 eth0 --hwvirtex on --nestedpaging on --pae on
VirtualBox Command Line Management Interface Version 2.2.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

milobit@barbossa ~ $


VBoxManage controlvm <vm> reset

VBoxManage controlvm <vm> poweroff

VBoxManage controlvm <vm> savestate

 

Дејства на документ

« јун 2022 »
јун
поутсрчепесуне
12345
6789101112
13141516171819
20212223242526
27282930
lugons projekti

bal2con

Kako postati haker

tor.lugons.png

slackbook.png

gentoo_handbook

machine

BARBOSSA