diff --git a/knowledge base/fedora linux.md b/knowledge base/fedora linux.md index 4d8e7d6..754dca9 100644 --- a/knowledge base/fedora linux.md +++ b/knowledge base/fedora linux.md @@ -2,7 +2,7 @@ ## Enable the RPM Fusion repositories -RPM Fusion provides software that the Fedora Project or Red Hat doesn't want to ship. That software is provided as precompiled RPMs for all current Fedora versions and current Red Hat Enterprise Linux or clones versions; you can use the RPM Fusion repositories with tools like yum and PackageKit. +RPM Fusion provides software that the Fedora Project or Red Hat doesn't want to ship. That software is provided as precompiled RPMs for all current Fedora versions and current Red Hat Enterprise Linux or clones versions; you can use the RPM Fusion repositories with tools like yum and PackageKit. These repositories are not available by default and need to be installed using a remote package: diff --git a/knowledge base/turris.md b/knowledge base/turris.md index 125656e..6f13d1b 100644 --- a/knowledge base/turris.md +++ b/knowledge base/turris.md @@ -48,13 +48,13 @@ See [Installing pi-hole on Turris Omnia], [Install Pi-hole] and [Pi-Hole on Turr # Create the LXC container. lxc-create --name pi-hole --template debian lxc-create --name pi-hole --template download --dist Ubuntu --release Focal --arch armv7l --server repo.turris.cz/lxc - + # Start it. lxc-start --name pi-hole - + # Check it's running correctly. lxc-info --name pi-hole - + # Get a shell to it. lxc-attach --name pi-hole ``` @@ -64,11 +64,11 @@ See [Installing pi-hole on Turris Omnia], [Install Pi-hole] and [Pi-Hole on Turr ```shell # Set the correct hostname. hostnamectl set-hostname pi-hole - + # Install pi-hole. DEBIAN_FRONTEND=noninteractive apt-get install --assume-yes ca-certificates curl curl -sSL https://install.pi-hole.net | bash - + # Follow the guided procedure. ``` @@ -81,11 +81,11 @@ See [Installing pi-hole on Turris Omnia], [Install Pi-hole] and [Pi-Hole on Turr uci set dhcp.@host[-1].name=pi-hole uci set dhcp.@host[-1].mac=`grep hwaddr /srv/lxc/pi-hole/config | sed 's/.*= //'` uci set dhcp.@host[-1].ip=192.168.111.2 - + # Distribute pi-hole as primary DNS. uci set dhcp.lan.dhcp_option='6,192.168.111.2' uci add_list dhcp.lan.dns=`lxc-info --name pi-hole | grep "IP.* f[cd]" | sed "s/IP: *//"` - + # Apply the new configuration. /etc/init.d/odhcpd restart /etc/init.d/dnsmasq restart