
在linux中设置优先使用ipv4,而不是ipv6

经试验在debian Centos ArchLinux Manjaro中有效修改/etc/gai.conf取消下面这一行的注释precedence ::ffff:0:0/96 100添加如下内容label ::1/128 0 label ::/0 1 label 2002::/16 2 label ::/96 3 label ::ffff:0:0/…

查看systemd启动失败进程

systemctl list-units --state=failed

Caddy配置升级1 to 2

proxyThe v2 equivalent is reverse_proxy.Notable subdirective changes are header_upstream and header_downstreamhave become header_up and header_down, respectively; andload-bala…

申请QID方式
安装psutil时提示缺少python.h头文件(作记录)
session_start(): open(SESSION_FILE, O_RDWR)) failed: Permission denied (13)的处理
nginx 启动错误”nginx: [emerg] host not found in upstream “解决方案
非root用户使用1024以下端口 setcap ‘cap_net_bind_service= ep’
删除阿里云登录界面欢迎信息
阿里云服务器如何卸载清除监控(安骑士、阿里云盾)并屏蔽IP监测
设置-账号里面可以申请若果没有,则打开这个链接即可
yum -y install python-devel[collapse status="false" title="引用"]通过pip或者源码安装psutil,都会提示缺少python.h头文件,错误提示如下:psutil/_psutil_common.c:9:20: fatal error: Python.h: No such file or …
session问题直接宝塔禁用独立session!!!或者删除session、设置session权限[collapse status="false" title="引用"]phpMyAdmin – ErrorError during session start; please check your PHP and/or webserver log …
原因:代理域名在开机的时候解析失败解决方法:1. 在开机后重新启动nginx服务systemctl restart nginx2. 使用hosts设置默认解析3. 确保在启动nginx的时候有网络链接编辑nginx的systemd文件添加After=network.target[collapse status="false" title="引用"]…
setcap 'cap_net_bind_service=+ep' /file[collapse status="false" title="引用"]非root用户使用1024以下端口 https://www.cnblogs.com/chenjunjie12321/p/9226279.html如果你有一个最新的内核,确实有可能使…
sudo nano /etc/motd就可以编辑/删除倒数第二行的Welcome to Alibaba Cloud Elastic Compute Service !欢迎信息了。[collapse status="false" title="Style"]Welcome to Ubuntu 17.04 (GNU/Linux 4.10.0-19-ge…
卸载阿里云盾/安骑士wget http://update.aegis.aliyun.com/download/uninstall.sh chmod +x uninstall.sh ./uninstall.sh wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh chmod…