Install AdGuard Home Cross-Platform Pi-Hole Alternative on Linux (Debian/Ubuntu) 🌱

What is AdGuard Home?

AdGuard Home is a network-wide software for blocking ads and tracking. After you set it up, it'll cover ALL your home devices, and you don't need any client-side software for that.

It operates as a DNS server that re-routes tracking domains to a “black hole”, thus preventing your devices from connecting to those servers. It's based on software we use for our public AdGuard DNS servers, and both share a lot of code. -https://github.com/AdguardTeam/AdguardHome

Installing AdGuard Home

  1. Log into the Linux device
  2. Run the following commands in a terminal window
    # download the latest adguard home release
    wget https://static.adguard.com/adguardhome/release/AdGuardHome_linux_amd64.tar.gz
    # extract the downloaded tar.gz
    sudo tar xvf AdGuardHome_linux_amd64.tar.gz
    # change directory into the extracted folder
    cd AdGuardHome
    # install AdGuardHome as a service
    sudo ./AdGuardHome -s install
  3. Open a web browser and navigate to http://localhost:3000
  4. Click the Get Started button
  5. Set the Admin Web Interface and DNS Server network interfaces and ports > Click Next
  6. Enter an admin username and password > Click Next
  7. Click Next on page 4
  8. Click Open Dashboard on the Congratutations page
  9. Log in using the admin username and password created during the install
  10. Welcome to AdGuardHome

Source: https://github.com/AdguardTeam/AdGuardHome#getting-started