Advertisement
SuperKubaGaming

FREE VPS/RDP 11 GB GITHUB CODESPACES

Apr 26th, 2024 (edited)
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. sudo apt update
  2. sudo apt install qemu-kvm wget git -y
  3. git clone https://github.com/novnc/noVNC.git
  4. wget -O win.iso "https://go.microsoft.com/fwlink/p/?LinkID=2195404&clcid=0x409&culture=en-us&country=US"
  5. qemu-img create -f raw win.img 32G
  6. cat <<EOF > win.sh
  7. sudo qemu-system-x86_64 -m 11G -smp 4 -cpu host -boot order=c -drive file=win.iso,media=cdrom -drive file=win.img,format=raw -device usb-ehci,id=usb,bus=pci.0,addr=0x4 -device usb-tablet -vnc :0 -smp cores=4 -device e1000,netdev=n0 -netdev user,id=n0 -vga qxl -accel kvm &
  8. ./noVNC/utils/novnc_proxy
  9. EOF
  10. chmod +x win.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement