參考資料:
https://adersaytech.com/tutorial/kb-article/win10-win11-keep-using-ie11.html
筆記用
安裝Pi-Hole
https://pi-hole.net/
安裝DNS over HTTPS (DoH)
https://docs.pi-hole.net/guides/dns/cloudflared/
內有youtube 廣告阻擋更新
https://mailtojacklai.medium.com/%E5%AD%B8%E9%9B%BB%E8%85%A6-%E7%94%A8aws%E8%A8%AD%E5%AE%9Api-hole%E4%BE%86%E9%98%BB%E6%93%8B%E5%BB%A3%E5%91%8A-bc1ea8a0ff07
https://github.com/kboghdady/youTube_ads_4_pi-hole
https://www.reddit.com/r/pihole/comments/9w5swx/i_think_ive_managed_to_block_youtube_ads_with/
中文化
https://github.com/verkeys/Pi-hole-Chinese
Pi-Hole 競品 AdGuard Home
https://www.jkg.tw/p1483/
安裝方式
https://github.com/AdguardTeam/AdGuardHome/wiki
給未來的自己:
在 http://pi-hole/admin/groups-adlists.php 裡面新增
https://raw.githubusercontent.com/kboghdady/youTube_ads_4_pi-hole/master/youtubelist.txt
https://raw.githubusercontent.com/HenningVanRaumle/pihole-ytadblock/master/ytadblock.txt
https://raw.githubusercontent.com/anudeepND/youtubeadsblacklist/master/hosts.txt
http://www.malwaredomainlist.com/hostslist/delisted.txt
# https://github.com/imkarthikk/pihole-facebook (三、四年未更新)
https://github.com/imkarthikk/pihole-facebook/blob/master/pihole-facebook.txt
https://github.com/imkarthikk/pihole-facebook/blob/master/pihole-whatsapp.txt
輸入完畢之後#pihole -g
https://trainax.github.io/PiHoleLists/
https://obutterbach.medium.com/unlock-the-full-potential-of-pihole-e795342e0e36
##
root@raspberrypi:/home/pi# cat /etc/pihole/adlists.list
# Prevent Trackers and Malwares
https://raw.githubusercontent.com/DRSDavidSoft/additional-hosts/master/domains/blacklist/adservers-and-trackers.txt
https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-malware.txt
https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-blocklist.txt
https://raw.githubusercontent.com/notracking/hosts-blocklists/master/hostnames.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
https://gitlab.com/my-privacy-dns/matrix/matrix/-/raw/master/source/tracking/domains.list
https://raw.githubusercontent.com/r-a-y/mobile-hosts/master/AdguardApps.txt
https://raw.githubusercontent.com/r-a-y/mobile-hosts/master/AdguardMobileAds.txt
https://raw.githubusercontent.com/FadeMind/hosts.extras/master/StreamingAds/hosts
https://raw.githubusercontent.com/w13d/adblockListABP-PiHole/master/Spotify.txt
https://raw.githubusercontent.com/DRSDavidSoft/additional-hosts/master/domains/blacklist/adservers-and-trackers.txt
https://raw.githubusercontent.com/deathbybandaid/piholeparser/master/Subscribable-Lists/ParsedBlacklists/AdAway-Default-Blocklist.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
https://v.firebog.net/hosts/Easyprivacy.txt
https://raw.githubusercontent.com/deathbybandaid/piholeparser/master/Subscribable-Lists/ParsedBlacklists/FadeMind-addSpam.txt
https://raw.githubusercontent.com/mitchellkrogza/The-Big-List-of-Hacked-Malware-Web-Sites/master/hacked-domains.list
# Prevent Analytics
https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/master/AmazonFireTV.txt
https://raw.githubusercontent.com/mitchellkrogza/Stop.Google.Analytics.Ghost.Spam.HOWTO/master/output/domains/INACTIVE/list
https://raw.githubusercontent.com/nickspaargaren/no-google/master/categories/analytics.txt
https://raw.githubusercontent.com/nickspaargaren/no-google/master/categories/analyticsparsed
https://raw.githubusercontent.com/kowith337/PersonalFilterListCollection/master/hosts/hosts_facebook0.txt
https://raw.githubusercontent.com/anudeepND/blacklist/master/facebook.txt
# Prevent Spyware
https://raw.githubusercontent.com/r-a-y/mobile-hosts/master/AdguardMobileSpyware.txt
https://raw.githubusercontent.com/XionKzn/PiHole-Lists/master/PiHole_HOSTS_Spyware.txt
https://raw.githubusercontent.com/deathbybandaid/piholeparser/master/Subscribable-Lists/ParsedBlacklists/WindowsSpyBlocker81.txt
https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/spy.txt
# Prevent Coinmining network
https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list.txt
https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list_browser.txt
https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/hosts
https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/hosts_optional
https://raw.githubusercontent.com/anudeepND/blacklist/master/CoinMiner.txt
https://raw.githubusercontent.com/austinheap/sophos-xg-block-lists/master/nocoin.txt
# Prevent Ransomware
https://raw.githubusercontent.com/pirat28/IHateTracker/master/iHateTracker.txt
https://raw.githubusercontent.com/deathbybandaid/piholeparser/master/Subscribable-Lists/ParsedBlacklists/CryptoWall-Ransomware-C2-Domain-blocklist.txt
https://raw.githubusercontent.com/deathbybandaid/piholeparser/master/Subscribable-Lists/ParsedBlacklists/Locky-Ransomware-C2-Domain-Blocklist.txt
https://raw.githubusercontent.com/XionKzn/PiHole-Lists/master/Cerber_Ransomware.txt
https://raw.githubusercontent.com/deathbybandaid/piholeparser/master/Subscribable-Lists/ParsedBlacklists/Ransomware-Domain-Blocklist.txt
https://raw.githubusercontent.com/deathbybandaid/piholeparser/master/Subscribable-Lists/ParsedBlacklists/TeslaCrypt-Ransomware-C2-Domain-Blocklist.txt
https://raw.githubusercontent.com/deathbybandaid/piholeparser/master/Subscribable-Lists/ParsedBlacklists/TeslaCrypt-Ransomware-Payment-Sites-Domain-Blocklist.txt
https://raw.githubusercontent.com/deathbybandaid/piholeparser/master/Subscribable-Lists/ParsedBlacklists/TorrentLocker-Ransomware-C2-Domain-Blocklist.txt
https://raw.githubusercontent.com/deathbybandaid/piholeparser/master/Subscribable-Lists/ParsedBlacklists/TorrentLocker-Ransomware-Payment-Sites-Domain-Blocklist.txt
# Prevent Phishing
https://gitlab.com/Kurobeats/phishing_hosts/raw/master/hosts
https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt
##
https://lqe41.pixnet.net/blog/post/27271482
https://king39461.pixnet.net/blog/post/320775211
#內有Regex碼
https://avoidthehack.com/best-pihole-blocklists
自動更新
https://discourse.pi-hole.net/t/auto-update-pi-hole/481
https://avoidthehack.com/best-pihole-blocklists
參考資料:https://www.raspberrypi.com.tw/tag/%E5%A6%82%E4%BD%95%E6%9B%B4%E6%96%B0raspbian/
1. 更新 /etc/apt/sources.list 底下的套件清單。
$ sudo apt-get update
2. 比對套件清單決定是否需要更新,但如果要更新的套件有相依性問題,則放棄更新。
$ sudo apt-get upgrade
3. 會處理新版本套件與相依性套件的衝突,並試著安裝/移除有問題的套件來完成更新。
$ sudo apt-get dist-upgrade
4. 刪除之前因為有相依性而安裝,但現在已經不再使用的套件(非必要)。
$ sudo apt-get autoremove
5. 清除下載到 /var/cache/apt/archives 的 .deb 套件檔(非必要)
$ sudo apt-get autoclean
6. 更新核心和韌體到最新版本(可能不穩定),因此更新前一定要先備份重要資料!
$ sudo rpi-update
在 Pi 3B 依序執行 1 到 6 的步驟(4 和 5 非必要)以後關機,將 microSD 拔下換到 Pi 3B+,就可以順利在 Pi 3B+ 上使用了。
定期執行指令(定期更新)
https://www.itread01.com/content/1542259687.html
樹莓派 NTP SERVER 設定,含 PPS 訊號源
http://oblitet.blogspot.com/2017/08/ntp-server-pps.html
純軟體,需網路
https://www.youtube.com/watch?v=V87_FMLLMWE
用 Raspberry Pi + GPS 模組建立 stratum 1 的 NTP server
https://medium.com/@phutidus/%E7%94%A8-raspberry-pi-gps-%E6%A8%A1%E7%B5%84%E5%BB%BA%E7%AB%8B-stratum-1-%E7%9A%84-ntp-server-cb1b501a5f91
以下為指令安裝NTP Server
https://rishabhdevyadav.medium.com/how-to-install-ntp-server-and-client-s-on-ubuntu-18-04-lts-f0562e41d0e1
sudo apt-get update
sudo apt-get install ntp
sntp --version
sudo nano /etc/ntp.confpool time.stdtime.gov.tw
pool tock.stdtime.gov.tw
pool watch.stdtime.gov.tw
pool clock.stdtime.gov.tw
pool tick.stdtime.gov.tw
以下指令為安裝NTP Client
sudo apt-get install ntpdate
sudo nano /etc/hosts192.168.1.250 759NTP
sudo ntpdate NTP-server-host
sudo timedatectl set-ntp off