更新系统配置

This commit is contained in:
CallMeR
2026-08-07 17:33:47 +08:00
parent ed7f9c5fc9
commit 996959f740
3 changed files with 9 additions and 3 deletions
+2 -2
View File
@@ -301,13 +301,13 @@ $ editor /etc/apt/apt.conf.d/20auto-upgrades
清空当前全部配置项后,输入以下内容,并保存。 清空当前全部配置项后,输入以下内容,并保存。
配置文件中,用来控制更新周期的参数为 `APT::Periodic::Unattended-Upgrade` `5` 表示更新周期为 `5` 天。 配置文件中,用来控制更新周期的参数为 `APT::Periodic::Unattended-Upgrade` `10` 表示更新周期为 `10` 天。
```bash ```bash
## 系统更新周期配置项 ## 系统更新周期配置项
APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "5"; APT::Periodic::Unattended-Upgrade "10";
APT::Periodic::AutocleanInterval "1"; APT::Periodic::AutocleanInterval "1";
APT::Periodic::CleanInterval "1"; APT::Periodic::CleanInterval "1";
+1 -1
View File
@@ -210,7 +210,7 @@ $ sudo systemctl stop dnsmasq.service
```bash ```bash
## 下载 SmartDNS 安装包 ## 下载 SmartDNS 安装包
$ curl -LR https://github.com/pymumu/smartdns/releases/download/Release48.2/smartdns.1.2026.06.28-1614.x86_64-linux-all.tar.gz | tar -xz -C /tmp $ curl -LR https://github.com/pymumu/smartdns/releases/download/Release48.4/smartdns.1.2026.08.05-0921.x86_64-linux-all.tar.gz | tar -xz -C /tmp
## 安装 SmartDNS ## 安装 SmartDNS
$ sudo /tmp/smartdns/install -i $ sudo /tmp/smartdns/install -i
+6
View File
@@ -0,0 +1,6 @@
# This configuration file is customized by fox,
# Optimize for X550-T1: advertise 100M / 1G / 2.5G / 5G / 10G.
iface nic1 inet manual
pre-up /usr/sbin/ethtool -s nic1 autoneg on advertise 0x1800000001028 || true