Linux 安装AguardHome记录

Linux 安装AguardHome记录,第1张

NEOHosts

链接: https://cdn.jsdelivr.net/gh/neoFelhz/neohosts@gh-pages/full/hosts

AdBlock 自定义拦截规则

链接: https://cdn.adblockcdn.com/filters/adblock_custom.txt

反规避拦截规则

链接: https://easylist-downloads.adblockplus.org/abp-filters-anti-cv.txt

允许非侵入式广告

链接: https://easylist-downloads.adblockplus.org/exceptionrules.txt

Adblock 警告移除列表

链接: https://easylist-downloads.adblockplus.org/antiadblockfilters.txt

anti-AD v4

链接: https://gitee.com/privacy-protection-tools/anti-ad/raw/master/easylist.txt

neohosts

链接: https://cdn.jsdelivr.net/gh/neoFelhz/neohosts@gh-pages/basic/hosts.txt

EasyList China : 国内网站广告过滤的主规则。

链接: https://easylist-downloads.adblockplus.org/easylistchina.txt

EasyList Lite

链接: https://raw.githubusercontent.com/cjx82630/cjxlist/master/cjxlist.txt

EasyPrivacy : EasyPrivacy 是隐私保护,不被跟踪。

链接: https://easylist-downloads.adblockplus.org/easyprivacy.txt

CJX’s Annoyance List : 过滤烦人的自我推广,并补充 EasyPrivacy 隐私规则。

链接: https://raw.githubusercontent.com/cjx82630/cjxlist/master/cjx-annoyance.txt

I don’t care about cookies : 我不关心 Cookie 的问题,屏蔽网站的 cookies 相关的警告。

链接: https://www.i-dont-care-about-cookies.eu/abp/

在 Linux 设备上运行 AdGuard Home,通常会出现 53(本地 DNS 服务器)、68(DHCP 客户端)、80(Http)、443(Https) 端口冲突的问题,可以通过 netstat -tunlp | grep 端口号 查询占用进程。有两种解决方案:使用不同端口、停用冲突进程。

如果是通过 Docker (基本在Linux下都会遇到这种情况)方式运行 AdGuard Home,出现 listen udp 0.0.0.0:53: bind: address already in use 的提示,需要手动处理,方法如下:

在编辑器中粘贴以下内容:

保存后执行以下命令。

完成后使用 netstat -tunlp | grep 53 命令检查是否依旧有进程占用 53 端口,在centos8下修改了之后就算重启DNS还会有53端口这时重启主机即可,如无冲突,重启 AdGuard Home 容器即可。

linuxgview闪退如下

1:有可能是内存过小造成2:配置有问题3:端口冲突lsof-i:8888查看对应端口是否冲突(要部署的端口是否出现已经存在的进程有就杀死kill-9进程)

最总查看运行jar的时候重定向的日志,发现在一个控制台(Controller)里面出现了二个相同的接口方法名称,修改以后重新上传部署成功

NAME

listen - listen for connections on a socket

SYNOPSIS

#include <sys/types.h> /* See NOTES */

#include <sys/socket.h>

int listen(int sockfd, int backlog)

ERRORS

EADDRINUSE(这个错误是检查端口是否有冲突,你编程逐个端口扫描就知道哪个端口有冲突)

Another socket is already listening on the same port.

EBADF The argument sockfd is not a valid descriptor.

ENOTSOCK

The argument sockfd is not a socket.

EOPNOTSUPP

The socket is not of a type that supports the listen() operation.

中文我就不翻译了,详情输入命令:man listen,查看man帮助页。


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/yw/7238185.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-04-03
下一篇2023-04-03

发表评论

登录后才能评论

评论列表(0条)

    保存