不同类型网站优化,wordpress如何设置页面布局,室内设计家装设计,海口seo计费ubuntu改源 备份原始源查看ubuntu发行版本arm64 noble版本的源vim修改源更新系统软件源 备份原始源
sudo cp /etc/apt/sources.list /etc/apt/sources.list.disabled查看ubuntu发行版本
lsb_release -aarm64 noble版本的源
清华源
vim修改源
esc :1,$d # 删除所有# 默认注… ubuntu改源 备份原始源查看ubuntu发行版本arm64 noble版本的源vim修改源更新系统软件源 备份原始源
sudo cp /etc/apt/sources.list /etc/apt/sources.list.disabled查看ubuntu发行版本
lsb_release -aarm64 noble版本的源
清华源
vim修改源
esc :1,$d # 删除所有# 默认注释了源码镜像以提高 apt update 速度如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble-backports main restricted universe multiverse# 以下安全更新软件源包含了官方源与镜像站配置如有需要可自行修改注释切换
deb http://ports.ubuntu.com/ubuntu-ports/ noble-security main restricted universe multiverse
# deb-src http://ports.ubuntu.com/ubuntu-ports/ noble-security main restricted universe multiverse# 预发布软件源不建议启用
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble-proposed main restricted universe multiverse
# # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble-proposed main restricted universe multiverse更新系统软件源 # sudo apt update 是一个在基于 Debian 的 Linux 发行版如 Ubuntu中使用的命令
# 它用于更新本地软件包索引数据库。这个命令不会实际安装或升级任何软件包
# 但它会检查配置的软件源通常位于 /etc/apt/sources.list 文件和 /etc/apt/sources.list.d/ 目录下的文件中
# 以获取最新的软件包列表和版本信息。
sudo apt-get update