Open cubesky opened 6 years ago
This is my install process, the stated process in the release didn't work for me:
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install nginx
wget wok.deb
wget kimchi.deb
sudo systemctl stop nginx
sudo dpkg -i wok.deb
sudo apt-get install -f
sudo systemctl stop nginx wokd
sudo dpkg -i kimchi.deb
sudo apt-get install -f
sudo reboot now
Once this is done, point your browser to https://localhost:8001 and you should get the Wok login screen. Type your user and password (the user that you typically use to log in to the machine) and you should see a "Virtualization" tab on top. That's where everything is involving Kimchi.
To add an iso file, go to the "Storage" section and hit the arrow at "Disks". Then hit the "Actions" button that pops up, hit "Add Volume".
Once done, head over to the "Templates" tab and hit "Add Template" to create a template for creating VMs (known as "Guests").
NOTE: Don't use special characters (@#$%()[]) or spaces in the names you use in Kimchi. They just cause problems.
NOTE: If you uploaded a file you will see an error stating "QEMU does not have permission" and will be unable to select the iso you uploaded. Instead, use the file path prompt for the first time use of the iso (eg. /var/lib/kimchi/isos/ubuntu17.10.iso
).
You may then add a guest by clicking the template you created.
Then start your machine! Voila!
NOTE: If you have a touchscreen laptop or other touchscreen device you want to use to operate the Console of your machine, you will end up having issues with the mouse vs touchscreen. To fix this, I updated noVNC to a version beyond what is supported by Ubuntu Package Manager.
You can do this by first marking novnc
not to update since you will be changing files used by it:
sudo apt-mark hold novnc
Then running the following commands in succession:
cd /usr/share/novnc
sudo mkdir old
sudo mv ./* ./old
sudo apt-get install git
sudo git clone https://github.com/novnc/noVNC.git
sudo mv ./noVNC/* ./
sudo rm -r noVNC/
sudo mv vnc.html vnc_auto.html
You will require git
if you don't have it.
Done! Hope this helps! If it does, please spread the word.
Libvirt is being blocked by AppArmor:
libvirt: Security Driver error : internal error: cannot load AppArmor profile 'libvirt-40229d38-c8cb-4238-8d6b-0507fc466873'
Try to add
/var/lib/libvirt/images/* r,
to /etc/apparmor.d/abstractions/libvirt-qemu
and then `systemctl restart apparmor.service``
Details at: https://github.com/coreos/bugs/issues/2083#issuecomment-338601550
There is also new packages available https://github.com/kimchi-project/kimchi/releases/tag/3.0.0 that were tested on Debian 10
I installed Wok and Kimchi on Ubuntu 17.10 .
But Kimchi Tab missing.
Here is my error log.
wok-error.log
service wokd status
virsh pool-list
wokd --environment=dev
Libvirtd Version 3.6.0 from
libvirt-bin