文章目录
一. 宿主机
1.进入PVE的本体bash,换成pve国内源,加快下载速度
wget https://mirrors.ustc.edu.cn/proxmox/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
echo "#deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise" > /etc/apt/sources.list.d/pve-enterprise.list
echo "deb https://mirrors.ustc.edu.cn/proxmox/debian/pve bullseye pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list
2.换Debian源
mv /etc/apt/sources.list /etc/apt/sources.list.bak
nano /etc/apt/sources.list
粘贴以下内容
deb https://mirrors.ustc.edu.cn/debian/ bullseye main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ bullseye main contrib non-free
deb https://mirrors.ustc.edu.cn/debian/ bullseye-updates main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ bullseye-updates main contrib non-free
deb https://mirrors.ustc.edu.cn/debian/ bullseye-backports main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ bullseye-backports main contrib non-free
deb https://mirrors.ustc.edu.cn/debian-security/ bullseye-security main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian-security/ bullseye-security main contrib non-free
更新
apt-get update
3.安装intel核显驱动
apt install intel-media-va-driver-non-free
4.更新官方内核6.1[2023-1-18]
apt update && apt dist-upgrade -y
apt install pve-kernel-6.1
update-grub
reboot
5.更新微码工具
apt-get install iucode-tool
wget wget http://http.us.debian.org/debian/pool/non-free/i/intel-microcode/intel-microcode_3.20221108.1_amd64.deb_3.20221108.1_amd64.deb

本文档详述了如何在PVE(Proxmox VE)环境中进行系统优化,包括更换国内源、升级内核、调整local-lvm存储空间,以及在LXC容器中安装和配置Docker。此外,还提供了调整local-lvm大小的两种方法,并介绍了安装Portainer以方便管理Docker。
最低0.47元/天 解锁文章

被折叠的 条评论
为什么被折叠?



