本文作者:丁辉
PorxmoxVE安装文档
准备工作
登录官网下载镜像
制作安装U盘
开始安装
上下键选择桌面版(Graphical)回车
点击我同意
选择系统安装磁盘位置,点击我同意
选择地区 China,时区 Asia/Shanghai,键盘布局 U.S.English,点击我同意
配置平台登陆密码,填写邮箱,点击我同意
选择网卡,配置平台访问IP和网关地址,点击我同意
点击安装
等待安装完成后重启即可(注意!!!安装完重启时拔掉U盘)
出现这个画面则代表安装成功
选择语言,填写用户名密码后登录
忽略提示点击OK
配置国内源
备份源文件
1
2cp /etc/apt/sources.list /etc/apt/sources.list.bak
cp -r /etc/apt/sources.list.d /etc/apt/sources.list.d.bak更换 Proxmox VE 的 GPG 公钥
1
2
3mv /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg.bak
wget https://mirrors.ustc.edu.cn/proxmox/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg更换 Proxmox 软件源
1
2
3echo "#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更换 Debian 源
1
2
3sed -i "s#ftp.debian.org/debian#mirrors.aliyun.com/debian#g" /etc/apt/sources.list
sed -i "s#security.debian.org#mirrors.aliyun.com/debian-security#g" /etc/apt/sources.list更换 CEPH 源
1
2
3echo "deb https://mirrors.ustc.edu.cn/proxmox/debian/ceph-quincy bookworm no-subscription" > /etc/apt/sources.list.d/ceph.list
sed -i.bak "s#http://download.proxmox.com/debian#https://mirrors.ustc.edu.cn/proxmox/debian#g" /usr/share/perl5/PVE/CLI/pveceph.pm更换 LXC 源(根据自身情况判断是否更换!!!)
1
2
3
4
5sed -i.bak "s#http://download.proxmox.com/images#https://mirrors.ustc.edu.cn/proxmox/images#g" /usr/share/perl5/PVE/APLInfo.pm
wget -O /var/lib/pve-manager/apl-info/mirrors.ustc.edu.cn https://mirrors.ustc.edu.cn/proxmox/images/aplinfo-pve-7.dat
systemctl restart pvedaemon更新
1
apt update && apt upgrade -y
删除订阅弹窗(非必要步骤!!!)
1
sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: PorxmoxVE安装文档 gettext\('No valid sub)/void\(\{ \/\/\1/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
执行完成后,浏览器Ctrl+F5强制刷新缓存。
I'm so cute. Please give me money.
- 本文链接: https://blog.offends.cn/Linux/系统安装文档/PorxmoxVE安装文档.html
- 版权声明: 本博客所有文章除特别声明外,均默认采用 CC BY-NC-SA 4.0 许可协议。