Last active
December 22, 2021 14:18
-
-
Save alexcmd/2f05f59ab9d1eb9c6f0c81281f10dfa3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt update && sudo apt upgrade -y | |
wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1+focal_all.deb | |
sudo dpkg -i zabbix-release_5.0-1+focal_all.deb | |
sudo apt update | |
sudo apt install zabbix-agent -y | |
# kvm | |
sudo apt install qemu-kvm ovmf cpu-checker libvirt-daemon-system libvirt-clients bridge-utils virtinst virt-manager qemu-utils dnsmasq | |
sudo usermod -aG kvm $USER | |
sudo usermod -aG libvirt $USER | |
cd /var/lib/libvirt/images/ | |
sudo wget https://releases.ubuntu.com/focal/ubuntu-20.04.3-live-server-amd64.iso | |
sudo virsh net-start default | |
echo "<network><name>host-bridge</name><forward mode="bridge"/><bridge name="br0"/></network>" >> host-bridge.xml | |
virsh net-define host-bridge.xml | |
virsh net-start host-bridge | |
virsh net-autostart host-bridge | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment