更新 curl 参数

This commit is contained in:
CallMeR
2023-12-12 21:32:02 +08:00
parent 80afa7dfe7
commit 660551f2fc
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -209,7 +209,7 @@ $ mkdir -p /tmp/SmartDNS
$ cd /tmp/SmartDNS $ cd /tmp/SmartDNS
## 下载 SmartDNS 安装包 ## 下载 SmartDNS 安装包
$ curl -LO https://github.com/pymumu/smartdns/releases/latest/download/smartdns.1.2023.08.11-1937.x86_64-linux-all.tar.gz $ curl -LR -O https://github.com/pymumu/smartdns/releases/latest/download/smartdns.1.2023.08.11-1937.x86_64-linux-all.tar.gz
## 解压缩 SmartDNS 安装包 ## 解压缩 SmartDNS 安装包
$ tar zxf smartdns.1.2023.08.11-1937.x86_64-linux-all.tar.gz $ tar zxf smartdns.1.2023.08.11-1937.x86_64-linux-all.tar.gz
@@ -245,7 +245,7 @@ $ sudo systemctl enable smartdns.service
$ sudo mkdir -p /etc/smartdns.d $ sudo mkdir -p /etc/smartdns.d
## 下载广告过滤配置文件 ## 下载广告过滤配置文件
$ sudo curl -Lo /etc/smartdns.d/anti-ad-smartdns.conf https://anti-ad.net/anti-ad-for-smartdns.conf $ sudo curl -LR -o /etc/smartdns.d/anti-ad-smartdns.conf https://anti-ad.net/anti-ad-for-smartdns.conf
``` ```
修改 `SmartDNS` 主配置文件之前,建议关闭 `SmartDNS` 并清理 DNS 缓存文件。 修改 `SmartDNS` 主配置文件之前,建议关闭 `SmartDNS` 并清理 DNS 缓存文件。
@@ -345,7 +345,7 @@ server-https https://dns.alidns.com/dns-query
```bash ```bash
## 下载插件安装脚本 ## 下载插件安装脚本
$ sudo curl -Lo /opt/smartdns_plugin.sh https://gitee.com/callmer/smartdns_china_list_installer/raw/main/smartdns_plugin.sh $ sudo curl -LR -o /opt/smartdns_plugin.sh https://gitee.com/callmer/smartdns_china_list_installer/raw/main/smartdns_plugin.sh
## 设置安装脚本可执行权限 ## 设置安装脚本可执行权限
$ sudo chmod +x /opt/smartdns_plugin.sh $ sudo chmod +x /opt/smartdns_plugin.sh
+1 -1
View File
@@ -1,5 +1,5 @@
## 下载 dnsmasq 插件安装脚本 ## 下载 dnsmasq 插件安装脚本
$ sudo curl -Lo /opt/dnsmasq_plugin.sh https://gitee.com/felixonmars/dnsmasq-china-list/raw/master/install.sh $ sudo curl -LR -o /opt/dnsmasq_plugin.sh https://gitee.com/felixonmars/dnsmasq-china-list/raw/master/install.sh
## 设置安装脚本权限 ## 设置安装脚本权限
$ sudo chmod +x /opt/dnsmasq_plugin.sh $ sudo chmod +x /opt/dnsmasq_plugin.sh