-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the compiled-collab-vm-server-win wiki!
If you are speedrunning and know all of this here is a quick guide:
- Run openport.bat
- Run the other bat files (isos) you want to install.
- Start collab-vm-server, start openport.
qemu-img create -f qcow2 name.qcow2 20G- Login to the admin panel, go to the start command.
C:\\qemu\\qemu-system-x86_64 -cdrom C:\\XP.iso -hda C:\\xp.qcow2 -m 512 -usbdevice tablet- Install VM.
qemu-img create -f qcow2 -b yourimage.qcow2 -F qcow2 newsnapshot.qcow2- Replace VM image.
Download this repo and extract it somewhere.
Open the command prompt and type collab-vm-server <port> replacing with your port.
If you would like to install openport and qemu, run the batch file called openport.bat, which will download latest.exe (openport) and the QEMU setup. It's easier to just install QEMU to the root drive.
Make a new shortcut that is just openport <port> replacing with your port. Save it and launch it, this will make a new tunnel.
After some time you would get a link, when you open it after a couple seconds you will get another message saying "port is open" and another link (CollabVM). After this, you can keep going to the second link until openport restarts, then you will have to go to the first link again.
Login to the admin panel by adding /admin to the URL. The password is collabvm. Change the master password and then just do what you want.
Open the command prompt wherever you installed qemu and type this in: qemu-img create -f qcow2 <name>.qcow2 <size of drive, for example 20G>
Change the name (no spaces) and the display name. If you have more than 1 VM change the VNC Port and the QMP Port by 1
The start command is what runs the VM. It can be simple but also complicated. An example of a start command would be C:\\qemu\\qemu-system-x86_64 -cdrom C:\\XP.iso -hda C:\\xp.qcow2 -m 512 -usbdevice tablet List of most of them:
You can use these arguments: also (o) stands for optional
-cdrom: iso file
-hda: hard disk file
-m: memory in mb
-usbdevice: you should keep it at usb-tablet
-enable-kvm(o): fast vm (Or alternatively, -accel tcg,thread=multi if you are not going to use x86 or have no hardware acceleration at all, this enables multi-threaded TCG)
-cpu(o): you should keep it at host
-boot(o): check below for parameters, and menu=on to display boot menu on boot
-net: you should keep it at user
-boot Parameters
a: boot from floppy
c: boot from drive
d: boot from cd
n: boot from rom
Remember to use double slashes because there is a glitch. Save your VM.
This is the fun or not fun part. Press your VM, and press Start. Wait for the moment of truth.
If it goes from Starting to Running, you did it!
If it goes from Starting to Stopped, you did something wrong.
If you did something wrong check in the collab-vm-server console. If it says something about No connection could be made because the target machine actively refused it QEMU didn't start. If that's not it try running the start command in the command prompt and check for errors there.
Go into the VM, double click your name (it may take more than a click) and enter the admin panel password.
When you are installing the VM, you should have turns off. When you are done installing the VM stop it, and back in the QEMU terminal type this: qemu-img create -f qcow2 -b <yourimage>.qcow2 -F qcow2 <newsnapshot>.qcow2 Replace the disk in the start command with the new one. Also turn on votes enabled.