From a3644cbb13fb56e610854af2fc47779e17aa2c9c Mon Sep 17 00:00:00 2001 From: acgist <289547414@qq.com> Date: Sat, 20 Jan 2024 14:46:18 +0800 Subject: [PATCH] [*] deploy --- docs/Deploy.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/Deploy.md b/docs/Deploy.md index 886586e..d2b980e 100644 --- a/docs/Deploy.md +++ b/docs/Deploy.md @@ -66,6 +66,7 @@ set nocompatible vi /etc/network/interfaces --- +auto enp0s3 iface enp0s3 inet static address 192.168.1.110 gateway 192.168.1.1 @@ -80,6 +81,17 @@ ifup enp0s3 ### 设置国内镜像 ``` +# DNS +sudo vim /etc/systemd/resolved.conf + +--- +DNS=233.5.5.5 233.6.6.6 114.114.114.114 8.8.8.8 +--- + +sudo systemctl restart systemd-resolved +sudo systemctl enable systemd-resolved +sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf + # 配置 vi /etc/apt/sources.list @@ -96,6 +108,7 @@ deb-src https://mirrors.aliyun.com/debian/ bullseye-backports main non-free cont # 更新系统 apt update +apt upgrade ``` ### 安装依赖