User:Madz/Draft/How To Make A File Uploads VM: Difference between revisions

Jump to navigation Jump to search
Added some more stuff
m (fixed things)
(Added some more stuff)
=== Qemu ===
You will need to install Qemu using whatever package manager your distro uses
 
=== CollabVM already setup ===
if you need help with this follow [[UserVM Handbook|this guide]]
 
=== Windows ISO ===
qemu-system-i386 -m 512M -hda vm.qcow2 -device VGA,vgamem_mb=64 -cpu host -accel kvm -M pc -netdev user,id=lan -device rtl8139,netdev=lan -usb -device usb-tablet -rtc base=localtime -monitor stdio -vnc :1 -cdrom image.iso -boot d
</pre>Replace image.iso with your image file name. This command will start qemu and run a vnc server on port 5901.
 
== Adding serial to the VM ==
Ok, you should have Windows installed now with all the programs you want. Now we will add the virtual serial port to the VM.
 
To add serial you will need the drivers for the virtio connector you can download these from [https://computernewb.com/isos/driver/virtio-win-0.1.240.iso Computernewb].
 
=== Add this argument to your VM command ===
<pre>
-device virtio-serial -chardev socket,path=/tmp/uploads.sock,nowait,id=sock,server -device virtserialport,chardev=sock,name=org.fedoraproject.port.0
</pre>then start the VM.
 
== Installing the Agent ==
Next you will need to go to Device Manager (you can access this by right clicking on my computer). Now right click on PCI Simple Communication Controller. Make sure your virtio driver cd is inserted.
81

edits

Navigation menu