• 陪伴互联网运营小白共同探索成长,与IT爱好者共享探索乐趣
  • 建站只为分享,欢迎在PC端文章面打赏支持
  • 使用Ctrl+D 可收藏本站

PVE7安装后更换订阅源及磁盘开机挂载

好玩有趣 陆子方 2年前 (2022-03-24) 290次浏览 0个评论 扫描二维码

如果使用国内源的话,一定要看源是否还更新。默认大家的网络都是可以的,就直接上官网的国外源,其实大部分情况下也不是慢的很夸张。

nano /etc/apt/sources.list.d/pve-enterprise.list
注释掉

nano /etc/apt/sources.list
deb https://mirror.sjtu.edu.cn/debian bullseye main contrib
deb https://mirror.sjtu.edu.cn/debian bullseye-updates main contrib
# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
# security updates
deb https://mirror.sjtu.edu.cn/debian-security bullseye-security main contrib


deb https://mirror.sjtu.edu.cn/debian bullseye main contrib
deb https://mirror.sjtu.edu.cn/debian bullseye-updates main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb https://mirrors.ustc.edu.cn/proxmox/debian/pve bullseye pve-no-subscription

# security updates
deb https://mirror.sjtu.edu.cn/debian-security bullseye-security main contrib

wget https://mirrors.ustc.edu.cn/proxmox/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg

apt update && apt full-upgrade

lsblk -f
nano /etc/fstab
UUID=2e6f7fa7-f3a1-4b29-8f42-4c57bb06a512 /mnt/st2/ ext4 defaults,noatime,nofail 0 2


子方有料原创丨转载请注明原文链接
期待您的评论或捐赠,这是最好的鼓励和支持!
喜欢 (0)
[赞赏使我快乐]
分享 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到