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