AdGuard Home一键安装代码:
#下载AdGuard Home
wget https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.103.3/AdGuardHome_linux_amd64.tar.gz
#解压AdGuard Home
tar -zxvf AdGuardHome_linux_amd64.tar.gz
#进入AdGuardHome目录
cd AdGuardHome
#启动AdGuard Home
./AdGuardHome -s install
你可以用下面的指令方便地管理:
#因为上面使用了./AdGuardHome -s install安装了服务,所以你就可以使用下面的命令来进行管理了。
#启动systemctl start AdGuardHome
#开机自启systemctl enable AdGuardHome
#重启systemctl restart AdGuardHome
#停止systemctl stop AdGuardHome
AdGuardHome -s uninstall