DD系统遭遇curl: (6) Could not resolve host: raw.githubusercontent.com解决方法

今日打算DD系统,结果提示:curl: (6) Could not resolve host: raw.githubusercontent.com遂搜索解决,直接在命令行输入:echo "nameserver 8.8.8.8" | tee /etc/resolv.conf再运行DD命令即可

DD系统遭遇Err:1 http://deb.debian.org/debian buster/main amd64 hdparm amd64 9.58+ds-1 404 Not Found

依次运行下面的代码即可解决sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.listsed -i 's/http:/http:/g' /etc/apt/sources.listapt updateapt install hdparm ...

通过配置Nginx来禁止直接下载网站目录下的.xls文件

server {listen 80; server_name yourdomain.com; # 禁止访问.xls文件 location ~ \.xls$ { deny all; return 403; } # 其他配置 location / { root /var/www/html ...

最新可用DD脚本

之前的好多不能用了推荐一个今天还可以用的bash <(curl -sSL https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh) -debian 12 -pwd '密码' -port ...

一个不错的web面板程序

地址:https://github.com/midoks/mdserver-webssh直接运行JSDelivr安装地址进行初始化安装即可bash <(curl --insecure -fsSL https://cdn.jsdelivr.net/gh/midoks/mdserver-web@latest/ ...