一 SmartDNS 安装 ,可参考:Ubuntu server 24 (Linux) 安装部署smartdns 搭建智能DNS服务器-优快云博客
二 安装AdGuard
1 下载地址:GitHub - AdguardTeam/AdGuardHome: Network-wide ads & trackers blocking DNS server
2 解压安装
#下载适合的版本
wget https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.108.0-b.56/AdGuardHome_linux_amd64.tar.gz
#解压
tar zxvf AdGuardHome_linux_amd64.tar.gz
#
cd AdGuardHome/
#查看帮助
test@test:~/soft/AdGuardHome$ ./AdGuardHome --help
Usage:
./AdGuardHome [options]
Options:
-c, --config VALUE Path to the config file.
-w, --work-dir VALUE Path to the working directory.
-h, --host VALUE Deprecated. Host address to