This commit is contained in:
Patrick 2024-11-18 20:22:57 +01:00
parent ec0e0436e4
commit c6c113496b
2 changed files with 6 additions and 2 deletions

View file

@ -13,6 +13,9 @@ subnet 192.168.1.0 netmask 255.255.255.0 { \
option domain-name-servers 8.8.8.8, 8.8.4.4; \
}"
echo -e 'INTERFACES="enp0s3"' | sudo tee /etc/default/isc-dhcp-server >/dev/null
echo -e "$config" | sudo tee /etc/dhcp/dhcpd.conf >/dev/null
systemctl enable isc-dhcp-server --now
systemctl start isc-dhcp-server
systemctl enable isc-dhcp-server

View file

@ -2,4 +2,5 @@
sudo apt update
sudo apt install -y nginx
sudo systemctl enable nginx --now
sudo systemctl start nginx
sudo systemctl enable nginx