-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathubuntu_cvm.sh
18 lines (18 loc) · 1.08 KB
/
ubuntu_cvm.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
apt update
apt install -y libossp-uuid-dev libvncserver-dev libcairo-dev libodb-sqlite-dev qemu qemu-system-x86
wget https://github.com/computernewb/collab-vm-server/releases/download/1.2.10/collab-vm-server-linux-jpeg-amd64.zip
unzip collab-vm-server-linux-jpeg-amd64.zip
rm -rf collab-vm-server-linux-jpeg-amd64.zip
wget https://github.com/ayunami2000/play-with-docker-novnc/raw/main/cvmpublic.zip
unzip cvmpublic.zip
rm -rf cvmpublic.zip
chmod +x ./collab-vm-server
echo open another terminal and wget your preferred iso. samples listed below
echo wget -O iso.iso http://ftp.sh.cvut.cz/slax/Slax-9.x/slax-64bit-9.11.0.iso
echo wget -O iso.iso https://downloads.sourceforge.net/project/archiveos/o/olive/olive-0.2.iso
echo wget -O iso.iso http://tinycorelinux.net/12.x/x86/release/TinyCore-current.iso
echo qemu-system-x86_64 -soundhw hda -boot d -cdrom iso.iso -m 2048 -net nic,model=virtio -net user -rtc base=localtime,clock=host -smp cores=4,threads=4 -usbdevice tablet -vga vmware
echo setup the vm now. when done do ctrl+c to start public
./collab-vm-server 80
./collab-vm-server 80 public