install.sh aktualisiert

This commit is contained in:
2025-11-24 07:33:59 +00:00
parent 9f6db498ee
commit fbb4c47b1b

View File

@@ -20,25 +20,29 @@ curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh sudo sh get-docker.sh
sudo apt update sudo apt update
apt dist-upgrade -y sudo apt dist-upgrade -y
apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
sudo groupadd docker sudo groupadd docker
sudo usermod -aG docker $USER
# set manual IP address # set manual IP address
nmcli con mod "eth0" ipv4.addresses 192.168.178.5/24 sudo nmcli con mod "eth0" ipv4.addresses 192.168.178.5/24
nmcli con mod "eth0" ipv4.gateway 192.168.178.1 sudo nmcli con mod "eth0" ipv4.gateway 192.168.178.1
nmcli con mod "eth0" ipv4.dns "" sudo nmcli con mod "eth0" ipv4.dns ""
nmcli con mod "eth0" ipv4.dns "192.168.178.5 8.8.8.8" sudo nmcli con mod "eth0" ipv4.dns "192.168.178.5 8.8.8.8"
nmcli con mod "eth0" ipv4.method manual sudo nmcli con mod "eth0" ipv4.method manual
nmcli con up "eth0" sudo nmcli con up "eth0"
#install dnsmasq #install dnsmasq
apt install dnsmasq net-tools -y sudo apt install dnsmasq net-tools -y
cp dnsmasq.conf /etc/dnsmasq.conf sudo cp dnsmasq.conf /etc/dnsmasq.conf
# install ntp # install ntp
apt install chrony -y sudo apt install chrony -y
mkdir /etc/chrony/ sudo mkdir /etc/chrony/
cp chrony.conf /etc/chrony/chrony.conf sudo cp chrony.conf /etc/chrony/chrony.conf
#install pi-hole
curl -sSL https://install.pi-hole.net | bash