On Fri, 03 Dec 2010 22:59:09 +0100, Lars Bjørndal wrote:
I have a Fedora 13 system running as a server. I need to run a
machine on that server, with console access only for a special purpose.
What's the easiest way to create and run such a setup? And how can I
connect to it from the console? Is a livecd image suitable for this?
qemu-img create -fqcow2 image.qcow2 8G
qemu-kvm -smp APPROPRIATE#ofVIRTUALCPUS -vga vmware -drive
file=image.qcow2,index=0,media=disk,cache=writeback -m 1024 -net nic -net tap -serial
stdio -vnc :10
first time for installation also with: -cdrom Fedora-14-x86_64-DVD.iso -boot d
And when you need console access there:
ssh -L 5910:localhost:5910 server
I do not think LiveCD brings any benefits over some minimal "disk" install and
thus it is offtopic for this list.
Easily scriptable, everything pre-installed or installable by yum.
For GUI there is virt-manager but I find the commandline easier.