Update Debian, Disk & KVM/QEMU files

This commit is contained in:
IntenseWebs 2024-01-15 10:49:13 -06:00
parent 0f82d76e22
commit 6faf1eb501
5 changed files with 14 additions and 10 deletions

View File

@ -6,17 +6,18 @@ allow-hotplug enp1s0
sudo vi /etc/network/interfaces.d/enp1s0
iface enp1s0 inet static
address 192.168.1.127
address 192.168.1.203
netmask 255.255.255.0
gateway 192.168.1.131
dns-domain intensewebs.com
dns-nameservers 192.168.1.140 192.168.1.141
dns-nameservers 192.168.1.140 192.168.1.141 192.168.1.124
sudo vi /etc/resolv.conf
domain yourdomainname.com
search yourdomainname.com
nameserver 9.9.9.9
nameserver 149.112.112.112
domain intensewebs.com
search intensewebs.com
nameserver 192.168.1.140
nameserver 192.168.1.141
nameserver 192.168.1.124
sudo vi /etc/hosts
# ADD/CHANGE

Binary file not shown.

View File

@ -1,3 +1,4 @@
# apt-get install lvm2
fdisk -l
lsblk
lsblk -fe7

View File

@ -16,6 +16,7 @@ sudo systemctl enable --now libvirtd
sudo usermod -a -G libvirt,kvm $USER
sudo reboot
**WARNING** Be on server as root. nmtui for graphical. RECOMMENDED using nmtui
# create file if not created
sudo vi /etc/sysctl.d/bridge.conf
# add the following lines
@ -28,7 +29,7 @@ sudo vi /etc/udev/rules.d/99-bridge.rules
ACTION=="add", SUBSYSTEM=="module", KERNEL=="br_netfilter", RUN+="/sbin/sysctl -p /etc/sysctl.d/bridge.conf"
# REBOOT SYSTEM
**WARNING** Be on server as root. nmtui for graphical. RECOMMENDED using nmtui
----------------------------------------------------------------------
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html-single/configuring_and_managing_networking/index#proc_configuring-a-network-bridge-by-using-nmtui_configuring-a-network-bridge
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html-single/configuring_and_managing_networking/index#configuring-a-network-bridge-by-using-nm-connection-editor_configuring-a-network-bridge
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html-single/configuring_and_managing_networking/index#proc_configuring-a-network-bridge-by-using-nmstatectl_configuring-a-network-bridge

View File

@ -25,9 +25,10 @@ sudo cp /var/lib/libvirt/images/ns2.qcow2 ~/Documents/
# IMPORT
cd /var/lib/libvirt/images/
sudo virsh define file ~/Documents/git.xml
sudo virsh define file ~/Documents/ns1.xml
sudo virsh define file ~/Documents/ns2.xml
sudo virsh define -file ~/Documents/tfedora.xml
sudo virsh define -file ~/Documents/ns1.xml
sudo virsh define -file ~/Documents/ns2.xml
virsh define --file tfedora.intensewebs.com-39-6.6.9.xml
sudo cp ~/Documents/git.qcow2 /var/lib/libvirt/images/
sudo cp ~/Documents/ns1.qcow2 /var/lib/libvirt/images/
sudo cp ~/Documents/ns2.qcow2 /var/lib/libvirt/images/