Skip to content

Instantly share code, notes, and snippets.

@fritsstegmann
Last active June 25, 2021 22:34
Show Gist options
  • Save fritsstegmann/c5dc1bf0c3fd17441dac49ca8ba940ba to your computer and use it in GitHub Desktop.
Save fritsstegmann/c5dc1bf0c3fd17441dac49ca8ba940ba to your computer and use it in GitHub Desktop.

Revisions

  1. fritsstegmann revised this gist Apr 27, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Install Kimchi on Ubuntu
    Original file line number Diff line number Diff line change
    @@ -53,4 +53,4 @@ rm -rf kimchi-3.0.0

    systemctl daemon-reload
    systemctl enable wokd
    systemctl start wokd
    systemctl restart wokd
  2. fritsstegmann created this gist Apr 27, 2020.
    56 changes: 56 additions & 0 deletions Install Kimchi on Ubuntu
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,56 @@
    cd ~

    apt install -y python3-pip gcc make autoconf automake git python3-pip python3-requests \
    python3-mock gettext pkgconf xsltproc python3-dev pep8 pyflakes python3-yaml systemd \
    logrotate python3-psutil python3-ldap python3-lxml python3-websockify python3-jsonschema \
    openssl nginx python3-cherrypy3 python3-pam python-m2crypto gettext python3-openssl \
    python3-configobj python3-lxml python3-magic python3-paramiko python3-ldap spice-html5 \
    novnc qemu-kvm python3-libvirt python3-parted python3-guestfs python3-pil python3-cherrypy3 \
    libvirt0 libvirt-daemon-system libvirt-clients nfs-common sosreport open-iscsi libguestfs-tools \
    libnl-route-3-dev

    pip3 install distro
    pip3 install cheetah3

    wget https://github.com/kimchi-project/wok/archive/3.0.0.tar.gz
    tar xfzv 3.0.0.tar.gz
    rm 3.0.0.tar.gz

    cd wok-3.0.0
    sudo ./autogen.sh --system
    make
    sudo make install
    make deb

    dpkg -i wok-3.0.0-0.ubuntu.noarch.deb

    pip3 install -r requirements-dev.txt

    cd ~

    rm -rf wok-3.0.0

    wget https://github.com/kimchi-project/kimchi/archive/3.0.0.tar.gz
    tar xfzv 3.0.0.tar.gz
    rm 3.0.0.tar.gz

    cd kimchi-3.0.0

    sudo ./autogen.sh --system
    make

    sudo make install
    make deb

    dpkg -i kimchi-3.0.0-0.noarch.deb

    pip3 install -r requirements-dev.txt
    pip3 install -r requirements-UBUNTU.txt

    cd ~

    rm -rf kimchi-3.0.0

    systemctl daemon-reload
    systemctl enable wokd
    systemctl start wokd