在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:kimchi开源软件地址:https://gitee.com/mirrors/kimchi开源软件介绍:What is Kimchi?Kimchi is an HTML5 based management tool for KVM. It is designed to make it aseasy as possible to get started with KVM and create your first guest. Kimchi runs as a Wok plugin. Kimchi manages KVM guests through libvirt. The management interface is accessedover the web using a browser that supports HTML5. Getting StartedThe latest packages available can be found at https://github.com/kimchi-project/kimchi/releases/latest
If you prefer to install Kimchi from source code, follow the steps below! JFrog RepositoriesThanks to the initiative from JFrog and Google Cloud Platform to host our open source project for free, you can knowuse the JFrog Repositories to install Kimchi and Wok. You may not find the packages in some distributions yet, we are working to make it available to all distributions. Check all the available repositories here:
Install DependenciesFirst of all, make sure to Wokinstalled in your system. To add Kimchi plugin, please make sure to have all the dependencies installedbefore starting up the wokd service. FedoraDevelopment Dependencies sudo dnf install -y gcc make autoconf automake git python3-pip python3-requests python3-mock gettext-devel rpm-build libxslt gcc-c++ python3-devel python3-pep8 python3-pyflakes rpmlint python3-pyyamlsudo -H pip3 install -r requirements-dev.txt Runtime Dependencies sudo dnf install -y python3-configobj python3-lxml python3-magic python3-paramiko python3-ldap spice-html5 novnc qemu-kvm python3-libvirt python3-pyparted python3-ethtool python3-pillow python3-cherrypy python3-libguestfs libvirt libvirt-daemon-config-network iscsi-initiator-utils libguestfs-tools sos nfs-utilssudo -H pip3 install -r requirements-FEDORA.txt Debian / UbuntuDevelopment Dependencies sudo apt install -y gcc make autoconf automake git python3-pip python3-requests python3-mock gettext pkgconf xsltproc python3-dev pep8 pyflakes python3-yamlsudo -H pip3 install -r requirements-dev.txt Runtime Dependencies sudo apt install -y python3-configobj python3-lxml python3-magic python3-paramiko python3-ldap spice-html5 novnc qemu-kvm python3-libvirt python3-parted python3-ethtool python3-guestfs python3-pil python3-cherrypy3 libvirt0 libvirt-daemon-system libvirt-clients nfs-common sosreport open-iscsi libguestfs-tools libnl-route-3-devsudo -H pip3 install -r requirements-UBUNTU.txt openSUSE LEAPDevelopment Dependencies sudo zypper install -y gcc make autoconf automake git python3-pip python3-requests python3-mock gettext-tools rpm-build libxslt-tools gcc-c++ python3-devel python3-pep8 python3-pyflakes rpmlint python3-PyYAML python3-distrosudo -H pip3 install -r requirements-dev.txt Runtime Dependencies sudo zypper install -y python3-configobj python3-lxml python3-magic python3-paramiko python3-ldap spice-html5 novnc qemu-kvm python3-libvirt-python python3-ethtool python3-Pillow python3-CherryPy python3-libguestfs parted-devel libvirt libvirt-daemon-config-network open-iscsi guestfs-tools nfs-client gcc python3-develsudo -H pip3 install -r requirements-OPENSUSE-LEAP.txt Build and Installsudo ./autogen.sh --systemmake# Optional if running from the source treesudo make install# Or, to make installable .deb packagesmake deb# Or, for RPM packagesmake rpm If you are looking for stable versions, there are some packages available at https://github.com/kimchi-project/kimchi/releases Testingmake check-localsudo make check After all tests are executed, a summary will be displayed containing anyerrors/failures which might have occurred. UsageConnect your browser to https://localhost:8001. You should see a screen like: By default, wok uses PAM to authenticate users so you can log in with the same usernameand password that you would use to log in to the machine itself. Once logged inyou will see a screen like: This shows you the list of running guests including a live screenshot ofthe guest session. You can use the action buttons to shutdown the guestsor connect to the display in a new window. To create a new guest, click on the "+" button in the upper right corner.In Kimchi, all guest creation is done through templates. You can view or modify templates by clicking on the Templates link in thetop navigation bar. The template screen looks like: From this view, you can change the parameters of a template or create anew template using the "+" button in the upper right corner. To create a template, you need an ISO or image file on your host or use a remote one.If you are willing to use your own ISO, please copy it to out of box storagepool (default path is: /var/lib/kimchi/isos). TroubleshootingServer accessPlease, check Wok configurationif you are getting problems to access Wok server. Missing Virtualization tabIf you follow all the steps to get Wok and Kimchi running and even though you can not seethe virtualization tab, it means something went wrong. You can get more details about it when running wok with sudo python3 /usr/bin/wokd --environment=dev There will be a message like: Failed to import plugin wok.plugins.kimchi.Kimchi, error: XXX If the log shows details of a missing dependency, like this: Failed to import plugin wok.plugins.kimchi.Kimchi, error: No module named 'ipaddr' You have to install this dependency manually due to changes in upstream. For that change ${RELEASE_NUMBER} to your version of the release: sudo -H pip3 install https://github.com/kimchi-project/kimchi/raw/${RELEASE_NUMBER}/requirements-FEDORA.txt NFS storage poolPlease, check the NFS export path permission is configured like below:
Contributing to Kimchi ProjectThere are a lof of ways to contribute to the Kimchi Project:
Find more information about Wok Project at https://github.com/kimchi-project/kimchi/wiki |
请发表评论