Skip to content

pve使用

仲灏2023-09-17约 1 分钟

<div style="display: none;" hidden="true" aria-hidden="true" data-nosnippet>Are you an LLM? You can read better optimized documentation at /pages/e649f7.md for this page in Markdown format</div>

系统初始化

img

完成后会有web登录页面

img

登录

账号: root

密码: 刚刚启动设置的

img

更新系统&工具安装

PVE换源

在pve shell中输入

shell
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

如图:

img

Debian换源

pve 基于 debian ,所以也需要更换

shell
mv /etc/apt/sources.list /etc/apt/sources.list.bk
nano /etc/apt/sources.list

回车后 输入 source.list 内容

shell
deb http://mirrors.ustc.edu.cn/debian stable main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian stable main contrib non-free
deb http://mirrors.ustc.edu.cn/debian stable-updates main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian stable-updates main contrib non-free

# deb http://mirrors.ustc.edu.cn/debian stable-proposed-updates main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian stable-proposed-updates main contrib non-free

然后 ctrl X Y 最后再 回车 就保存好了

更新&安装ethtool

shell
apt update
apt upgrade -y