Created
December 4, 2020 16:30
-
-
Save stu43005/78d336c0e587db5244ef6c621284f340 to your computer and use it in GitHub Desktop.
install AdGuard Home in Synology RT1900ac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir /opt | |
cd /opt | |
wget https://github.com/AdguardTeam/AdGuardHome/releases/download/latest/AdGuardHome_linux_armv7.tar.gz | |
tar -xzvf AdGuardHome_linux_armv7.tar.gz | |
# grep -rn '/etc/' -e 'dnsmasq' | |
# netstat -lnp | grep 'dnsmasq' | |
echo "port=0" >> /etc/dhcpd/dhcpd-port-port.conf | |
echo 'enable="yes"' > /etc/dhcpd/dhcpd-port-port.info | |
echo "port=0" >> /etc/dhcpd/dhcpd.conf | |
killall dnsmasq | |
/opt/AdGuardHome/AdGuardHome -s install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
首先在管理介面開啟ssh功能,用ssh進入shell介面
再來就能依照上面的腳本去安裝AdGuard Home...
netstat -lnp
確認是否占用/etc/dhcpd/dhcpd.conf
port=0
,並重啟dnsmasq,就可以解決port占用的問題安裝完成後的占用大小
硬碟占用
記憶體占用
SynologyRouter> top Mem: 184312K used, 51556K free, 0K shrd, 2692K buff, 67356K cached CPU: 8.6% usr 5.3% sys 0.0% nic 84.0% idle 0.1% io 0.0% irq 1.8% sirq Load average: 0.45 0.39 0.58 3/229 3587 PID PPID USER STAT VSZ %MEM %CPU COMMAND 12909 1 root S 793m342.2 0.4 /volumeUSB2/usbshare2-1/opt/AdGuardHome/AdGuardHome -s run