Poszukuję jakiegoś prostego rozwiązania - na początek do zabawy/nauki/testów pozwalającego wirtualizować system. Jedynym ograniczeniem jest tutaj tryb konsolowy, tzn. na hoście jest tylko tryb tekstowy, i nie ma mowy o instalacji trybu graficznego.
Wymagania:
-możliwość definiowania wirtualnych dysków w formie 1 pliku,
-jedna wirtualna maszyna kilka adresów IP,
-instalacja systemów z trybem graficznym i dostęp przez vnc (np: virtual 1: port 91, virtual2:port 92 itd.).
Prosiłbym o rady i sugestie na co zwrócić uwagę. Z góry dziękuję!
hmm jest drobny problem, zainstalowałem nowe jądro, moduły są, VB skonfigurowany raczej dobrze i po uruchomieniu przez Headless nie ma dostępu zdalnego.
Próbowałem z przełącznikami:
VBoxManage modifyvm --vrde on
zmieniłem port na 5001
VBoxManage modifyvm --vrdeport 5001
patrząc po screenach ztej strony powinien po uruchomieniu pojawić się napis “Listening on port…” i powinien faktycznie na nim nasłuchiwać.
Nmap nie pokazuje żadnych otwartych portów (poza standardowymi) - iptables wyłączone, a napisu że nasłuchuje nie ma tylko widać że wirtual sie odpalił - po uzyciu ramu i procesorze i stoi na:
root@extended:/var/www/vb/Ubuntu# VBoxHeadless --startvm "Ubuntu 10.10"
Oracle VM VirtualBox Headless Interface 4.0.12
(C) 2008-2011 Oracle Corporation
All rights reserved.
^C
root@extended:/var/www/vb/Ubuntu# VBoxManage showvminfo "Ubuntu 10.10"
Name: Ubuntu 10.10
Guest OS: Other/Unknown
UUID: bf17450d-babf-4643-8a0c-2bf567f43d9d
Config file: /var/www/vb/Ubuntu/Ubuntu 10.10/Ubuntu 10.10.vbox
Snapshot folder: /var/www/vb/Ubuntu/Ubuntu 10.10/Snapshots
Log folder: /var/www/vb/Ubuntu/Ubuntu 10.10/Logs
Hardware UUID: bf17450d-babf-4643-8a0c-2bf567f43d9d
Memory size: 1024MB
Page Fusion: off
VRAM size: 8MB
HPET: off
Chipset: piix3
Firmware: BIOS
Number of CPUs: 1
Synthetic Cpu: off
CPUID overrides: None
Boot menu mode: message and menu
Boot Device (1): Floppy
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI: on
IOAPIC: off
PAE: off
Time offset: 0 ms
RTC: local time
Hardw. virt.ext: on
Hardw. virt.ext exclusive: on
Nested Paging: on
Large Pages: off
VT-x VPID: on
State: aborted (since 2011-07-17T16:31:15.706000000)
Monitor count: 1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Storage Controller Name (0): HDD
Storage Controller Type (0): PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0): 2
Storage Controller Port Count (0): 2
Storage Controller Bootable (0): on
HDD (0, 0): /var/www/vb/Ubuntu/Ubuntu_10.10.vdi (UUID: 44a6de8a-18a1-4311-ad64-e5d5e05cc5a6)
HDD (0, 1): /var/www/vb/Ubuntu/Lamparcik_i386_10.04PL.iso (UUID: 8fda8a2b-208f-4bd0-b1ce-9f3672a18b42)
NIC 1: MAC: 080027ABA220, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0
NIC 1 Settings: MTU: 0, Socket( send: 64, receive: 64), TCP Window( send:64, receive: 64)
NIC 2: disabled
NIC 3: disabled
NIC 4: disabled
NIC 5: disabled
NIC 6: disabled
NIC 7: disabled
NIC 8: disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1: disabled
UART 2: disabled
Audio: disabled
Clipboard Mode: Bidirectional
VRDE: enabled (Address 0.0.0.0, Ports 5001, MultiConn: off, ReuseSingleConn: off, Authentication type: null)
Video redirection: disabled
USB: disabled
USB Device Filters:
Available remote USB devices:
Currently Attached USB Devices:
Shared folders:
VRDE Connection: not active
Clients so far: 0
Guest:
OS type: Other
Additions run level: 0
Configured memory balloon size: 0 MB