Archived
优化文案描述 & 新增 TS UDP 优化
This commit is contained in:
+7
-7
@@ -23,7 +23,7 @@
|
||||
$ sudo vim /etc/ssh/sshd_config.d/10-server-sshd.conf
|
||||
```
|
||||
|
||||
在配置文件中添加以下配置项,并保存。
|
||||
在配置文件中输入以下内容,并保存。
|
||||
|
||||
```bash
|
||||
## SSH 配置项
|
||||
@@ -175,7 +175,7 @@ update-alternatives: using /usr/bin/nvim to provide /usr/bin/editor (editor) in
|
||||
$ sudo editor /etc/sysctl.d/99-sysctl.conf
|
||||
```
|
||||
|
||||
在配置文件中添加以下配置项,注意配置中间的空格。
|
||||
在配置文件中输入以下内容,注意配置中间的空格。
|
||||
|
||||
```bash
|
||||
# This configuration file is customized by fox,
|
||||
@@ -245,7 +245,7 @@ $ sudo mkdir -p /etc/systemd/timesyncd.conf.d
|
||||
$ sudo editor /etc/systemd/timesyncd.conf.d/10-server-ntp.conf
|
||||
```
|
||||
|
||||
在配置文件中添加以下配置项,并保存。
|
||||
在配置文件中输入以下内容,并保存。
|
||||
|
||||
```bash
|
||||
# This configuration file is customized by fox,
|
||||
@@ -317,7 +317,7 @@ $ sudo dpkg-reconfigure -plow unattended-upgrades
|
||||
$ sudo editor /etc/apt/apt.conf.d/20auto-upgrades
|
||||
```
|
||||
|
||||
删除里面全部内容,添加以下配置项,并保存。
|
||||
清空当前全部配置项后,输入以下内容,并保存。
|
||||
|
||||
配置文件中,用来控制更新周期的参数为 `APT::Periodic::Unattended-Upgrade` ,`3` 表示更新周期为 `3` 天。
|
||||
|
||||
@@ -345,7 +345,7 @@ $ sudo editor /etc/apt/apt.conf.d/50unattended-upgrades
|
||||
|
||||
"origin=Debian,codename=${distro_codename}-updates";
|
||||
|
||||
## 在配置文件末尾增加以下配置项,代表启用,并调整参数
|
||||
## 在配置文件末尾增加以下内容,代表启用,并调整参数
|
||||
|
||||
Unattended-Upgrade::AutoFixInterruptedDpkg "true";
|
||||
|
||||
@@ -368,7 +368,7 @@ Unattended-Upgrade::Automatic-Reboot-Time "03:00";
|
||||
$ sudo systemctl edit apt-daily-upgrade.timer
|
||||
```
|
||||
|
||||
根据配置文件中的提示,在中间空白处填入以下配置项。
|
||||
根据配置文件中的提示,在中间空白处填入以下内容。
|
||||
|
||||
```bash
|
||||
## 定时器配置项
|
||||
@@ -404,7 +404,7 @@ $ sudo crontab -l
|
||||
$ sudo crontab -e
|
||||
```
|
||||
|
||||
在配置文件末尾,增加以下配置项。
|
||||
在配置文件末尾,增加以下内容。
|
||||
|
||||
```bash
|
||||
## 定时任务配置项
|
||||
|
||||
Reference in New Issue
Block a user